2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.98.
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 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $ECHO works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$lt_ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
291 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
298 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
299 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
310 for dir
in $PATH /usr
/ucb
; do
312 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$ECHO" = Xecho
; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
325 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
330 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL
=/bin
/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
341 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
351 SHELL
="$CONFIG_SHELL"
353 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string
=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
397 # so uname gets run too.
398 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
405 ac_default_prefix
=/usr
/local
406 ac_config_libobj_dir
=.
411 SHELL
=${CONFIG_SHELL-/bin/sh}
413 # Maximum number of lines to put in a shell here document.
414 # This variable seems obsolete. It should probably be removed, and
415 # only ac_max_sed_lines should be used.
416 : ${ac_max_here_lines=38}
418 # Identity of this package.
419 PACKAGE_NAME
='GNU Classpath'
420 PACKAGE_TARNAME
='classpath'
421 PACKAGE_VERSION
='0.98'
422 PACKAGE_STRING
='GNU Classpath 0.98'
423 PACKAGE_BUGREPORT
='classpath@gnu.org'
425 ac_unique_file
="java/lang/System.java"
426 ac_default_prefix
=/usr
/local
/classpath
427 # Factoring default headers for most tests.
428 ac_includes_default
="\
431 # include <sys/types.h>
434 # include <sys/stat.h>
445 # if !STDC_HEADERS && HAVE_MEMORY_H
451 # include <strings.h>
454 # include <inttypes.h>
464 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 JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir INSTALL_BINARIES_TRUE INSTALL_BINARIES_FALSE LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE CREATE_GSTREAMER_PEER_LIBRARIES_TRUE CREATE_GSTREAMER_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE CREATE_GJDOC_TRUE CREATE_GJDOC_FALSE toolexeclibdir nativeexeclibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_GJDOC_PARSER_TRUE CREATE_GJDOC_PARSER_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS EXTRA_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 FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR GMP_CFLAGS GMP_LIBS USER_JAVAH CLASSPATH_INCLUDES vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP JAR WITH_JAR_TRUE WITH_JAR_FALSE 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 TOOLSDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP JAVA uudecode JAVAC JAVAC_IS_GCJ GCJ_JAVAC_TRUE GCJ_JAVAC_FALSE ANTLR_JAR ANTLR ac_ct_ANTLR JAVAC_MEM_OPT USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER WANT_NATIVE_BIG_INTEGER CREATE_GMPBI_LIBRARY_TRUE CREATE_GMPBI_LIBRARY_FALSE LIBOBJS LTLIBOBJS'
468 # Initialize some variables set by options.
470 ac_init_version
=false
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
480 program_transform_name
=s
,x
,x
,
488 # Installation directory options.
489 # These are left unexpanded so users can "make install exec_prefix=/foo"
490 # and all the variables that are supposed to be based on exec_prefix
491 # by default will actually change.
492 # Use braces instead of parens because sh, perl, etc. also accept them.
493 bindir
='${exec_prefix}/bin'
494 sbindir
='${exec_prefix}/sbin'
495 libexecdir
='${exec_prefix}/libexec'
496 datadir
='${prefix}/share'
497 sysconfdir
='${prefix}/etc'
498 sharedstatedir
='${prefix}/com'
499 localstatedir
='${prefix}/var'
500 libdir
='${exec_prefix}/lib'
501 includedir
='${prefix}/include'
502 oldincludedir
='/usr/include'
503 infodir
='${prefix}/info'
504 mandir
='${prefix}/man'
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
516 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
518 # Accept the important Cygnus configure options, so we can diagnose typos.
522 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
524 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
527 -build |
--build |
--buil |
--bui |
--bu)
528 ac_prev
=build_alias
;;
529 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
530 build_alias
=$ac_optarg ;;
532 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
533 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
534 ac_prev
=cache_file
;;
535 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
536 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
537 cache_file
=$ac_optarg ;;
540 cache_file
=config.cache
;;
542 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
544 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
546 datadir
=$ac_optarg ;;
548 -disable-* |
--disable-*)
549 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
557 -enable-* |
--enable-*)
558 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
565 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568 eval "enable_$ac_feature='$ac_optarg'" ;;
570 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
571 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
572 |
--exec |
--exe |
--ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
575 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
576 |
--exec=* |
--exe=* |
--ex=*)
577 exec_prefix
=$ac_optarg ;;
579 -gas |
--gas |
--ga |
--g)
580 # Obsolete; use --with-gas.
583 -help |
--help |
--hel |
--he |
-h)
585 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
586 ac_init_help
=recursive
;;
587 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
588 ac_init_help
=short
;;
590 -host |
--host |
--hos |
--ho)
591 ac_prev
=host_alias
;;
592 -host=* |
--host=* |
--hos=* |
--ho=*)
593 host_alias
=$ac_optarg ;;
595 -includedir |
--includedir |
--includedi |
--included |
--include \
596 |
--includ |
--inclu |
--incl |
--inc)
597 ac_prev
=includedir
;;
598 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
599 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
600 includedir
=$ac_optarg ;;
602 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
604 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
605 infodir
=$ac_optarg ;;
607 -libdir |
--libdir |
--libdi |
--libd)
609 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
612 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
613 |
--libexe |
--libex |
--libe)
614 ac_prev
=libexecdir
;;
615 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
616 |
--libexe=* |
--libex=* |
--libe=*)
617 libexecdir
=$ac_optarg ;;
619 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
620 |
--localstate |
--localstat |
--localsta |
--localst \
621 |
--locals |
--local |
--loca |
--loc |
--lo)
622 ac_prev
=localstatedir
;;
623 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
624 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
625 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
626 localstatedir
=$ac_optarg ;;
628 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
630 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
634 # Obsolete; use --without-fp.
637 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
638 |
--no-cr |
--no-c |
-n)
641 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
642 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
645 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
646 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
647 |
--oldin |
--oldi |
--old |
--ol |
--o)
648 ac_prev
=oldincludedir
;;
649 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
650 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
651 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
652 oldincludedir
=$ac_optarg ;;
654 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
656 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
659 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
660 |
--program-pre |
--program-pr |
--program-p)
661 ac_prev
=program_prefix
;;
662 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
663 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
664 program_prefix
=$ac_optarg ;;
666 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
667 |
--program-suf |
--program-su |
--program-s)
668 ac_prev
=program_suffix
;;
669 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
670 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
671 program_suffix
=$ac_optarg ;;
673 -program-transform-name |
--program-transform-name \
674 |
--program-transform-nam |
--program-transform-na \
675 |
--program-transform-n |
--program-transform- \
676 |
--program-transform |
--program-transfor \
677 |
--program-transfo |
--program-transf \
678 |
--program-trans |
--program-tran \
679 |
--progr-tra |
--program-tr |
--program-t)
680 ac_prev
=program_transform_name
;;
681 -program-transform-name=* |
--program-transform-name=* \
682 |
--program-transform-nam=* |
--program-transform-na=* \
683 |
--program-transform-n=* |
--program-transform-=* \
684 |
--program-transform=* |
--program-transfor=* \
685 |
--program-transfo=* |
--program-transf=* \
686 |
--program-trans=* |
--program-tran=* \
687 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
688 program_transform_name
=$ac_optarg ;;
690 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
691 |
-silent |
--silent |
--silen |
--sile |
--sil)
694 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
696 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
698 sbindir
=$ac_optarg ;;
700 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
701 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
702 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
704 ac_prev
=sharedstatedir
;;
705 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
706 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
707 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
709 sharedstatedir
=$ac_optarg ;;
711 -site |
--site |
--sit)
713 -site=* |
--site=* |
--sit=*)
716 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
718 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
721 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
722 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
723 ac_prev
=sysconfdir
;;
724 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
725 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
726 sysconfdir
=$ac_optarg ;;
728 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
729 ac_prev
=target_alias
;;
730 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
731 target_alias
=$ac_optarg ;;
733 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
736 -version |
--version |
--versio |
--versi |
--vers |
-V)
740 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package
=`echo $ac_package| sed 's/-/_/g'`
747 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750 eval "with_$ac_package='$ac_optarg'" ;;
752 -without-* |
--without-*)
753 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package
=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
762 # Obsolete; use --with-x.
765 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
766 |
--x-incl |
--x-inc |
--x-in |
--x-i)
767 ac_prev
=x_includes
;;
768 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
769 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
770 x_includes
=$ac_optarg ;;
772 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
773 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
774 ac_prev
=x_libraries
;;
775 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
776 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
777 x_libraries
=$ac_optarg ;;
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
785 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
795 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
805 if test -n "$ac_prev"; then
806 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
811 # Be sure to have absolute paths.
812 for ac_var
in exec_prefix prefix
814 eval ac_val
=$
`echo $ac_var`
816 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
822 # Be sure to have absolute paths.
823 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
826 eval ac_val
=$
`echo $ac_var`
828 [\\/$
]* | ?
:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
834 # There might be people who depend on the old broken behavior: `$host'
835 # used to hold the argument of --host etc.
836 # FIXME: To remove some day.
841 # FIXME: To remove some day.
842 if test "x$host_alias" != x
; then
843 if test "x$build_alias" = x
; then
844 cross_compiling
=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
847 elif test "x$build_alias" != "x$host_alias"; then
853 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
855 test "$silent" = yes && exec 6>/dev
/null
858 # Find the source files, if location was not specified.
859 if test -z "$srcdir"; then
860 ac_srcdir_defaulted
=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir
=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
875 if test ! -r $srcdir/$ac_unique_file; then
879 ac_srcdir_defaulted
=no
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
890 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set
=${build_alias+set}
895 ac_env_build_alias_value
=$build_alias
896 ac_cv_env_build_alias_set
=${build_alias+set}
897 ac_cv_env_build_alias_value
=$build_alias
898 ac_env_host_alias_set
=${host_alias+set}
899 ac_env_host_alias_value
=$host_alias
900 ac_cv_env_host_alias_set
=${host_alias+set}
901 ac_cv_env_host_alias_value
=$host_alias
902 ac_env_target_alias_set
=${target_alias+set}
903 ac_env_target_alias_value
=$target_alias
904 ac_cv_env_target_alias_set
=${target_alias+set}
905 ac_cv_env_target_alias_value
=$target_alias
906 ac_env_CC_set
=${CC+set}
908 ac_cv_env_CC_set
=${CC+set}
909 ac_cv_env_CC_value
=$CC
910 ac_env_CFLAGS_set
=${CFLAGS+set}
911 ac_env_CFLAGS_value
=$CFLAGS
912 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value
=$CFLAGS
914 ac_env_LDFLAGS_set
=${LDFLAGS+set}
915 ac_env_LDFLAGS_value
=$LDFLAGS
916 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value
=$LDFLAGS
918 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value
=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_env_CPP_set
=${CPP+set}
923 ac_env_CPP_value
=$CPP
924 ac_cv_env_CPP_set
=${CPP+set}
925 ac_cv_env_CPP_value
=$CPP
926 ac_env_CXX_set
=${CXX+set}
927 ac_env_CXX_value
=$CXX
928 ac_cv_env_CXX_set
=${CXX+set}
929 ac_cv_env_CXX_value
=$CXX
930 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value
=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
934 ac_env_CXXCPP_set
=${CXXCPP+set}
935 ac_env_CXXCPP_value
=$CXXCPP
936 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value
=$CXXCPP
940 # Report the --help message.
942 if test "$ac_init_help" = "long"; then
943 # Omit some internal or obsolete options to make the list less imposing.
944 # This message is too long to be a string in the A/UX 3.1 sh.
946 \`configure' configures GNU Classpath 0.98 to adapt to many kinds of systems.
948 Usage: $0 [OPTION]... [VAR=VALUE]...
950 To assign environment variables (e.g., CC, CFLAGS...), specify them as
951 VAR=VALUE. See below for descriptions of some of the useful variables.
953 Defaults for the options are specified in brackets.
956 -h, --help display this help and exit
957 --help=short display options specific to this package
958 --help=recursive display the short help of all the included packages
959 -V, --version display version information and exit
960 -q, --quiet, --silent do not print \`checking...' messages
961 --cache-file=FILE cache test results in FILE [disabled]
962 -C, --config-cache alias for \`--cache-file=config.cache'
963 -n, --no-create do not create output files
964 --srcdir=DIR find the sources in DIR [configure dir or \`..']
969 Installation directories:
970 --prefix=PREFIX install architecture-independent files in PREFIX
972 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
975 By default, \`make install' will install all the files in
976 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
977 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
978 for instance \`--prefix=\$HOME'.
980 For better control, use the options below.
982 Fine tuning of the installation directories:
983 --bindir=DIR user executables [EPREFIX/bin]
984 --sbindir=DIR system admin executables [EPREFIX/sbin]
985 --libexecdir=DIR program executables [EPREFIX/libexec]
986 --datadir=DIR read-only architecture-independent data [PREFIX/share]
987 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
988 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
989 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
990 --libdir=DIR object code libraries [EPREFIX/lib]
991 --includedir=DIR C header files [PREFIX/include]
992 --oldincludedir=DIR C header files for non-gcc [/usr/include]
993 --infodir=DIR info documentation [PREFIX/info]
994 --mandir=DIR man documentation [PREFIX/man]
1000 --program-prefix=PREFIX prepend PREFIX to installed program names
1001 --program-suffix=SUFFIX append SUFFIX to installed program names
1002 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1005 --x-includes=DIR X include files are
in DIR
1006 --x-libraries=DIR X library files are
in DIR
1009 --build=BUILD configure
for building on BUILD
[guessed
]
1010 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1011 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1015 if test -n "$ac_init_help"; then
1016 case $ac_init_help in
1017 short | recursive
) echo "Configuration of GNU Classpath 0.98:";;
1022 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1023 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1024 --enable-java-maintainer-mode
1025 allow rebuilding of .class and .h files
1026 --enable-generated-files-in-srcdir
1027 put copies of generated files
in source dir
1028 intended
for creating
source tarballs
for users
1029 without texinfo
, perl
, bison or flex.
1030 --enable-multilib build many library versions
(default
)
1031 --enable-collections create collections.jar default
=no
1032 --enable-jni compile JNI
source default
=yes
1033 --enable-core-jni compile JNI sources
for core default
=yes
1034 --enable-default-preferences-peer[=peer
type or class name
]
1035 specify one of
: "gconf" [default
] for a GConf based
1036 backend
, "file" for a
file based one
, "memory" for a
1037 transient one
, or a fully qualified class name
1038 implementing java.util.prefs.PreferencesFactory
1039 --disable-gconf-peer compile GConf native peers
(disabled by
1040 --disable-jni) default
=yes
1042 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1043 --disable-jni) default
=no
1044 --enable-Werror whether to compile C code with
-Werror which turns
1045 any compiler warning into a compilation failure
1047 --enable-default-toolkit
1048 fully qualified class name of default AWT toolkit
1049 --enable-xmlj compile native libxml
/xslt library default
=no
1050 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1052 --disable-dependency-tracking speeds up one-time build
1053 --enable-dependency-tracking do not reject slow dependency extractors
1054 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1056 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1058 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1060 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1062 --enable-gmp compile native java.math.BigInteger library
1063 (disabled by
--disable-gmp) default
=yes
1064 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1066 --enable-regen-headers automatically regenerate JNI headers default
=yes if
1068 --enable-regen-gjdoc-parser
1069 automatically regenerate the GJDoc parser
1070 default=yes if generated source doesn't exist
1071 --enable-tool-wrappers create tool wrapper binaries default
=no
1072 --enable-static[=PKGS
]
1073 build static libraries
[default
=no
]
1074 --enable-shared[=PKGS
]
1075 build shared libraries
[default
=yes]
1076 --enable-fast-install[=PKGS
]
1077 optimize
for fast installation
[default
=yes]
1078 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1079 --disable-rpath do not hardcode runtime library paths
1080 --enable-maintainer-mode enable make rules and dependencies not useful
1081 (and sometimes confusing
) to the casual installer
1082 --enable-debug enable runtime debugging code
1083 --enable-load-library enable to use JNI native methods default
=yes
1084 --enable-java-lang-system-explicit-initialization
1085 will the VM explicitly invoke java.lang.System
's
1086 static initialization methods default=no
1087 --enable-examples enable build of the examples default=yes
1088 --enable-tools enable build of the tools default=yes
1089 --enable-portable-native-sync
1090 synchronize VM threads portably
1091 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1094 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1095 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1096 --with-native-libdir sets the installation directory for native libraries
1097 default='${libdir}/${PACKAGE}'
1098 --with-glibj-dir sets the installation directory for glibj.zip
1099 default='${libdir}/${PACKAGE}'
1100 --with-antlr-jar=file Use ANTLR from the specified jar file
1101 --with-pic try to use only PIC/non-PIC objects [default=use
1103 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1104 --with-gnu-ld assume the C compiler uses GNU ld default=no
1105 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1106 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1107 --with-x use the X Window System
1108 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1109 systems use pkg-config.
1110 --with-javah specify path or name of a javah-like program
1111 --with-vm-classes specify path to VM override
source files
1112 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1114 --with-jar=PATH define to use a jar style tool
1115 --with-glibj define what to
install (zip|flat|both|none|build
)
1117 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1118 --with-jay=DIR|PATH Regenerate the parsers with jay
1119 --with-glibj-zip=ABS.PATH
1120 use prebuilt glibj.
zip class library
1121 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1123 Some influential environment variables
:
1124 CC C compiler
command
1125 CFLAGS C compiler flags
1126 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1127 nonstandard directory
<lib dir
>
1128 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1129 headers
in a nonstandard directory
<include dir
>
1131 CXX C
++ compiler
command
1132 CXXFLAGS C
++ compiler flags
1133 CXXCPP C
++ preprocessor
1135 Use these variables to override the choices made by
`configure' or to help
1136 it to find libraries and programs with nonstandard names/locations.
1138 Report bugs to <classpath@gnu.org>.
1142 if test "$ac_init_help" = "recursive"; then
1143 # If there are subdirs, report their specific --help.
1145 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1146 test -d $ac_dir || continue
1149 if test "$ac_dir" != .; then
1150 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1151 # A "../" for each directory in $ac_dir_suffix.
1152 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1154 ac_dir_suffix= ac_top_builddir=
1158 .) # No --srcdir option. We are building in place.
1160 if test -z "$ac_top_builddir"; then
1163 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1165 [\\/]* | ?:[\\/]* ) # Absolute path.
1166 ac_srcdir=$srcdir$ac_dir_suffix;
1167 ac_top_srcdir=$srcdir ;;
1169 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1170 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1173 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1174 # the directories may not exist.
1176 .) ac_abs_builddir="$ac_dir";;
1179 .) ac_abs_builddir=`pwd`;;
1180 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1181 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1184 case $ac_abs_builddir in
1185 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1187 case ${ac_top_builddir}. in
1188 .) ac_abs_top_builddir=$ac_abs_builddir;;
1189 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1190 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1193 case $ac_abs_builddir in
1194 .) ac_abs_srcdir=$ac_srcdir;;
1197 .) ac_abs_srcdir=$ac_abs_builddir;;
1198 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1199 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1202 case $ac_abs_builddir in
1203 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1205 case $ac_top_srcdir in
1206 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1207 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1208 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1213 # Check for guested configure; otherwise get Cygnus style configure.
1214 if test -f $ac_srcdir/configure.gnu; then
1216 $SHELL $ac_srcdir/configure.gnu --help=recursive
1217 elif test -f $ac_srcdir/configure; then
1219 $SHELL $ac_srcdir/configure --help=recursive
1220 elif test -f $ac_srcdir/configure.ac ||
1221 test -f $ac_srcdir/configure.in; then
1223 $ac_configure --help
1225 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1231 test -n "$ac_init_help" && exit 0
1232 if $ac_init_version; then
1234 GNU Classpath configure 0.98
1235 generated by GNU Autoconf 2.59
1237 Copyright (C) 2003 Free Software Foundation, Inc.
1238 This configure script is free software; the Free Software Foundation
1239 gives unlimited permission to copy, distribute and modify it.
1245 This file contains any messages produced by compilers while
1246 running configure, to aid debugging if configure makes a mistake.
1248 It was created by GNU Classpath $as_me 0.98, which was
1249 generated by GNU Autoconf 2.59. Invocation command line was
1260 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1261 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1262 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1263 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1264 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1266 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1267 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1269 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1270 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1271 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1272 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1273 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1274 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1275 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1283 test -z "$as_dir" && as_dir=.
1284 echo "PATH: $as_dir"
1299 # Keep a trace of the command line.
1300 # Strip out --no-create and --no-recursion so they do not pile up.
1301 # Strip out --silent because we don't want to record it for future runs.
1302 # Also quote any args containing shell meta-characters.
1303 # Make two passes to allow for proper duplicate-argument suppression.
1308 ac_must_keep_next=false
1314 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1316 | -silent | --silent | --silen | --sile | --sil)
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1322 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1324 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1325 if test $ac_must_keep_next = true; then
1326 ac_must_keep_next=false # Got value, back to normal.
1329 *=* | --config-cache | -C | -disable-* | --disable-* \
1330 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1331 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1332 | -with-* | --with-* | -without-* | --without-* | --x)
1333 case "$ac_configure_args0 " in
1334 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1337 -* ) ac_must_keep_next=true ;;
1340 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1341 # Get rid of the leading space.
1347 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1348 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1350 # When interrupted or exit'd, cleanup temporary files, and complete
1351 # config.log. We remove comments because anyway the quotes in there
1352 # would cause problems or look ugly.
1353 # WARNING: Be sure not to use single quotes in there, as some shells,
1354 # such as our DU 5.0 friend, will then `close
' the trap.
1355 trap 'exit_status
=$?
1356 # Save into config.log some information that might help in debugging.
1361 ## ---------------- ##
1362 ## Cache variables. ##
1363 ## ---------------- ##
1366 # The following way of writing the cache mishandles newlines in values,
1369 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1372 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1384 ## ----------------- ##
1385 ## Output variables. ##
1386 ## ----------------- ##
1389 for ac_var
in $ac_subst_vars
1391 eval ac_val
=$
`echo $ac_var`
1392 echo "$ac_var='"'"'$ac_val'"'"'"
1396 if test -n "$ac_subst_files"; then
1403 for ac_var
in $ac_subst_files
1405 eval ac_val
=$
`echo $ac_var`
1406 echo "$ac_var='"'"'$ac_val'"'"'"
1411 if test -s confdefs.h
; then
1418 sed "/^$/d" confdefs.h |
sort
1421 test "$ac_signal" != 0 &&
1422 echo "$as_me: caught signal $ac_signal"
1423 echo "$as_me: exit $exit_status"
1425 rm -f core
*.core
&&
1426 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1429 for ac_signal in 1 2 13 15; do
1430 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1435 rm -rf conftest* confdefs.h
1436 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1439 # Predefined preprocessor variables.
1441 cat >>confdefs.h <<_ACEOF
1442 #define PACKAGE_NAME "$PACKAGE_NAME"
1446 cat >>confdefs.h <<_ACEOF
1447 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1451 cat >>confdefs.h <<_ACEOF
1452 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1456 cat >>confdefs.h <<_ACEOF
1457 #define PACKAGE_STRING "$PACKAGE_STRING"
1461 cat >>confdefs.h <<_ACEOF
1462 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1466 # Let the site file select an alternate cache file if it wants to.
1467 # Prefer explicitly selected file to automatically selected ones.
1468 if test -z "$CONFIG_SITE"; then
1469 if test "x$prefix" != xNONE; then
1470 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1472 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1475 for ac_site_file in $CONFIG_SITE; do
1476 if test -r "$ac_site_file"; then
1477 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1478 echo "$as_me: loading site script $ac_site_file" >&6;}
1479 sed 's
/^
/|
/' "$ac_site_file" >&5
1484 if test -r "$cache_file"; then
1485 # Some versions of bash will fail to source /dev/null (special
1486 # files actually), so we avoid doing that.
1487 if test -f "$cache_file"; then
1488 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1489 echo "$as_me: loading cache $cache_file" >&6;}
1491 [\\/]* | ?:[\\/]* ) . $cache_file;;
1492 *) . ./$cache_file;;
1496 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1497 echo "$as_me: creating cache $cache_file" >&6;}
1501 # Check that the precious variables saved in the cache have kept the same
1503 ac_cache_corrupted=false
1504 for ac_var in `(set) 2>&1 |
1505 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1506 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1507 eval ac_new_set=\$ac_env_${ac_var}_set
1508 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1509 eval ac_new_val="\$ac_env_${ac_var}_value"
1510 case $ac_old_set,$ac_new_set in
1512 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1513 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1514 ac_cache_corrupted=: ;;
1516 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1517 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1518 ac_cache_corrupted=: ;;
1521 if test "x$ac_old_val" != "x$ac_new_val"; then
1522 # differences in whitespace do not lead to failure.
1523 ac_old_val_w=`echo x $ac_old_val`
1524 ac_new_val_w=`echo x $ac_new_val`
1525 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1526 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1527 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1528 ac_cache_corrupted=:
1530 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1531 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1532 eval $ac_var=\$ac_old_val
1534 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1535 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1536 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1537 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1540 # Pass precious variables to config.status.
1541 if test "$ac_new_set" = set; then
1543 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1544 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1545 *) ac_arg=$ac_var=$ac_new_val ;;
1547 case " $ac_configure_args " in
1548 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1549 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1553 if $ac_cache_corrupted; then
1554 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1555 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1556 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1557 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1558 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1559 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1560 { (exit 1); exit 1; }; }
1564 ac_cpp='$CPP $CPPFLAGS'
1565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1601 for ac_dir in ../.. $srcdir/../..; do
1602 if test -f $ac_dir/install-sh; then
1604 ac_install_sh="$ac_aux_dir/install-sh -c"
1606 elif test -f $ac_dir/install.sh; then
1608 ac_install_sh="$ac_aux_dir/install.sh -c"
1610 elif test -f $ac_dir/shtool; then
1612 ac_install_sh="$ac_aux_dir/shtool install -c"
1616 if test -z "$ac_aux_dir"; then
1617 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1618 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1619 { (exit 1); exit 1; }; }
1621 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1622 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1623 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1626 # Make sure we can run config.sub.
1627 $ac_config_sub sun4 >/dev/null 2>&1 ||
1628 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1629 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1630 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: checking build system type" >&5
1633 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1634 if test "${ac_cv_build+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_build_alias=$build_alias
1638 test -z "$ac_cv_build_alias" &&
1639 ac_cv_build_alias=`$ac_config_guess`
1640 test -z "$ac_cv_build_alias" &&
1641 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1642 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1643 { (exit 1); exit 1; }; }
1644 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1645 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1646 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1647 { (exit 1); exit 1; }; }
1650 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1651 echo "${ECHO_T}$ac_cv_build" >&6
1653 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1654 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1655 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1658 echo "$as_me:$LINENO: checking host system type" >&5
1659 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1660 if test "${ac_cv_host+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 ac_cv_host_alias=$host_alias
1664 test -z "$ac_cv_host_alias" &&
1665 ac_cv_host_alias=$ac_cv_build_alias
1666 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1667 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1668 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1669 { (exit 1); exit 1; }; }
1672 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1673 echo "${ECHO_T}$ac_cv_host" >&6
1675 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1676 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1677 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1680 echo "$as_me:$LINENO: checking target system type" >&5
1681 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1682 if test "${ac_cv_target+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 ac_cv_target_alias=$target_alias
1686 test "x$ac_cv_target_alias" = "x" &&
1687 ac_cv_target_alias=$ac_cv_host_alias
1688 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1689 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1690 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1691 { (exit 1); exit 1; }; }
1694 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1695 echo "${ECHO_T}$ac_cv_target" >&6
1696 target=$ac_cv_target
1697 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1698 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1699 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1702 # The aliases save the names the user supplied, while $host etc.
1703 # will get canonicalized.
1704 test -n "$target_alias" &&
1705 test "$program_prefix$program_suffix$program_transform_name" = \
1707 program_prefix=${target_alias}-
1709 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1710 if test "${enable_java_maintainer_mode+set}" = set; then
1711 enableval="$enable_java_maintainer_mode"
1716 if test "$enable_java_maintainer_mode" = yes; then
1717 JAVA_MAINTAINER_MODE_TRUE=
1718 JAVA_MAINTAINER_MODE_FALSE='#'
1720 JAVA_MAINTAINER_MODE_TRUE='#'
1721 JAVA_MAINTAINER_MODE_FALSE=
1725 # We would like to our source tree to be readonly. However when releases or
1726 # pre-releases are generated, the man pages need to be included as they are
1727 # converted from the texi files via perl which we don't require end users to
1729 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1731 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1732 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1733 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1734 if test "${enable_generated_files_in_srcdir+set}" = set; then
1735 enableval="$enable_generated_files_in_srcdir"
1736 generated_files_in_srcdir=$enableval
1738 generated_files_in_srcdir=no
1741 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1742 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1745 if test x$generated_files_in_srcdir = xyes; then
1754 # Find the rest of the source tree framework.
1755 # Default to --enable-multilib
1756 # Check whether --enable-multilib or --disable-multilib was given.
1757 if test "${enable_multilib+set}" = set; then
1758 enableval="$enable_multilib"
1759 case "$enableval" in
1760 yes) multilib=yes ;;
1762 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1763 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1764 { (exit 1); exit 1; }; } ;;
1770 # We may get other options which we leave undocumented:
1771 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1772 # See config-ml.in if you want the gory details.
1774 if test "$srcdir" = "."; then
1775 if test "$with_target_subdir" != "."; then
1776 multi_basedir="$srcdir/$with_multisrctop../../.."
1778 multi_basedir="$srcdir/$with_multisrctop../.."
1781 multi_basedir="$srcdir/../.."
1785 # Even if the default multilib is not a cross compilation,
1786 # it may be that some of the other multilibs are.
1787 if test $cross_compiling = no && test $multilib = yes \
1788 && test "x${with_multisubdir}" != x ; then
1789 cross_compiling=maybe
1792 ac_config_commands="$ac_config_commands default-1"
1797 if test -z "${with_multisubdir}"; then
1798 INSTALL_BINARIES_TRUE=
1799 INSTALL_BINARIES_FALSE='#'
1801 INSTALL_BINARIES_TRUE='#'
1802 INSTALL_BINARIES_FALSE=
1806 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1819 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1822 CLASSPATH_CONVENIENCE="-no-undefined"
1826 am__api_version="1.9"
1827 # Find a good install program. We prefer a C program (faster),
1828 # so one script is as good as another. But avoid the broken or
1829 # incompatible versions:
1830 # SysV /etc/install, /usr/sbin/install
1831 # SunOS /usr/etc/install
1832 # IRIX /sbin/install
1834 # AmigaOS /C/install, which installs bootblocks on floppy discs
1835 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1836 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1837 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1838 # OS/2's system install, which has a completely different semantic
1839 # ./install, which can be erroneously created by make from ./install.sh.
1840 # Reject install programs that cannot install multiple files.
1841 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1842 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1843 if test -z "$INSTALL"; then
1844 if test "${ac_cv_path_install+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 # Account for people who put trailing slashes in PATH elements.
1854 ./ | .// | /cC/* | \
1855 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1856 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1859 # OSF1 and SCO ODT 3.0 have their own names for install.
1860 # Don't use installbsd from OSF since it installs stuff as root
1862 for ac_prog in ginstall scoinst install; do
1863 for ac_exec_ext in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1865 if test $ac_prog = install &&
1866 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1867 # AIX install. It has an incompatible calling convention.
1869 elif test $ac_prog = install &&
1870 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1871 # program-specific install script used by HP pwplus--don't use.
1874 rm -rf conftest.one conftest.two conftest.dir
1875 echo one > conftest.one
1876 echo two > conftest.two
1878 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1879 test -s conftest.one && test -s conftest.two &&
1880 test -s conftest.dir/conftest.one &&
1881 test -s conftest.dir/conftest.two
1883 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1894 rm -rf conftest.one conftest.two conftest.dir
1897 if test "${ac_cv_path_install+set}" = set; then
1898 INSTALL=$ac_cv_path_install
1900 # As a last resort, use the slow shell script. Don't cache a
1901 # value for INSTALL within a source directory, because that will
1902 # break other packages using the cache if that directory is
1903 # removed, or if the value is a relative name.
1904 INSTALL=$ac_install_sh
1907 echo "$as_me:$LINENO: result: $INSTALL" >&5
1908 echo "${ECHO_T}$INSTALL" >&6
1910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1911 # It thinks the first close brace ends the variable substitution.
1912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1916 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1918 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1919 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1922 echo timestamp > conftest.file
1923 # Do `set' in a subshell so we don't clobber the current shell
's
1924 # arguments. Must try -L first in case configure is actually a
1925 # symlink; some systems play weird games with the mod time of symlinks
1926 # (eg FreeBSD returns the mod time of the symlink's containing
1929 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1930 if test "$*" = "X"; then
1932 set X
`ls -t $srcdir/configure conftest.file`
1935 if test "$*" != "X $srcdir/configure conftest.file" \
1936 && test "$*" != "X conftest.file $srcdir/configure"; then
1938 # If neither matched, then we have a broken ls. This can happen
1939 # if, for instance, CONFIG_SHELL is bash and it inherits a
1940 # broken ls alias from the environment. This has actually
1941 # happened. Such a system could not be considered "sane".
1942 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1943 alias in your environment" >&5
1944 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1945 alias in your environment" >&2;}
1946 { (exit 1); exit 1; }; }
1949 test "$2" = conftest.
file
1955 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1956 Check your system clock" >&5
1957 echo "$as_me: error: newly created file is older than distributed files!
1958 Check your system clock" >&2;}
1959 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1963 test "$program_prefix" != NONE
&&
1964 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1965 # Use a double $ so make ignores it.
1966 test "$program_suffix" != NONE
&&
1967 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1968 # Double any \ or $. echo might interpret backslashes.
1969 # By default was `s,x,x', remove it if useless.
1970 cat <<\_ACEOF
>conftest.
sed
1971 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1973 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1976 # expand $ac_aux_dir to an absolute path
1977 am_aux_dir
=`cd $ac_aux_dir && pwd`
1979 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1980 # Use eval to expand $SHELL
1981 if eval "$MISSING --run true"; then
1982 am_missing_run
="$MISSING --run "
1985 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1986 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1989 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1990 # We used to keeping the `.' as first argument, in order to
1991 # allow $(mkdir_p) to be used without argument. As in
1992 # $(mkdir_p) $(somedir)
1993 # where $(somedir) is conditionally defined. However this is wrong
1995 # 1. if the package is installed by a user who cannot write `.'
1996 # make install will fail,
1997 # 2. the above comment should most certainly read
1998 # $(mkdir_p) $(DESTDIR)$(somedir)
1999 # so it does not work when $(somedir) is undefined and
2000 # $(DESTDIR) is not.
2001 # To support the latter case, we have to write
2002 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2003 # so the `.' trick is pointless.
2004 mkdir_p
='mkdir -p --'
2006 # On NextStep and OpenStep, the `mkdir' command does not
2007 # recognize any option. It will interpret all options as
2008 # directories to create, and then abort because `.' already
2010 for d
in .
/-p .
/--version;
2012 test -d $d && rmdir $d
2014 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2015 if test -f "$ac_aux_dir/mkinstalldirs"; then
2016 mkdir_p
='$(mkinstalldirs)'
2018 mkdir_p
='$(install_sh) -d'
2022 for ac_prog
in gawk mawk nawk
awk
2024 # Extract the first word of "$ac_prog", so it can be a program name with args.
2025 set dummy
$ac_prog; ac_word
=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_AWK+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$AWK"; then
2032 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 for ac_exec_ext
in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_AWK
="$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$AWK"; then
2052 echo "$as_me:$LINENO: result: $AWK" >&5
2053 echo "${ECHO_T}$AWK" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2059 test -n "$AWK" && break
2062 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2064 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2065 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 cat >conftest.
make <<\_ACEOF
2070 @
echo 'ac_maketemp="$(MAKE)"'
2072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2073 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2074 if test -n "$ac_maketemp"; then
2075 eval ac_cv_prog_make_
${ac_make}_set
=yes
2077 eval ac_cv_prog_make_
${ac_make}_set
=no
2081 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2082 echo "$as_me:$LINENO: result: yes" >&5
2083 echo "${ECHO_T}yes" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2088 SET_MAKE
="MAKE=${MAKE-make}"
2091 rm -rf .tst
2>/dev
/null
2092 mkdir .tst
2>/dev
/null
2093 if test -d .tst
; then
2098 rmdir .tst
2>/dev
/null
2100 # test to see if srcdir already configured
2101 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2102 test -f $srcdir/config.status
; then
2103 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2104 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2105 { (exit 1); exit 1; }; }
2108 # test whether we have cygpath
2109 if test -z "$CYGPATH_W"; then
2110 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2111 CYGPATH_W
='cygpath -w'
2118 # Define the identity of the package.
2123 cat >>confdefs.h
<<_ACEOF
2124 #define PACKAGE "$PACKAGE"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define VERSION "$VERSION"
2132 # Some tools Automake needs.
2134 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2137 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2140 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2143 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2146 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2148 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2150 # Installed binaries are usually stripped using `strip' when the user
2151 # run `make install-strip'. However `strip' might not be the right
2152 # tool to use in cross-compilation environments, therefore Automake
2153 # will honor the `STRIP' environment variable to overrule this program.
2154 if test "$cross_compiling" != no
; then
2155 if test -n "$ac_tool_prefix"; then
2156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2157 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_STRIP+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$STRIP"; then
2164 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 STRIP
=$ac_cv_prog_STRIP
2183 if test -n "$STRIP"; then
2184 echo "$as_me:$LINENO: result: $STRIP" >&5
2185 echo "${ECHO_T}$STRIP" >&6
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2192 if test -z "$ac_cv_prog_STRIP"; then
2194 # Extract the first word of "strip", so it can be a program name with args.
2195 set dummy strip
; ac_word
=$2
2196 echo "$as_me:$LINENO: checking for $ac_word" >&5
2197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2198 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 if test -n "$ac_ct_STRIP"; then
2202 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir
=.
2209 for ac_exec_ext
in '' $ac_executable_extensions; do
2210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2211 ac_cv_prog_ac_ct_STRIP
="strip"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2221 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2222 if test -n "$ac_ct_STRIP"; then
2223 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2224 echo "${ECHO_T}$ac_ct_STRIP" >&6
2226 echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6
2232 STRIP
="$ac_cv_prog_STRIP"
2236 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2238 # We need awk for the "check" target. The system "awk" is bad on
2240 # Always define AMTAR for backward compatibility.
2242 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2245 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2246 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2247 # Loop over all known methods to create a tar archive until one works.
2248 _am_tools
='gnutar plaintar pax cpio none'
2249 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2250 # Do not fold the above two line into one, because Tru64 sh and
2251 # Solaris sh will not grok spaces in the rhs of `-'.
2252 for _am_tool
in $_am_tools
2256 for _am_tar
in tar gnutar gtar
;
2258 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2259 ($_am_tar --version) >&5 2>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } && break
2264 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2265 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2266 am__untar
="$_am_tar -xf -"
2269 # Must skip GNU tar: if it does not support --format= it doesn't create
2270 # ustar tarball either.
2271 (tar --version) >/dev
/null
2>&1 && continue
2272 am__tar
='tar chf - "$$tardir"'
2273 am__tar_
='tar chf - "$tardir"'
2274 am__untar
='tar xf -'
2277 am__tar
='pax -L -x ustar -w "$$tardir"'
2278 am__tar_
='pax -L -x ustar -w "$tardir"'
2282 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2283 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2284 am__untar
='cpio -i -H ustar -d'
2293 # If the value was cached, stop now. We just wanted to have am__tar
2294 # and am__untar set.
2295 test -n "${am_cv_prog_tar_ustar}" && break
2297 # tar/untar a dummy directory, and stop if the command works
2300 echo GrepMe
> conftest.dir
/file
2301 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2302 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }
2307 if test -s conftest.
tar; then
2308 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2309 ($am__untar <conftest.
tar) >&5 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }
2313 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2318 if test "${am_cv_prog_tar_ustar+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 am_cv_prog_tar_ustar
=$_am_tool
2324 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2325 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2331 ac_config_headers
="$ac_config_headers include/config.h"
2337 # Check whether --enable-collections or --disable-collections was given.
2338 if test "${enable_collections+set}" = set; then
2339 enableval
="$enable_collections"
2340 case x
"${enableval}" in
2341 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2342 xno
) COMPILE_COLLECTIONS
=no
;;
2343 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2344 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2347 COMPILE_COLLECTIONS
=no
2351 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2352 CREATE_COLLECTIONS_TRUE
=
2353 CREATE_COLLECTIONS_FALSE
='#'
2355 CREATE_COLLECTIONS_TRUE
='#'
2356 CREATE_COLLECTIONS_FALSE
=
2360 # Check whether --enable-jni or --disable-jni was given.
2361 if test "${enable_jni+set}" = set; then
2362 enableval
="$enable_jni"
2363 case "${enableval}" in
2364 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2365 no
) COMPILE_JNI
=no
;;
2366 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2373 if test "x${COMPILE_JNI}" = xyes
; then
2374 CREATE_JNI_LIBRARIES_TRUE
=
2375 CREATE_JNI_LIBRARIES_FALSE
='#'
2377 CREATE_JNI_LIBRARIES_TRUE
='#'
2378 CREATE_JNI_LIBRARIES_FALSE
=
2382 # Check whether --enable-core-jni or --disable-core-jni was given.
2383 if test "${enable_core_jni+set}" = set; then
2384 enableval
="$enable_core_jni"
2385 case "${enableval}" in
2386 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2387 no
) COMPILE_CORE_JNI
=no
;;
2388 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2391 COMPILE_CORE_JNI
=yes
2395 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2396 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2397 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2399 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2400 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2404 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2405 if test "${enable_default_preferences_peer+set}" = set; then
2406 enableval
="$enable_default_preferences_peer"
2407 case "${enableval}" in
2408 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2409 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2410 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2411 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2412 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2413 { (exit 1); exit 1; }; } ;;
2414 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2417 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2420 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2421 if test "${enable_gconf_peer+set}" = set; then
2422 enableval
="$enable_gconf_peer"
2423 case "${enableval}" in
2424 yes) COMPILE_GCONF_PEER
=yes ;;
2425 no
) COMPILE_GCONF_PEER
=no
;;
2426 *) COMPILE_GCONF_PEER
=yes ;;
2429 COMPILE_GCONF_PEER
=yes
2433 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2434 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2435 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2437 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2438 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2442 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2443 if test "${enable_gconf_peers+set}" = set; then
2444 enableval
="$enable_gconf_peers"
2445 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2446 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2447 { (exit 1); exit 1; }; }
2450 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2451 if test "${enable_gstreamer_peer+set}" = set; then
2452 enableval
="$enable_gstreamer_peer"
2453 case "${enableval}" in
2454 yes) COMPILE_GSTREAMER_PEER
=yes ;;
2455 no
) COMPILE_GSTREAMER_PEER
=no
;;
2456 *) COMPILE_GSTREAMER_PEER
=default
;;
2459 COMPILE_GSTREAMER_PEER
=default
2463 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
2464 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
2465 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
2467 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
2468 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
2472 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2473 if test "${enable_gstreamer_peers+set}" = set; then
2474 enableval
="$enable_gstreamer_peers"
2475 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2476 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2477 { (exit 1); exit 1; }; }
2480 # Check whether --enable-Werror or --disable-Werror was given.
2481 if test "${enable_Werror+set}" = set; then
2482 enableval
="$enable_Werror"
2483 case "${enableval}" in
2484 yes) ENABLE_WERROR
=yes ;;
2485 no
) ENABLE_WERROR
=no
;;
2486 *) ENABLE_WERROR
=default
;;
2489 ENABLE_WERROR
=default
2492 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2493 if test "${enable_default_toolkit+set}" = set; then
2494 enableval
="$enable_default_toolkit"
2497 default_toolkit
=$enable_default_toolkit
2498 if test "$default_toolkit" = ""; then
2499 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2503 # Check whether --enable-xmlj or --disable-xmlj was given.
2504 if test "${enable_xmlj+set}" = set; then
2505 enableval
="$enable_xmlj"
2506 case "${enableval}" in
2507 yes) COMPILE_XMLJ
=yes ;;
2508 no
) COMPILE_XMLJ
=no
;;
2509 *) COMPILE_XMLJ
=no
;;
2516 if test "x${COMPILE_XMLJ}" = xyes
; then
2517 CREATE_XMLJ_LIBRARY_TRUE
=
2518 CREATE_XMLJ_LIBRARY_FALSE
='#'
2520 CREATE_XMLJ_LIBRARY_TRUE
='#'
2521 CREATE_XMLJ_LIBRARY_FALSE
=
2525 DEPDIR
="${am__leading_dot}deps"
2527 ac_config_commands
="$ac_config_commands depfiles"
2530 am_make
=${MAKE-make}
2531 cat > confinc
<< 'END'
2536 # If we don't find an include directive, just comment out the code.
2537 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2538 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2542 # First try GNU make style include.
2543 echo "include confinc" > confmf
2544 # We grep out `Entering directory' and `Leaving directory'
2545 # messages which can occur if `w' ends up in MAKEFLAGS.
2546 # In particular we don't look at `^make:' because GNU make might
2547 # be invoked under some other name (usually "gmake"), in which
2548 # case it prints its new name instead of `make'.
2549 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2554 # Now try BSD make style include.
2555 if test "$am__include" = "#"; then
2556 echo '.include "confinc"' > confmf
2557 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2558 am__include
=.include
2565 echo "$as_me:$LINENO: result: $_am_result" >&5
2566 echo "${ECHO_T}$_am_result" >&6
2567 rm -f confinc confmf
2569 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2570 if test "${enable_dependency_tracking+set}" = set; then
2571 enableval
="$enable_dependency_tracking"
2574 if test "x$enable_dependency_tracking" != xno
; then
2575 am_depcomp
="$ac_aux_dir/depcomp"
2580 if test "x$enable_dependency_tracking" != xno; then
2591 ac_cpp
='$CPP $CPPFLAGS'
2592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 if test -n "$ac_tool_prefix"; then
2596 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2597 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2598 echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2600 if test "${ac_cv_prog_CC+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 if test -n "$CC"; then
2604 ac_cv_prog_CC
="$CC" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 if test -n "$CC"; then
2624 echo "$as_me:$LINENO: result: $CC" >&5
2625 echo "${ECHO_T}$CC" >&6
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2632 if test -z "$ac_cv_prog_CC"; then
2634 # Extract the first word of "gcc", so it can be a program name with args.
2635 set dummy gcc
; ac_word
=$2
2636 echo "$as_me:$LINENO: checking for $ac_word" >&5
2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -n "$ac_ct_CC"; then
2642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_ac_ct_CC
="gcc"
2652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2661 if test -n "$ac_ct_CC"; then
2662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2663 echo "${ECHO_T}$ac_ct_CC" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2674 if test -z "$CC"; then
2675 if test -n "$ac_tool_prefix"; then
2676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2677 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2678 echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2680 if test "${ac_cv_prog_CC+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$CC"; then
2684 ac_cv_prog_CC
="$CC" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$CC"; then
2704 echo "$as_me:$LINENO: result: $CC" >&5
2705 echo "${ECHO_T}$CC" >&6
2707 echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6
2712 if test -z "$ac_cv_prog_CC"; then
2714 # Extract the first word of "cc", so it can be a program name with args.
2715 set dummy cc
; ac_word
=$2
2716 echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 if test -n "$ac_ct_CC"; then
2722 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_ac_ct_CC
="cc"
2732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2741 if test -n "$ac_ct_CC"; then
2742 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2743 echo "${ECHO_T}$ac_ct_CC" >&6
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2755 if test -z "$CC"; then
2756 # Extract the first word of "cc", so it can be a program name with args.
2757 set dummy cc
; ac_word
=$2
2758 echo "$as_me:$LINENO: checking for $ac_word" >&5
2759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2760 if test "${ac_cv_prog_CC+set}" = set; then
2761 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 if test -n "$CC"; then
2764 ac_cv_prog_CC
="$CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2775 ac_prog_rejected
=yes
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test $ac_prog_rejected = yes; then
2786 # We found a bogon in the path, so make sure we never use it.
2787 set dummy
$ac_cv_prog_CC
2789 if test $# != 0; then
2790 # We chose a different compiler from the bogus one.
2791 # However, it has the same basename, so the bogon will be chosen
2792 # first if we set CC to just the basename; use the full file name.
2794 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2800 if test -n "$CC"; then
2801 echo "$as_me:$LINENO: result: $CC" >&5
2802 echo "${ECHO_T}$CC" >&6
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2809 if test -z "$CC"; then
2810 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2814 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2815 echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC
="$CC" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test -n "$CC"; then
2841 echo "$as_me:$LINENO: result: $CC" >&5
2842 echo "${ECHO_T}$CC" >&6
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2848 test -n "$CC" && break
2851 if test -z "$CC"; then
2855 # Extract the first word of "$ac_prog", so it can be a program name with args.
2856 set dummy
$ac_prog; ac_word
=$2
2857 echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2859 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 if test -n "$ac_ct_CC"; then
2863 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_ac_ct_CC
="$ac_prog"
2873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2882 if test -n "$ac_ct_CC"; then
2883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2884 echo "${ECHO_T}$ac_ct_CC" >&6
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2890 test -n "$ac_ct_CC" && break
2899 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2900 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2902 See \`config.log' for more details." >&5
2903 echo "$as_me: error: no acceptable C compiler found in \$PATH
2904 See \`config.log' for more details." >&2;}
2905 { (exit 1); exit 1; }; }; }
2907 # Provide some information about the compiler.
2908 echo "$as_me:$LINENO:" \
2909 "checking for C compiler version" >&5
2910 ac_compiler
=`set X $ac_compile; echo $2`
2911 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2912 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2916 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2917 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }
2921 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2922 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }
2927 cat >conftest.
$ac_ext <<_ACEOF
2930 cat confdefs.h
>>conftest.
$ac_ext
2931 cat >>conftest.
$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2944 (eval $ac_link) 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2953 if test x
$gcc_no_link = xyes
; then
2954 # Setting cross_compile will disable run tests; it will
2955 # also disable AC_CHECK_FILE but that's generally
2956 # correct if we can't link.
2960 cat >conftest.
$ac_ext <<_ACEOF
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 ac_clean_files_save
=$ac_clean_files
2976 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2981 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2982 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2983 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2984 (eval $ac_link_default) 2>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; then
2988 # Find the output, starting from the most likely. This scheme is
2989 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2992 # Be careful to initialize this variable, since it used to be cached.
2993 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2995 # b.out is created by i960 compilers.
2996 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2998 test -f "$ac_file" ||
continue
3000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3003 # This is the source file.
3006 # We found the default executable, but exeext='' is most
3010 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011 # FIXME: I believe we export ac_cv_exeext for Libtool,
3012 # but it would be cool to find out if it's true. Does anybody
3013 # maintain Libtool? --akim.
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.
$ac_ext >&5
3024 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: C compiler cannot create executables
3029 See \`config.log' for more details." >&2;}
3030 { (exit 77); exit 77; }; }; }
3033 ac_exeext
=$ac_cv_exeext
3034 echo "$as_me:$LINENO: result: $ac_file" >&5
3035 echo "${ECHO_T}$ac_file" >&6
3037 # Check the compiler produces executables we can run. If not, either
3038 # the compiler is broken, or we cross compile.
3039 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3040 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3041 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3042 # If not cross compiling, check that we can run a simple program.
3043 if test "$cross_compiling" != yes; then
3044 if { ac_try
='./$ac_file'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3052 if test "$cross_compiling" = maybe
; then
3055 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3058 If you meant to cross compile, use \`--host'.
3059 See \`config.log' for more details." >&5
3060 echo "$as_me: error: cannot run C compiled programs.
3061 If you meant to cross compile, use \`--host'.
3062 See \`config.log' for more details." >&2;}
3063 { (exit 1); exit 1; }; }; }
3067 echo "$as_me:$LINENO: result: yes" >&5
3068 echo "${ECHO_T}yes" >&6
3070 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3071 ac_clean_files
=$ac_clean_files_save
3072 # Check the compiler produces executables we can run. If not, either
3073 # the compiler is broken, or we cross compile.
3074 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3075 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3076 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3077 echo "${ECHO_T}$cross_compiling" >&6
3079 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3080 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3082 (eval $ac_link) 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; then
3086 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3087 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3088 # work properly (i.e., refer to `conftest.exe'), while it won't with
3090 for ac_file
in conftest.exe conftest conftest.
*; do
3091 test -f "$ac_file" ||
continue
3093 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3094 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3101 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3102 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3106 See \`config.log' for more details." >&2;}
3107 { (exit 1); exit 1; }; }; }
3110 rm -f conftest
$ac_cv_exeext
3111 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3112 echo "${ECHO_T}$ac_cv_exeext" >&6
3114 rm -f conftest.
$ac_ext
3115 EXEEXT
=$ac_cv_exeext
3118 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3119 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3120 if test "${ac_cv_objext+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 cat >conftest.
$ac_ext <<_ACEOF
3126 cat confdefs.h
>>conftest.
$ac_ext
3127 cat >>conftest.
$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3138 rm -f conftest.o conftest.obj
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; then
3144 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3146 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3147 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3156 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3158 See \`config.log' for more details." >&5
3159 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3160 See \`config.log' for more details." >&2;}
3161 { (exit 1); exit 1; }; }; }
3164 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3166 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3167 echo "${ECHO_T}$ac_cv_objext" >&6
3168 OBJEXT
=$ac_cv_objext
3170 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3171 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3172 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 cat >conftest.
$ac_ext <<_ACEOF
3178 cat confdefs.h
>>conftest.
$ac_ext
3179 cat >>conftest.
$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3193 rm -f conftest.
$ac_objext
3194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195 (eval $ac_compile) 2>conftest.er1
3197 grep -v '^ *+' conftest.er1
>conftest.err
3199 cat conftest.err
>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } &&
3202 { ac_try
='test -z "$ac_c_werror_flag"
3203 || test ! -s conftest.err'
3204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }; } &&
3209 { ac_try
='test -s conftest.$ac_objext'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; }; then
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.
$ac_ext >&5
3222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3223 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3226 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3227 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3228 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3229 ac_test_CFLAGS
=${CFLAGS+set}
3230 ac_save_CFLAGS
=$CFLAGS
3232 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3233 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3234 if test "${ac_cv_prog_cc_g+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 cat >conftest.
$ac_ext <<_ACEOF
3240 cat confdefs.h
>>conftest.
$ac_ext
3241 cat >>conftest.
$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3252 rm -f conftest.
$ac_objext
3253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254 (eval $ac_compile) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1
>conftest.err
3258 cat conftest.err
>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } &&
3261 { ac_try
='test -z "$ac_c_werror_flag"
3262 || test ! -s conftest.err'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; } &&
3268 { ac_try
='test -s conftest.$ac_objext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.
$ac_ext >&5
3281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3284 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3285 if test "$ac_test_CFLAGS" = set; then
3286 CFLAGS
=$ac_save_CFLAGS
3287 elif test $ac_cv_prog_cc_g = yes; then
3288 if test "$GCC" = yes; then
3294 if test "$GCC" = yes; then
3300 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3301 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3302 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 ac_cv_prog_cc_stdc
=no
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3315 #include <sys/types.h>
3316 #include <sys/stat.h>
3317 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3318 struct buf { int x; };
3319 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3320 static char *e (p, i)
3326 static char *f (char * (*g) (char **, int), char **p, ...)
3331 s = g (p, va_arg (v,int));
3336 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3337 function prototypes and stuff, but not '\xHH' hex character constants.
3338 These don't provoke an error unfortunately, instead are silently treated
3339 as 'x'. The following induces an error, until -std1 is added to get
3340 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3341 array size at least. It's necessary to write '\x00'==0 to get something
3342 that's true only with -std1. */
3343 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3345 int test (int i, double x);
3346 struct s1 {int (*f) (int a);};
3347 struct s2 {int (*f) (double a);};
3348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3354 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3359 # Don't try gcc -ansi; that turns off useful extensions and
3360 # breaks some systems' header files.
3361 # AIX -qlanglvl=ansi
3362 # Ultrix and OSF/1 -std1
3363 # HP-UX 10.20 and later -Ae
3364 # HP-UX older versions -Aa -D_HPUX_SOURCE
3365 # SVR4 -Xc -D__EXTENSIONS__
3366 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3368 CC
="$ac_save_CC $ac_arg"
3369 rm -f conftest.
$ac_objext
3370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3371 (eval $ac_compile) 2>conftest.er1
3373 grep -v '^ *+' conftest.er1
>conftest.err
3375 cat conftest.err
>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } &&
3378 { ac_try
='test -z "$ac_c_werror_flag"
3379 || test ! -s conftest.err'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_cv_prog_cc_stdc
=$ac_arg
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.
$ac_ext >&5
3398 rm -f conftest.err conftest.
$ac_objext
3400 rm -f conftest.
$ac_ext conftest.
$ac_objext
3405 case "x$ac_cv_prog_cc_stdc" in
3407 echo "$as_me:$LINENO: result: none needed" >&5
3408 echo "${ECHO_T}none needed" >&6 ;;
3410 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3411 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3412 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3415 # Some people use a C++ compiler to compile C. Since we use `exit',
3416 # in C++ we need to declare it. In case someone uses the same compiler
3417 # for both compiling C and C++ we need to have the C++ compiler decide
3418 # the declaration of exit, since it's the most demanding environment.
3419 cat >conftest.
$ac_ext <<_ACEOF
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 for ac_declaration
in \
3448 'extern "C" void std::exit (int) throw (); using std::exit;' \
3449 'extern "C" void std::exit (int); using std::exit;' \
3450 'extern "C" void exit (int) throw ();' \
3451 'extern "C" void exit (int);' \
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3470 rm -f conftest.
$ac_objext
3471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3472 (eval $ac_compile) 2>conftest.er1
3474 grep -v '^ *+' conftest.er1
>conftest.err
3476 cat conftest.err
>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } &&
3479 { ac_try
='test -z "$ac_c_werror_flag"
3480 || test ! -s conftest.err'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; } &&
3486 { ac_try
='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3500 cat >conftest.
$ac_ext <<_ACEOF
3503 cat confdefs.h
>>conftest.
$ac_ext
3504 cat >>conftest.
$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1
>conftest.err
3521 cat conftest.err
>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -z "$ac_c_werror_flag"
3525 || test ! -s conftest.err'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; } &&
3531 { ac_try
='test -s conftest.$ac_objext'
3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }; }; then
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.
$ac_ext >&5
3543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 if test -n "$ac_declaration"; then
3547 echo '#ifdef __cplusplus' >>confdefs.h
3548 echo $ac_declaration >>confdefs.h
3549 echo '#endif' >>confdefs.h
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.
$ac_ext >&5
3557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3559 ac_cpp
='$CPP $CPPFLAGS'
3560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3564 depcc
="$CC" am_compiler_list
=
3566 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3567 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3568 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3572 # We make a subdir and do the tests there. Otherwise we can end up
3573 # making bogus files that we don't know about and never remove. For
3574 # instance it was reported that on HP-UX the gcc test will end up
3575 # making a dummy file named `D' -- because `-MD' means `put the output
3578 # Copy depcomp to subdir because otherwise we won't find it if we're
3579 # using a relative directory.
3580 cp "$am_depcomp" conftest.dir
3582 # We will build objects and dependencies in a subdirectory because
3583 # it helps to detect inapplicable dependency modes. For instance
3584 # both Tru64's cc and ICC support -MD to output dependencies as a
3585 # side effect of compilation, but ICC will put the dependencies in
3586 # the current directory while Tru64 will put them in the object
3590 am_cv_CC_dependencies_compiler_type
=none
3591 if test "$am_compiler_list" = ""; then
3592 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3594 for depmode
in $am_compiler_list; do
3595 # Setup a source with many dependencies, because some compilers
3596 # like to wrap large dependency lists on column 80 (with \), and
3597 # we should not choose a depcomp mode which is confused by this.
3599 # We need to recreate these files for each test, as the compiler may
3600 # overwrite some of them when testing with obscure command lines.
3601 # This happens at least with the AIX C compiler.
3603 for i
in 1 2 3 4 5 6; do
3604 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3605 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3606 # Solaris 8's {/usr,}/bin/sh.
3607 touch sub
/conftst
$i.h
3609 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3613 # after this tag, mechanisms are not by side-effect, so they'll
3614 # only be used when explicitly requested
3615 if test "x$enable_dependency_tracking" = xyes
; then
3623 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3624 # mode. It turns out that the SunPro C++ compiler does not properly
3625 # handle `-M -o', and we need to detect this.
3626 if depmode
=$depmode \
3627 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3628 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3629 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3630 >/dev
/null
2>conftest.err
&&
3631 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3632 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3633 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3634 # icc doesn't choke on unknown options, it will just issue warnings
3635 # or remarks (even with -Werror). So we grep stderr for any message
3636 # that says an option was ignored or not supported.
3637 # When given -MP, icc 7.0 and 7.1 complain thusly:
3638 # icc: Command line warning: ignoring option '-M'; no argument required
3639 # The diagnosis changed in icc 8.0:
3640 # icc: Command line remark: option '-MP' not supported
3641 if (grep 'ignoring option' conftest.err ||
3642 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3643 am_cv_CC_dependencies_compiler_type
=$depmode
3652 am_cv_CC_dependencies_compiler_type
=none
3656 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3657 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3658 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3663 test "x$enable_dependency_tracking" != xno \
3664 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3666 am__fastdepCC_FALSE
='#'
3668 am__fastdepCC_TRUE
='#'
3669 am__fastdepCC_FALSE
=
3675 ac_cpp
='$CPP $CPPFLAGS'
3676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3679 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3680 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3681 # On Suns, sometimes $CPP names a directory.
3682 if test -n "$CPP" && test -d "$CPP"; then
3685 if test -z "$CPP"; then
3686 if test "${ac_cv_prog_CPP+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 # Double quotes because CPP needs to be expanded
3690 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3693 for ac_c_preproc_warn_flag
in '' yes
3695 # Use a header file that comes with gcc, so configuring glibc
3696 # with a fresh cross-compiler works.
3697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3698 # <limits.h> exists even on freestanding compilers.
3699 # On the NeXT, cc -E runs the code through the compiler's parser,
3700 # not just through cpp. "Syntax error" is here to catch this case.
3701 cat >conftest.
$ac_ext <<_ACEOF
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3708 # include <limits.h>
3710 # include <assert.h>
3714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1
>conftest.err
3719 cat conftest.err
>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } >/dev
/null
; then
3722 if test -s conftest.err
; then
3723 ac_cpp_err
=$ac_c_preproc_warn_flag
3724 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3731 if test -z "$ac_cpp_err"; then
3734 echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.
$ac_ext >&5
3737 # Broken: fails on valid input.
3740 rm -f conftest.err conftest.
$ac_ext
3742 # OK, works on sane cases. Now check whether non-existent headers
3743 # can be detected and how.
3744 cat >conftest.
$ac_ext <<_ACEOF
3747 cat confdefs.h
>>conftest.
$ac_ext
3748 cat >>conftest.
$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 #include <ac_nonexistent.h>
3752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3755 grep -v '^ *+' conftest.er1
>conftest.err
3757 cat conftest.err
>&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev
/null
; then
3760 if test -s conftest.err
; then
3761 ac_cpp_err
=$ac_c_preproc_warn_flag
3762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3769 if test -z "$ac_cpp_err"; then
3770 # Broken: success on invalid input.
3773 echo "$as_me: failed program was:" >&5
3774 sed 's/^/| /' conftest.
$ac_ext >&5
3776 # Passes both tests.
3780 rm -f conftest.err conftest.
$ac_ext
3783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3784 rm -f conftest.err conftest.
$ac_ext
3785 if $ac_preproc_ok; then
3797 echo "$as_me:$LINENO: result: $CPP" >&5
3798 echo "${ECHO_T}$CPP" >&6
3800 for ac_c_preproc_warn_flag
in '' yes
3802 # Use a header file that comes with gcc, so configuring glibc
3803 # with a fresh cross-compiler works.
3804 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3805 # <limits.h> exists even on freestanding compilers.
3806 # On the NeXT, cc -E runs the code through the compiler's parser,
3807 # not just through cpp. "Syntax error" is here to catch this case.
3808 cat >conftest.
$ac_ext <<_ACEOF
3811 cat confdefs.h
>>conftest.
$ac_ext
3812 cat >>conftest.
$ac_ext <<_ACEOF
3813 /* end confdefs.h. */
3815 # include <limits.h>
3817 # include <assert.h>
3821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3824 grep -v '^ *+' conftest.er1
>conftest.err
3826 cat conftest.err
>&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } >/dev
/null
; then
3829 if test -s conftest.err
; then
3830 ac_cpp_err
=$ac_c_preproc_warn_flag
3831 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3838 if test -z "$ac_cpp_err"; then
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.
$ac_ext >&5
3844 # Broken: fails on valid input.
3847 rm -f conftest.err conftest.
$ac_ext
3849 # OK, works on sane cases. Now check whether non-existent headers
3850 # can be detected and how.
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 #include <ac_nonexistent.h>
3859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1
>conftest.err
3864 cat conftest.err
>&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } >/dev
/null
; then
3867 if test -s conftest.err
; then
3868 ac_cpp_err
=$ac_c_preproc_warn_flag
3869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3876 if test -z "$ac_cpp_err"; then
3877 # Broken: success on invalid input.
3880 echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.
$ac_ext >&5
3883 # Passes both tests.
3887 rm -f conftest.err conftest.
$ac_ext
3890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3891 rm -f conftest.err conftest.
$ac_ext
3892 if $ac_preproc_ok; then
3895 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3896 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3897 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3898 See \`config.log' for more details." >&5
3899 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details." >&2;}
3901 { (exit 1); exit 1; }; }; }
3905 ac_cpp
='$CPP $CPPFLAGS'
3906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3911 echo "$as_me:$LINENO: checking for egrep" >&5
3912 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3913 if test "${ac_cv_prog_egrep+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3917 then ac_cv_prog_egrep
='grep -E'
3918 else ac_cv_prog_egrep
='egrep'
3921 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3922 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3923 EGREP
=$ac_cv_prog_egrep
3926 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3927 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3928 if test "${ac_cv_header_stdc+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 cat >conftest.
$ac_ext <<_ACEOF
3934 cat confdefs.h
>>conftest.
$ac_ext
3935 cat >>conftest.
$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3950 rm -f conftest.
$ac_objext
3951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3952 (eval $ac_compile) 2>conftest.er1
3954 grep -v '^ *+' conftest.er1
>conftest.err
3956 cat conftest.err
>&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); } &&
3959 { ac_try
='test -z "$ac_c_werror_flag"
3960 || test ! -s conftest.err'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; } &&
3966 { ac_try
='test -s conftest.$ac_objext'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; }; then
3972 ac_cv_header_stdc
=yes
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 ac_cv_header_stdc
=no
3979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3981 if test $ac_cv_header_stdc = yes; then
3982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3983 cat >conftest.
$ac_ext <<_ACEOF
3986 cat confdefs.h
>>conftest.
$ac_ext
3987 cat >>conftest.
$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3993 $EGREP "memchr" >/dev
/null
2>&1; then
3996 ac_cv_header_stdc
=no
4002 if test $ac_cv_header_stdc = yes; then
4003 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4014 $EGREP "free" >/dev
/null
2>&1; then
4017 ac_cv_header_stdc
=no
4023 if test $ac_cv_header_stdc = yes; then
4024 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4025 if test "$cross_compiling" = yes; then
4028 cat >conftest.
$ac_ext <<_ACEOF
4031 cat confdefs.h
>>conftest.
$ac_ext
4032 cat >>conftest.
$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4035 #if ((' ' & 0x0FF) == 0x020)
4036 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4037 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4039 # define ISLOWER(c) \
4040 (('a' <= (c) && (c) <= 'i') \
4041 || ('j' <= (c) && (c) <= 'r') \
4042 || ('s' <= (c) && (c) <= 'z'))
4043 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4046 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4051 for (i = 0; i < 256; i++)
4052 if (XOR (islower (i), ISLOWER (i))
4053 || toupper (i) != TOUPPER (i))
4058 rm -f conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4071 echo "$as_me: program exited with status $ac_status" >&5
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4076 ac_cv_header_stdc
=no
4078 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4082 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4083 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4084 if test $ac_cv_header_stdc = yes; then
4086 cat >>confdefs.h
<<\_ACEOF
4087 #define STDC_HEADERS 1
4092 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4102 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4103 inttypes.h stdint.h unistd.h
4105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4106 echo "$as_me:$LINENO: checking for $ac_header" >&5
4107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 cat >conftest.
$ac_ext <<_ACEOF
4114 cat confdefs.h
>>conftest.
$ac_ext
4115 cat >>conftest.
$ac_ext <<_ACEOF
4116 /* end confdefs.h. */
4117 $ac_includes_default
4119 #include <$ac_header>
4121 rm -f conftest.
$ac_objext
4122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123 (eval $ac_compile) 2>conftest.er1
4125 grep -v '^ *+' conftest.er1
>conftest.err
4127 cat conftest.err
>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); } &&
4130 { ac_try
='test -z "$ac_c_werror_flag"
4131 || test ! -s conftest.err'
4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; } &&
4137 { ac_try
='test -s conftest.$ac_objext'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; }; then
4143 eval "$as_ac_Header=yes"
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.
$ac_ext >&5
4148 eval "$as_ac_Header=no"
4150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4155 cat >>confdefs.h
<<_ACEOF
4156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4164 # Check whether --enable-alsa or --disable-alsa was given.
4165 if test "${enable_alsa+set}" = set; then
4166 enableval
="$enable_alsa"
4167 case "${enableval}" in
4168 yes) COMPILE_ALSA
=yes ;;
4169 no
) COMPILE_ALSA
=no
;;
4170 *) COMPILE_ALSA
=yes ;;
4174 for ac_header
in alsa
/asoundlib.h
4176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4178 echo "$as_me:$LINENO: checking for $ac_header" >&5
4179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4186 # Is the header compilable?
4187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4189 cat >conftest.
$ac_ext <<_ACEOF
4192 cat confdefs.h
>>conftest.
$ac_ext
4193 cat >>conftest.
$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4195 $ac_includes_default
4196 #include <$ac_header>
4198 rm -f conftest.
$ac_objext
4199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4200 (eval $ac_compile) 2>conftest.er1
4202 grep -v '^ *+' conftest.er1
>conftest.err
4204 cat conftest.err
>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } &&
4207 { ac_try
='test -z "$ac_c_werror_flag"
4208 || test ! -s conftest.err'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; } &&
4214 { ac_try
='test -s conftest.$ac_objext'
4215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; }; then
4220 ac_header_compiler
=yes
4222 echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.
$ac_ext >&5
4225 ac_header_compiler
=no
4227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4229 echo "${ECHO_T}$ac_header_compiler" >&6
4231 # Is the header present?
4232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4234 cat >conftest.
$ac_ext <<_ACEOF
4237 cat confdefs.h
>>conftest.
$ac_ext
4238 cat >>conftest.
$ac_ext <<_ACEOF
4239 /* end confdefs.h. */
4240 #include <$ac_header>
4242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4245 grep -v '^ *+' conftest.er1
>conftest.err
4247 cat conftest.err
>&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev
/null
; then
4250 if test -s conftest.err
; then
4251 ac_cpp_err
=$ac_c_preproc_warn_flag
4252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4259 if test -z "$ac_cpp_err"; then
4260 ac_header_preproc
=yes
4262 echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.
$ac_ext >&5
4265 ac_header_preproc
=no
4267 rm -f conftest.err conftest.
$ac_ext
4268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4269 echo "${ECHO_T}$ac_header_preproc" >&6
4271 # So? What about this header?
4272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4278 ac_header_preproc
=yes
4281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4295 ## -------------------------------- ##
4296 ## Report this to classpath@gnu.org ##
4297 ## -------------------------------- ##
4300 sed "s/^/$as_me: WARNING: /" >&2
4303 echo "$as_me:$LINENO: checking for $ac_header" >&5
4304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 eval "$as_ac_Header=\$ac_header_preproc"
4310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4315 cat >>confdefs.h
<<_ACEOF
4316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4318 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4319 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4320 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 ac_check_lib_save_LIBS
=$LIBS
4324 LIBS
="-lasound $LIBS"
4325 if test x
$gcc_no_link = xyes
; then
4326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4328 { (exit 1); exit 1; }; }
4330 cat >conftest.
$ac_ext <<_ACEOF
4333 cat confdefs.h
>>conftest.
$ac_ext
4334 cat >>conftest.
$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 /* Override any gcc2 internal prototype to avoid an error. */
4341 /* We use char because int might match the return type of a gcc2
4342 builtin and then its argument prototype would still apply. */
4343 char snd_seq_open ();
4352 rm -f conftest.
$ac_objext conftest
$ac_exeext
4353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4354 (eval $ac_link) 2>conftest.er1
4356 grep -v '^ *+' conftest.er1
>conftest.err
4358 cat conftest.err
>&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); } &&
4361 { ac_try
='test -z "$ac_c_werror_flag"
4362 || test ! -s conftest.err'
4363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); }; } &&
4368 { ac_try
='test -s conftest$ac_exeext'
4369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; }; then
4374 ac_cv_lib_asound_snd_seq_open
=yes
4376 echo "$as_me: failed program was:" >&5
4377 sed 's/^/| /' conftest.
$ac_ext >&5
4379 ac_cv_lib_asound_snd_seq_open
=no
4381 rm -f conftest.err conftest.
$ac_objext \
4382 conftest
$ac_exeext conftest.
$ac_ext
4383 LIBS
=$ac_check_lib_save_LIBS
4385 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4386 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4387 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4402 if test "x${COMPILE_ALSA}" = xyes
; then
4403 CREATE_ALSA_LIBRARIES_TRUE
=
4404 CREATE_ALSA_LIBRARIES_FALSE
='#'
4406 CREATE_ALSA_LIBRARIES_TRUE
='#'
4407 CREATE_ALSA_LIBRARIES_FALSE
=
4411 # Check whether --enable-dssi or --disable-dssi was given.
4412 if test "${enable_dssi+set}" = set; then
4413 enableval
="$enable_dssi"
4414 case "${enableval}" in
4415 yes) COMPILE_DSSI
=yes ;;
4416 no
) COMPILE_DSSI
=no
;;
4417 *) COMPILE_DSSI
=yes ;;
4422 for ac_header
in dssi.h
4424 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4426 echo "$as_me:$LINENO: checking for $ac_header" >&5
4427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4434 # Is the header compilable?
4435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4437 cat >conftest.
$ac_ext <<_ACEOF
4440 cat confdefs.h
>>conftest.
$ac_ext
4441 cat >>conftest.
$ac_ext <<_ACEOF
4442 /* end confdefs.h. */
4443 $ac_includes_default
4444 #include <$ac_header>
4446 rm -f conftest.
$ac_objext
4447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4448 (eval $ac_compile) 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -z "$ac_c_werror_flag"
4456 || test ! -s conftest.err'
4457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); }; } &&
4462 { ac_try
='test -s conftest.$ac_objext'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4468 ac_header_compiler
=yes
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.
$ac_ext >&5
4473 ac_header_compiler
=no
4475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4477 echo "${ECHO_T}$ac_header_compiler" >&6
4479 # Is the header present?
4480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 #include <$ac_header>
4490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4493 grep -v '^ *+' conftest.er1
>conftest.err
4495 cat conftest.err
>&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } >/dev
/null
; then
4498 if test -s conftest.err
; then
4499 ac_cpp_err
=$ac_c_preproc_warn_flag
4500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4507 if test -z "$ac_cpp_err"; then
4508 ac_header_preproc
=yes
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.
$ac_ext >&5
4513 ac_header_preproc
=no
4515 rm -f conftest.err conftest.
$ac_ext
4516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4517 echo "${ECHO_T}$ac_header_preproc" >&6
4519 # So? What about this header?
4520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4526 ac_header_preproc
=yes
4529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4543 ## -------------------------------- ##
4544 ## Report this to classpath@gnu.org ##
4545 ## -------------------------------- ##
4548 sed "s/^/$as_me: WARNING: /" >&2
4551 echo "$as_me:$LINENO: checking for $ac_header" >&5
4552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 eval "$as_ac_Header=\$ac_header_preproc"
4558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4563 cat >>confdefs.h
<<_ACEOF
4564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4568 for ac_header
in jack
/jack.h
4570 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4572 echo "$as_me:$LINENO: checking for $ac_header" >&5
4573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4580 # Is the header compilable?
4581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4583 cat >conftest.
$ac_ext <<_ACEOF
4586 cat confdefs.h
>>conftest.
$ac_ext
4587 cat >>conftest.
$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4589 $ac_includes_default
4590 #include <$ac_header>
4592 rm -f conftest.
$ac_objext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4594 (eval $ac_compile) 2>conftest.er1
4596 grep -v '^ *+' conftest.er1
>conftest.err
4598 cat conftest.err
>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try
='test -z "$ac_c_werror_flag"
4602 || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try
='test -s conftest.$ac_objext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_header_compiler
=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4619 ac_header_compiler
=no
4621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4623 echo "${ECHO_T}$ac_header_compiler" >&6
4625 # Is the header present?
4626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4628 cat >conftest.
$ac_ext <<_ACEOF
4631 cat confdefs.h
>>conftest.
$ac_ext
4632 cat >>conftest.
$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 #include <$ac_header>
4636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4639 grep -v '^ *+' conftest.er1
>conftest.err
4641 cat conftest.err
>&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } >/dev
/null
; then
4644 if test -s conftest.err
; then
4645 ac_cpp_err
=$ac_c_preproc_warn_flag
4646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4653 if test -z "$ac_cpp_err"; then
4654 ac_header_preproc
=yes
4656 echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.
$ac_ext >&5
4659 ac_header_preproc
=no
4661 rm -f conftest.err conftest.
$ac_ext
4662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4663 echo "${ECHO_T}$ac_header_preproc" >&6
4665 # So? What about this header?
4666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4672 ac_header_preproc
=yes
4675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4689 ## -------------------------------- ##
4690 ## Report this to classpath@gnu.org ##
4691 ## -------------------------------- ##
4694 sed "s/^/$as_me: WARNING: /" >&2
4697 echo "$as_me:$LINENO: checking for $ac_header" >&5
4698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 eval "$as_ac_Header=\$ac_header_preproc"
4704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4709 cat >>confdefs.h
<<_ACEOF
4710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4724 if test "x${COMPILE_DSSI}" = xyes
; then
4725 CREATE_DSSI_LIBRARIES_TRUE
=
4726 CREATE_DSSI_LIBRARIES_FALSE
='#'
4728 CREATE_DSSI_LIBRARIES_TRUE
='#'
4729 CREATE_DSSI_LIBRARIES_FALSE
=
4733 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4734 if test "${enable_gtk_peer+set}" = set; then
4735 enableval
="$enable_gtk_peer"
4736 case "${enableval}" in
4737 yes) COMPILE_GTK_PEER
=yes ;;
4738 no
) COMPILE_GTK_PEER
=no
;;
4739 *) COMPILE_GTK_PEER
=yes ;;
4742 COMPILE_GTK_PEER
=yes
4746 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4747 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4748 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4750 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4751 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4755 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4756 if test "${enable_gtk_peers+set}" = set; then
4757 enableval
="$enable_gtk_peers"
4758 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4759 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4760 { (exit 1); exit 1; }; }
4763 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4764 if test "${enable_qt_peer+set}" = set; then
4765 enableval
="$enable_qt_peer"
4766 case "${enableval}" in
4767 yes) COMPILE_QT_PEER
=yes ;;
4768 no
) COMPILE_QT_PEER
=no
;;
4769 *) COMPILE_QT_PEER
=yes ;;
4776 if test "x${COMPILE_QT_PEER}" = xyes
; then
4777 CREATE_QT_PEER_LIBRARIES_TRUE
=
4778 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4780 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4781 CREATE_QT_PEER_LIBRARIES_FALSE
=
4785 # Check whether --enable-plugin or --disable-plugin was given.
4786 if test "${enable_plugin+set}" = set; then
4787 enableval
="$enable_plugin"
4788 case "${enableval}" in
4789 yes) COMPILE_PLUGIN
=yes ;;
4790 no
) COMPILE_PLUGIN
=no
;;
4791 *) COMPILE_PLUGIN
=yes ;;
4798 if test "x${COMPILE_PLUGIN}" = xyes
; then
4800 CREATE_PLUGIN_FALSE
='#'
4802 CREATE_PLUGIN_TRUE
='#'
4803 CREATE_PLUGIN_FALSE
=
4807 # Check whether --enable-gmp or --disable-gmp was given.
4808 if test "${enable_gmp+set}" = set; then
4809 enableval
="$enable_gmp"
4810 case "${enableval}" in
4811 yes|true
) COMPILE_GMP
=yes ;;
4812 no|false
) COMPILE_GMP
=no
;;
4813 *) COMPILE_GMP
=yes ;;
4819 # Check whether --enable-gjdoc or --disable-gjdoc was given.
4820 if test "${enable_gjdoc+set}" = set; then
4821 enableval
="$enable_gjdoc"
4822 case "${enableval}" in
4823 yes) COMPILE_GJDOC
=yes ;;
4824 no
) COMPILE_GJDOC
=no
;;
4825 *) COMPILE_GJDOC
=yes ;;
4832 if test "x${COMPILE_GJDOC}" = xyes
; then
4834 CREATE_GJDOC_FALSE
='#'
4836 CREATE_GJDOC_TRUE
='#'
4842 multi_os_directory
=`$CC -print-multi-os-directory`
4843 case $multi_os_directory in
4844 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4845 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4851 # Check whether --with-native-libdir or --without-native-libdir was given.
4852 if test "${with_native_libdir+set}" = set; then
4853 withval
="$with_native_libdir"
4855 nativeexeclibdir
=${withval}
4859 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
4866 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4867 if test "${with_glibj_dir+set}" = set; then
4868 withval="$with_glibj_dir"
4874 glibjdir='${datadir}/${PACKAGE}'
4881 # Check whether --with-antlr-jar or --without-antlr-jar was given.
4882 if test "${with_antlr_jar+set}" = set; then
4883 withval="$with_antlr_jar"
4889 ANTLR_JAR="$ANTLR_JAR"
4893 echo "$as_me:$LINENO: checking whether to regenerate the headers" >&5
4894 echo $ECHO_N "checking whether to regenerate the headers... $ECHO_C" >&6
4895 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4896 if test "${enable_regen_headers+set}" = set; then
4897 enableval="$enable_regen_headers"
4898 case "${enableval}" in
4899 yes) REGENERATE_JNI_HEADERS=yes ;;
4900 no) REGENERATE_JNI_HEADERS=no ;;
4901 *) REGENERATE_JNI_HEADERS=yes ;;
4904 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
4905 REGENERATE_JNI_HEADERS=no ;
4907 REGENERATE_JNI_HEADERS=yes ;
4910 echo "$as_me:$LINENO: result: ${REGENERATE_JNI_HEADERS}" >&5
4911 echo "${ECHO_T}${REGENERATE_JNI_HEADERS}" >&6
4914 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4915 CREATE_JNI_HEADERS_TRUE=
4916 CREATE_JNI_HEADERS_FALSE='#'
4918 CREATE_JNI_HEADERS_TRUE='#'
4919 CREATE_JNI_HEADERS_FALSE=
4923 echo "$as_me:$LINENO: checking whether to regenerate the GJDoc parser" >&5
4924 echo $ECHO_N "checking whether to regenerate the GJDoc parser... $ECHO_C" >&6
4925 # Check whether --enable-regen-gjdoc-parser or --disable-regen-gjdoc-parser was given.
4926 if test "${enable_regen_gjdoc_parser+set}" = set; then
4927 enableval="$enable_regen_gjdoc_parser"
4928 case "${enableval}" in
4929 yes) REGENERATE_GJDOC_PARSER=yes ;;
4930 no) REGENERATE_GJDOC_PARSER=no ;;
4931 *) REGENERATE_GJDOC_PARSER=yes ;;
4934 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
4935 REGENERATE_GJDOC_PARSER=no ;
4937 REGENERATE_GJDOC_PARSER=yes ;
4940 echo "$as_me:$LINENO: result: ${REGENERATE_GJDOC_PARSER}" >&5
4941 echo "${ECHO_T}${REGENERATE_GJDOC_PARSER}" >&6
4944 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
4945 CREATE_GJDOC_PARSER_TRUE=
4946 CREATE_GJDOC_PARSER_FALSE='#'
4948 CREATE_GJDOC_PARSER_TRUE='#'
4949 CREATE_GJDOC_PARSER_FALSE=
4953 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4954 if test "${enable_tool_wrappers+set}" = set; then
4955 enableval="$enable_tool_wrappers"
4956 case x"${enableval}" in
4958 COMPILE_WRAPPERS=yes;
4960 for ac_header in ltdl.h
4962 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4964 echo "$as_me:$LINENO: checking for $ac_header" >&5
4965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4972 # Is the header compilable?
4973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4975 cat >conftest.$ac_ext <<_ACEOF
4978 cat confdefs.h >>conftest.$ac_ext
4979 cat >>conftest.$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4981 $ac_includes_default
4982 #include <$ac_header>
4984 rm -f conftest.$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986 (eval $ac_compile) 2>conftest.er1
4988 grep -v '^ *+' conftest.er1 >conftest.err
4990 cat conftest.err >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -z "$ac_c_werror_flag"
4994 || test ! -s conftest.err'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; } &&
5000 { ac_try='test -s conftest.$ac_objext'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 ac_header_compiler=yes
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5011 ac_header_compiler=no
5013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5015 echo "${ECHO_T}$ac_header_compiler" >&6
5017 # Is the header present?
5018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5020 cat >conftest.$ac_ext <<_ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 #include <$ac_header>
5028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } >/dev/null; then
5036 if test -s conftest.err; then
5037 ac_cpp_err=$ac_c_preproc_warn_flag
5038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5045 if test -z "$ac_cpp_err"; then
5046 ac_header_preproc=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_header_preproc=no
5053 rm -f conftest.err conftest.$ac_ext
5054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5055 echo "${ECHO_T}$ac_header_preproc" >&6
5057 # So? What about this header?
5058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5064 ac_header_preproc=yes
5067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5081 ## -------------------------------- ##
5082 ## Report this to classpath@gnu.org ##
5083 ## -------------------------------- ##
5086 sed "s/^/$as_me: WARNING: /" >&2
5089 echo "$as_me:$LINENO: checking for $ac_header" >&5
5090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 eval "$as_ac_Header=\$ac_header_preproc"
5096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5101 cat >>confdefs.h <<_ACEOF
5102 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5106 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
5107 echo "$as_me: error: cannot find ltdl.h" >&2;}
5108 { (exit 1); exit 1; }; }
5114 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
5115 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
5116 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 ac_check_lib_save_LIBS=$LIBS
5121 if test x$gcc_no_link = xyes; then
5122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5124 { (exit 1); exit 1; }; }
5126 cat >conftest.$ac_ext <<_ACEOF
5129 cat confdefs.h >>conftest.$ac_ext
5130 cat >>conftest.$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5133 /* Override any gcc2 internal prototype to avoid an error. */
5137 /* We use char because int might match the return type of a gcc2
5138 builtin and then its argument prototype would still apply. */
5148 rm -f conftest.$ac_objext conftest$ac_exeext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5150 (eval $ac_link) 2>conftest.er1
5152 grep -v '^ *+' conftest.er1 >conftest.err
5154 cat conftest.err >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } &&
5157 { ac_try='test -z "$ac_c_werror_flag"
5158 || test ! -s conftest.err'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; } &&
5164 { ac_try='test -s conftest$ac_exeext'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 ac_cv_lib_ltdl_lt_dlopen=yes
5172 echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.$ac_ext >&5
5175 ac_cv_lib_ltdl_lt_dlopen=no
5177 rm -f conftest.err conftest.$ac_objext \
5178 conftest$ac_exeext conftest.$ac_ext
5179 LIBS=$ac_check_lib_save_LIBS
5181 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5182 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5183 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5184 cat >>confdefs.h <<_ACEOF
5185 #define HAVE_LIBLTDL 1
5191 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5192 echo "$as_me: error: cannot find libltdl" >&2;}
5193 { (exit 1); exit 1; }; }
5197 xno) COMPILE_WRAPPERS=no ;;
5198 x) COMPILE_WRAPPERS=yes ;;
5199 *) COMPILE_WRAPPERS=yes ;;
5206 if test "x${COMPILE_WRAPPERS}" = xyes; then
5207 CREATE_WRAPPERS_TRUE=
5208 CREATE_WRAPPERS_FALSE='#'
5210 CREATE_WRAPPERS_TRUE='#'
5211 CREATE_WRAPPERS_FALSE=
5215 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5216 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5218 if test "$LN_S" = "ln -s"; then
5219 echo "$as_me:$LINENO: result: yes" >&5
5220 echo "${ECHO_T}yes" >&6
5222 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5223 echo "${ECHO_T}no, using $LN_S" >&6
5226 # Find a good install program. We prefer a C program (faster),
5227 # so one script is as good as another. But avoid the broken or
5228 # incompatible versions:
5229 # SysV /etc/install, /usr/sbin/install
5230 # SunOS /usr/etc/install
5231 # IRIX /sbin/install
5233 # AmigaOS /C/install, which installs bootblocks on floppy discs
5234 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5235 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5236 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5237 # OS/2's system install, which has a completely different semantic
5238 # ./install, which can be erroneously created by make from ./install.sh.
5239 # Reject install programs that cannot install multiple files.
5240 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5241 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5242 if test -z "$INSTALL"; then
5243 if test "${ac_cv_path_install+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir=.
5251 # Account for people who put trailing slashes in PATH elements.
5253 ./ | .// | /cC/* | \
5254 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5255 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5258 # OSF1 and SCO ODT 3.0 have their own names for install.
5259 # Don't use installbsd from OSF since it installs stuff as root
5261 for ac_prog in ginstall scoinst install; do
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5264 if test $ac_prog = install &&
5265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5266 # AIX install. It has an incompatible calling convention.
5268 elif test $ac_prog = install &&
5269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5270 # program-specific install script used by HP pwplus--don't use.
5273 rm -rf conftest.one conftest.two conftest.dir
5274 echo one > conftest.one
5275 echo two > conftest.two
5277 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5278 test -s conftest.one && test -s conftest.two &&
5279 test -s conftest.dir/conftest.one &&
5280 test -s conftest.dir/conftest.two
5282 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5293 rm -rf conftest.one conftest.two conftest.dir
5296 if test "${ac_cv_path_install+set}" = set; then
5297 INSTALL=$ac_cv_path_install
5299 # As a last resort, use the slow shell script. Don't cache a
5300 # value for INSTALL within a source directory, because that will
5301 # break other packages using the cache if that directory is
5302 # removed, or if the value is a relative name.
5303 INSTALL=$ac_install_sh
5306 echo "$as_me:$LINENO: result: $INSTALL" >&5
5307 echo "${ECHO_T}$INSTALL" >&6
5309 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5310 # It thinks the first close brace ends the variable substitution.
5311 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5313 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5315 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5319 # Check whether --enable-static or --disable-static was given.
5320 if test "${enable_static+set}" = set; then
5321 enableval="$enable_static"
5322 p=${PACKAGE-default}
5324 yes) enable_static=yes ;;
5325 no) enable_static=no ;;
5328 # Look at the argument we got. We use all the common list separators.
5329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5330 for pkg in $enableval; do
5332 if test "X$pkg" = "X$p"; then
5352 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5353 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5358 macro_version='2.2.6'
5359 macro_revision='1.3012'
5373 ltmain="$ac_aux_dir/ltmain.sh"
5375 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5376 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5377 if test "${lt_cv_path_SED+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 # Loop through the user's path and test for sed and gsed.
5381 # Then use that list of sed's as ones to test for truncation.
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir=.
5387 for lt_ac_prog in sed gsed; do
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5390 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5398 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5399 # along with /bin/sed that truncates output.
5400 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5401 test ! -f $lt_ac_sed && continue
5402 cat /dev/null > conftest.in
5404 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5405 # Check for GNU sed and select it if it is found.
5406 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5407 lt_cv_path_SED=$lt_ac_sed
5411 cat conftest.in conftest.in >conftest.tmp
5412 mv conftest.tmp conftest.in
5413 cp conftest.in conftest.nl
5415 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5416 cmp -s conftest.out conftest.nl || break
5417 # 10000 chars as input seems more than enough
5418 test $lt_ac_count -gt 10 && break
5419 lt_ac_count=`expr $lt_ac_count + 1`
5420 if test $lt_ac_count -gt $lt_ac_max; then
5421 lt_ac_max=$lt_ac_count
5422 lt_cv_path_SED=$lt_ac_sed
5431 echo "$as_me:$LINENO: result: $SED" >&5
5432 echo "${ECHO_T}$SED" >&6
5434 test -z "$SED" && SED=sed
5435 Xsed="$SED -e 1s/^X//"
5447 echo "$as_me:$LINENO: checking for fgrep" >&5
5448 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5449 if test "${ac_cv_prog_fgrep+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5453 then ac_cv_prog_fgrep='grep -F'
5454 else ac_cv_prog_fgrep='fgrep'
5457 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5458 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5459 FGREP=$ac_cv_prog_fgrep
5462 test -z "$GREP" && GREP=grep
5482 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5483 if test "${with_gnu_ld+set}" = set; then
5484 withval="$with_gnu_ld"
5485 test "$withval" = no || with_gnu_ld=yes
5490 if test "$GCC" = yes; then
5491 # Check if gcc -print-prog-name=ld gives a path.
5492 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5493 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5496 # gcc leaves a trailing carriage return which upsets mingw
5497 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5499 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5502 # Accept absolute paths.
5504 re_direlt='/[^/][^/]*/\.\./'
5505 # Canonicalize the pathname of ld
5506 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5507 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5508 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5510 test -z "$LD" && LD="$ac_prog"
5513 # If it fails, then pretend we aren't using GCC.
5517 # If it is relative, then search for the first ld in PATH.
5521 elif test "$with_gnu_ld" = yes; then
5522 echo "$as_me:$LINENO: checking for GNU ld" >&5
5523 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5525 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5526 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5528 if test "${lt_cv_path_LD+set}" = set; then
5529 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 if test -z "$LD"; then
5532 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5533 for ac_dir in $PATH; do
5535 test -z "$ac_dir" && ac_dir=.
5536 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5537 lt_cv_path_LD="$ac_dir/$ac_prog"
5538 # Check to see if the program is GNU ld. I'd rather use --version,
5539 # but apparently some variants of GNU ld only accept -v.
5540 # Break only if it was the GNU/non-GNU ld that we prefer.
5541 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5542 *GNU* | *'with BFD'*)
5543 test "$with_gnu_ld" != no && break
5546 test "$with_gnu_ld" != yes && break
5553 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5558 if test -n "$LD"; then
5559 echo "$as_me:$LINENO: result: $LD" >&5
5560 echo "${ECHO_T}$LD" >&6
5562 echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6
5565 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5566 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5567 { (exit 1); exit 1; }; }
5568 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5569 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5570 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5574 case `$LD -v 2>&1 </dev
/null
` in
5575 *GNU* | *'with BFD'*)
5576 lt_cv_prog_gnu_ld=yes
5579 lt_cv_prog_gnu_ld=no
5583 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5584 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5585 with_gnu_ld=$lt_cv_prog_gnu_ld
5595 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5596 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5597 if test "${lt_cv_path_NM+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 if test -n "$NM"; then
5601 # Let the user override the test.
5604 lt_nm_to_check="${ac_tool_prefix}nm"
5605 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5606 lt_nm_to_check="$lt_nm_to_check nm"
5608 for lt_tmp_nm in $lt_nm_to_check; do
5609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5610 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5612 test -z "$ac_dir" && ac_dir=.
5613 tmp_nm="$ac_dir/$lt_tmp_nm"
5614 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5615 # Check to see if the nm accepts a BSD-compat flag.
5616 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5617 # nm: unknown option "B" ignored
5618 # Tru64's nm complains that
/dev
/null is an invalid object
file
5619 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5620 */dev
/null
* |
*'Invalid file or object type'*)
5621 lt_cv_path_NM
="$tmp_nm -B"
5625 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5627 lt_cv_path_NM
="$tmp_nm -p"
5631 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5632 continue # so that we can try to find one that supports BSD flags
5641 : ${lt_cv_path_NM=no}
5644 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5645 echo "${ECHO_T}$lt_cv_path_NM" >&6
5646 if test "$lt_cv_path_NM" != "no"; then
5649 # Didn't find any BSD compatible name lister, look for dumpbin.
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5655 echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5657 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 if test -n "$DUMPBIN"; then
5661 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_exec_ext
in '' $ac_executable_extensions; do
5669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 DUMPBIN
=$ac_cv_prog_DUMPBIN
5680 if test -n "$DUMPBIN"; then
5681 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5682 echo "${ECHO_T}$DUMPBIN" >&6
5684 echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6
5688 test -n "$DUMPBIN" && break
5691 if test -z "$DUMPBIN"; then
5692 ac_ct_DUMPBIN
=$DUMPBIN
5693 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5695 # Extract the first word of "$ac_prog", so it can be a program name with args.
5696 set dummy
$ac_prog; ac_word
=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 if test -n "$ac_ct_DUMPBIN"; then
5703 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5722 if test -n "$ac_ct_DUMPBIN"; then
5723 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5724 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5730 test -n "$ac_ct_DUMPBIN" && break
5732 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5734 DUMPBIN
=$ac_ct_DUMPBIN
5738 if test "$DUMPBIN" != ":"; then
5742 test -z "$NM" && NM
=nm
5749 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5750 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5751 if test "${lt_cv_nm_interface+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 lt_cv_nm_interface
="BSD nm"
5755 echo "int some_variable = 0;" > conftest.
$ac_ext
5756 (eval echo "\"\$as_me:5756: $ac_compile\"" >&5)
5757 (eval "$ac_compile" 2>conftest.err
)
5758 cat conftest.err
>&5
5759 (eval echo "\"\$as_me:5759: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5760 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5761 cat conftest.err
>&5
5762 (eval echo "\"\$as_me:5762: output\"" >&5)
5763 cat conftest.out
>&5
5764 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5765 lt_cv_nm_interface
="MS dumpbin"
5769 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5770 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5772 # find the maximum length of command line arguments
5773 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5774 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 # On DJGPP, this test can blow up pretty badly due to problems in libc
5784 # (any single argument exceeding 2000 bytes causes a buffer overrun
5785 # during glob expansion). Even if it were fixed, the result of this
5786 # check would be larger than it should be.
5787 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5791 # Under GNU Hurd, this test is not required because there is
5792 # no limit to the length of command line arguments.
5793 # Libtool will interpret -1 as no limit whatsoever
5794 lt_cv_sys_max_cmd_len
=-1;
5797 cygwin
* | mingw
* | cegcc
*)
5798 # On Win9x/ME, this test blows up -- it succeeds, but takes
5799 # about 5 minutes as the teststring grows exponentially.
5800 # Worse, since 9x/ME are not pre-emptively multitasking,
5801 # you end up with a "frozen" computer, even though with patience
5802 # the test eventually succeeds (with a max line length of 256k).
5803 # Instead, let's just punt: use the minimum linelength reported by
5804 # all of the supported platforms: 8192 (on NT/2K/XP).
5805 lt_cv_sys_max_cmd_len
=8192;
5809 # On AmigaOS with pdksh, this test takes hours, literally.
5810 # So we just punt and use a minimum line length of 8192.
5811 lt_cv_sys_max_cmd_len
=8192;
5814 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5815 # This has been around since 386BSD, at least. Likely further.
5816 if test -x /sbin
/sysctl
; then
5817 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5818 elif test -x /usr
/sbin
/sysctl
; then
5819 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5821 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5823 # And add a safety zone
5824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5830 lt_cv_sys_max_cmd_len
=196608
5834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5836 # nice to cause kernel panics so lets avoid the loop below.
5837 # First set a reasonable default.
5838 lt_cv_sys_max_cmd_len
=16384
5840 if test -x /sbin
/sysconfig
; then
5841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5842 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5847 lt_cv_sys_max_cmd_len
=102400
5849 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5850 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5851 if test -n "$kargmax"; then
5852 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5854 lt_cv_sys_max_cmd_len
=32768
5858 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5859 if test -n "$lt_cv_sys_max_cmd_len"; then
5860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5863 # Make teststring a little bigger before we do anything with it.
5864 # a 1K string should be a reasonable start.
5865 for i
in 1 2 3 4 5 6 7 8 ; do
5866 teststring
=$teststring$teststring
5868 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5869 # If test is not a shell built-in, we'll probably end up computing a
5870 # maximum length that is only half of the actual maximum length, but
5872 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5873 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5874 test $i != 17 # 1/2 MB should be enough
5877 teststring
=$teststring$teststring
5879 # Only check the string length outside the loop.
5880 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5882 # Add a significant safety factor because C++ compilers can tack on
5883 # massive amounts of additional arguments before passing them to the
5884 # linker. It appears as though 1/2 is a usable value.
5885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5892 if test -n $lt_cv_sys_max_cmd_len ; then
5893 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5894 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5896 echo "$as_me:$LINENO: result: none" >&5
5897 echo "${ECHO_T}none" >&6
5899 max_cmd_len
=$lt_cv_sys_max_cmd_len
5910 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5911 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5912 # Try some XSI features
5915 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5917 && eval 'test $(( 1 + 1 )) -eq 2 \
5918 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5920 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5921 echo "${ECHO_T}$xsi_shell" >&6
5924 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5925 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5927 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5929 && lt_shell_append=yes
5930 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5931 echo "${ECHO_T}$lt_shell_append" >&6
5934 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5944 # test EBCDIC or ASCII
5945 case `echo X|tr X '\101'` in
5946 A) # ASCII based system
5947 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5948 lt_SP2NL='tr \040 \012'
5949 lt_NL2SP='tr \015\012 \040\040'
5951 *) # EBCDIC based system
5952 lt_SP2NL='tr \100 \n'
5953 lt_NL2SP='tr \r\n \100\100'
5965 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5966 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5967 if test "${lt_cv_ld_reload_flag+set}" = set; then
5968 echo $ECHO_N "(cached
) $ECHO_C" >&6
5970 lt_cv_ld_reload_flag='-r'
5972 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5973 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5974 reload_flag=$lt_cv_ld_reload_flag
5975 case $reload_flag in
5977 *) reload_flag=" $reload_flag" ;;
5979 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5982 if test "$GCC" = yes; then
5983 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5985 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6000 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6001 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6002 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6003 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6004 echo $ECHO_N "(cached
) $ECHO_C" >&6
6006 if test -n "$OBJDUMP"; then
6007 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6017 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6025 OBJDUMP=$ac_cv_prog_OBJDUMP
6026 if test -n "$OBJDUMP"; then
6027 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6028 echo "${ECHO_T}$OBJDUMP" >&6
6030 echo "$as_me:$LINENO: result
: no
" >&5
6031 echo "${ECHO_T}no
" >&6
6035 if test -z "$ac_cv_prog_OBJDUMP"; then
6036 ac_ct_OBJDUMP=$OBJDUMP
6037 # Extract the first word of "objdump
", so it can be a program name with args.
6038 set dummy objdump; ac_word=$2
6039 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6041 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6042 echo $ECHO_N "(cached
) $ECHO_C" >&6
6044 if test -n "$ac_ct_OBJDUMP"; then
6045 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6061 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
6064 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6065 if test -n "$ac_ct_OBJDUMP"; then
6066 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6067 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6069 echo "$as_me:$LINENO: result
: no
" >&5
6070 echo "${ECHO_T}no
" >&6
6073 OBJDUMP=$ac_ct_OBJDUMP
6075 OBJDUMP="$ac_cv_prog_OBJDUMP"
6078 test -z "$OBJDUMP" && OBJDUMP=objdump
6088 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6089 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6090 if test "${lt_cv_deplibs_check_method+set}" = set; then
6091 echo $ECHO_N "(cached
) $ECHO_C" >&6
6093 lt_cv_file_magic_cmd='$MAGIC_CMD'
6094 lt_cv_file_magic_test_file=
6095 lt_cv_deplibs_check_method='unknown'
6096 # Need to set the preceding variable on all platforms that support
6097 # interlibrary dependencies.
6098 # 'none' -- dependencies not supported.
6099 # `unknown' -- same as none, but documents that we really don't know.
6100 # 'pass_all' -- all dependencies passed with no checks.
6101 # 'test_compile' -- check by making test program.
6102 # 'file_magic [[regex]]' -- check by looking for files in library path
6103 # which responds to the $file_magic_cmd with a given extended regex.
6104 # If you have `file' or equivalent on your system and you're not sure
6105 # whether `pass_all' will *always* work, you probably want this one.
6109 lt_cv_deplibs_check_method=pass_all
6113 lt_cv_deplibs_check_method=pass_all
6117 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6118 lt_cv_file_magic_cmd='/usr/bin/file -L'
6119 lt_cv_file_magic_test_file=/shlib/libc.so
6123 # func_win32_libid is a shell function defined in ltmain.sh
6124 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6125 lt_cv_file_magic_cmd='func_win32_libid'
6129 # Base MSYS/MinGW do not provide the 'file' command needed by
6130 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6131 # unless we find 'file', for example because we are cross-compiling.
6132 if ( file / ) >/dev/null 2>&1; then
6133 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6134 lt_cv_file_magic_cmd='func_win32_libid'
6136 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6137 lt_cv_file_magic_cmd='$OBJDUMP -f'
6142 # use the weaker test based on 'objdump'. See mingw*.
6143 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6144 lt_cv_file_magic_cmd='$OBJDUMP -f'
6147 darwin* | rhapsody*)
6148 lt_cv_deplibs_check_method=pass_all
6151 freebsd* | dragonfly*)
6152 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6155 # Not sure whether the presence of OpenBSD here was a mistake.
6156 # Let's accept both of them until this is cleared up.
6157 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6158 lt_cv_file_magic_cmd=/usr/bin/file
6159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6163 lt_cv_deplibs_check_method=pass_all
6168 lt_cv_deplibs_check_method=pass_all
6171 hpux10.20* | hpux11*)
6172 lt_cv_file_magic_cmd=/usr/bin/file
6175 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6176 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6179 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6180 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6183 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6184 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6190 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6191 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6194 irix5* | irix6* | nonstopux*)
6196 *-32|*"-32 ") libmagic=32-bit;;
6197 *-n32|*"-n32 ") libmagic=N32;;
6198 *-64|*"-64 ") libmagic=64-bit;;
6199 *) libmagic=never-match;;
6201 lt_cv_deplibs_check_method=pass_all
6204 # This must be Linux ELF.
6205 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6206 lt_cv_deplibs_check_method=pass_all
6210 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6211 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6219 lt_cv_file_magic_cmd=/usr/bin/file
6220 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6224 lt_cv_deplibs_check_method=pass_all
6228 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6235 osf3* | osf4* | osf5*)
6236 lt_cv_deplibs_check_method=pass_all
6240 lt_cv_deplibs_check_method=pass_all
6244 lt_cv_deplibs_check_method=pass_all
6247 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6248 lt_cv_deplibs_check_method=pass_all
6252 case $host_vendor in
6254 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]'
6255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6258 lt_cv_deplibs_check_method=pass_all
6261 lt_cv_file_magic_cmd='/bin/file'
6262 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6265 lt_cv_file_magic_cmd='/bin/file'
6266 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6267 lt_cv_file_magic_test_file=/lib/libc.so
6270 lt_cv_deplibs_check_method=pass_all
6273 lt_cv_deplibs_check_method=pass_all
6279 lt_cv_deplibs_check_method=pass_all
6284 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6285 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6286 file_magic_cmd=$lt_cv_file_magic_cmd
6287 deplibs_check_method=$lt_cv_deplibs_check_method
6288 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6301 if test -n "$ac_tool_prefix"; then
6302 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6303 set dummy ${ac_tool_prefix}ar; ac_word=$2
6304 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6305 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6306 if test "${ac_cv_prog_AR+set}" = set; then
6307 echo $ECHO_N "(cached
) $ECHO_C" >&6
6309 if test -n "$AR"; then
6310 ac_cv_prog_AR="$AR" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_AR="${ac_tool_prefix}ar"
6320 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 if test -n "$AR"; then
6330 echo "$as_me:$LINENO: result
: $AR" >&5
6331 echo "${ECHO_T}$AR" >&6
6333 echo "$as_me:$LINENO: result
: no
" >&5
6334 echo "${ECHO_T}no
" >&6
6338 if test -z "$ac_cv_prog_AR"; then
6340 # Extract the first word of "ar", so it can be a program name with args.
6341 set dummy ar; ac_word=$2
6342 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6343 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6344 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6345 echo $ECHO_N "(cached
) $ECHO_C" >&6
6347 if test -n "$ac_ct_AR"; then
6348 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_ac_ct_AR="ar"
6358 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6364 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6367 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6368 if test -n "$ac_ct_AR"; then
6369 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6370 echo "${ECHO_T}$ac_ct_AR" >&6
6372 echo "$as_me:$LINENO: result
: no
" >&5
6373 echo "${ECHO_T}no
" >&6
6381 test -z "$AR" && AR=ar
6382 test -z "$AR_FLAGS" && AR_FLAGS=cru
6394 if test -n "$ac_tool_prefix"; then
6395 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6396 set dummy ${ac_tool_prefix}strip; ac_word=$2
6397 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6398 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6399 if test "${ac_cv_prog_STRIP+set}" = set; then
6400 echo $ECHO_N "(cached
) $ECHO_C" >&6
6402 if test -n "$STRIP"; then
6403 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6413 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6421 STRIP=$ac_cv_prog_STRIP
6422 if test -n "$STRIP"; then
6423 echo "$as_me:$LINENO: result
: $STRIP" >&5
6424 echo "${ECHO_T}$STRIP" >&6
6426 echo "$as_me:$LINENO: result
: no
" >&5
6427 echo "${ECHO_T}no
" >&6
6431 if test -z "$ac_cv_prog_STRIP"; then
6433 # Extract the first word of "strip
", so it can be a program name with args.
6434 set dummy strip; ac_word=$2
6435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6437 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6438 echo $ECHO_N "(cached
) $ECHO_C" >&6
6440 if test -n "$ac_ct_STRIP"; then
6441 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_ac_ct_STRIP="strip
"
6451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6457 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6460 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6461 if test -n "$ac_ct_STRIP"; then
6462 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6463 echo "${ECHO_T}$ac_ct_STRIP" >&6
6465 echo "$as_me:$LINENO: result
: no
" >&5
6466 echo "${ECHO_T}no
" >&6
6471 STRIP="$ac_cv_prog_STRIP"
6474 test -z "$STRIP" && STRIP=:
6481 if test -n "$ac_tool_prefix"; then
6482 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6483 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6484 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6485 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6486 if test "${ac_cv_prog_RANLIB+set}" = set; then
6487 echo $ECHO_N "(cached
) $ECHO_C" >&6
6489 if test -n "$RANLIB"; then
6490 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6500 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6508 RANLIB=$ac_cv_prog_RANLIB
6509 if test -n "$RANLIB"; then
6510 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6511 echo "${ECHO_T}$RANLIB" >&6
6513 echo "$as_me:$LINENO: result
: no
" >&5
6514 echo "${ECHO_T}no
" >&6
6518 if test -z "$ac_cv_prog_RANLIB"; then
6519 ac_ct_RANLIB=$RANLIB
6520 # Extract the first word of "ranlib
", so it can be a program name with args.
6521 set dummy ranlib; ac_word=$2
6522 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6523 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6524 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6525 echo $ECHO_N "(cached
) $ECHO_C" >&6
6527 if test -n "$ac_ct_RANLIB"; then
6528 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6538 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6544 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6547 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6548 if test -n "$ac_ct_RANLIB"; then
6549 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6550 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6552 echo "$as_me:$LINENO: result
: no
" >&5
6553 echo "${ECHO_T}no
" >&6
6556 RANLIB=$ac_ct_RANLIB
6558 RANLIB="$ac_cv_prog_RANLIB"
6561 test -z "$RANLIB" && RANLIB=:
6568 # Determine commands to create old-style static archives.
6569 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6570 old_postinstall_cmds='chmod 644 $oldlib'
6571 old_postuninstall_cmds=
6573 if test -n "$RANLIB"; then
6576 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6579 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6582 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6618 # If no C compiler was specified, use CC.
6621 # If no C compiler flags were specified, use CFLAGS.
6622 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6624 # Allow CC to be a program name with arguments.
6628 # Check for command to grab the raw symbol name followed by C symbol from nm.
6629 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6630 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6631 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6632 echo $ECHO_N "(cached
) $ECHO_C" >&6
6635 # These are sane defaults that work on at least a few old systems.
6636 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6638 # Character class describing NM global symbol codes.
6639 symcode='[BCDEGRST]'
6641 # Regexp to match symbols that can be accessed directly from C.
6642 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6644 # Define system-specific variables.
6649 cygwin* | mingw* | pw32* | cegcc*)
6650 symcode='[ABCDGISTW]'
6653 if test "$host_cpu" = ia64; then
6654 symcode='[ABCDEGRST]'
6658 symcode='[BCDEGRST]'
6661 symcode='[BCDEGQRST]'
6672 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6680 # If we're using GNU nm, then use its standard symbol codes.
6681 case `$NM -V 2>&1` in
6682 *GNU* | *'with BFD'*)
6683 symcode='[ABCDGIRSTW]' ;;
6686 # Transform an extracted symbol line into a proper C declaration.
6687 # Some systems (esp. on ia64) link data and code symbols differently,
6688 # so use this general approach.
6689 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6691 # Transform an extracted symbol line into symbol name and symbol address
6692 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6693 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6695 # Handle CRLF in mingw tool chain
6699 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6703 # Try without a prefix underscore, then with it.
6704 for ac_symprfx in "" "_
"; do
6706 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6707 symxfrm="\\1 $ac_symprfx\\2 \\2"
6709 # Write the raw and C identifiers.
6710 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6711 # Fake it for dumpbin and say T for any non-static function
6712 # and D for any global variable.
6713 # Also find C++ and __fastcall symbols from MSVC++,
6714 # which start with @ or ?.
6715 lt_cv_sys_global_symbol_pipe="$AWK '"\
6716 " {last_section=section; section=\$ 3};"\
6717 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6718 " \$ 0!~/External *\|/{next};"\
6719 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6720 " {if(hide[section]) next};"\
6721 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6722 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6723 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6724 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6725 " ' prfx
=^
$ac_symprfx"
6727 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6730 # Check to see that the pipe works correctly.
6734 cat > conftest.$ac_ext <<_LT_EOF
6739 void nm_test_func(void);
6740 void nm_test_func(void){}
6744 int main(){nm_test_var='a';nm_test_func();return(0);}
6747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6748 (eval $ac_compile) 2>&5
6750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6751 (exit $ac_status); }; then
6752 # Now try to grab the symbols.
6754 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6755 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6758 (exit $ac_status); } && test -s "$nlist"; then
6759 # Try sorting and uniquifying the output.
6760 if sort "$nlist" | uniq > "$nlist"T; then
6761 mv -f "$nlist"T "$nlist"
6766 # Make sure that we snagged all the symbols we need.
6767 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6768 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6769 cat <<_LT_EOF > conftest.$ac_ext
6775 # Now generate the symbol file.
6776 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6778 cat <<_LT_EOF >> conftest.$ac_ext
6780 /* The mapping between symbol names and symbols. */
6785 lt__PROGRAM__LTX_preloaded_symbols[] =
6787 { "@PROGRAM@
", (void *) 0 },
6789 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6790 cat <<\_LT_EOF >> conftest.$ac_ext
6794 /* This works around a problem in FreeBSD linker */
6795 #ifdef FREEBSD_WORKAROUND
6796 static const void *lt_preloaded_setup() {
6797 return lt__PROGRAM__LTX_preloaded_symbols;
6805 # Now try linking the two files.
6806 mv conftest.$ac_objext conftstm.$ac_objext
6807 lt_save_LIBS="$LIBS"
6808 lt_save_CFLAGS="$CFLAGS"
6809 LIBS="conftstm.
$ac_objext"
6810 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6812 (eval $ac_link) 2>&5
6814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6815 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6818 LIBS="$lt_save_LIBS"
6819 CFLAGS="$lt_save_CFLAGS"
6821 echo "cannot
find nm_test_func
in $nlist" >&5
6824 echo "cannot
find nm_test_var
in $nlist" >&5
6827 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6830 echo "$progname: failed program was
:" >&5
6831 cat conftest.$ac_ext >&5
6833 rm -rf conftest* conftst*
6835 # Do not use the global_symbol_pipe unless it works.
6836 if test "$pipe_works" = yes; then
6839 lt_cv_sys_global_symbol_pipe=
6845 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6846 lt_cv_sys_global_symbol_to_cdecl=
6848 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6849 echo "$as_me:$LINENO: result
: failed
" >&5
6850 echo "${ECHO_T}failed
" >&6
6852 echo "$as_me:$LINENO: result
: ok
" >&5
6853 echo "${ECHO_T}ok
" >&6
6877 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6878 if test "${enable_libtool_lock+set}" = set; then
6879 enableval="$enable_libtool_lock"
6882 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6884 # Some flags need to be propagated to the compiler or linker for good
6888 # Find out which ABI we are using.
6889 echo 'int i;' > conftest.$ac_ext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6891 (eval $ac_compile) 2>&5
6893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6894 (exit $ac_status); }; then
6895 case `/usr/bin/file conftest.$ac_objext` in
6907 # Find out which ABI we are using.
6908 echo '#line 6908 "configure
"' > conftest.$ac_ext
6909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6910 (eval $ac_compile) 2>&5
6912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6913 (exit $ac_status); }; then
6914 if test "$lt_cv_prog_gnu_ld" = yes; then
6915 case `/usr/bin/file conftest.$ac_objext` in
6917 LD="${LD-ld} -melf32bsmip"
6920 LD="${LD-ld} -melf32bmipn32"
6923 LD="${LD-ld} -melf64bmip"
6927 case `/usr/bin/file conftest.$ac_objext` in
6943 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6944 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6945 # Find out which ABI we are using.
6946 echo 'int i;' > conftest.$ac_ext
6947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6948 (eval $ac_compile) 2>&5
6950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6951 (exit $ac_status); }; then
6952 case `/usr/bin/file conftest.o` in
6955 x86_64-*kfreebsd*-gnu)
6956 LD="${LD-ld} -m elf_i386_fbsd
"
6959 LD="${LD-ld} -m elf_i386
"
6961 ppc64-*linux*|powerpc64-*linux*)
6962 LD="${LD-ld} -m elf32ppclinux
"
6965 LD="${LD-ld} -m elf_s390
"
6968 LD="${LD-ld} -m elf32_sparc
"
6974 x86_64-*kfreebsd*-gnu)
6975 LD="${LD-ld} -m elf_x86_64_fbsd
"
6978 LD="${LD-ld} -m elf_x86_64
"
6980 ppc*-*linux*|powerpc*-*linux*)
6981 LD="${LD-ld} -m elf64ppc
"
6983 s390*-*linux*|s390*-*tpf*)
6984 LD="${LD-ld} -m elf64_s390
"
6987 LD="${LD-ld} -m elf64_sparc
"
6997 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6998 SAVE_CFLAGS="$CFLAGS"
6999 CFLAGS="$CFLAGS -belf"
7000 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7001 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7002 if test "${lt_cv_cc_needs_belf+set}" = set; then
7003 echo $ECHO_N "(cached
) $ECHO_C" >&6
7006 ac_cpp='$CPP $CPPFLAGS'
7007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7011 if test x$gcc_no_link = xyes; then
7012 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7013 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7014 { (exit 1); exit 1; }; }
7016 cat >conftest.$ac_ext <<_ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7031 rm -f conftest.$ac_objext conftest$ac_exeext
7032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7033 (eval $ac_link) 2>conftest.er1
7035 grep -v '^ *+' conftest.er1 >conftest.err
7037 cat conftest.err >&5
7038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7039 (exit $ac_status); } &&
7040 { ac_try='test -z "$ac_c_werror_flag"
7041 || test ! -s conftest.err'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7046 (exit $ac_status); }; } &&
7047 { ac_try='test -s conftest$ac_exeext'
7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7052 (exit $ac_status); }; }; then
7053 lt_cv_cc_needs_belf=yes
7055 echo "$as_me: failed program was
:" >&5
7056 sed 's/^/| /' conftest.$ac_ext >&5
7058 lt_cv_cc_needs_belf=no
7060 rm -f conftest.err conftest.$ac_objext \
7061 conftest$ac_exeext conftest.$ac_ext
7063 ac_cpp='$CPP $CPPFLAGS'
7064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7069 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7070 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7071 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7072 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7073 CFLAGS="$SAVE_CFLAGS"
7077 # Find out which ABI we are using.
7078 echo 'int i;' > conftest.$ac_ext
7079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7080 (eval $ac_compile) 2>&5
7082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7083 (exit $ac_status); }; then
7084 case `/usr/bin/file conftest.o` in
7086 case $lt_cv_prog_gnu_ld in
7087 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7089 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7101 need_locks="$enable_libtool_lock"
7105 rhapsody* | darwin*)
7106 if test -n "$ac_tool_prefix"; then
7107 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7108 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7109 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7110 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7111 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7112 echo $ECHO_N "(cached
) $ECHO_C" >&6
7114 if test -n "$DSYMUTIL"; then
7115 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7125 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7133 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7134 if test -n "$DSYMUTIL"; then
7135 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7136 echo "${ECHO_T}$DSYMUTIL" >&6
7138 echo "$as_me:$LINENO: result
: no
" >&5
7139 echo "${ECHO_T}no
" >&6
7143 if test -z "$ac_cv_prog_DSYMUTIL"; then
7144 ac_ct_DSYMUTIL=$DSYMUTIL
7145 # Extract the first word of "dsymutil
", so it can be a program name with args.
7146 set dummy dsymutil; ac_word=$2
7147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7149 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7150 echo $ECHO_N "(cached
) $ECHO_C" >&6
7152 if test -n "$ac_ct_DSYMUTIL"; then
7153 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7169 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7172 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7173 if test -n "$ac_ct_DSYMUTIL"; then
7174 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7175 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7177 echo "$as_me:$LINENO: result
: no
" >&5
7178 echo "${ECHO_T}no
" >&6
7181 DSYMUTIL=$ac_ct_DSYMUTIL
7183 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7189 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7190 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7191 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7192 echo $ECHO_N "(cached
) $ECHO_C" >&6
7194 if test -n "$NMEDIT"; then
7195 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7205 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7213 NMEDIT=$ac_cv_prog_NMEDIT
7214 if test -n "$NMEDIT"; then
7215 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7216 echo "${ECHO_T}$NMEDIT" >&6
7218 echo "$as_me:$LINENO: result
: no
" >&5
7219 echo "${ECHO_T}no
" >&6
7223 if test -z "$ac_cv_prog_NMEDIT"; then
7224 ac_ct_NMEDIT=$NMEDIT
7225 # Extract the first word of "nmedit
", so it can be a program name with args.
7226 set dummy nmedit; ac_word=$2
7227 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7228 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7229 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7230 echo $ECHO_N "(cached
) $ECHO_C" >&6
7232 if test -n "$ac_ct_NMEDIT"; then
7233 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7243 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7249 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7252 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7253 if test -n "$ac_ct_NMEDIT"; then
7254 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7255 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7257 echo "$as_me:$LINENO: result
: no
" >&5
7258 echo "${ECHO_T}no
" >&6
7261 NMEDIT=$ac_ct_NMEDIT
7263 NMEDIT="$ac_cv_prog_NMEDIT"
7266 if test -n "$ac_tool_prefix"; then
7267 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7268 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7269 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7270 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7271 if test "${ac_cv_prog_LIPO+set}" = set; then
7272 echo $ECHO_N "(cached
) $ECHO_C" >&6
7274 if test -n "$LIPO"; then
7275 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7285 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7293 LIPO=$ac_cv_prog_LIPO
7294 if test -n "$LIPO"; then
7295 echo "$as_me:$LINENO: result
: $LIPO" >&5
7296 echo "${ECHO_T}$LIPO" >&6
7298 echo "$as_me:$LINENO: result
: no
" >&5
7299 echo "${ECHO_T}no
" >&6
7303 if test -z "$ac_cv_prog_LIPO"; then
7305 # Extract the first word of "lipo
", so it can be a program name with args.
7306 set dummy lipo; ac_word=$2
7307 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7309 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7310 echo $ECHO_N "(cached
) $ECHO_C" >&6
7312 if test -n "$ac_ct_LIPO"; then
7313 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_ac_ct_LIPO="lipo
"
7323 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7329 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7332 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7333 if test -n "$ac_ct_LIPO"; then
7334 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7335 echo "${ECHO_T}$ac_ct_LIPO" >&6
7337 echo "$as_me:$LINENO: result
: no
" >&5
7338 echo "${ECHO_T}no
" >&6
7343 LIPO="$ac_cv_prog_LIPO"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}otool; ac_word=$2
7349 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7350 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7351 if test "${ac_cv_prog_OTOOL+set}" = set; then
7352 echo $ECHO_N "(cached
) $ECHO_C" >&6
7354 if test -n "$OTOOL"; then
7355 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7365 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7373 OTOOL=$ac_cv_prog_OTOOL
7374 if test -n "$OTOOL"; then
7375 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7376 echo "${ECHO_T}$OTOOL" >&6
7378 echo "$as_me:$LINENO: result
: no
" >&5
7379 echo "${ECHO_T}no
" >&6
7383 if test -z "$ac_cv_prog_OTOOL"; then
7385 # Extract the first word of "otool
", so it can be a program name with args.
7386 set dummy otool; ac_word=$2
7387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7389 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7390 echo $ECHO_N "(cached
) $ECHO_C" >&6
7392 if test -n "$ac_ct_OTOOL"; then
7393 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_ac_ct_OTOOL="otool
"
7403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7412 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7413 if test -n "$ac_ct_OTOOL"; then
7414 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7415 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7417 echo "$as_me:$LINENO: result
: no
" >&5
7418 echo "${ECHO_T}no
" >&6
7423 OTOOL="$ac_cv_prog_OTOOL"
7426 if test -n "$ac_tool_prefix"; then
7427 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7429 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7430 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7431 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7432 echo $ECHO_N "(cached
) $ECHO_C" >&6
7434 if test -n "$OTOOL64"; then
7435 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7445 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7453 OTOOL64=$ac_cv_prog_OTOOL64
7454 if test -n "$OTOOL64"; then
7455 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7456 echo "${ECHO_T}$OTOOL64" >&6
7458 echo "$as_me:$LINENO: result
: no
" >&5
7459 echo "${ECHO_T}no
" >&6
7463 if test -z "$ac_cv_prog_OTOOL64"; then
7464 ac_ct_OTOOL64=$OTOOL64
7465 # Extract the first word of "otool64
", so it can be a program name with args.
7466 set dummy otool64; ac_word=$2
7467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7469 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7470 echo $ECHO_N "(cached
) $ECHO_C" >&6
7472 if test -n "$ac_ct_OTOOL64"; then
7473 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7489 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7492 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7493 if test -n "$ac_ct_OTOOL64"; then
7494 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7495 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7497 echo "$as_me:$LINENO: result
: no
" >&5
7498 echo "${ECHO_T}no
" >&6
7501 OTOOL64=$ac_ct_OTOOL64
7503 OTOOL64="$ac_cv_prog_OTOOL64"
7532 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7533 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7534 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7535 echo $ECHO_N "(cached
) $ECHO_C" >&6
7537 lt_cv_apple_cc_single_mod=no
7538 if test -z "${LT_MULTI_MODULE}"; then
7539 # By default we will add the -single_module flag. You can override
7540 # by either setting the environment variable LT_MULTI_MODULE
7541 # non-empty at configure time, or by adding -multi_module to the
7543 rm -rf libconftest.dylib*
7544 echo "int foo
(void
){return 1;}" > conftest.c
7545 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7546 -dynamiclib -Wl,-single_module conftest.c
" >&5
7547 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7550 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7551 lt_cv_apple_cc_single_mod=yes
7553 cat conftest.err >&5
7555 rm -rf libconftest.dylib*
7559 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7560 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7561 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7562 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7563 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7564 echo $ECHO_N "(cached
) $ECHO_C" >&6
7566 lt_cv_ld_exported_symbols_list=no
7567 save_LDFLAGS=$LDFLAGS
7568 echo "_main
" > conftest.sym
7569 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7570 if test x$gcc_no_link = xyes; then
7571 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7572 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7573 { (exit 1); exit 1; }; }
7575 cat >conftest.$ac_ext <<_ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7590 rm -f conftest.$ac_objext conftest$ac_exeext
7591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7592 (eval $ac_link) 2>conftest.er1
7594 grep -v '^ *+' conftest.er1 >conftest.err
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7598 (exit $ac_status); } &&
7599 { ac_try='test -z "$ac_c_werror_flag"
7600 || test ! -s conftest.err'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest$ac_exeext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7611 (exit $ac_status); }; }; then
7612 lt_cv_ld_exported_symbols_list=yes
7614 echo "$as_me: failed program was
:" >&5
7615 sed 's/^/| /' conftest.$ac_ext >&5
7617 lt_cv_ld_exported_symbols_list=no
7619 rm -f conftest.err conftest.$ac_objext \
7620 conftest$ac_exeext conftest.$ac_ext
7621 LDFLAGS="$save_LDFLAGS"
7624 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7625 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7627 rhapsody* | darwin1.[012])
7628 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7630 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7631 darwin*) # darwin 5.x on
7632 # if running on 10.5 or later, the deployment target defaults
7633 # to the OS version, if on x86, and 10.4, the deployment
7634 # target defaults to 10.4. Don't you love it?
7635 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7636 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7637 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7639 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7641 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7645 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7646 _lt_dar_single_mod='$single_module'
7648 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7649 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7651 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7653 if test "$DSYMUTIL" != ":"; then
7654 _lt_dsymutil='~$DSYMUTIL $lib || :'
7662 for ac_header in dlfcn.h
7664 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7665 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7666 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7667 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7668 echo $ECHO_N "(cached
) $ECHO_C" >&6
7670 cat >conftest.$ac_ext <<_ACEOF
7673 cat confdefs.h >>conftest.$ac_ext
7674 cat >>conftest.$ac_ext <<_ACEOF
7675 /* end confdefs.h. */
7676 $ac_includes_default
7678 #include <$ac_header>
7680 rm -f conftest.$ac_objext
7681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682 (eval $ac_compile) 2>conftest.er1
7684 grep -v '^ *+' conftest.er1 >conftest.err
7686 cat conftest.err >&5
7687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7688 (exit $ac_status); } &&
7689 { ac_try='test -z "$ac_c_werror_flag"
7690 || test ! -s conftest.err'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7695 (exit $ac_status); }; } &&
7696 { ac_try='test -s conftest.$ac_objext'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7701 (exit $ac_status); }; }; then
7702 eval "$as_ac_Header=yes"
7704 echo "$as_me: failed program was
:" >&5
7705 sed 's/^/| /' conftest.$ac_ext >&5
7707 eval "$as_ac_Header=no
"
7709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7711 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7714 cat >>confdefs.h <<_ACEOF
7715 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7734 # Check whether --enable-shared or --disable-shared was given.
7735 if test "${enable_shared+set}" = set; then
7736 enableval="$enable_shared"
7737 p=${PACKAGE-default}
7739 yes) enable_shared=yes ;;
7740 no) enable_shared=no ;;
7743 # Look at the argument we got. We use all the common list separators.
7744 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7745 for pkg in $enableval; do
7747 if test "X
$pkg" = "X
$p"; then
7767 # Check whether --with-pic or --without-pic was given.
7768 if test "${with_pic+set}" = set; then
7775 test -z "$pic_mode" && pic_mode=default
7783 # Check whether --enable-fast-install or --disable-fast-install was given.
7784 if test "${enable_fast_install+set}" = set; then
7785 enableval="$enable_fast_install"
7786 p=${PACKAGE-default}
7788 yes) enable_fast_install=yes ;;
7789 no) enable_fast_install=no ;;
7791 enable_fast_install=no
7792 # Look at the argument we got. We use all the common list separators.
7793 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7794 for pkg in $enableval; do
7796 if test "X
$pkg" = "X
$p"; then
7797 enable_fast_install=yes
7804 enable_fast_install=yes
7816 # This can be used to rebuild libtool when needed
7817 LIBTOOL_DEPS="$ltmain"
7819 # Always use our own libtool.
7820 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7846 test -z "$LN_S" && LN_S="ln -s"
7861 if test -n "${ZSH_VERSION+set}" ; then
7862 setopt NO_GLOB_SUBST
7865 echo "$as_me:$LINENO: checking
for objdir
" >&5
7866 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7867 if test "${lt_cv_objdir+set}" = set; then
7868 echo $ECHO_N "(cached
) $ECHO_C" >&6
7870 rm -f .libs 2>/dev/null
7871 mkdir .libs 2>/dev/null
7872 if test -d .libs; then
7875 # MS-DOS does not allow filenames that begin with a dot.
7878 rmdir .libs 2>/dev/null
7880 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7881 echo "${ECHO_T}$lt_cv_objdir" >&6
7882 objdir=$lt_cv_objdir
7888 cat >>confdefs.h <<_ACEOF
7889 #define LT_OBJDIR "$lt_cv_objdir/"
7910 # AIX sometimes has problems with the GCC collect2 program. For some
7911 # reason, if we set the COLLECT_NAMES environment variable, the problems
7912 # vanish in a puff of smoke.
7913 if test "X
${COLLECT_NAMES+set}" != Xset; then
7915 export COLLECT_NAMES
7920 # Sed substitution that helps us do robust quoting. It backslashifies
7921 # metacharacters that are still active within double-quoted strings.
7922 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7924 # Same as above, but do not quote variable references.
7925 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7927 # Sed substitution to delay expansion of an escaped shell variable in a
7928 # double_quote_subst'ed string.
7929 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7931 # Sed substitution to delay expansion of an escaped single quote.
7932 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7934 # Sed substitution to avoid accidental globbing in evaled expressions
7935 no_glob_subst
='s/\*/\\\*/g'
7939 can_build_shared
=yes
7941 # All known linkers require a `.a' archive for static linking (except MSVC,
7942 # which needs '.lib').
7945 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7948 old_CFLAGS
="$CFLAGS"
7950 # Set sane defaults for various variables
7951 test -z "$CC" && CC
=cc
7952 test -z "$LTCC" && LTCC
=$CC
7953 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7954 test -z "$LD" && LD
=ld
7955 test -z "$ac_objext" && ac_objext
=o
7957 for cc_temp
in $compiler""; do
7959 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7960 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7965 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7968 # Only perform the check for file, if the check method requires it
7969 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7970 case $deplibs_check_method in
7972 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7973 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7974 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7975 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7983 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7984 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7985 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7986 for ac_dir
in $ac_dummy; do
7988 test -z "$ac_dir" && ac_dir
=.
7989 if test -f $ac_dir/${ac_tool_prefix}file; then
7990 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7991 if test -n "$file_magic_test_file"; then
7992 case $deplibs_check_method in
7994 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7995 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7996 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7997 $EGREP "$file_magic_regex" > /dev
/null
; then
8002 *** Warning: the command libtool uses to detect shared libraries,
8003 *** $file_magic_cmd, produces output that libtool cannot recognize.
8004 *** The result is that libtool may fail to recognize shared libraries
8005 *** as such. This will affect the creation of libtool libraries that
8006 *** depend on shared libraries, but programs linked with such libtool
8007 *** libraries will work regardless of this problem. Nevertheless, you
8008 *** may want to report the problem to your system manager and/or to
8009 *** bug-libtool@gnu.org
8019 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8024 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8025 if test -n "$MAGIC_CMD"; then
8026 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8027 echo "${ECHO_T}$MAGIC_CMD" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8037 if test -z "$lt_cv_path_MAGIC_CMD"; then
8038 if test -n "$ac_tool_prefix"; then
8039 echo "$as_me:$LINENO: checking for file" >&5
8040 echo $ECHO_N "checking for file... $ECHO_C" >&6
8041 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8049 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8050 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8051 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8052 for ac_dir
in $ac_dummy; do
8054 test -z "$ac_dir" && ac_dir
=.
8055 if test -f $ac_dir/file; then
8056 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8057 if test -n "$file_magic_test_file"; then
8058 case $deplibs_check_method in
8060 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8061 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8062 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8063 $EGREP "$file_magic_regex" > /dev
/null
; then
8068 *** Warning: the command libtool uses to detect shared libraries,
8069 *** $file_magic_cmd, produces output that libtool cannot recognize.
8070 *** The result is that libtool may fail to recognize shared libraries
8071 *** as such. This will affect the creation of libtool libraries that
8072 *** depend on shared libraries, but programs linked with such libtool
8073 *** libraries will work regardless of this problem. Nevertheless, you
8074 *** may want to report the problem to your system manager and/or to
8075 *** bug-libtool@gnu.org
8085 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8090 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8091 if test -n "$MAGIC_CMD"; then
8092 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8093 echo "${ECHO_T}$MAGIC_CMD" >&6
8095 echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6
8109 # Use C for the default configuration in the libtool script
8113 ac_cpp
='$CPP $CPPFLAGS'
8114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8119 # Source file extension for C test sources.
8122 # Object file extension for compiled C test sources.
8126 # Code to be used in simple compile tests
8127 lt_simple_compile_test_code
="int some_variable = 0;"
8129 # Code to be used in simple link tests
8130 lt_simple_link_test_code
='int main(){return(0);}'
8138 # If no C compiler was specified, use CC.
8141 # If no C compiler flags were specified, use CFLAGS.
8142 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8144 # Allow CC to be a program name with arguments.
8147 # Save the default compiler, since it gets overwritten when the other
8148 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8149 compiler_DEFAULT
=$CC
8151 # save warnings/boilerplate of simple test code
8152 ac_outfile
=conftest.
$ac_objext
8153 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8154 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8155 _lt_compiler_boilerplate
=`cat conftest.err`
8158 ac_outfile
=conftest.
$ac_objext
8159 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8160 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8161 _lt_linker_boilerplate
=`cat conftest.err`
8166 ## There is no encapsulation within the following macros, do not change
8167 ## the running order or otherwise move them around unless you know exactly
8168 ## what you are doing...
8169 if test -n "$compiler"; then
8171 lt_prog_compiler_no_builtin_flag
=
8173 if test "$GCC" = yes; then
8174 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8176 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8177 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8178 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 lt_cv_prog_compiler_rtti_exceptions
=no
8182 ac_outfile
=conftest.
$ac_objext
8183 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8184 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8185 # Insert the option either (1) after the last *FLAGS variable, or
8186 # (2) before a word containing "conftest.", or (3) at the end.
8187 # Note that $ac_compile itself does not contain backslashes and begins
8188 # with a dollar sign (not a hyphen), so the echo should work correctly.
8189 # The option is referenced via a variable to avoid confusing sed.
8190 lt_compile
=`echo "$ac_compile" | $SED \
8191 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8193 -e 's:$: $lt_compiler_flag:'`
8194 (eval echo "\"\$as_me:8194: $lt_compile\"" >&5)
8195 (eval "$lt_compile" 2>conftest.err
)
8197 cat conftest.err
>&5
8198 echo "$as_me:8198: \$? = $ac_status" >&5
8199 if (exit $ac_status) && test -s "$ac_outfile"; then
8200 # The compiler can only warn and ignore the option if not recognized
8201 # So say no if there are warnings other than the usual output.
8202 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8203 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8204 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8205 lt_cv_prog_compiler_rtti_exceptions
=yes
8211 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8212 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8214 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8215 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8227 lt_prog_compiler_wl
=
8228 lt_prog_compiler_pic
=
8229 lt_prog_compiler_static
=
8231 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8232 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8234 if test "$GCC" = yes; then
8235 lt_prog_compiler_wl
='-Wl,'
8236 lt_prog_compiler_static
='-static'
8240 # All AIX code is PIC.
8241 if test "$host_cpu" = ia64
; then
8242 # AIX 5 now supports IA64 processor
8243 lt_prog_compiler_static
='-Bstatic'
8250 # see comment about AmigaOS4 .so support
8251 lt_prog_compiler_pic
='-fPIC'
8254 # FIXME: we need at least 68020 code to build shared libraries, but
8255 # adding the `-m68020' flag to GCC prevents building anything better,
8257 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8262 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8263 # PIC is the default for these OSes.
8266 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8267 # This hack is so that the source file can tell whether it is being
8268 # built for inclusion in a dll (and should export symbols for example).
8269 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8270 # (--disable-auto-import) libraries
8271 lt_prog_compiler_pic
='-DDLL_EXPORT'
8274 darwin
* | rhapsody
*)
8275 # PIC is the default on this platform
8276 # Common symbols not allowed in MH_DYLIB files
8277 lt_prog_compiler_pic
='-fno-common'
8281 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8282 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8283 # sets the default TLS model and affects inlining.
8289 lt_prog_compiler_pic
='-fPIC'
8295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8296 # Instead, we relocate shared libraries at runtime.
8300 # Just because we use GCC doesn't mean we suddenly get shared libraries
8301 # on systems that don't support them.
8302 lt_prog_compiler_can_build_shared
=no
8307 # QNX uses GNU C++, but need to define -shared option too, otherwise
8309 lt_prog_compiler_pic
='-fPIC -shared'
8313 if test -d /usr
/nec
; then
8314 lt_prog_compiler_pic
=-Kconform_pic
8319 lt_prog_compiler_pic
='-fPIC'
8323 # PORTME Check for flag to pass linker flags through the system compiler.
8326 lt_prog_compiler_wl
='-Wl,'
8327 if test "$host_cpu" = ia64
; then
8328 # AIX 5 now supports IA64 processor
8329 lt_prog_compiler_static
='-Bstatic'
8331 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8335 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8336 # This hack is so that the source file can tell whether it is being
8337 # built for inclusion in a dll (and should export symbols for example).
8338 lt_prog_compiler_pic
='-DDLL_EXPORT'
8341 hpux9
* | hpux10
* | hpux11
*)
8342 lt_prog_compiler_wl
='-Wl,'
8343 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8350 lt_prog_compiler_pic
='+Z'
8353 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8354 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8357 irix5
* | irix6
* | nonstopux
*)
8358 lt_prog_compiler_wl
='-Wl,'
8359 # PIC (with -KPIC) is the default.
8360 lt_prog_compiler_static
='-non_shared'
8363 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8364 case $cc_basename in
8365 # old Intel for x86_64 which still supported -KPIC.
8367 lt_prog_compiler_wl
='-Wl,'
8368 lt_prog_compiler_pic
='-KPIC'
8369 lt_prog_compiler_static
='-static'
8371 # icc used to be incompatible with GCC.
8372 # ICC 10 doesn't accept -KPIC any more.
8374 lt_prog_compiler_wl
='-Wl,'
8375 lt_prog_compiler_pic
='-fPIC'
8376 lt_prog_compiler_static
='-static'
8378 # Lahey Fortran 8.1.
8380 lt_prog_compiler_wl
='-Wl,'
8381 lt_prog_compiler_pic
='--shared'
8382 lt_prog_compiler_static
='--static'
8384 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8385 # Portland Group compilers (*not* the Pentium gcc compiler,
8386 # which looks to be a dead project)
8387 lt_prog_compiler_wl
='-Wl,'
8388 lt_prog_compiler_pic
='-fpic'
8389 lt_prog_compiler_static
='-Bstatic'
8392 lt_prog_compiler_wl
='-Wl,'
8393 # All Alpha code is PIC.
8394 lt_prog_compiler_static
='-non_shared'
8397 # IBM XL C 8.0/Fortran 10.1 on PPC
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_pic
='-qpic'
8400 lt_prog_compiler_static
='-qstaticlink'
8403 case `$CC -V 2>&1 | sed 5q` in
8406 lt_prog_compiler_pic
='-KPIC'
8407 lt_prog_compiler_static
='-Bstatic'
8408 lt_prog_compiler_wl
='-Wl,'
8411 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8412 lt_prog_compiler_pic
='-KPIC'
8413 lt_prog_compiler_static
='-Bstatic'
8414 lt_prog_compiler_wl
=''
8422 lt_prog_compiler_pic
='-KPIC'
8423 lt_prog_compiler_static
='-Bstatic'
8427 # QNX uses GNU C++, but need to define -shared option too, otherwise
8429 lt_prog_compiler_pic
='-fPIC -shared'
8432 osf3
* | osf4
* | osf5
*)
8433 lt_prog_compiler_wl
='-Wl,'
8434 # All OSF/1 code is PIC.
8435 lt_prog_compiler_static
='-non_shared'
8439 lt_prog_compiler_static
='-non_shared'
8443 lt_prog_compiler_pic
='-KPIC'
8444 lt_prog_compiler_static
='-Bstatic'
8445 case $cc_basename in
8447 lt_prog_compiler_wl
='-Qoption ld ';;
8449 lt_prog_compiler_wl
='-Wl,';;
8454 lt_prog_compiler_wl
='-Qoption ld '
8455 lt_prog_compiler_pic
='-PIC'
8456 lt_prog_compiler_static
='-Bstatic'
8459 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8460 lt_prog_compiler_wl
='-Wl,'
8461 lt_prog_compiler_pic
='-KPIC'
8462 lt_prog_compiler_static
='-Bstatic'
8466 if test -d /usr
/nec
;then
8467 lt_prog_compiler_pic
='-Kconform_pic'
8468 lt_prog_compiler_static
='-Bstatic'
8472 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8473 lt_prog_compiler_wl
='-Wl,'
8474 lt_prog_compiler_pic
='-KPIC'
8475 lt_prog_compiler_static
='-Bstatic'
8479 lt_prog_compiler_wl
='-Wl,'
8480 lt_prog_compiler_can_build_shared
=no
8484 lt_prog_compiler_pic
='-pic'
8485 lt_prog_compiler_static
='-Bstatic'
8489 lt_prog_compiler_can_build_shared
=no
8495 # For platforms which do not support PIC, -DPIC is meaningless:
8497 lt_prog_compiler_pic
=
8500 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8503 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8504 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8512 # Check to make sure the PIC flag actually works.
8514 if test -n "$lt_prog_compiler_pic"; then
8515 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8516 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8517 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 lt_cv_prog_compiler_pic_works
=no
8521 ac_outfile
=conftest.
$ac_objext
8522 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8523 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8524 # Insert the option either (1) after the last *FLAGS variable, or
8525 # (2) before a word containing "conftest.", or (3) at the end.
8526 # Note that $ac_compile itself does not contain backslashes and begins
8527 # with a dollar sign (not a hyphen), so the echo should work correctly.
8528 # The option is referenced via a variable to avoid confusing sed.
8529 lt_compile
=`echo "$ac_compile" | $SED \
8530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8532 -e 's:$: $lt_compiler_flag:'`
8533 (eval echo "\"\$as_me:8533: $lt_compile\"" >&5)
8534 (eval "$lt_compile" 2>conftest.err
)
8536 cat conftest.err
>&5
8537 echo "$as_me:8537: \$? = $ac_status" >&5
8538 if (exit $ac_status) && test -s "$ac_outfile"; then
8539 # The compiler can only warn and ignore the option if not recognized
8540 # So say no if there are warnings other than the usual output.
8541 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8542 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8543 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8544 lt_cv_prog_compiler_pic_works
=yes
8550 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8551 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8553 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8554 case $lt_prog_compiler_pic in
8556 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8559 lt_prog_compiler_pic
=
8560 lt_prog_compiler_can_build_shared
=no
8571 # Check to make sure the static flag actually works.
8573 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8574 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8575 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8576 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 lt_cv_prog_compiler_static_works
=no
8580 save_LDFLAGS
="$LDFLAGS"
8581 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8582 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8583 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8584 # The linker can only warn and ignore the option if not recognized
8585 # So say no if there are warnings
8586 if test -s conftest.err
; then
8587 # Append any errors to the config.log.
8588 cat conftest.err
1>&5
8589 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8590 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8591 if diff conftest.exp conftest.er2
>/dev
/null
; then
8592 lt_cv_prog_compiler_static_works
=yes
8595 lt_cv_prog_compiler_static_works
=yes
8599 LDFLAGS
="$save_LDFLAGS"
8602 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8603 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8605 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8608 lt_prog_compiler_static
=
8617 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8618 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8619 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 lt_cv_prog_compiler_c_o
=no
8623 $RM -r conftest
2>/dev
/null
8627 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8629 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8630 # Insert the option either (1) after the last *FLAGS variable, or
8631 # (2) before a word containing "conftest.", or (3) at the end.
8632 # Note that $ac_compile itself does not contain backslashes and begins
8633 # with a dollar sign (not a hyphen), so the echo should work correctly.
8634 lt_compile
=`echo "$ac_compile" | $SED \
8635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8637 -e 's:$: $lt_compiler_flag:'`
8638 (eval echo "\"\$as_me:8638: $lt_compile\"" >&5)
8639 (eval "$lt_compile" 2>out
/conftest.err
)
8641 cat out
/conftest.err
>&5
8642 echo "$as_me:8642: \$? = $ac_status" >&5
8643 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8645 # The compiler can only warn and ignore the option if not recognized
8646 # So say no if there are warnings
8647 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8648 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8649 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8650 lt_cv_prog_compiler_c_o
=yes
8655 # SGI C++ compiler will create directory out/ii_files/ for
8656 # template instantiation
8657 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8658 $RM out
/* && rmdir out
8664 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8665 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8672 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8673 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8674 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 lt_cv_prog_compiler_c_o
=no
8678 $RM -r conftest
2>/dev
/null
8682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8684 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8685 # Insert the option either (1) after the last *FLAGS variable, or
8686 # (2) before a word containing "conftest.", or (3) at the end.
8687 # Note that $ac_compile itself does not contain backslashes and begins
8688 # with a dollar sign (not a hyphen), so the echo should work correctly.
8689 lt_compile
=`echo "$ac_compile" | $SED \
8690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8692 -e 's:$: $lt_compiler_flag:'`
8693 (eval echo "\"\$as_me:8693: $lt_compile\"" >&5)
8694 (eval "$lt_compile" 2>out
/conftest.err
)
8696 cat out
/conftest.err
>&5
8697 echo "$as_me:8697: \$? = $ac_status" >&5
8698 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8700 # The compiler can only warn and ignore the option if not recognized
8701 # So say no if there are warnings
8702 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8703 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8704 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8705 lt_cv_prog_compiler_c_o
=yes
8710 # SGI C++ compiler will create directory out/ii_files/ for
8711 # template instantiation
8712 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8713 $RM out
/* && rmdir out
8719 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8720 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8725 hard_links
="nottested"
8726 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8727 # do not overwrite the value of need_locks provided by the user
8728 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8729 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8732 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8734 ln conftest.a conftest.b
2>&5 || hard_links
=no
8735 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8736 echo "$as_me:$LINENO: result: $hard_links" >&5
8737 echo "${ECHO_T}$hard_links" >&6
8738 if test "$hard_links" = no
; then
8739 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8740 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8752 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8753 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8756 allow_undefined_flag
=
8757 always_export_symbols
=no
8759 archive_expsym_cmds
=
8760 compiler_needs_object
=no
8761 enable_shared_with_static_runtimes
=no
8762 export_dynamic_flag_spec
=
8763 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8764 hardcode_automatic
=no
8766 hardcode_direct_absolute
=no
8767 hardcode_libdir_flag_spec
=
8768 hardcode_libdir_flag_spec_ld
=
8769 hardcode_libdir_separator
=
8771 hardcode_shlibpath_var
=unsupported
8773 link_all_deplibs
=unknown
8776 old_archive_from_new_cmds
=
8777 old_archive_from_expsyms_cmds
=
8778 thread_safe_flag_spec
=
8779 whole_archive_flag_spec
=
8780 # include_expsyms should be a list of space-separated symbols to be *always*
8781 # included in the symbol list
8783 # exclude_expsyms can be an extended regexp of symbols to exclude
8784 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8785 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8786 # as well as any symbol that contains `d'.
8787 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8788 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8789 # platforms (ab)use it in PIC code, but their linkers get confused if
8790 # the symbol is explicitly referenced. Since portable code cannot
8791 # rely on this symbol name, it's probably fine to never include it in
8792 # preloaded symbol tables.
8793 # Exclude shared library initialization/finalization symbols.
8794 extract_expsyms_cmds
=
8797 cygwin
* | mingw
* | pw32
* | cegcc
*)
8798 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8799 # When not using gcc, we currently assume that we are using
8800 # Microsoft Visual C++.
8801 if test "$GCC" != yes; then
8806 # we just hope/assume this is gcc and not c89 (= MSVC++)
8815 if test "$with_gnu_ld" = yes; then
8816 # If archive_cmds runs LD, not CC, wlarc should be empty
8819 # Set some defaults for GNU ld with shared library support. These
8820 # are reset later if shared libraries are not supported. Putting them
8821 # here allows them to be overridden if necessary.
8822 runpath_var
=LD_RUN_PATH
8823 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8824 export_dynamic_flag_spec
='${wl}--export-dynamic'
8825 # ancient GNU ld didn't support --whole-archive et. al.
8826 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8827 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8829 whole_archive_flag_spec
=
8831 supports_anon_versioning
=no
8832 case `$LD -v 2>&1` in
8833 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8834 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8835 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8836 *\
2.11.
*) ;; # other 2.11 versions
8837 *) supports_anon_versioning
=yes ;;
8840 # See if GNU ld supports shared libraries.
8843 # On AIX/PPC, the GNU linker is very broken
8844 if test "$host_cpu" != ia64
; then
8848 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8849 *** to be unable to reliably create shared libraries on AIX.
8850 *** Therefore, libtool is disabling shared libraries support. If you
8851 *** really care for shared libraries, you may want to modify your PATH
8852 *** so that a non-GNU linker is found, and then restart.
8861 # see comment about AmigaOS4 .so support
8862 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8863 archive_expsym_cmds
=''
8866 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8867 hardcode_libdir_flag_spec
='-L$libdir'
8868 hardcode_minus_L
=yes
8874 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8875 allow_undefined_flag
=unsupported
8876 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8877 # support --undefined. This deserves some investigation. FIXME
8878 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8884 cygwin
* | mingw
* | pw32
* | cegcc
*)
8885 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8886 # as there is no search path for DLLs.
8887 hardcode_libdir_flag_spec
='-L$libdir'
8888 allow_undefined_flag
=unsupported
8889 always_export_symbols
=no
8890 enable_shared_with_static_runtimes
=yes
8891 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8893 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8894 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8895 # If the export-symbols file already is a .def file (1st line
8896 # is EXPORTS), use it as is; otherwise, prepend...
8897 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8898 cp $export_symbols $output_objdir/$soname.def;
8900 echo EXPORTS > $output_objdir/$soname.def;
8901 cat $export_symbols >> $output_objdir/$soname.def;
8903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8911 hardcode_shlibpath_var
=no
8912 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8913 export_dynamic_flag_spec
='${wl}-E'
8914 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8915 # Instead, shared libraries are loaded at an image base (0x10000000 by
8916 # default) and relocated if they conflict, which is a slow very memory
8917 # consuming and fragmenting process. To avoid this, we pick a random,
8918 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8919 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8920 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8921 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8924 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8926 if test "$host_os" = linux-dietlibc
; then
8927 case $cc_basename in
8928 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8931 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8932 && test "$tmp_diet" = no
8935 tmp_sharedflag
='-shared'
8936 case $cc_basename,$host_cpu in
8937 pgcc
*) # Portland Group C compiler
8938 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8939 tmp_addflag
=' $pic_flag'
8941 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8942 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8943 tmp_addflag
=' $pic_flag -Mnomain' ;;
8944 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8945 tmp_addflag
=' -i_dynamic' ;;
8946 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8947 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8948 ifc
* | ifort
*) # Intel Fortran compiler
8949 tmp_addflag
=' -nofor_main' ;;
8950 lf95
*) # Lahey Fortran 8.1
8951 whole_archive_flag_spec
=
8952 tmp_sharedflag
='--shared' ;;
8953 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8954 tmp_sharedflag
='-qmkshrobj'
8957 case `$CC -V 2>&1 | sed 5q` in
8958 *Sun\ C
*) # Sun C 5.9
8959 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8960 compiler_needs_object
=yes
8961 tmp_sharedflag
='-G' ;;
8962 *Sun\ F
*) # Sun Fortran 8.3
8963 tmp_sharedflag
='-G' ;;
8965 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 if test "x$supports_anon_versioning" = xyes
; then
8968 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8970 echo "local: *; };" >> $output_objdir/$libname.ver~
8971 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8974 case $cc_basename in
8976 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8977 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8978 hardcode_libdir_flag_spec
=
8979 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8980 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8981 if test "x$supports_anon_versioning" = xyes
; then
8982 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8983 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8984 echo "local: *; };" >> $output_objdir/$libname.ver~
8985 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8995 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8996 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9005 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9009 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9010 *** create shared libraries on Solaris systems. Therefore, libtool
9011 *** is disabling shared libraries support. We urge you to upgrade GNU
9012 *** binutils to release 2.9.1 or newer. Another option is to modify
9013 *** your PATH or compiler configuration so that the native linker is
9014 *** used, and then restart.
9017 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9018 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9019 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9025 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9026 case `$LD -v 2>&1` in
9027 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9031 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9032 *** reliably create shared libraries on SCO systems. Therefore, libtool
9033 *** is disabling shared libraries support. We urge you to upgrade GNU
9034 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9035 *** your PATH or compiler configuration so that the native linker is
9036 *** used, and then restart.
9041 # For security reasons, it is highly recommended that you always
9042 # use absolute paths for naming shared libraries, and exclude the
9043 # DT_RUNPATH tag from executables and libraries. But doing so
9044 # requires that you compile everything twice, which is a pain.
9045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9046 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9057 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_shlibpath_var
=no
9064 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9073 if test "$ld_shlibs" = no
; then
9075 hardcode_libdir_flag_spec
=
9076 export_dynamic_flag_spec
=
9077 whole_archive_flag_spec
=
9080 # PORTME fill in a description of your system's linker (not GNU ld)
9083 allow_undefined_flag
=unsupported
9084 always_export_symbols
=yes
9085 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9086 # Note: this linker hardcodes the directories in LIBPATH if there
9087 # are no directories specified by -L.
9088 hardcode_minus_L
=yes
9089 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9090 # Neither direct hardcoding nor static linking is supported with a
9092 hardcode_direct
=unsupported
9097 if test "$host_cpu" = ia64
; then
9098 # On IA64, the linker does run time linking by default, so we don't
9099 # have to do anything special.
9100 aix_use_runtimelinking
=no
9101 exp_sym_flag
='-Bexport'
9104 # If we're using GNU nm, then we don't want the "-C" option.
9105 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9106 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9107 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9109 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9111 aix_use_runtimelinking
=no
9113 # Test if we are trying to use run time linking or normal
9114 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9115 # need to do runtime linking.
9116 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9117 for ld_flag
in $LDFLAGS; do
9118 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9119 aix_use_runtimelinking
=yes
9126 exp_sym_flag
='-bexport'
9127 no_entry_flag
='-bnoentry'
9130 # When large executables or shared objects are built, AIX ld can
9131 # have problems creating the table of contents. If linking a library
9132 # or program results in "error TOC overflow" add -mminimal-toc to
9133 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9134 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9138 hardcode_direct_absolute
=yes
9139 hardcode_libdir_separator
=':'
9140 link_all_deplibs
=yes
9141 file_list_spec
='${wl}-f,'
9143 if test "$GCC" = yes; then
9144 case $host_os in aix4.
[012]|aix4.
[012].
*)
9145 # We only want to do this on AIX 4.2 and lower, the check
9146 # below for broken collect2 doesn't work under 4.3+
9147 collect2name
=`${CC} -print-prog-name=collect2`
9148 if test -f "$collect2name" &&
9149 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9151 # We have reworked collect2
9154 # We have old collect2
9155 hardcode_direct
=unsupported
9156 # It fails to find uninstalled libraries when the uninstalled
9157 # path is not listed in the libpath. Setting hardcode_minus_L
9158 # to unsupported forces relinking
9159 hardcode_minus_L
=yes
9160 hardcode_libdir_flag_spec
='-L$libdir'
9161 hardcode_libdir_separator
=
9165 shared_flag
='-shared'
9166 if test "$aix_use_runtimelinking" = yes; then
9167 shared_flag
="$shared_flag "'${wl}-G'
9171 if test "$host_cpu" = ia64
; then
9172 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9173 # chokes on -Wl,-G. The following line is correct:
9176 if test "$aix_use_runtimelinking" = yes; then
9177 shared_flag
='${wl}-G'
9179 shared_flag
='${wl}-bM:SRE'
9184 export_dynamic_flag_spec
='${wl}-bexpall'
9185 # It seems that -bexpall does not export symbols beginning with
9186 # underscore (_), so it is better to generate a list of symbols to export.
9187 always_export_symbols
=yes
9188 if test "$aix_use_runtimelinking" = yes; then
9189 # Warning - without using the other runtime loading flags (-brtl),
9190 # -berok will link without error, but may produce a broken library.
9191 allow_undefined_flag
='-berok'
9192 # Determine the default libpath from the value encoded in an
9194 if test x
$gcc_no_link = xyes
; then
9195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9197 { (exit 1); exit 1; }; }
9199 cat >conftest.
$ac_ext <<_ACEOF
9202 cat confdefs.h
>>conftest.
$ac_ext
9203 cat >>conftest.
$ac_ext <<_ACEOF
9204 /* end confdefs.h. */
9214 rm -f conftest.
$ac_objext conftest
$ac_exeext
9215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9216 (eval $ac_link) 2>conftest.er1
9218 grep -v '^ *+' conftest.er1
>conftest.err
9220 cat conftest.err
>&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); } &&
9223 { ac_try
='test -z "$ac_c_werror_flag"
9224 || test ! -s conftest.err'
9225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; } &&
9230 { ac_try
='test -s conftest$ac_exeext'
9231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; }; then
9237 lt_aix_libpath_sed
='
9238 /Import File Strings/,/^$/ {
9244 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9245 # Check for a 64-bit object if we didn't find anything.
9246 if test -z "$aix_libpath"; then
9247 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.
$ac_ext >&5
9254 rm -f conftest.err conftest.
$ac_objext \
9255 conftest
$ac_exeext conftest.
$ac_ext
9256 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9258 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9259 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9261 if test "$host_cpu" = ia64
; then
9262 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9263 allow_undefined_flag
="-z nodefs"
9264 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9266 # Determine the default libpath from the value encoded in an
9268 if test x
$gcc_no_link = xyes
; then
9269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9271 { (exit 1); exit 1; }; }
9273 cat >conftest.
$ac_ext <<_ACEOF
9276 cat confdefs.h
>>conftest.
$ac_ext
9277 cat >>conftest.
$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9288 rm -f conftest.
$ac_objext conftest
$ac_exeext
9289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9290 (eval $ac_link) 2>conftest.er1
9292 grep -v '^ *+' conftest.er1
>conftest.err
9294 cat conftest.err
>&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } &&
9297 { ac_try
='test -z "$ac_c_werror_flag"
9298 || test ! -s conftest.err'
9299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); }; } &&
9304 { ac_try
='test -s conftest$ac_exeext'
9305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); }; }; then
9311 lt_aix_libpath_sed
='
9312 /Import File Strings/,/^$/ {
9318 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9319 # Check for a 64-bit object if we didn't find anything.
9320 if test -z "$aix_libpath"; then
9321 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9324 echo "$as_me: failed program was:" >&5
9325 sed 's/^/| /' conftest.
$ac_ext >&5
9328 rm -f conftest.err conftest.
$ac_objext \
9329 conftest
$ac_exeext conftest.
$ac_ext
9330 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9332 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9333 # Warning - without using the other run time loading flags,
9334 # -berok will link without error, but may produce a broken library.
9335 no_undefined_flag
=' ${wl}-bernotok'
9336 allow_undefined_flag
=' ${wl}-berok'
9337 # Exported symbols can be pulled into shared objects from archives
9338 whole_archive_flag_spec
='$convenience'
9339 archive_cmds_need_lc
=yes
9340 # This is similar to how AIX traditionally builds its shared libraries.
9341 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9349 # see comment about AmigaOS4 .so support
9350 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351 archive_expsym_cmds
=''
9354 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9355 hardcode_libdir_flag_spec
='-L$libdir'
9356 hardcode_minus_L
=yes
9362 export_dynamic_flag_spec
=-rdynamic
9365 cygwin
* | mingw
* | pw32
* | cegcc
*)
9366 # When not using gcc, we currently assume that we are using
9367 # Microsoft Visual C++.
9368 # hardcode_libdir_flag_spec is actually meaningless, as there is
9369 # no search path for DLLs.
9370 hardcode_libdir_flag_spec
=' '
9371 allow_undefined_flag
=unsupported
9372 # Tell ltmain to make .lib files, not .a files.
9374 # Tell ltmain to make .dll files, not .so files.
9376 # FIXME: Setting linknames here is a bad hack.
9377 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9378 # The linker will automatically build a .lib file if we build a DLL.
9379 old_archive_from_new_cmds
='true'
9380 # FIXME: Should let the user specify the lib program.
9381 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9382 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9383 enable_shared_with_static_runtimes
=yes
9386 darwin
* | rhapsody
*)
9389 archive_cmds_need_lc
=no
9391 hardcode_automatic
=yes
9392 hardcode_shlibpath_var
=unsupported
9393 whole_archive_flag_spec
=''
9394 link_all_deplibs
=yes
9395 allow_undefined_flag
="$_lt_dar_allow_undefined"
9396 case $cc_basename in
9397 ifort
*) _lt_dar_can_shared
=yes ;;
9398 *) _lt_dar_can_shared
=$GCC ;;
9400 if test "$_lt_dar_can_shared" = "yes"; then
9401 output_verbose_link_cmd
=echo
9402 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9403 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9404 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9405 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9414 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_libdir_flag_spec
='-L$libdir'
9416 hardcode_shlibpath_var
=no
9423 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9424 # support. Future versions do this automatically, but an explicit c++rt0.o
9425 # does not break anything, and helps significantly (at the cost of a little
9428 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9429 hardcode_libdir_flag_spec
='-R$libdir'
9431 hardcode_shlibpath_var
=no
9434 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9436 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9438 hardcode_minus_L
=yes
9439 hardcode_shlibpath_var
=no
9442 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9443 freebsd
* | dragonfly
*)
9444 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9445 hardcode_libdir_flag_spec
='-R$libdir'
9447 hardcode_shlibpath_var
=no
9451 if test "$GCC" = yes; then
9452 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9454 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9456 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9457 hardcode_libdir_separator
=:
9460 # hardcode_minus_L: Not really in the search PATH,
9461 # but as the default location of the library.
9462 hardcode_minus_L
=yes
9463 export_dynamic_flag_spec
='${wl}-E'
9467 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9468 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9472 if test "$with_gnu_ld" = no
; then
9473 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9474 hardcode_libdir_flag_spec_ld
='+b $libdir'
9475 hardcode_libdir_separator
=:
9477 hardcode_direct_absolute
=yes
9478 export_dynamic_flag_spec
='${wl}-E'
9479 # hardcode_minus_L: Not really in the search PATH,
9480 # but as the default location of the library.
9481 hardcode_minus_L
=yes
9486 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9489 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9492 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9504 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9507 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9511 if test "$with_gnu_ld" = no
; then
9512 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9513 hardcode_libdir_separator
=:
9518 hardcode_shlibpath_var
=no
9522 hardcode_direct_absolute
=yes
9523 export_dynamic_flag_spec
='${wl}-E'
9525 # hardcode_minus_L: Not really in the search PATH,
9526 # but as the default location of the library.
9527 hardcode_minus_L
=yes
9533 irix5
* | irix6
* | nonstopux
*)
9534 if test "$GCC" = yes; then
9535 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9536 # Try to use the -exported_symbol ld option, if it does not
9537 # work, assume that -exports_file does not work either and
9538 # implicitly export all symbols.
9539 save_LDFLAGS
="$LDFLAGS"
9540 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9541 if test x
$gcc_no_link = xyes
; then
9542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9544 { (exit 1); exit 1; }; }
9546 cat >conftest.
$ac_ext <<_ACEOF
9549 rm -f conftest.
$ac_objext conftest
$ac_exeext
9550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9551 (eval $ac_link) 2>conftest.er1
9553 grep -v '^ *+' conftest.er1
>conftest.err
9555 cat conftest.err
>&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } &&
9558 { ac_try
='test -z "$ac_c_werror_flag"
9559 || test ! -s conftest.err'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; } &&
9565 { ac_try
='test -s conftest$ac_exeext'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; }; then
9571 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.
$ac_ext >&5
9578 rm -f conftest.err conftest.
$ac_objext \
9579 conftest
$ac_exeext conftest.
$ac_ext
9580 LDFLAGS
="$save_LDFLAGS"
9582 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9583 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9585 archive_cmds_need_lc
='no'
9586 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9587 hardcode_libdir_separator
=:
9589 link_all_deplibs
=yes
9593 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9594 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9596 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9598 hardcode_libdir_flag_spec
='-R$libdir'
9600 hardcode_shlibpath_var
=no
9604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9607 hardcode_libdir_separator
=:
9608 hardcode_shlibpath_var
=no
9615 if test -f /usr
/libexec
/ld.so
; then
9617 hardcode_shlibpath_var
=no
9618 hardcode_direct_absolute
=yes
9619 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9620 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9622 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9623 export_dynamic_flag_spec
='${wl}-E'
9626 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9627 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_libdir_flag_spec
='-R$libdir'
9631 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9632 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9642 hardcode_libdir_flag_spec
='-L$libdir'
9643 hardcode_minus_L
=yes
9644 allow_undefined_flag
=unsupported
9645 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9646 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9650 if test "$GCC" = yes; then
9651 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9652 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9654 allow_undefined_flag
=' -expect_unresolved \*'
9655 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9657 archive_cmds_need_lc
='no'
9658 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9659 hardcode_libdir_separator
=:
9662 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9663 if test "$GCC" = yes; then
9664 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9665 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9666 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9668 allow_undefined_flag
=' -expect_unresolved \*'
9669 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9670 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9671 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9673 # Both c and cxx compiler support -rpath directly
9674 hardcode_libdir_flag_spec
='-rpath $libdir'
9676 archive_cmds_need_lc
='no'
9677 hardcode_libdir_separator
=:
9681 no_undefined_flag
=' -z defs'
9682 if test "$GCC" = yes; then
9684 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9686 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9688 case `$CC -V 2>&1` in
9691 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9693 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9697 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9699 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9703 hardcode_libdir_flag_spec
='-R$libdir'
9704 hardcode_shlibpath_var
=no
9706 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9708 # The compiler driver will combine and reorder linker options,
9709 # but understands `-z linker_flag'. GCC discards it without `$wl',
9710 # but is careful enough not to reorder.
9711 # Supported since Solaris 2.6 (maybe 2.5.1?)
9712 if test "$GCC" = yes; then
9713 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9715 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9719 link_all_deplibs
=yes
9723 if test "x$host_vendor" = xsequent
; then
9724 # Use $CC to link under sequent, because it throws in some extra .o
9725 # files that make .init and .fini sections work.
9726 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec
='-L$libdir'
9732 hardcode_minus_L
=yes
9733 hardcode_shlibpath_var
=no
9737 case $host_vendor in
9739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_direct
=yes # is this really true???
9743 ## LD is ld it makes a PLAMLIB
9744 ## CC just makes a GrossModule.
9745 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9746 reload_cmds
='$CC -r -o $output$reload_objs'
9750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9751 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9754 runpath_var
='LD_RUN_PATH'
9755 hardcode_shlibpath_var
=no
9759 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_shlibpath_var
=no
9761 export_dynamic_flag_spec
='-Bexport'
9765 if test -d /usr
/nec
; then
9766 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9767 hardcode_shlibpath_var
=no
9768 runpath_var
=LD_RUN_PATH
9769 hardcode_runpath_var
=yes
9774 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9775 no_undefined_flag
='${wl}-z,text'
9776 archive_cmds_need_lc
=no
9777 hardcode_shlibpath_var
=no
9778 runpath_var
='LD_RUN_PATH'
9780 if test "$GCC" = yes; then
9781 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9789 sysv5
* | sco3.2v5
* | sco5v6
*)
9790 # Note: We can NOT use -z defs as we might desire, because we do not
9791 # link with -lc, and that would cause any symbols used from libc to
9792 # always be unresolved, which means just about no library would
9793 # ever link correctly. If we're not using GNU ld we use -z text
9794 # though, which does catch some bad symbols but isn't as heavy-handed
9796 no_undefined_flag
='${wl}-z,text'
9797 allow_undefined_flag
='${wl}-z,nodefs'
9798 archive_cmds_need_lc
=no
9799 hardcode_shlibpath_var
=no
9800 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9801 hardcode_libdir_separator
=':'
9802 link_all_deplibs
=yes
9803 export_dynamic_flag_spec
='${wl}-Bexport'
9804 runpath_var
='LD_RUN_PATH'
9806 if test "$GCC" = yes; then
9807 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817 hardcode_libdir_flag_spec
='-L$libdir'
9818 hardcode_shlibpath_var
=no
9826 if test x
$host_vendor = xsni
; then
9828 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9829 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9835 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9836 echo "${ECHO_T}$ld_shlibs" >&6
9837 test "$ld_shlibs" = no
&& can_build_shared
=no
9839 with_gnu_ld
=$with_gnu_ld
9856 # Do we need to explicitly link libc?
9858 case "x$archive_cmds_need_lc" in
9860 # Assume -lc should be added
9861 archive_cmds_need_lc
=yes
9863 if test "$enable_shared" = yes && test "$GCC" = yes; then
9864 case $archive_cmds in
9866 # FIXME: we may have to deal with multi-command sequences.
9869 # Test whether the compiler implicitly links with -lc since on some
9870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9871 # to ld, don't add -lc before -lgcc.
9872 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9873 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9874 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9881 (eval $ac_compile) 2>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } 2>conftest.err
; then
9887 libobjs
=conftest.
$ac_objext
9889 wl
=$lt_prog_compiler_wl
9890 pic_flag
=$lt_prog_compiler_pic
9896 lt_save_allow_undefined_flag
=$allow_undefined_flag
9897 allow_undefined_flag
=
9898 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9899 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }
9904 lt_cv_archive_cmds_need_lc
=no
9906 lt_cv_archive_cmds_need_lc
=yes
9908 allow_undefined_flag
=$lt_save_allow_undefined_flag
9910 cat conftest.err
1>&5
9915 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9916 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9917 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10080 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10081 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10083 if test "$GCC" = yes; then
10085 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10086 *) lt_awk_arg
="/^libraries:/" ;;
10088 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10089 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10090 # if the path contains ";" then we assume it to be the separator
10091 # otherwise default to the standard path separator (i.e. ":") - it is
10092 # assumed that no part of a normal pathname contains ";" but that should
10093 # okay in the real world where ";" in dirpaths is itself problematic.
10094 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10096 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10098 # Ok, now we have the path, separated by spaces, we can step through it
10099 # and add multilib dir if necessary.
10100 lt_tmp_lt_search_path_spec
=
10101 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10102 for lt_sys_path
in $lt_search_path_spec; do
10103 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10104 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10106 test -d "$lt_sys_path" && \
10107 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10110 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10111 BEGIN {RS=" "; FS="/|\n";} {
10114 for (lt_i = NF; lt_i > 0; lt_i--) {
10115 if ($lt_i != "" && $lt_i != ".") {
10116 if ($lt_i == "..") {
10119 if (lt_count == 0) {
10120 lt_foo="/" $lt_i lt_foo;
10127 if (lt_foo != "") { lt_freq[lt_foo]++; }
10128 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10130 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10132 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10134 library_names_spec
=
10135 libname_spec
='lib$name'
10139 postuninstall_cmds
=
10143 shlibpath_overrides_runpath
=unknown
10145 dynamic_linker
="$host_os ld.so"
10146 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10147 need_lib_prefix
=unknown
10148 hardcode_into_libs
=no
10150 # when you set need_version to no, make sure it does not cause -set_version
10151 # flags to be left without arguments
10152 need_version
=unknown
10157 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10158 shlibpath_var
=LIBPATH
10160 # AIX 3 has no versioning support, so we append a major version to the name.
10161 soname_spec
='${libname}${release}${shared_ext}$major'
10168 hardcode_into_libs
=yes
10169 if test "$host_cpu" = ia64
; then
10170 # AIX 5 supports IA64
10171 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10172 shlibpath_var
=LD_LIBRARY_PATH
10174 # With GCC up to 2.95.x, collect2 would create an import file
10175 # for dependence libraries. The import file would start with
10176 # the line `#! .'. This would cause the generated library to
10177 # depend on `.', always an invalid library. This was fixed in
10178 # development snapshots of GCC prior to 3.0.
10180 aix4 | aix4.
[01] | aix4.
[01].
*)
10181 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10183 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10186 can_build_shared
=no
10190 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10191 # soname into executable. Probably we can add versioning support to
10192 # collect2, so additional links can be useful in future.
10193 if test "$aix_use_runtimelinking" = yes; then
10194 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10195 # instead of lib<name>.a to let people know that these are not
10196 # typical AIX shared libraries.
10197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10199 # We preserve .a as extension for shared libraries through AIX4.2
10200 # and later when we are not doing run time linking.
10201 library_names_spec
='${libname}${release}.a $libname.a'
10202 soname_spec
='${libname}${release}${shared_ext}$major'
10204 shlibpath_var
=LIBPATH
10211 # Since July 2007 AmigaOS4 officially supports .so libraries.
10212 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 library_names_spec
='$libname.ixlibrary $libname.a'
10217 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10218 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10224 library_names_spec
='${libname}${shared_ext}'
10225 dynamic_linker
="$host_os ld.so"
10226 shlibpath_var
=LIBRARY_PATH
10232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233 soname_spec
='${libname}${release}${shared_ext}$major'
10234 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10235 shlibpath_var
=LD_LIBRARY_PATH
10236 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10237 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10238 # the default ld.so.conf also contains /usr/contrib/lib and
10239 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10240 # libtool to hard-code these into programs
10243 cygwin
* | mingw
* | pw32
* | cegcc
*)
10244 version_type
=windows
10249 case $GCC,$host_os in
10250 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10251 library_names_spec
='$libname.dll.a'
10252 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10253 postinstall_cmds
='base_file=`basename \${file}`~
10254 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10255 dldir=$destdir/`dirname \$dlpath`~
10256 test -d \$dldir || mkdir -p \$dldir~
10257 $install_prog $dir/$dlname \$dldir/$dlname~
10258 chmod a+x \$dldir/$dlname~
10259 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10260 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10262 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10263 dlpath=$dir/\$dldll~
10265 shlibpath_overrides_runpath
=yes
10269 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10270 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10271 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10274 # MinGW DLLs use traditional 'lib' prefix
10275 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10276 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10277 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10278 # It is most probably a Windows format PATH printed by
10279 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10280 # path with ; separators, and with drive letters. We can handle the
10281 # drive letters (cygwin fileutils understands them), so leave them,
10282 # especially as we might pass files found there to a mingw objdump,
10283 # which wouldn't understand a cygwinified path. Ahh.
10284 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10286 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10290 # pw32 DLLs use 'pw' prefix rather than 'lib'
10291 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10297 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10300 dynamic_linker
='Win32 ld.exe'
10301 # FIXME: first we should search . and the directory the executable is in
10305 darwin
* | rhapsody
*)
10306 dynamic_linker
="$host_os dyld"
10307 version_type
=darwin
10310 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10311 soname_spec
='${libname}${release}${major}$shared_ext'
10312 shlibpath_overrides_runpath
=yes
10313 shlibpath_var
=DYLD_LIBRARY_PATH
10314 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10316 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10317 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 shlibpath_var
=LD_LIBRARY_PATH
10333 freebsd
* | dragonfly
*)
10334 # DragonFly does not have aout. When/if they implement a new
10335 # versioning mechanism, adjust this.
10336 if test -x /usr
/bin
/objformat
; then
10337 objformat
=`/usr/bin/objformat`
10340 freebsd
[123]*) objformat
=aout
;;
10341 *) objformat
=elf
;;
10344 version_type
=freebsd-
$objformat
10345 case $version_type in
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10356 shlibpath_var
=LD_LIBRARY_PATH
10359 shlibpath_overrides_runpath
=yes
10361 freebsd3.
[01]* | freebsdelf3.
[01]*)
10362 shlibpath_overrides_runpath
=yes
10363 hardcode_into_libs
=yes
10365 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10366 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10367 shlibpath_overrides_runpath
=no
10368 hardcode_into_libs
=yes
10370 *) # from 4.6 on, and DragonFly
10371 shlibpath_overrides_runpath
=yes
10372 hardcode_into_libs
=yes
10381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10382 soname_spec
='${libname}${release}${shared_ext}$major'
10383 shlibpath_var
=LD_LIBRARY_PATH
10384 hardcode_into_libs
=yes
10387 hpux9
* | hpux10
* | hpux11
*)
10388 # Give a soname corresponding to the major version so that dld.sl refuses to
10389 # link against other versions.
10396 hardcode_into_libs
=yes
10397 dynamic_linker
="$host_os dld.so"
10398 shlibpath_var
=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 if test "X$HPUX_IA64_MODE" = X32
; then
10403 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10405 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10407 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10411 hardcode_into_libs
=yes
10412 dynamic_linker
="$host_os dld.sl"
10413 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10414 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10417 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10418 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10422 dynamic_linker
="$host_os dld.sl"
10423 shlibpath_var
=SHLIB_PATH
10424 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426 soname_spec
='${libname}${release}${shared_ext}$major'
10429 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10430 postinstall_cmds
='chmod 555 $lib'
10437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10438 soname_spec
='${libname}${release}${shared_ext}$major'
10439 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10440 shlibpath_var
=LD_LIBRARY_PATH
10441 shlibpath_overrides_runpath
=no
10442 hardcode_into_libs
=yes
10445 irix5
* | irix6
* | nonstopux
*)
10447 nonstopux
*) version_type
=nonstopux
;;
10449 if test "$lt_cv_prog_gnu_ld" = yes; then
10457 soname_spec
='${libname}${release}${shared_ext}$major'
10458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10460 irix5
* | nonstopux
*)
10461 libsuff
= shlibsuff
=
10464 case $LD in # libtool.m4 will add one of these switches to LD
10465 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10466 libsuff
= shlibsuff
= libmagic
=32-bit;;
10467 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10468 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10469 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10470 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10471 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10475 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10476 shlibpath_overrides_runpath
=no
10477 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10478 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10479 hardcode_into_libs
=yes
10482 # No shared lib support for Linux oldld, aout, or coff.
10483 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10487 # This must be Linux ELF.
10488 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 soname_spec
='${libname}${release}${shared_ext}$major'
10494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=no
10498 # Some binutils ld are patched to set DT_RUNPATH
10499 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10500 echo $ECHO_N "(cached) $ECHO_C" >&6
10502 lt_cv_shlibpath_overrides_runpath
=no
10503 save_LDFLAGS
=$LDFLAGS
10504 save_libdir
=$libdir
10505 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10506 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10507 if test x
$gcc_no_link = xyes
; then
10508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10510 { (exit 1); exit 1; }; }
10512 cat >conftest.
$ac_ext <<_ACEOF
10515 cat confdefs.h
>>conftest.
$ac_ext
10516 cat >>conftest.
$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10527 rm -f conftest.
$ac_objext conftest
$ac_exeext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10529 (eval $ac_link) 2>conftest.er1
10531 grep -v '^ *+' conftest.er1
>conftest.err
10533 cat conftest.err
>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try
='test -z "$ac_c_werror_flag"
10537 || test ! -s conftest.err'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; } &&
10543 { ac_try
='test -s conftest$ac_exeext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10550 lt_cv_shlibpath_overrides_runpath
=yes
10554 echo "$as_me: failed program was:" >&5
10555 sed 's/^/| /' conftest.
$ac_ext >&5
10558 rm -f conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LDFLAGS
=$save_LDFLAGS
10561 libdir
=$save_libdir
10565 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10567 # This implies no fast_install, which is unacceptable.
10568 # Some rework will be needed to allow for fast_install
10569 # before this can be enabled.
10570 hardcode_into_libs
=yes
10572 # Append ld.so.conf contents to the search path
10573 if test -f /etc
/ld.so.conf
; then
10574 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10575 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10578 # We used to test for /lib/ld.so.1 and disable shared libraries on
10579 # powerpc, because MkLinux only supported shared libraries with the
10580 # GNU dynamic linker. Since this was broken with cross compilers,
10581 # most powerpc-linux boxes support dynamic linking these days and
10582 # people can always --disable-shared, the test was removed, and we
10583 # assume the GNU/Linux dynamic linker is in use.
10584 dynamic_linker
='GNU/Linux ld.so'
10591 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10593 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10594 dynamic_linker
='NetBSD (a.out) ld.so'
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10597 soname_spec
='${libname}${release}${shared_ext}$major'
10598 dynamic_linker
='NetBSD ld.elf_so'
10600 shlibpath_var
=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath
=yes
10602 hardcode_into_libs
=yes
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 shlibpath_var
=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath
=yes
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10618 shlibpath_var
=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath
=no
10620 hardcode_into_libs
=yes
10621 dynamic_linker
='ldqnx.so'
10626 sys_lib_dlsearch_path_spec
="/usr/lib"
10628 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10630 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10631 *) need_version
=no
;;
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10635 shlibpath_var
=LD_LIBRARY_PATH
10636 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10638 openbsd2.
[89] | openbsd2.
[89].
*)
10639 shlibpath_overrides_runpath
=no
10642 shlibpath_overrides_runpath
=yes
10646 shlibpath_overrides_runpath
=yes
10651 libname_spec
='$name'
10654 library_names_spec
='$libname${shared_ext} $libname.a'
10655 dynamic_linker
='OS/2 ld.exe'
10656 shlibpath_var
=LIBPATH
10659 osf3
* | osf4
* | osf5
*)
10663 soname_spec
='${libname}${release}${shared_ext}$major'
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 shlibpath_var
=LD_LIBRARY_PATH
10666 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10667 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 shlibpath_var
=LD_LIBRARY_PATH
10681 shlibpath_overrides_runpath
=yes
10682 hardcode_into_libs
=yes
10683 # ldd complains unless libraries are executable
10684 postinstall_cmds
='chmod +x $lib'
10689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10690 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath
=yes
10693 if test "$with_gnu_ld" = yes; then
10701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 soname_spec
='${libname}${release}${shared_ext}$major'
10703 shlibpath_var
=LD_LIBRARY_PATH
10704 case $host_vendor in
10706 shlibpath_overrides_runpath
=no
10708 runpath_var
=LD_RUN_PATH
10716 shlibpath_overrides_runpath
=no
10717 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10723 if test -d /usr
/nec
;then
10725 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10726 soname_spec
='$libname${shared_ext}.$major'
10727 shlibpath_var
=LD_LIBRARY_PATH
10731 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10732 version_type
=freebsd-elf
10735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10736 soname_spec
='${libname}${release}${shared_ext}$major'
10737 shlibpath_var
=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath
=yes
10739 hardcode_into_libs
=yes
10740 if test "$with_gnu_ld" = yes; then
10741 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10743 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10746 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10750 sys_lib_dlsearch_path_spec
='/usr/lib'
10754 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 shlibpath_var
=LD_LIBRARY_PATH
10760 shlibpath_overrides_runpath
=no
10761 hardcode_into_libs
=yes
10766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10767 soname_spec
='${libname}${release}${shared_ext}$major'
10768 shlibpath_var
=LD_LIBRARY_PATH
10775 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10776 echo "${ECHO_T}$dynamic_linker" >&6
10777 test "$dynamic_linker" = no
&& can_build_shared
=no
10779 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10780 if test "$GCC" = yes; then
10781 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10784 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10785 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10787 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10788 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10877 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10878 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10880 if test -n "$hardcode_libdir_flag_spec" ||
10881 test -n "$runpath_var" ||
10882 test "X$hardcode_automatic" = "Xyes" ; then
10884 # We can hardcode non-existent directories.
10885 if test "$hardcode_direct" != no
&&
10886 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10887 # have to relink, otherwise we might link with an installed library
10888 # when we should be linking with a yet-to-be-installed one
10889 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10890 test "$hardcode_minus_L" != no
; then
10891 # Linking always hardcodes the temporary library directory.
10892 hardcode_action
=relink
10894 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10895 hardcode_action
=immediate
10898 # We cannot hardcode anything, or else we can only hardcode existing
10900 hardcode_action
=unsupported
10902 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10903 echo "${ECHO_T}$hardcode_action" >&6
10905 if test "$hardcode_action" = relink ||
10906 test "$inherit_rpath" = yes; then
10907 # Fast installation is not supported
10908 enable_fast_install
=no
10909 elif test "$shlibpath_overrides_runpath" = yes ||
10910 test "$enable_shared" = no
; then
10911 # Fast installation is not necessary
10912 enable_fast_install
=needless
10920 if test "x$enable_dlopen" != xyes
; then
10921 enable_dlopen
=unknown
10922 enable_dlopen_self
=unknown
10923 enable_dlopen_self_static
=unknown
10930 lt_cv_dlopen
="load_add_on"
10932 lt_cv_dlopen_self
=yes
10935 mingw
* | pw32
* | cegcc
*)
10936 lt_cv_dlopen
="LoadLibrary"
10941 lt_cv_dlopen
="dlopen"
10946 # if libdl is installed we need to link against it
10947 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10948 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 ac_check_lib_save_LIBS
=$LIBS
10954 if test x
$gcc_no_link = xyes
; then
10955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10957 { (exit 1); exit 1; }; }
10959 cat >conftest.
$ac_ext <<_ACEOF
10962 cat confdefs.h
>>conftest.
$ac_ext
10963 cat >>conftest.
$ac_ext <<_ACEOF
10964 /* end confdefs.h. */
10966 /* Override any gcc2 internal prototype to avoid an error. */
10970 /* We use char because int might match the return type of a gcc2
10971 builtin and then its argument prototype would still apply. */
10981 rm -f conftest.
$ac_objext conftest
$ac_exeext
10982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10983 (eval $ac_link) 2>conftest.er1
10985 grep -v '^ *+' conftest.er1
>conftest.err
10987 cat conftest.err
>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); } &&
10990 { ac_try
='test -z "$ac_c_werror_flag"
10991 || test ! -s conftest.err'
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; } &&
10997 { ac_try
='test -s conftest$ac_exeext'
10998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10999 (eval $ac_try) 2>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); }; }; then
11003 ac_cv_lib_dl_dlopen
=yes
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.
$ac_ext >&5
11008 ac_cv_lib_dl_dlopen
=no
11010 rm -f conftest.err conftest.
$ac_objext \
11011 conftest
$ac_exeext conftest.
$ac_ext
11012 LIBS
=$ac_check_lib_save_LIBS
11014 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11015 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11016 if test $ac_cv_lib_dl_dlopen = yes; then
11017 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11020 lt_cv_dlopen
="dyld"
11022 lt_cv_dlopen_self
=yes
11029 echo "$as_me:$LINENO: checking for shl_load" >&5
11030 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11031 if test "${ac_cv_func_shl_load+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 if test x
$gcc_no_link = xyes
; then
11035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11037 { (exit 1); exit 1; }; }
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11047 #define shl_load innocuous_shl_load
11049 /* System header to define __stub macros and hopefully few prototypes,
11050 which can conflict with char shl_load (); below.
11051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11052 <limits.h> exists even on freestanding compilers. */
11055 # include <limits.h>
11057 # include <assert.h>
11062 /* Override any gcc2 internal prototype to avoid an error. */
11067 /* We use char because int might match the return type of a gcc2
11068 builtin and then its argument prototype would still apply. */
11070 /* The GNU C library defines this for functions which it implements
11071 to always fail with ENOSYS. Some functions are actually named
11072 something starting with __ and the normal name is an alias. */
11073 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11076 char (*f) () = shl_load;
11085 return f != shl_load;
11090 rm -f conftest.
$ac_objext conftest
$ac_exeext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11092 (eval $ac_link) 2>conftest.er1
11094 grep -v '^ *+' conftest.er1
>conftest.err
11096 cat conftest.err
>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try
='test -z "$ac_c_werror_flag"
11100 || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try
='test -s conftest$ac_exeext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 ac_cv_func_shl_load
=yes
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.
$ac_ext >&5
11117 ac_cv_func_shl_load
=no
11119 rm -f conftest.err conftest.
$ac_objext \
11120 conftest
$ac_exeext conftest.
$ac_ext
11122 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11123 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11124 if test $ac_cv_func_shl_load = yes; then
11125 lt_cv_dlopen
="shl_load"
11127 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11128 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11129 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 ac_check_lib_save_LIBS
=$LIBS
11134 if test x
$gcc_no_link = xyes
; then
11135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11137 { (exit 1); exit 1; }; }
11139 cat >conftest.
$ac_ext <<_ACEOF
11142 cat confdefs.h
>>conftest.
$ac_ext
11143 cat >>conftest.
$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11146 /* Override any gcc2 internal prototype to avoid an error. */
11150 /* We use char because int might match the return type of a gcc2
11151 builtin and then its argument prototype would still apply. */
11161 rm -f conftest.
$ac_objext conftest
$ac_exeext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11163 (eval $ac_link) 2>conftest.er1
11165 grep -v '^ *+' conftest.er1
>conftest.err
11167 cat conftest.err
>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } &&
11170 { ac_try
='test -z "$ac_c_werror_flag"
11171 || test ! -s conftest.err'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; } &&
11177 { ac_try
='test -s conftest$ac_exeext'
11178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 (eval $ac_try) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; }; then
11183 ac_cv_lib_dld_shl_load
=yes
11185 echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.
$ac_ext >&5
11188 ac_cv_lib_dld_shl_load
=no
11190 rm -f conftest.err conftest.
$ac_objext \
11191 conftest
$ac_exeext conftest.
$ac_ext
11192 LIBS
=$ac_check_lib_save_LIBS
11194 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11195 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11196 if test $ac_cv_lib_dld_shl_load = yes; then
11197 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11199 echo "$as_me:$LINENO: checking for dlopen" >&5
11200 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11201 if test "${ac_cv_func_dlopen+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 if test x
$gcc_no_link = xyes
; then
11205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11207 { (exit 1); exit 1; }; }
11209 cat >conftest.
$ac_ext <<_ACEOF
11212 cat confdefs.h
>>conftest.
$ac_ext
11213 cat >>conftest.
$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11217 #define dlopen innocuous_dlopen
11219 /* System header to define __stub macros and hopefully few prototypes,
11220 which can conflict with char dlopen (); below.
11221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11222 <limits.h> exists even on freestanding compilers. */
11225 # include <limits.h>
11227 # include <assert.h>
11232 /* Override any gcc2 internal prototype to avoid an error. */
11237 /* We use char because int might match the return type of a gcc2
11238 builtin and then its argument prototype would still apply. */
11240 /* The GNU C library defines this for functions which it implements
11241 to always fail with ENOSYS. Some functions are actually named
11242 something starting with __ and the normal name is an alias. */
11243 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11246 char (*f) () = dlopen;
11255 return f != dlopen;
11260 rm -f conftest.
$ac_objext conftest
$ac_exeext
11261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11262 (eval $ac_link) 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try
='test -z "$ac_c_werror_flag"
11270 || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try
='test -s conftest$ac_exeext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 ac_cv_func_dlopen
=yes
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.
$ac_ext >&5
11287 ac_cv_func_dlopen
=no
11289 rm -f conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11292 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11293 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11294 if test $ac_cv_func_dlopen = yes; then
11295 lt_cv_dlopen
="dlopen"
11297 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11298 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11299 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 ac_check_lib_save_LIBS
=$LIBS
11304 if test x
$gcc_no_link = xyes
; then
11305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307 { (exit 1); exit 1; }; }
11309 cat >conftest.
$ac_ext <<_ACEOF
11312 cat confdefs.h
>>conftest.
$ac_ext
11313 cat >>conftest.
$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11316 /* Override any gcc2 internal prototype to avoid an error. */
11320 /* We use char because int might match the return type of a gcc2
11321 builtin and then its argument prototype would still apply. */
11331 rm -f conftest.
$ac_objext conftest
$ac_exeext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11333 (eval $ac_link) 2>conftest.er1
11335 grep -v '^ *+' conftest.er1
>conftest.err
11337 cat conftest.err
>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } &&
11340 { ac_try
='test -z "$ac_c_werror_flag"
11341 || test ! -s conftest.err'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; } &&
11347 { ac_try
='test -s conftest$ac_exeext'
11348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11349 (eval $ac_try) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; }; then
11353 ac_cv_lib_dl_dlopen
=yes
11355 echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11358 ac_cv_lib_dl_dlopen
=no
11360 rm -f conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 LIBS
=$ac_check_lib_save_LIBS
11364 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11365 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11366 if test $ac_cv_lib_dl_dlopen = yes; then
11367 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11369 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11370 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11371 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 ac_check_lib_save_LIBS
=$LIBS
11375 LIBS
="-lsvld $LIBS"
11376 if test x
$gcc_no_link = xyes
; then
11377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11379 { (exit 1); exit 1; }; }
11381 cat >conftest.
$ac_ext <<_ACEOF
11384 cat confdefs.h
>>conftest.
$ac_ext
11385 cat >>conftest.
$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11388 /* Override any gcc2 internal prototype to avoid an error. */
11392 /* We use char because int might match the return type of a gcc2
11393 builtin and then its argument prototype would still apply. */
11403 rm -f conftest.
$ac_objext conftest
$ac_exeext
11404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11405 (eval $ac_link) 2>conftest.er1
11407 grep -v '^ *+' conftest.er1
>conftest.err
11409 cat conftest.err
>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } &&
11412 { ac_try
='test -z "$ac_c_werror_flag"
11413 || test ! -s conftest.err'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; } &&
11419 { ac_try
='test -s conftest$ac_exeext'
11420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11421 (eval $ac_try) 2>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); }; }; then
11425 ac_cv_lib_svld_dlopen
=yes
11427 echo "$as_me: failed program was:" >&5
11428 sed 's/^/| /' conftest.
$ac_ext >&5
11430 ac_cv_lib_svld_dlopen
=no
11432 rm -f conftest.err conftest.
$ac_objext \
11433 conftest
$ac_exeext conftest.
$ac_ext
11434 LIBS
=$ac_check_lib_save_LIBS
11436 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11437 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11438 if test $ac_cv_lib_svld_dlopen = yes; then
11439 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11441 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11442 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11443 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 ac_check_lib_save_LIBS
=$LIBS
11448 if test x
$gcc_no_link = xyes
; then
11449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11451 { (exit 1); exit 1; }; }
11453 cat >conftest.
$ac_ext <<_ACEOF
11456 cat confdefs.h
>>conftest.
$ac_ext
11457 cat >>conftest.
$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11460 /* Override any gcc2 internal prototype to avoid an error. */
11464 /* We use char because int might match the return type of a gcc2
11465 builtin and then its argument prototype would still apply. */
11475 rm -f conftest.
$ac_objext conftest
$ac_exeext
11476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11477 (eval $ac_link) 2>conftest.er1
11479 grep -v '^ *+' conftest.er1
>conftest.err
11481 cat conftest.err
>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); } &&
11484 { ac_try
='test -z "$ac_c_werror_flag"
11485 || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try
='test -s conftest$ac_exeext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_lib_dld_dld_link
=yes
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.
$ac_ext >&5
11502 ac_cv_lib_dld_dld_link
=no
11504 rm -f conftest.err conftest.
$ac_objext \
11505 conftest
$ac_exeext conftest.
$ac_ext
11506 LIBS
=$ac_check_lib_save_LIBS
11508 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11509 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11510 if test $ac_cv_lib_dld_dld_link = yes; then
11511 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11532 if test "x$lt_cv_dlopen" != xno
; then
11538 case $lt_cv_dlopen in
11540 save_CPPFLAGS
="$CPPFLAGS"
11541 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11543 save_LDFLAGS
="$LDFLAGS"
11544 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11547 LIBS
="$lt_cv_dlopen_libs $LIBS"
11549 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11550 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11551 if test "${lt_cv_dlopen_self+set}" = set; then
11552 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 if test "$cross_compiling" = yes; then :
11555 lt_cv_dlopen_self
=cross
11557 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11558 lt_status
=$lt_dlunknown
11559 cat > conftest.
$ac_ext <<_LT_EOF
11560 #line 11560 "configure"
11561 #include "confdefs.h"
11570 # define LT_DLGLOBAL RTLD_GLOBAL
11573 # define LT_DLGLOBAL DL_GLOBAL
11575 # define LT_DLGLOBAL 0
11579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11580 find out it does not work in some platform. */
11581 #ifndef LT_DLLAZY_OR_NOW
11583 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11586 # define LT_DLLAZY_OR_NOW DL_LAZY
11589 # define LT_DLLAZY_OR_NOW RTLD_NOW
11592 # define LT_DLLAZY_OR_NOW DL_NOW
11594 # define LT_DLLAZY_OR_NOW 0
11601 void fnord() { int i=42;}
11604 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11605 int status = $lt_dlunknown;
11609 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11610 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11611 /* dlclose (self); */
11619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11620 (eval $ac_link) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11624 (.
/conftest
; exit; ) >&5 2>/dev
/null
11626 case x
$lt_status in
11627 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11628 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11629 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11632 # compilation failed
11633 lt_cv_dlopen_self
=no
11640 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11641 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11643 if test "x$lt_cv_dlopen_self" = xyes
; then
11644 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11645 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11646 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11647 if test "${lt_cv_dlopen_self_static+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 if test "$cross_compiling" = yes; then :
11651 lt_cv_dlopen_self_static
=cross
11653 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11654 lt_status
=$lt_dlunknown
11655 cat > conftest.
$ac_ext <<_LT_EOF
11656 #line 11656 "configure"
11657 #include "confdefs.h"
11666 # define LT_DLGLOBAL RTLD_GLOBAL
11669 # define LT_DLGLOBAL DL_GLOBAL
11671 # define LT_DLGLOBAL 0
11675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11676 find out it does not work in some platform. */
11677 #ifndef LT_DLLAZY_OR_NOW
11679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11682 # define LT_DLLAZY_OR_NOW DL_LAZY
11685 # define LT_DLLAZY_OR_NOW RTLD_NOW
11688 # define LT_DLLAZY_OR_NOW DL_NOW
11690 # define LT_DLLAZY_OR_NOW 0
11697 void fnord() { int i=42;}
11700 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11701 int status = $lt_dlunknown;
11705 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11706 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 /* dlclose (self); */
11715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11716 (eval $ac_link) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11720 (.
/conftest
; exit; ) >&5 2>/dev
/null
11722 case x
$lt_status in
11723 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11724 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11725 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11728 # compilation failed
11729 lt_cv_dlopen_self_static
=no
11736 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11737 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11740 CPPFLAGS
="$save_CPPFLAGS"
11741 LDFLAGS
="$save_LDFLAGS"
11746 case $lt_cv_dlopen_self in
11747 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11748 *) enable_dlopen_self
=unknown
;;
11751 case $lt_cv_dlopen_self_static in
11752 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11753 *) enable_dlopen_self_static
=unknown
;;
11775 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11776 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11777 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11778 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11779 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11780 echo "$as_me:$LINENO: result: yes" >&5
11781 echo "${ECHO_T}yes" >&6
11783 # FIXME - insert some real tests, host_os isn't really good enough
11786 if test -n "$STRIP" ; then
11787 striplib
="$STRIP -x"
11788 old_striplib
="$STRIP -S"
11789 echo "$as_me:$LINENO: result: yes" >&5
11790 echo "${ECHO_T}yes" >&6
11792 echo "$as_me:$LINENO: result: no" >&5
11793 echo "${ECHO_T}no" >&6
11797 echo "$as_me:$LINENO: result: no" >&5
11798 echo "${ECHO_T}no" >&6
11814 # Report which library types will actually be built
11815 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11816 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11817 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11818 echo "${ECHO_T}$can_build_shared" >&6
11820 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11821 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11822 test "$can_build_shared" = "no" && enable_shared
=no
11824 # On AIX, shared libraries and static libraries use the same namespace, and
11825 # are all built from PIC.
11828 test "$enable_shared" = yes && enable_static
=no
11829 if test -n "$RANLIB"; then
11830 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11831 postinstall_cmds
='$RANLIB $lib'
11836 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11837 test "$enable_shared" = yes && enable_static
=no
11841 echo "$as_me:$LINENO: result: $enable_shared" >&5
11842 echo "${ECHO_T}$enable_shared" >&6
11844 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11845 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11846 # Make sure either enable_shared or enable_static is yes.
11847 test "$enable_shared" = yes || enable_static
=yes
11848 echo "$as_me:$LINENO: result: $enable_static" >&5
11849 echo "${ECHO_T}$enable_static" >&6
11856 ac_cpp
='$CPP $CPPFLAGS'
11857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11875 ac_config_commands
="$ac_config_commands libtool"
11880 # Only expand once:
11883 for ac_prog
in gawk mawk nawk
awk
11885 # Extract the first word of "$ac_prog", so it can be a program name with args.
11886 set dummy
$ac_prog; ac_word
=$2
11887 echo "$as_me:$LINENO: checking for $ac_word" >&5
11888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11889 if test "${ac_cv_prog_AWK+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 if test -n "$AWK"; then
11893 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11896 for as_dir
in $PATH
11899 test -z "$as_dir" && as_dir
=.
11900 for ac_exec_ext
in '' $ac_executable_extensions; do
11901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11902 ac_cv_prog_AWK
="$ac_prog"
11903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 AWK
=$ac_cv_prog_AWK
11912 if test -n "$AWK"; then
11913 echo "$as_me:$LINENO: result: $AWK" >&5
11914 echo "${ECHO_T}$AWK" >&6
11916 echo "$as_me:$LINENO: result: no" >&5
11917 echo "${ECHO_T}no" >&6
11920 test -n "$AWK" && break
11924 ac_cpp
='$CPP $CPPFLAGS'
11925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11928 if test -n "$ac_tool_prefix"; then
11929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11931 echo "$as_me:$LINENO: checking for $ac_word" >&5
11932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11933 if test "${ac_cv_prog_CC+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 if test -n "$CC"; then
11937 ac_cv_prog_CC
="$CC" # Let the user override the test.
11939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11940 for as_dir
in $PATH
11943 test -z "$as_dir" && as_dir
=.
11944 for ac_exec_ext
in '' $ac_executable_extensions; do
11945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11956 if test -n "$CC"; then
11957 echo "$as_me:$LINENO: result: $CC" >&5
11958 echo "${ECHO_T}$CC" >&6
11960 echo "$as_me:$LINENO: result: no" >&5
11961 echo "${ECHO_T}no" >&6
11965 if test -z "$ac_cv_prog_CC"; then
11967 # Extract the first word of "gcc", so it can be a program name with args.
11968 set dummy gcc
; ac_word
=$2
11969 echo "$as_me:$LINENO: checking for $ac_word" >&5
11970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 if test -n "$ac_ct_CC"; then
11975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11978 for as_dir
in $PATH
11981 test -z "$as_dir" && as_dir
=.
11982 for ac_exec_ext
in '' $ac_executable_extensions; do
11983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11984 ac_cv_prog_ac_ct_CC
="gcc"
11985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11994 if test -n "$ac_ct_CC"; then
11995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11996 echo "${ECHO_T}$ac_ct_CC" >&6
11998 echo "$as_me:$LINENO: result: no" >&5
11999 echo "${ECHO_T}no" >&6
12004 CC
="$ac_cv_prog_CC"
12007 if test -z "$CC"; then
12008 if test -n "$ac_tool_prefix"; then
12009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12010 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12011 echo "$as_me:$LINENO: checking for $ac_word" >&5
12012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12013 if test "${ac_cv_prog_CC+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 if test -n "$CC"; then
12017 ac_cv_prog_CC
="$CC" # Let the user override the test.
12019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12020 for as_dir
in $PATH
12023 test -z "$as_dir" && as_dir
=.
12024 for ac_exec_ext
in '' $ac_executable_extensions; do
12025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12026 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12036 if test -n "$CC"; then
12037 echo "$as_me:$LINENO: result: $CC" >&5
12038 echo "${ECHO_T}$CC" >&6
12040 echo "$as_me:$LINENO: result: no" >&5
12041 echo "${ECHO_T}no" >&6
12045 if test -z "$ac_cv_prog_CC"; then
12047 # Extract the first word of "cc", so it can be a program name with args.
12048 set dummy cc
; ac_word
=$2
12049 echo "$as_me:$LINENO: checking for $ac_word" >&5
12050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 if test -n "$ac_ct_CC"; then
12055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12058 for as_dir
in $PATH
12061 test -z "$as_dir" && as_dir
=.
12062 for ac_exec_ext
in '' $ac_executable_extensions; do
12063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12064 ac_cv_prog_ac_ct_CC
="cc"
12065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12074 if test -n "$ac_ct_CC"; then
12075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12076 echo "${ECHO_T}$ac_ct_CC" >&6
12078 echo "$as_me:$LINENO: result: no" >&5
12079 echo "${ECHO_T}no" >&6
12084 CC
="$ac_cv_prog_CC"
12088 if test -z "$CC"; then
12089 # Extract the first word of "cc", so it can be a program name with args.
12090 set dummy cc
; ac_word
=$2
12091 echo "$as_me:$LINENO: checking for $ac_word" >&5
12092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12093 if test "${ac_cv_prog_CC+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 if test -n "$CC"; then
12097 ac_cv_prog_CC
="$CC" # Let the user override the test.
12099 ac_prog_rejected
=no
12100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12101 for as_dir
in $PATH
12104 test -z "$as_dir" && as_dir
=.
12105 for ac_exec_ext
in '' $ac_executable_extensions; do
12106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12108 ac_prog_rejected
=yes
12112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 if test $ac_prog_rejected = yes; then
12119 # We found a bogon in the path, so make sure we never use it.
12120 set dummy
$ac_cv_prog_CC
12122 if test $# != 0; then
12123 # We chose a different compiler from the bogus one.
12124 # However, it has the same basename, so the bogon will be chosen
12125 # first if we set CC to just the basename; use the full file name.
12127 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12133 if test -n "$CC"; then
12134 echo "$as_me:$LINENO: result: $CC" >&5
12135 echo "${ECHO_T}$CC" >&6
12137 echo "$as_me:$LINENO: result: no" >&5
12138 echo "${ECHO_T}no" >&6
12142 if test -z "$CC"; then
12143 if test -n "$ac_tool_prefix"; then
12146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12147 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12148 echo "$as_me:$LINENO: checking for $ac_word" >&5
12149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12150 if test "${ac_cv_prog_CC+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 if test -n "$CC"; then
12154 ac_cv_prog_CC
="$CC" # Let the user override the test.
12156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12157 for as_dir
in $PATH
12160 test -z "$as_dir" && as_dir
=.
12161 for ac_exec_ext
in '' $ac_executable_extensions; do
12162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 if test -n "$CC"; then
12174 echo "$as_me:$LINENO: result: $CC" >&5
12175 echo "${ECHO_T}$CC" >&6
12177 echo "$as_me:$LINENO: result: no" >&5
12178 echo "${ECHO_T}no" >&6
12181 test -n "$CC" && break
12184 if test -z "$CC"; then
12188 # Extract the first word of "$ac_prog", so it can be a program name with args.
12189 set dummy
$ac_prog; ac_word
=$2
12190 echo "$as_me:$LINENO: checking for $ac_word" >&5
12191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 if test -n "$ac_ct_CC"; then
12196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12199 for as_dir
in $PATH
12202 test -z "$as_dir" && as_dir
=.
12203 for ac_exec_ext
in '' $ac_executable_extensions; do
12204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12205 ac_cv_prog_ac_ct_CC
="$ac_prog"
12206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12215 if test -n "$ac_ct_CC"; then
12216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12217 echo "${ECHO_T}$ac_ct_CC" >&6
12219 echo "$as_me:$LINENO: result: no" >&5
12220 echo "${ECHO_T}no" >&6
12223 test -n "$ac_ct_CC" && break
12232 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12233 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12234 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12235 See \`config.log' for more details." >&5
12236 echo "$as_me: error: no acceptable C compiler found in \$PATH
12237 See \`config.log' for more details." >&2;}
12238 { (exit 1); exit 1; }; }; }
12240 # Provide some information about the compiler.
12241 echo "$as_me:$LINENO:" \
12242 "checking for C compiler version" >&5
12243 ac_compiler
=`set X $ac_compile; echo $2`
12244 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12245 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }
12249 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12250 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }
12254 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12255 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); }
12260 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12261 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12262 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 cat >conftest.
$ac_ext <<_ACEOF
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12283 rm -f conftest.
$ac_objext
12284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12285 (eval $ac_compile) 2>conftest.er1
12287 grep -v '^ *+' conftest.er1
>conftest.err
12289 cat conftest.err
>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } &&
12292 { ac_try
='test -z "$ac_c_werror_flag"
12293 || test ! -s conftest.err'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; } &&
12299 { ac_try
='test -s conftest.$ac_objext'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 ac_compiler_gnu
=yes
12307 echo "$as_me: failed program was:" >&5
12308 sed 's/^/| /' conftest.
$ac_ext >&5
12312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12313 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12316 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12317 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12318 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12319 ac_test_CFLAGS
=${CFLAGS+set}
12320 ac_save_CFLAGS
=$CFLAGS
12322 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12323 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12324 if test "${ac_cv_prog_cc_g+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 cat >conftest.
$ac_ext <<_ACEOF
12330 cat confdefs.h
>>conftest.
$ac_ext
12331 cat >>conftest.
$ac_ext <<_ACEOF
12332 /* end confdefs.h. */
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try
='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 ac_cv_prog_cc_g
=yes
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.
$ac_ext >&5
12371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12373 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12374 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12375 if test "$ac_test_CFLAGS" = set; then
12376 CFLAGS
=$ac_save_CFLAGS
12377 elif test $ac_cv_prog_cc_g = yes; then
12378 if test "$GCC" = yes; then
12384 if test "$GCC" = yes; then
12390 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12391 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12392 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 ac_cv_prog_cc_stdc
=no
12397 cat >conftest.
$ac_ext <<_ACEOF
12400 cat confdefs.h
>>conftest.
$ac_ext
12401 cat >>conftest.
$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12403 #include <stdarg.h>
12405 #include <sys/types.h>
12406 #include <sys/stat.h>
12407 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12408 struct buf { int x; };
12409 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12410 static char *e (p, i)
12416 static char *f (char * (*g) (char **, int), char **p, ...)
12421 s = g (p, va_arg (v,int));
12426 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12427 function prototypes and stuff, but not '\xHH' hex character constants.
12428 These don't provoke an error unfortunately, instead are silently treated
12429 as 'x'. The following induces an error, until -std1 is added to get
12430 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12431 array size at least. It's necessary to write '\x00'==0 to get something
12432 that's true only with -std1. */
12433 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12435 int test (int i, double x);
12436 struct s1 {int (*f) (int a);};
12437 struct s2 {int (*f) (double a);};
12438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12449 # Don't try gcc -ansi; that turns off useful extensions and
12450 # breaks some systems' header files.
12451 # AIX -qlanglvl=ansi
12452 # Ultrix and OSF/1 -std1
12453 # HP-UX 10.20 and later -Ae
12454 # HP-UX older versions -Aa -D_HPUX_SOURCE
12455 # SVR4 -Xc -D__EXTENSIONS__
12456 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12458 CC
="$ac_save_CC $ac_arg"
12459 rm -f conftest.
$ac_objext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12461 (eval $ac_compile) 2>conftest.er1
12463 grep -v '^ *+' conftest.er1
>conftest.err
12465 cat conftest.err
>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } &&
12468 { ac_try
='test -z "$ac_c_werror_flag"
12469 || test ! -s conftest.err'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; } &&
12475 { ac_try
='test -s conftest.$ac_objext'
12476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12477 (eval $ac_try) 2>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; }; then
12481 ac_cv_prog_cc_stdc
=$ac_arg
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12488 rm -f conftest.err conftest.
$ac_objext
12490 rm -f conftest.
$ac_ext conftest.
$ac_objext
12495 case "x$ac_cv_prog_cc_stdc" in
12497 echo "$as_me:$LINENO: result: none needed" >&5
12498 echo "${ECHO_T}none needed" >&6 ;;
12500 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12501 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12502 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12505 # Some people use a C++ compiler to compile C. Since we use `exit',
12506 # in C++ we need to declare it. In case someone uses the same compiler
12507 # for both compiling C and C++ we need to have the C++ compiler decide
12508 # the declaration of exit, since it's the most demanding environment.
12509 cat >conftest.
$ac_ext <<_ACEOF
12510 #ifndef __cplusplus
12514 rm -f conftest.
$ac_objext
12515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12516 (eval $ac_compile) 2>conftest.er1
12518 grep -v '^ *+' conftest.er1
>conftest.err
12520 cat conftest.err
>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); } &&
12523 { ac_try
='test -z "$ac_c_werror_flag"
12524 || test ! -s conftest.err'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; } &&
12530 { ac_try
='test -s conftest.$ac_objext'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; }; then
12536 for ac_declaration
in \
12538 'extern "C" void std::exit (int) throw (); using std::exit;' \
12539 'extern "C" void std::exit (int); using std::exit;' \
12540 'extern "C" void exit (int) throw ();' \
12541 'extern "C" void exit (int);' \
12544 cat >conftest.
$ac_ext <<_ACEOF
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12551 #include <stdlib.h>
12560 rm -f conftest.
$ac_objext
12561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12562 (eval $ac_compile) 2>conftest.er1
12564 grep -v '^ *+' conftest.er1
>conftest.err
12566 cat conftest.err
>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } &&
12569 { ac_try
='test -z "$ac_c_werror_flag"
12570 || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try
='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.
$ac_ext >&5
12589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12590 cat >conftest.
$ac_ext <<_ACEOF
12593 cat confdefs.h
>>conftest.
$ac_ext
12594 cat >>conftest.
$ac_ext <<_ACEOF
12595 /* end confdefs.h. */
12605 rm -f conftest.
$ac_objext
12606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12607 (eval $ac_compile) 2>conftest.er1
12609 grep -v '^ *+' conftest.er1
>conftest.err
12611 cat conftest.err
>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } &&
12614 { ac_try
='test -z "$ac_c_werror_flag"
12615 || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try
='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 if test -n "$ac_declaration"; then
12637 echo '#ifdef __cplusplus' >>confdefs.h
12638 echo $ac_declaration >>confdefs.h
12639 echo '#endif' >>confdefs.h
12643 echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.
$ac_ext >&5
12647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12649 ac_cpp
='$CPP $CPPFLAGS'
12650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12654 depcc
="$CC" am_compiler_list
=
12656 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12657 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12658 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12662 # We make a subdir and do the tests there. Otherwise we can end up
12663 # making bogus files that we don't know about and never remove. For
12664 # instance it was reported that on HP-UX the gcc test will end up
12665 # making a dummy file named `D' -- because `-MD' means `put the output
12668 # Copy depcomp to subdir because otherwise we won't find it if we're
12669 # using a relative directory.
12670 cp "$am_depcomp" conftest.dir
12672 # We will build objects and dependencies in a subdirectory because
12673 # it helps to detect inapplicable dependency modes. For instance
12674 # both Tru64's cc and ICC support -MD to output dependencies as a
12675 # side effect of compilation, but ICC will put the dependencies in
12676 # the current directory while Tru64 will put them in the object
12680 am_cv_CC_dependencies_compiler_type
=none
12681 if test "$am_compiler_list" = ""; then
12682 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12684 for depmode
in $am_compiler_list; do
12685 # Setup a source with many dependencies, because some compilers
12686 # like to wrap large dependency lists on column 80 (with \), and
12687 # we should not choose a depcomp mode which is confused by this.
12689 # We need to recreate these files for each test, as the compiler may
12690 # overwrite some of them when testing with obscure command lines.
12691 # This happens at least with the AIX C compiler.
12693 for i
in 1 2 3 4 5 6; do
12694 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12695 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12696 # Solaris 8's {/usr,}/bin/sh.
12697 touch sub
/conftst
$i.h
12699 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12703 # after this tag, mechanisms are not by side-effect, so they'll
12704 # only be used when explicitly requested
12705 if test "x$enable_dependency_tracking" = xyes
; then
12713 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12714 # mode. It turns out that the SunPro C++ compiler does not properly
12715 # handle `-M -o', and we need to detect this.
12716 if depmode
=$depmode \
12717 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12718 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12719 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12720 >/dev
/null
2>conftest.err
&&
12721 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12722 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12723 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12724 # icc doesn't choke on unknown options, it will just issue warnings
12725 # or remarks (even with -Werror). So we grep stderr for any message
12726 # that says an option was ignored or not supported.
12727 # When given -MP, icc 7.0 and 7.1 complain thusly:
12728 # icc: Command line warning: ignoring option '-M'; no argument required
12729 # The diagnosis changed in icc 8.0:
12730 # icc: Command line remark: option '-MP' not supported
12731 if (grep 'ignoring option' conftest.err ||
12732 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12733 am_cv_CC_dependencies_compiler_type
=$depmode
12740 rm -rf conftest.dir
12742 am_cv_CC_dependencies_compiler_type
=none
12746 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12747 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
12748 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12753 test "x$enable_dependency_tracking" != xno \
12754 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12755 am__fastdepCC_TRUE
=
12756 am__fastdepCC_FALSE
='#'
12758 am__fastdepCC_TRUE
='#'
12759 am__fastdepCC_FALSE
=
12763 if test "x$CC" != xcc
; then
12764 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
12765 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
12767 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
12768 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
12770 set dummy
$CC; ac_cc
=`echo $2 |
12771 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12772 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 cat >conftest.
$ac_ext <<_ACEOF
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12790 # Make sure it works both with $CC and with simple cc.
12791 # We do the test twice because some compilers refuse to overwrite an
12792 # existing .o file with -o, though they will create one.
12793 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12794 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } &&
12799 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); };
12805 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12806 if test "x$CC" != xcc
; then
12807 # Test first that cc exists at all.
12808 if { ac_try
='cc -c conftest.$ac_ext >&5'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12815 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12821 (eval $ac_try) 2>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); };
12829 # cc exists but doesn't like -o.
12830 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12835 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12840 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
12841 echo "$as_me:$LINENO: result: yes" >&5
12842 echo "${ECHO_T}yes" >&6
12844 echo "$as_me:$LINENO: result: no" >&5
12845 echo "${ECHO_T}no" >&6
12847 cat >>confdefs.h
<<\_ACEOF
12848 #define NO_MINUS_C_MINUS_O 1
12853 # FIXME: we rely on the cache variable name because
12854 # there is no other way.
12856 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12857 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12858 # Losing compiler, so override with the script.
12859 # FIXME: It is wrong to rewrite CC.
12860 # But if we don't then we get into trouble of one sort or another.
12861 # A longer-term fix would be to have automake use am__CC in this case,
12862 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12863 CC
="$am_aux_dir/compile $CC"
12867 ac_cpp
='$CPP $CPPFLAGS'
12868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12871 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12872 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12873 # On Suns, sometimes $CPP names a directory.
12874 if test -n "$CPP" && test -d "$CPP"; then
12877 if test -z "$CPP"; then
12878 if test "${ac_cv_prog_CPP+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 # Double quotes because CPP needs to be expanded
12882 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12884 ac_preproc_ok
=false
12885 for ac_c_preproc_warn_flag
in '' yes
12887 # Use a header file that comes with gcc, so configuring glibc
12888 # with a fresh cross-compiler works.
12889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12890 # <limits.h> exists even on freestanding compilers.
12891 # On the NeXT, cc -E runs the code through the compiler's parser,
12892 # not just through cpp. "Syntax error" is here to catch this case.
12893 cat >conftest.
$ac_ext <<_ACEOF
12896 cat confdefs.h
>>conftest.
$ac_ext
12897 cat >>conftest.
$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12900 # include <limits.h>
12902 # include <assert.h>
12906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12909 grep -v '^ *+' conftest.er1
>conftest.err
12911 cat conftest.err
>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } >/dev
/null
; then
12914 if test -s conftest.err
; then
12915 ac_cpp_err
=$ac_c_preproc_warn_flag
12916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12923 if test -z "$ac_cpp_err"; then
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.
$ac_ext >&5
12929 # Broken: fails on valid input.
12932 rm -f conftest.err conftest.
$ac_ext
12934 # OK, works on sane cases. Now check whether non-existent headers
12935 # can be detected and how.
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12942 #include <ac_nonexistent.h>
12944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12947 grep -v '^ *+' conftest.er1
>conftest.err
12949 cat conftest.err
>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } >/dev
/null
; then
12952 if test -s conftest.err
; then
12953 ac_cpp_err
=$ac_c_preproc_warn_flag
12954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12961 if test -z "$ac_cpp_err"; then
12962 # Broken: success on invalid input.
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.
$ac_ext >&5
12968 # Passes both tests.
12972 rm -f conftest.err conftest.
$ac_ext
12975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12976 rm -f conftest.err conftest.
$ac_ext
12977 if $ac_preproc_ok; then
12982 ac_cv_prog_CPP
=$CPP
12985 CPP
=$ac_cv_prog_CPP
12987 ac_cv_prog_CPP
=$CPP
12989 echo "$as_me:$LINENO: result: $CPP" >&5
12990 echo "${ECHO_T}$CPP" >&6
12991 ac_preproc_ok
=false
12992 for ac_c_preproc_warn_flag
in '' yes
12994 # Use a header file that comes with gcc, so configuring glibc
12995 # with a fresh cross-compiler works.
12996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12997 # <limits.h> exists even on freestanding compilers.
12998 # On the NeXT, cc -E runs the code through the compiler's parser,
12999 # not just through cpp. "Syntax error" is here to catch this case.
13000 cat >conftest.
$ac_ext <<_ACEOF
13003 cat confdefs.h
>>conftest.
$ac_ext
13004 cat >>conftest.
$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13007 # include <limits.h>
13009 # include <assert.h>
13013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13016 grep -v '^ *+' conftest.er1
>conftest.err
13018 cat conftest.err
>&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } >/dev
/null
; then
13021 if test -s conftest.err
; then
13022 ac_cpp_err
=$ac_c_preproc_warn_flag
13023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13030 if test -z "$ac_cpp_err"; then
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.
$ac_ext >&5
13036 # Broken: fails on valid input.
13039 rm -f conftest.err conftest.
$ac_ext
13041 # OK, works on sane cases. Now check whether non-existent headers
13042 # can be detected and how.
13043 cat >conftest.
$ac_ext <<_ACEOF
13046 cat confdefs.h
>>conftest.
$ac_ext
13047 cat >>conftest.
$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049 #include <ac_nonexistent.h>
13051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } >/dev
/null
; then
13059 if test -s conftest.err
; then
13060 ac_cpp_err
=$ac_c_preproc_warn_flag
13061 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13068 if test -z "$ac_cpp_err"; then
13069 # Broken: success on invalid input.
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.
$ac_ext >&5
13075 # Passes both tests.
13079 rm -f conftest.err conftest.
$ac_ext
13082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13083 rm -f conftest.err conftest.
$ac_ext
13084 if $ac_preproc_ok; then
13087 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13088 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13089 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13090 See \`config.log' for more details." >&5
13091 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13092 See \`config.log' for more details." >&2;}
13093 { (exit 1); exit 1; }; }; }
13097 ac_cpp
='$CPP $CPPFLAGS'
13098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13103 ac_cpp
='$CXXCPP $CPPFLAGS'
13104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13107 if test -n "$ac_tool_prefix"; then
13108 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13111 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13112 echo "$as_me:$LINENO: checking for $ac_word" >&5
13113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13114 if test "${ac_cv_prog_CXX+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 if test -n "$CXX"; then
13118 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13121 for as_dir
in $PATH
13124 test -z "$as_dir" && as_dir
=.
13125 for ac_exec_ext
in '' $ac_executable_extensions; do
13126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13127 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13136 CXX
=$ac_cv_prog_CXX
13137 if test -n "$CXX"; then
13138 echo "$as_me:$LINENO: result: $CXX" >&5
13139 echo "${ECHO_T}$CXX" >&6
13141 echo "$as_me:$LINENO: result: no" >&5
13142 echo "${ECHO_T}no" >&6
13145 test -n "$CXX" && break
13148 if test -z "$CXX"; then
13150 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13152 # Extract the first word of "$ac_prog", so it can be a program name with args.
13153 set dummy
$ac_prog; ac_word
=$2
13154 echo "$as_me:$LINENO: checking for $ac_word" >&5
13155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13156 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 if test -n "$ac_ct_CXX"; then
13160 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13163 for as_dir
in $PATH
13166 test -z "$as_dir" && as_dir
=.
13167 for ac_exec_ext
in '' $ac_executable_extensions; do
13168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13169 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13178 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13179 if test -n "$ac_ct_CXX"; then
13180 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13181 echo "${ECHO_T}$ac_ct_CXX" >&6
13183 echo "$as_me:$LINENO: result: no" >&5
13184 echo "${ECHO_T}no" >&6
13187 test -n "$ac_ct_CXX" && break
13189 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13195 # Provide some information about the compiler.
13196 echo "$as_me:$LINENO:" \
13197 "checking for C++ compiler version" >&5
13198 ac_compiler
=`set X $ac_compile; echo $2`
13199 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13200 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }
13204 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13205 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }
13209 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13210 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); }
13215 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13216 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13217 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13238 rm -f conftest.
$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13242 grep -v '^ *+' conftest.er1
>conftest.err
13244 cat conftest.err
>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try
='test -z "$ac_cxx_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try
='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13260 ac_compiler_gnu
=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.
$ac_ext >&5
13267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13268 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13271 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13272 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13273 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13274 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13275 ac_save_CXXFLAGS
=$CXXFLAGS
13277 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13278 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13279 if test "${ac_cv_prog_cxx_g+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13297 rm -f conftest.
$ac_objext
13298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13299 (eval $ac_compile) 2>conftest.er1
13301 grep -v '^ *+' conftest.er1
>conftest.err
13303 cat conftest.err
>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } &&
13306 { ac_try
='test -z "$ac_cxx_werror_flag"
13307 || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try
='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 ac_cv_prog_cxx_g
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 ac_cv_prog_cxx_g
=no
13326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13329 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13330 if test "$ac_test_CXXFLAGS" = set; then
13331 CXXFLAGS
=$ac_save_CXXFLAGS
13332 elif test $ac_cv_prog_cxx_g = yes; then
13333 if test "$GXX" = yes; then
13339 if test "$GXX" = yes; then
13345 for ac_declaration
in \
13347 'extern "C" void std::exit (int) throw (); using std::exit;' \
13348 'extern "C" void std::exit (int); using std::exit;' \
13349 'extern "C" void exit (int) throw ();' \
13350 'extern "C" void exit (int);' \
13353 cat >conftest.
$ac_ext <<_ACEOF
13356 cat confdefs.h
>>conftest.
$ac_ext
13357 cat >>conftest.
$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13360 #include <stdlib.h>
13369 rm -f conftest.
$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>conftest.er1
13373 grep -v '^ *+' conftest.er1
>conftest.err
13375 cat conftest.err
>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try
='test -z "$ac_cxx_werror_flag"
13379 || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13399 cat >conftest.
$ac_ext <<_ACEOF
13402 cat confdefs.h
>>conftest.
$ac_ext
13403 cat >>conftest.
$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13414 rm -f conftest.
$ac_objext
13415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13416 (eval $ac_compile) 2>conftest.er1
13418 grep -v '^ *+' conftest.er1
>conftest.err
13420 cat conftest.err
>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } &&
13423 { ac_try
='test -z "$ac_cxx_werror_flag"
13424 || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try
='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13445 if test -n "$ac_declaration"; then
13446 echo '#ifdef __cplusplus' >>confdefs.h
13447 echo $ac_declaration >>confdefs.h
13448 echo '#endif' >>confdefs.h
13452 ac_cpp
='$CPP $CPPFLAGS'
13453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13457 depcc
="$CXX" am_compiler_list
=
13459 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13460 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13461 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13462 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13465 # We make a subdir and do the tests there. Otherwise we can end up
13466 # making bogus files that we don't know about and never remove. For
13467 # instance it was reported that on HP-UX the gcc test will end up
13468 # making a dummy file named `D' -- because `-MD' means `put the output
13471 # Copy depcomp to subdir because otherwise we won't find it if we're
13472 # using a relative directory.
13473 cp "$am_depcomp" conftest.dir
13475 # We will build objects and dependencies in a subdirectory because
13476 # it helps to detect inapplicable dependency modes. For instance
13477 # both Tru64's cc and ICC support -MD to output dependencies as a
13478 # side effect of compilation, but ICC will put the dependencies in
13479 # the current directory while Tru64 will put them in the object
13483 am_cv_CXX_dependencies_compiler_type
=none
13484 if test "$am_compiler_list" = ""; then
13485 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13487 for depmode
in $am_compiler_list; do
13488 # Setup a source with many dependencies, because some compilers
13489 # like to wrap large dependency lists on column 80 (with \), and
13490 # we should not choose a depcomp mode which is confused by this.
13492 # We need to recreate these files for each test, as the compiler may
13493 # overwrite some of them when testing with obscure command lines.
13494 # This happens at least with the AIX C compiler.
13496 for i
in 1 2 3 4 5 6; do
13497 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13498 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13499 # Solaris 8's {/usr,}/bin/sh.
13500 touch sub
/conftst
$i.h
13502 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13506 # after this tag, mechanisms are not by side-effect, so they'll
13507 # only be used when explicitly requested
13508 if test "x$enable_dependency_tracking" = xyes
; then
13516 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13517 # mode. It turns out that the SunPro C++ compiler does not properly
13518 # handle `-M -o', and we need to detect this.
13519 if depmode
=$depmode \
13520 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13521 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13522 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13523 >/dev
/null
2>conftest.err
&&
13524 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13525 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13526 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13527 # icc doesn't choke on unknown options, it will just issue warnings
13528 # or remarks (even with -Werror). So we grep stderr for any message
13529 # that says an option was ignored or not supported.
13530 # When given -MP, icc 7.0 and 7.1 complain thusly:
13531 # icc: Command line warning: ignoring option '-M'; no argument required
13532 # The diagnosis changed in icc 8.0:
13533 # icc: Command line remark: option '-MP' not supported
13534 if (grep 'ignoring option' conftest.err ||
13535 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13536 am_cv_CXX_dependencies_compiler_type
=$depmode
13543 rm -rf conftest.dir
13545 am_cv_CXX_dependencies_compiler_type
=none
13549 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13550 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13551 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13556 test "x$enable_dependency_tracking" != xno \
13557 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13558 am__fastdepCXX_TRUE
=
13559 am__fastdepCXX_FALSE
='#'
13561 am__fastdepCXX_TRUE
='#'
13562 am__fastdepCXX_FALSE
=
13568 ac_cpp
='$CXXCPP $CPPFLAGS'
13569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13572 if test -n "$ac_tool_prefix"; then
13573 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13576 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13577 echo "$as_me:$LINENO: checking for $ac_word" >&5
13578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13579 if test "${ac_cv_prog_CXX+set}" = set; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 if test -n "$CXX"; then
13583 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13586 for as_dir
in $PATH
13589 test -z "$as_dir" && as_dir
=.
13590 for ac_exec_ext
in '' $ac_executable_extensions; do
13591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13592 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13601 CXX
=$ac_cv_prog_CXX
13602 if test -n "$CXX"; then
13603 echo "$as_me:$LINENO: result: $CXX" >&5
13604 echo "${ECHO_T}$CXX" >&6
13606 echo "$as_me:$LINENO: result: no" >&5
13607 echo "${ECHO_T}no" >&6
13610 test -n "$CXX" && break
13613 if test -z "$CXX"; then
13615 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13617 # Extract the first word of "$ac_prog", so it can be a program name with args.
13618 set dummy
$ac_prog; ac_word
=$2
13619 echo "$as_me:$LINENO: checking for $ac_word" >&5
13620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13621 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13622 echo $ECHO_N "(cached) $ECHO_C" >&6
13624 if test -n "$ac_ct_CXX"; then
13625 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13628 for as_dir
in $PATH
13631 test -z "$as_dir" && as_dir
=.
13632 for ac_exec_ext
in '' $ac_executable_extensions; do
13633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13634 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13643 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13644 if test -n "$ac_ct_CXX"; then
13645 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13646 echo "${ECHO_T}$ac_ct_CXX" >&6
13648 echo "$as_me:$LINENO: result: no" >&5
13649 echo "${ECHO_T}no" >&6
13652 test -n "$ac_ct_CXX" && break
13654 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13660 # Provide some information about the compiler.
13661 echo "$as_me:$LINENO:" \
13662 "checking for C++ compiler version" >&5
13663 ac_compiler
=`set X $ac_compile; echo $2`
13664 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13665 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); }
13669 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13670 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }
13674 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13675 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }
13680 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13681 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13682 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13685 cat >conftest.
$ac_ext <<_ACEOF
13688 cat confdefs.h
>>conftest.
$ac_ext
13689 cat >>conftest.
$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13703 rm -f conftest.
$ac_objext
13704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13705 (eval $ac_compile) 2>conftest.er1
13707 grep -v '^ *+' conftest.er1
>conftest.err
13709 cat conftest.err
>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } &&
13712 { ac_try
='test -z "$ac_cxx_werror_flag"
13713 || test ! -s conftest.err'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; } &&
13719 { ac_try
='test -s conftest.$ac_objext'
13720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13721 (eval $ac_try) 2>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; }; then
13725 ac_compiler_gnu
=yes
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.
$ac_ext >&5
13732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13733 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13736 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13738 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13739 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13740 ac_save_CXXFLAGS
=$CXXFLAGS
13742 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13743 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13744 if test "${ac_cv_prog_cxx_g+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 cat >conftest.
$ac_ext <<_ACEOF
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13762 rm -f conftest.
$ac_objext
13763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13764 (eval $ac_compile) 2>conftest.er1
13766 grep -v '^ *+' conftest.er1
>conftest.err
13768 cat conftest.err
>&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); } &&
13771 { ac_try
='test -z "$ac_cxx_werror_flag"
13772 || test ! -s conftest.err'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; } &&
13778 { ac_try
='test -s conftest.$ac_objext'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; }; then
13784 ac_cv_prog_cxx_g
=yes
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.
$ac_ext >&5
13789 ac_cv_prog_cxx_g
=no
13791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13793 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13794 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13795 if test "$ac_test_CXXFLAGS" = set; then
13796 CXXFLAGS
=$ac_save_CXXFLAGS
13797 elif test $ac_cv_prog_cxx_g = yes; then
13798 if test "$GXX" = yes; then
13804 if test "$GXX" = yes; then
13810 for ac_declaration
in \
13812 'extern "C" void std::exit (int) throw (); using std::exit;' \
13813 'extern "C" void std::exit (int); using std::exit;' \
13814 'extern "C" void exit (int) throw ();' \
13815 'extern "C" void exit (int);' \
13818 cat >conftest.
$ac_ext <<_ACEOF
13821 cat confdefs.h
>>conftest.
$ac_ext
13822 cat >>conftest.
$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13825 #include <stdlib.h>
13834 rm -f conftest.
$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>conftest.er1
13838 grep -v '^ *+' conftest.er1
>conftest.err
13840 cat conftest.err
>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try
='test -z "$ac_cxx_werror_flag"
13844 || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try
='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13864 cat >conftest.
$ac_ext <<_ACEOF
13867 cat confdefs.h
>>conftest.
$ac_ext
13868 cat >>conftest.
$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13879 rm -f conftest.
$ac_objext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13881 (eval $ac_compile) 2>conftest.er1
13883 grep -v '^ *+' conftest.er1
>conftest.err
13885 cat conftest.err
>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try
='test -z "$ac_cxx_werror_flag"
13889 || test ! -s conftest.err'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; } &&
13895 { ac_try
='test -s conftest.$ac_objext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.
$ac_ext >&5
13907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 if test -n "$ac_declaration"; then
13911 echo '#ifdef __cplusplus' >>confdefs.h
13912 echo $ac_declaration >>confdefs.h
13913 echo '#endif' >>confdefs.h
13917 ac_cpp
='$CPP $CPPFLAGS'
13918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13922 depcc
="$CXX" am_compiler_list
=
13924 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13925 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13926 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13930 # We make a subdir and do the tests there. Otherwise we can end up
13931 # making bogus files that we don't know about and never remove. For
13932 # instance it was reported that on HP-UX the gcc test will end up
13933 # making a dummy file named `D' -- because `-MD' means `put the output
13936 # Copy depcomp to subdir because otherwise we won't find it if we're
13937 # using a relative directory.
13938 cp "$am_depcomp" conftest.dir
13940 # We will build objects and dependencies in a subdirectory because
13941 # it helps to detect inapplicable dependency modes. For instance
13942 # both Tru64's cc and ICC support -MD to output dependencies as a
13943 # side effect of compilation, but ICC will put the dependencies in
13944 # the current directory while Tru64 will put them in the object
13948 am_cv_CXX_dependencies_compiler_type
=none
13949 if test "$am_compiler_list" = ""; then
13950 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13952 for depmode
in $am_compiler_list; do
13953 # Setup a source with many dependencies, because some compilers
13954 # like to wrap large dependency lists on column 80 (with \), and
13955 # we should not choose a depcomp mode which is confused by this.
13957 # We need to recreate these files for each test, as the compiler may
13958 # overwrite some of them when testing with obscure command lines.
13959 # This happens at least with the AIX C compiler.
13961 for i
in 1 2 3 4 5 6; do
13962 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13963 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13964 # Solaris 8's {/usr,}/bin/sh.
13965 touch sub
/conftst
$i.h
13967 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13971 # after this tag, mechanisms are not by side-effect, so they'll
13972 # only be used when explicitly requested
13973 if test "x$enable_dependency_tracking" = xyes
; then
13981 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13982 # mode. It turns out that the SunPro C++ compiler does not properly
13983 # handle `-M -o', and we need to detect this.
13984 if depmode
=$depmode \
13985 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13986 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13987 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13988 >/dev
/null
2>conftest.err
&&
13989 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13990 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13991 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13992 # icc doesn't choke on unknown options, it will just issue warnings
13993 # or remarks (even with -Werror). So we grep stderr for any message
13994 # that says an option was ignored or not supported.
13995 # When given -MP, icc 7.0 and 7.1 complain thusly:
13996 # icc: Command line warning: ignoring option '-M'; no argument required
13997 # The diagnosis changed in icc 8.0:
13998 # icc: Command line remark: option '-MP' not supported
13999 if (grep 'ignoring option' conftest.err ||
14000 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
14001 am_cv_CXX_dependencies_compiler_type
=$depmode
14008 rm -rf conftest.dir
14010 am_cv_CXX_dependencies_compiler_type
=none
14014 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
14015 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
14016 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
14021 test "x$enable_dependency_tracking" != xno \
14022 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
14023 am__fastdepCXX_TRUE
=
14024 am__fastdepCXX_FALSE
='#'
14026 am__fastdepCXX_TRUE
='#'
14027 am__fastdepCXX_FALSE
=
14031 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14032 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14033 (test "X$CXX" != "Xg++"))) ; then
14035 ac_cpp
='$CXXCPP $CPPFLAGS'
14036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14039 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
14040 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
14041 if test -z "$CXXCPP"; then
14042 if test "${ac_cv_prog_CXXCPP+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 # Double quotes because CXXCPP needs to be expanded
14046 for CXXCPP
in "$CXX -E" "/lib/cpp"
14048 ac_preproc_ok
=false
14049 for ac_cxx_preproc_warn_flag
in '' yes
14051 # Use a header file that comes with gcc, so configuring glibc
14052 # with a fresh cross-compiler works.
14053 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14054 # <limits.h> exists even on freestanding compilers.
14055 # On the NeXT, cc -E runs the code through the compiler's parser,
14056 # not just through cpp. "Syntax error" is here to catch this case.
14057 cat >conftest.
$ac_ext <<_ACEOF
14060 cat confdefs.h
>>conftest.
$ac_ext
14061 cat >>conftest.
$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14064 # include <limits.h>
14066 # include <assert.h>
14070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14073 grep -v '^ *+' conftest.er1
>conftest.err
14075 cat conftest.err
>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } >/dev
/null
; then
14078 if test -s conftest.err
; then
14079 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14080 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14087 if test -z "$ac_cpp_err"; then
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14093 # Broken: fails on valid input.
14096 rm -f conftest.err conftest.
$ac_ext
14098 # OK, works on sane cases. Now check whether non-existent headers
14099 # can be detected and how.
14100 cat >conftest.
$ac_ext <<_ACEOF
14103 cat confdefs.h
>>conftest.
$ac_ext
14104 cat >>conftest.
$ac_ext <<_ACEOF
14105 /* end confdefs.h. */
14106 #include <ac_nonexistent.h>
14108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14111 grep -v '^ *+' conftest.er1
>conftest.err
14113 cat conftest.err
>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } >/dev
/null
; then
14116 if test -s conftest.err
; then
14117 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14118 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14125 if test -z "$ac_cpp_err"; then
14126 # Broken: success on invalid input.
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.
$ac_ext >&5
14132 # Passes both tests.
14136 rm -f conftest.err conftest.
$ac_ext
14139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14140 rm -f conftest.err conftest.
$ac_ext
14141 if $ac_preproc_ok; then
14146 ac_cv_prog_CXXCPP
=$CXXCPP
14149 CXXCPP
=$ac_cv_prog_CXXCPP
14151 ac_cv_prog_CXXCPP
=$CXXCPP
14153 echo "$as_me:$LINENO: result: $CXXCPP" >&5
14154 echo "${ECHO_T}$CXXCPP" >&6
14155 ac_preproc_ok
=false
14156 for ac_cxx_preproc_warn_flag
in '' yes
14158 # Use a header file that comes with gcc, so configuring glibc
14159 # with a fresh cross-compiler works.
14160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14161 # <limits.h> exists even on freestanding compilers.
14162 # On the NeXT, cc -E runs the code through the compiler's parser,
14163 # not just through cpp. "Syntax error" is here to catch this case.
14164 cat >conftest.
$ac_ext <<_ACEOF
14167 cat confdefs.h
>>conftest.
$ac_ext
14168 cat >>conftest.
$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14171 # include <limits.h>
14173 # include <assert.h>
14177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14180 grep -v '^ *+' conftest.er1
>conftest.err
14182 cat conftest.err
>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); } >/dev
/null
; then
14185 if test -s conftest.err
; then
14186 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14187 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14194 if test -z "$ac_cpp_err"; then
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.
$ac_ext >&5
14200 # Broken: fails on valid input.
14203 rm -f conftest.err conftest.
$ac_ext
14205 # OK, works on sane cases. Now check whether non-existent headers
14206 # can be detected and how.
14207 cat >conftest.
$ac_ext <<_ACEOF
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14213 #include <ac_nonexistent.h>
14215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14218 grep -v '^ *+' conftest.er1
>conftest.err
14220 cat conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } >/dev
/null
; then
14223 if test -s conftest.err
; then
14224 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14225 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14232 if test -z "$ac_cpp_err"; then
14233 # Broken: success on invalid input.
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.
$ac_ext >&5
14239 # Passes both tests.
14243 rm -f conftest.err conftest.
$ac_ext
14246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14247 rm -f conftest.err conftest.
$ac_ext
14248 if $ac_preproc_ok; then
14251 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14252 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14253 _lt_caught_CXX_error
=yes; }
14257 ac_cpp
='$CPP $CPPFLAGS'
14258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14263 _lt_caught_CXX_error
=yes
14270 ac_cpp
='$CXXCPP $CPPFLAGS'
14271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14275 archive_cmds_need_lc_CXX
=no
14276 allow_undefined_flag_CXX
=
14277 always_export_symbols_CXX
=no
14278 archive_expsym_cmds_CXX
=
14279 compiler_needs_object_CXX
=no
14280 export_dynamic_flag_spec_CXX
=
14281 hardcode_direct_CXX
=no
14282 hardcode_direct_absolute_CXX
=no
14283 hardcode_libdir_flag_spec_CXX
=
14284 hardcode_libdir_flag_spec_ld_CXX
=
14285 hardcode_libdir_separator_CXX
=
14286 hardcode_minus_L_CXX
=no
14287 hardcode_shlibpath_var_CXX
=unsupported
14288 hardcode_automatic_CXX
=no
14289 inherit_rpath_CXX
=no
14291 module_expsym_cmds_CXX
=
14292 link_all_deplibs_CXX
=unknown
14293 old_archive_cmds_CXX
=$old_archive_cmds
14294 no_undefined_flag_CXX
=
14295 whole_archive_flag_spec_CXX
=
14296 enable_shared_with_static_runtimes_CXX
=no
14298 # Source file extension for C++ test sources.
14301 # Object file extension for compiled C++ test sources.
14305 # No sense in running all these tests if we already determined that
14306 # the CXX compiler isn't working. Some variables (like enable_shared)
14307 # are currently assumed to apply to all compilers on this platform,
14308 # and will be corrupted by setting them based on a non-working compiler.
14309 if test "$_lt_caught_CXX_error" != yes; then
14310 # Code to be used in simple compile tests
14311 lt_simple_compile_test_code
="int some_variable = 0;"
14313 # Code to be used in simple link tests
14314 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14316 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14323 # If no C compiler was specified, use CC.
14326 # If no C compiler flags were specified, use CFLAGS.
14327 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14329 # Allow CC to be a program name with arguments.
14333 # save warnings/boilerplate of simple test code
14334 ac_outfile
=conftest.
$ac_objext
14335 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14336 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14337 _lt_compiler_boilerplate
=`cat conftest.err`
14340 ac_outfile
=conftest.
$ac_objext
14341 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14342 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14343 _lt_linker_boilerplate
=`cat conftest.err`
14347 # Allow CC to be a program name with arguments.
14352 lt_save_with_gnu_ld
=$with_gnu_ld
14353 lt_save_path_LD
=$lt_cv_path_LD
14354 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14355 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14357 $as_unset lt_cv_prog_gnu_ld
14359 if test -n "${lt_cv_path_LDCXX+set}"; then
14360 lt_cv_path_LD
=$lt_cv_path_LDCXX
14362 $as_unset lt_cv_path_LD
14364 test -z "${LDCXX+set}" || LD
=$LDCXX
14368 for cc_temp
in $compiler""; do
14370 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14371 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14376 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14379 if test -n "$compiler"; then
14380 # We don't want -fno-exception when compiling C++ code, so set the
14381 # no_builtin_flag separately
14382 if test "$GXX" = yes; then
14383 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14385 lt_prog_compiler_no_builtin_flag_CXX
=
14388 if test "$GXX" = yes; then
14389 # Set up default GNU C++ configuration
14393 # Check whether --with-gnu-ld or --without-gnu-ld was given.
14394 if test "${with_gnu_ld+set}" = set; then
14395 withval
="$with_gnu_ld"
14396 test "$withval" = no || with_gnu_ld
=yes
14401 if test "$GCC" = yes; then
14402 # Check if gcc -print-prog-name=ld gives a path.
14403 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14404 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
14407 # gcc leaves a trailing carriage return which upsets mingw
14408 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14410 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14413 # Accept absolute paths.
14415 re_direlt
='/[^/][^/]*/\.\./'
14416 # Canonicalize the pathname of ld
14417 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14418 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14419 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14421 test -z "$LD" && LD
="$ac_prog"
14424 # If it fails, then pretend we aren't using GCC.
14428 # If it is relative, then search for the first ld in PATH.
14429 with_gnu_ld
=unknown
14432 elif test "$with_gnu_ld" = yes; then
14433 echo "$as_me:$LINENO: checking for GNU ld" >&5
14434 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14436 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14437 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14439 if test "${lt_cv_path_LD+set}" = set; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 if test -z "$LD"; then
14443 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14444 for ac_dir
in $PATH; do
14446 test -z "$ac_dir" && ac_dir
=.
14447 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14448 lt_cv_path_LD
="$ac_dir/$ac_prog"
14449 # Check to see if the program is GNU ld. I'd rather use --version,
14450 # but apparently some variants of GNU ld only accept -v.
14451 # Break only if it was the GNU/non-GNU ld that we prefer.
14452 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14453 *GNU
* |
*'with BFD'*)
14454 test "$with_gnu_ld" != no
&& break
14457 test "$with_gnu_ld" != yes && break
14464 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14468 LD
="$lt_cv_path_LD"
14469 if test -n "$LD"; then
14470 echo "$as_me:$LINENO: result: $LD" >&5
14471 echo "${ECHO_T}$LD" >&6
14473 echo "$as_me:$LINENO: result: no" >&5
14474 echo "${ECHO_T}no" >&6
14476 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14477 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14478 { (exit 1); exit 1; }; }
14479 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14480 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14481 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14485 case `$LD -v 2>&1 </dev/null` in
14486 *GNU
* |
*'with BFD'*)
14487 lt_cv_prog_gnu_ld
=yes
14490 lt_cv_prog_gnu_ld
=no
14494 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14495 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
14496 with_gnu_ld
=$lt_cv_prog_gnu_ld
14504 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14505 # archiving commands below assume that GNU ld is being used.
14506 if test "$with_gnu_ld" = yes; then
14507 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14508 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14510 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14511 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14513 # If archive_cmds runs LD, not CC, wlarc should be empty
14514 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14515 # investigate it a little bit more. (MM)
14518 # ancient GNU ld didn't support --whole-archive et. al.
14519 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14520 $GREP 'no-whole-archive' > /dev
/null
; then
14521 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14523 whole_archive_flag_spec_CXX
=
14529 # A generic and very simple default shared library creation
14530 # command for GNU C++ for the case where it uses the native
14531 # linker, instead of GNU ld. If possible, this setting should
14532 # overridden to take advantage of the native linker features on
14533 # the platform it is being used on.
14534 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14537 # Commands to make compiler produce verbose output that lists
14538 # what "hidden" libraries, object files and flags are used when
14539 # linking a shared library.
14540 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14548 # PORTME: fill in a description of your system's C++ link characteristics
14549 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14550 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14554 # FIXME: insert proper C++ library support
14558 if test "$host_cpu" = ia64
; then
14559 # On IA64, the linker does run time linking by default, so we don't
14560 # have to do anything special.
14561 aix_use_runtimelinking
=no
14562 exp_sym_flag
='-Bexport'
14565 aix_use_runtimelinking
=no
14567 # Test if we are trying to use run time linking or normal
14568 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14569 # need to do runtime linking.
14570 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14571 for ld_flag
in $LDFLAGS; do
14574 aix_use_runtimelinking
=yes
14582 exp_sym_flag
='-bexport'
14583 no_entry_flag
='-bnoentry'
14586 # When large executables or shared objects are built, AIX ld can
14587 # have problems creating the table of contents. If linking a library
14588 # or program results in "error TOC overflow" add -mminimal-toc to
14589 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14590 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14592 archive_cmds_CXX
=''
14593 hardcode_direct_CXX
=yes
14594 hardcode_direct_absolute_CXX
=yes
14595 hardcode_libdir_separator_CXX
=':'
14596 link_all_deplibs_CXX
=yes
14597 file_list_spec_CXX
='${wl}-f,'
14599 if test "$GXX" = yes; then
14600 case $host_os in aix4.
[012]|aix4.
[012].
*)
14601 # We only want to do this on AIX 4.2 and lower, the check
14602 # below for broken collect2 doesn't work under 4.3+
14603 collect2name
=`${CC} -print-prog-name=collect2`
14604 if test -f "$collect2name" &&
14605 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14607 # We have reworked collect2
14610 # We have old collect2
14611 hardcode_direct_CXX
=unsupported
14612 # It fails to find uninstalled libraries when the uninstalled
14613 # path is not listed in the libpath. Setting hardcode_minus_L
14614 # to unsupported forces relinking
14615 hardcode_minus_L_CXX
=yes
14616 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14617 hardcode_libdir_separator_CXX
=
14620 shared_flag
='-shared'
14621 if test "$aix_use_runtimelinking" = yes; then
14622 shared_flag
="$shared_flag "'${wl}-G'
14626 if test "$host_cpu" = ia64
; then
14627 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14628 # chokes on -Wl,-G. The following line is correct:
14631 if test "$aix_use_runtimelinking" = yes; then
14632 shared_flag
='${wl}-G'
14634 shared_flag
='${wl}-bM:SRE'
14639 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14640 # It seems that -bexpall does not export symbols beginning with
14641 # underscore (_), so it is better to generate a list of symbols to
14643 always_export_symbols_CXX
=yes
14644 if test "$aix_use_runtimelinking" = yes; then
14645 # Warning - without using the other runtime loading flags (-brtl),
14646 # -berok will link without error, but may produce a broken library.
14647 allow_undefined_flag_CXX
='-berok'
14648 # Determine the default libpath from the value encoded in an empty
14650 if test x
$gcc_no_link = xyes
; then
14651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14653 { (exit 1); exit 1; }; }
14655 cat >conftest.
$ac_ext <<_ACEOF
14658 cat confdefs.h
>>conftest.
$ac_ext
14659 cat >>conftest.
$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14670 rm -f conftest.
$ac_objext conftest
$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>conftest.er1
14674 grep -v '^ *+' conftest.er1
>conftest.err
14676 cat conftest.err
>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try
='test -z "$ac_cxx_werror_flag"
14680 || test ! -s conftest.err'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; } &&
14686 { ac_try
='test -s conftest$ac_exeext'
14687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14688 (eval $ac_try) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); }; }; then
14693 lt_aix_libpath_sed
='
14694 /Import File Strings/,/^$/ {
14700 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14701 # Check for a 64-bit object if we didn't find anything.
14702 if test -z "$aix_libpath"; then
14703 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14710 rm -f conftest.err conftest.
$ac_objext \
14711 conftest
$ac_exeext conftest.
$ac_ext
14712 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14714 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14716 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14718 if test "$host_cpu" = ia64
; then
14719 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14720 allow_undefined_flag_CXX
="-z nodefs"
14721 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14723 # Determine the default libpath from the value encoded in an
14724 # empty executable.
14725 if test x
$gcc_no_link = xyes
; then
14726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14728 { (exit 1); exit 1; }; }
14730 cat >conftest.
$ac_ext <<_ACEOF
14733 cat confdefs.h
>>conftest.
$ac_ext
14734 cat >>conftest.
$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14745 rm -f conftest.
$ac_objext conftest
$ac_exeext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14747 (eval $ac_link) 2>conftest.er1
14749 grep -v '^ *+' conftest.er1
>conftest.err
14751 cat conftest.err
>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try
='test -z "$ac_cxx_werror_flag"
14755 || test ! -s conftest.err'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; } &&
14761 { ac_try
='test -s conftest$ac_exeext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14768 lt_aix_libpath_sed
='
14769 /Import File Strings/,/^$/ {
14775 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14776 # Check for a 64-bit object if we didn't find anything.
14777 if test -z "$aix_libpath"; then
14778 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.
$ac_ext >&5
14785 rm -f conftest.err conftest.
$ac_objext \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14789 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14790 # Warning - without using the other run time loading flags,
14791 # -berok will link without error, but may produce a broken library.
14792 no_undefined_flag_CXX
=' ${wl}-bernotok'
14793 allow_undefined_flag_CXX
=' ${wl}-berok'
14794 # Exported symbols can be pulled into shared objects from archives
14795 whole_archive_flag_spec_CXX
='$convenience'
14796 archive_cmds_need_lc_CXX
=yes
14797 # This is similar to how AIX traditionally builds its shared
14799 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14805 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14806 allow_undefined_flag_CXX
=unsupported
14807 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14808 # support --undefined. This deserves some investigation. FIXME
14809 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14816 case $cc_basename in
14818 # FIXME: insert proper C++ library support
14824 cygwin
* | mingw
* | pw32
* | cegcc
*)
14825 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14826 # as there is no search path for DLLs.
14827 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14828 allow_undefined_flag_CXX
=unsupported
14829 always_export_symbols_CXX
=no
14830 enable_shared_with_static_runtimes_CXX
=yes
14832 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14833 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14834 # If the export-symbols file already is a .def file (1st line
14835 # is EXPORTS), use it as is; otherwise, prepend...
14836 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14837 cp $export_symbols $output_objdir/$soname.def;
14839 echo EXPORTS > $output_objdir/$soname.def;
14840 cat $export_symbols >> $output_objdir/$soname.def;
14842 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14847 darwin
* | rhapsody
*)
14850 archive_cmds_need_lc_CXX
=no
14851 hardcode_direct_CXX
=no
14852 hardcode_automatic_CXX
=yes
14853 hardcode_shlibpath_var_CXX
=unsupported
14854 whole_archive_flag_spec_CXX
=''
14855 link_all_deplibs_CXX
=yes
14856 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14857 case $cc_basename in
14858 ifort
*) _lt_dar_can_shared
=yes ;;
14859 *) _lt_dar_can_shared
=$GCC ;;
14861 if test "$_lt_dar_can_shared" = "yes"; then
14862 output_verbose_link_cmd
=echo
14863 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14864 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14865 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14866 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14867 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14868 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14869 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14879 case $cc_basename in
14881 # FIXME: insert proper C++ library support
14885 # Green Hills C++ Compiler
14886 # FIXME: insert proper C++ library support
14890 # FIXME: insert proper C++ library support
14897 # C++ shared libraries reported to be fairly broken before
14903 archive_cmds_need_lc_CXX
=no
14906 freebsd
* | dragonfly
*)
14907 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14916 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14917 hardcode_libdir_separator_CXX
=:
14918 export_dynamic_flag_spec_CXX
='${wl}-E'
14919 hardcode_direct_CXX
=yes
14920 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14921 # but as the default
14922 # location of the library.
14924 case $cc_basename in
14926 # FIXME: insert proper C++ library support
14930 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14931 # Commands to make compiler produce verbose output that lists
14932 # what "hidden" libraries, object files and flags are used when
14933 # linking a shared library.
14935 # There doesn't appear to be a way to prevent this compiler from
14936 # explicitly linking system object files so we need to strip them
14937 # from the output so that they don't get included in the library
14939 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14942 if test "$GXX" = yes; then
14943 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14945 # FIXME: insert proper C++ library support
14953 if test $with_gnu_ld = no
; then
14954 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14955 hardcode_libdir_separator_CXX
=:
14961 export_dynamic_flag_spec_CXX
='${wl}-E'
14967 hardcode_direct_CXX
=no
14968 hardcode_shlibpath_var_CXX
=no
14971 hardcode_direct_CXX
=yes
14972 hardcode_direct_absolute_CXX
=yes
14973 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14974 # but as the default
14975 # location of the library.
14979 case $cc_basename in
14981 # FIXME: insert proper C++ library support
14987 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14990 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14993 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14996 # Commands to make compiler produce verbose output that lists
14997 # what "hidden" libraries, object files and flags are used when
14998 # linking a shared library.
15000 # There doesn't appear to be a way to prevent this compiler from
15001 # explicitly linking system object files so we need to strip them
15002 # from the output so that they don't get included in the library
15004 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15007 if test "$GXX" = yes; then
15008 if test $with_gnu_ld = no
; then
15011 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15014 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15017 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15022 # FIXME: insert proper C++ library support
15030 hardcode_direct_CXX
=no
15031 hardcode_shlibpath_var_CXX
=no
15032 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15033 export_dynamic_flag_spec_CXX
='${wl}-E'
15034 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15035 # Instead, shared libraries are loaded at an image base (0x10000000 by
15036 # default) and relocated if they conflict, which is a slow very memory
15037 # consuming and fragmenting process. To avoid this, we pick a random,
15038 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15039 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15040 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15041 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15044 case $cc_basename in
15047 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15049 # Archives containing C++ object files must be created using
15050 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15051 # necessary to make sure instantiated templates are included
15053 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15056 if test "$GXX" = yes; then
15057 if test "$with_gnu_ld" = no
; then
15058 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15060 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
15063 link_all_deplibs_CXX
=yes
15066 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15067 hardcode_libdir_separator_CXX
=:
15068 inherit_rpath_CXX
=yes
15071 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15072 case $cc_basename in
15074 # Kuck and Associates, Inc. (KAI) C++ Compiler
15076 # KCC will only create a shared library if the output file
15077 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15078 # to its proper name (with version) after linking.
15079 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15080 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15081 # Commands to make compiler produce verbose output that lists
15082 # what "hidden" libraries, object files and flags are used when
15083 # linking a shared library.
15085 # There doesn't appear to be a way to prevent this compiler from
15086 # explicitly linking system object files so we need to strip them
15087 # from the output so that they don't get included in the library
15089 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15091 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15092 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15094 # Archives containing C++ object files must be created using
15095 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15096 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15101 # version 8.0 and above of icpc choke on multiply defined symbols
15102 # if we add $predep_objects and $postdep_objects, however 7.1 and
15103 # earlier do not add the objects themselves.
15104 case `$CC -V 2>&1` in
15106 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15107 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15109 *) # Version 8.0 or newer
15112 ia64
*) tmp_idyn
=' -i_dynamic';;
15114 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15115 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15118 archive_cmds_need_lc_CXX
=no
15119 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15120 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15121 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15124 # Portland Group C++ compiler
15126 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
15127 prelink_cmds_CXX
='tpldir=Template.dir~
15129 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15130 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15131 old_archive_cmds_CXX
='tpldir=Template.dir~
15133 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15134 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15136 archive_cmds_CXX
='tpldir=Template.dir~
15138 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15139 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15140 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15142 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15143 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15145 *) # Version 6 will use weak symbols
15146 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15147 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15151 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15152 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15153 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
15157 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15158 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15160 runpath_var
=LD_RUN_PATH
15161 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15162 hardcode_libdir_separator_CXX
=:
15164 # Commands to make compiler produce verbose output that lists
15165 # what "hidden" libraries, object files and flags are used when
15166 # linking a shared library.
15168 # There doesn't appear to be a way to prevent this compiler from
15169 # explicitly linking system object files so we need to strip them
15170 # from the output so that they don't get included in the library
15172 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15175 # IBM XL 8.0 on PPC, with GNU ld
15176 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15177 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15178 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15179 if test "x$supports_anon_versioning" = xyes
; then
15180 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15181 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15182 echo "local: *; };" >> $output_objdir/$libname.ver~
15183 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15187 case `$CC -V 2>&1 | sed 5q` in
15190 no_undefined_flag_CXX
=' -zdefs'
15191 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15192 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15193 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15194 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
15195 compiler_needs_object_CXX
=yes
15197 # Not sure whether something based on
15198 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15200 output_verbose_link_cmd
='echo'
15202 # Archives containing C++ object files must be created using
15203 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15204 # necessary to make sure instantiated templates are included
15206 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15214 # FIXME: insert proper C++ library support
15219 # FIXME: insert proper C++ library support
15224 case $cc_basename in
15226 # FIXME: insert proper C++ library support
15230 # FIXME: insert proper C++ library support
15237 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15238 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15240 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15241 hardcode_direct_CXX
=yes
15242 hardcode_shlibpath_var_CXX
=no
15244 # Workaround some broken pre-1.5 toolchains
15245 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15253 # C++ shared libraries are fairly broken
15258 if test -f /usr
/libexec
/ld.so
; then
15259 hardcode_direct_CXX
=yes
15260 hardcode_shlibpath_var_CXX
=no
15261 hardcode_direct_absolute_CXX
=yes
15262 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15263 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15264 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15265 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15266 export_dynamic_flag_spec_CXX
='${wl}-E'
15267 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15269 output_verbose_link_cmd
=echo
15275 osf3
* | osf4
* | osf5
*)
15276 case $cc_basename in
15278 # Kuck and Associates, Inc. (KAI) C++ Compiler
15280 # KCC will only create a shared library if the output file
15281 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15282 # to its proper name (with version) after linking.
15283 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15285 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15286 hardcode_libdir_separator_CXX
=:
15288 # Archives containing C++ object files must be created using
15289 # the KAI C++ compiler.
15291 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15292 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15296 # Rational C++ 2.4.1
15297 # FIXME: insert proper C++ library support
15303 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15304 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15305 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15308 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15309 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15310 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15311 echo "-hidden">> $lib.exp~
15312 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
15314 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15318 hardcode_libdir_separator_CXX
=:
15320 # Commands to make compiler produce verbose output that lists
15321 # what "hidden" libraries, object files and flags are used when
15322 # linking a shared library.
15324 # There doesn't appear to be a way to prevent this compiler from
15325 # explicitly linking system object files so we need to strip them
15326 # from the output so that they don't get included in the library
15328 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
15331 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15332 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15335 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15338 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15342 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15343 hardcode_libdir_separator_CXX
=:
15345 # Commands to make compiler produce verbose output that lists
15346 # what "hidden" libraries, object files and flags are used when
15347 # linking a shared library.
15348 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15351 # FIXME: insert proper C++ library support
15359 # FIXME: insert proper C++ library support
15364 case $cc_basename in
15367 # FIXME: insert proper C++ library support
15372 # FIXME: insert proper C++ library support
15376 # FIXME: insert proper C++ library support
15383 case $cc_basename in
15385 # Sun C++ 4.2, 5.x and Centerline C++
15386 archive_cmds_need_lc_CXX
=yes
15387 no_undefined_flag_CXX
=' -zdefs'
15388 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15389 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15390 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15392 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15393 hardcode_shlibpath_var_CXX
=no
15395 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15397 # The compiler driver will combine and reorder linker options,
15398 # but understands `-z linker_flag'.
15399 # Supported since Solaris 2.6 (maybe 2.5.1?)
15400 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15403 link_all_deplibs_CXX
=yes
15405 output_verbose_link_cmd
='echo'
15407 # Archives containing C++ object files must be created using
15408 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15409 # necessary to make sure instantiated templates are included
15411 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15414 # Green Hills C++ Compiler
15415 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15417 # The C++ compiler must be used to create the archive.
15418 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15421 # GNU C++ compiler with Solaris linker
15422 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15423 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
15424 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
15425 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15426 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15427 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15429 # Commands to make compiler produce verbose output that lists
15430 # what "hidden" libraries, object files and flags are used when
15431 # linking a shared library.
15432 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15434 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15436 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15437 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15438 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15440 # Commands to make compiler produce verbose output that lists
15441 # what "hidden" libraries, object files and flags are used when
15442 # linking a shared library.
15443 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15446 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
15448 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15450 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15458 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15459 no_undefined_flag_CXX
='${wl}-z,text'
15460 archive_cmds_need_lc_CXX
=no
15461 hardcode_shlibpath_var_CXX
=no
15462 runpath_var
='LD_RUN_PATH'
15464 case $cc_basename in
15466 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15467 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15470 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15471 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15476 sysv5
* | sco3.2v5
* | sco5v6
*)
15477 # Note: We can NOT use -z defs as we might desire, because we do not
15478 # link with -lc, and that would cause any symbols used from libc to
15479 # always be unresolved, which means just about no library would
15480 # ever link correctly. If we're not using GNU ld we use -z text
15481 # though, which does catch some bad symbols but isn't as heavy-handed
15483 no_undefined_flag_CXX
='${wl}-z,text'
15484 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15485 archive_cmds_need_lc_CXX
=no
15486 hardcode_shlibpath_var_CXX
=no
15487 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
15488 hardcode_libdir_separator_CXX
=':'
15489 link_all_deplibs_CXX
=yes
15490 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15491 runpath_var
='LD_RUN_PATH'
15493 case $cc_basename in
15495 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15496 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15499 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15500 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15506 case $cc_basename in
15508 # NonStop-UX NCC 3.20
15509 # FIXME: insert proper C++ library support
15513 # FIXME: insert proper C++ library support
15520 # FIXME: insert proper C++ library support
15525 # FIXME: insert proper C++ library support
15530 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15531 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15532 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15538 ## There is no encapsulation within the following macros, do not change
15539 ## the running order or otherwise move them around unless you know exactly
15540 ## what you are doing...
15541 # Dependencies to place before and after the object being linked:
15542 predep_objects_CXX
=
15543 postdep_objects_CXX
=
15546 compiler_lib_search_path_CXX
=
15548 cat > conftest.
$ac_ext <<_LT_EOF
15552 Foo (void) { a = 0; }
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; then
15563 # Parse the compiler output and extract the necessary
15564 # objects, libraries and library flags.
15566 # Sentinel used to keep track of whether or not we are before
15567 # the conftest object file.
15568 pre_test_object_deps_done
=no
15570 for p
in `eval "$output_verbose_link_cmd"`; do
15574 # Some compilers place space between "-{L,R}" and the path.
15575 # Remove the space.
15576 if test $p = "-L" ||
15577 test $p = "-R"; then
15584 if test "$pre_test_object_deps_done" = no
; then
15587 # Internal compiler library paths should come after those
15588 # provided the user. The postdeps already come after the
15589 # user supplied libs so there is no need to process them.
15590 if test -z "$compiler_lib_search_path_CXX"; then
15591 compiler_lib_search_path_CXX
="${prev}${p}"
15593 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15596 # The "-l" case would never come before the object being
15597 # linked, so don't bother handling this case.
15600 if test -z "$postdeps_CXX"; then
15601 postdeps_CXX
="${prev}${p}"
15603 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15609 # This assumes that the test object file only shows up
15610 # once in the compiler output.
15611 if test "$p" = "conftest.$objext"; then
15612 pre_test_object_deps_done
=yes
15616 if test "$pre_test_object_deps_done" = no
; then
15617 if test -z "$predep_objects_CXX"; then
15618 predep_objects_CXX
="$p"
15620 predep_objects_CXX
="$predep_objects_CXX $p"
15623 if test -z "$postdep_objects_CXX"; then
15624 postdep_objects_CXX
="$p"
15626 postdep_objects_CXX
="$postdep_objects_CXX $p"
15631 *) ;; # Ignore the rest.
15639 echo "libtool.m4: error: problem compiling CXX test program"
15642 $RM -f confest.
$objext
15644 # PORTME: override above test on systems where it is broken
15647 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15648 # hack all around it, let's just trust "g++" to DTRT.
15649 predep_objects_CXX
=
15650 postdep_objects_CXX
=
15655 case `$CC -V 2>&1 | sed 5q` in
15659 # The more standards-conforming stlport4 library is
15660 # incompatible with the Cstd library. Avoid specifying
15661 # it if it's in CXXFLAGS. Ignore libCrun as
15662 # -library=stlport4 depends on it.
15663 case " $CXX $CXXFLAGS " in
15664 *" -library=stlport4 "*)
15665 solaris_use_stlport4
=yes
15669 if test "$solaris_use_stlport4" != yes; then
15670 postdeps_CXX
='-library=Cstd -library=Crun'
15677 case $cc_basename in
15679 # The more standards-conforming stlport4 library is
15680 # incompatible with the Cstd library. Avoid specifying
15681 # it if it's in CXXFLAGS. Ignore libCrun as
15682 # -library=stlport4 depends on it.
15683 case " $CXX $CXXFLAGS " in
15684 *" -library=stlport4 "*)
15685 solaris_use_stlport4
=yes
15689 # Adding this requires a known-good setup of shared libraries for
15690 # Sun compiler versions before 5.6, else PIC objects from an old
15691 # archive will be linked into the output, leading to subtle bugs.
15692 if test "$solaris_use_stlport4" != yes; then
15693 postdeps_CXX
='-library=Cstd -library=Crun'
15701 case " $postdeps_CXX " in
15702 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15704 compiler_lib_search_dirs_CXX
=
15705 if test -n "${compiler_lib_search_path_CXX}"; then
15706 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15739 lt_prog_compiler_wl_CXX
=
15740 lt_prog_compiler_pic_CXX
=
15741 lt_prog_compiler_static_CXX
=
15743 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15744 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15746 # C++ specific cases for pic, static, wl, etc.
15747 if test "$GXX" = yes; then
15748 lt_prog_compiler_wl_CXX
='-Wl,'
15749 lt_prog_compiler_static_CXX
='-static'
15753 # All AIX code is PIC.
15754 if test "$host_cpu" = ia64
; then
15755 # AIX 5 now supports IA64 processor
15756 lt_prog_compiler_static_CXX
='-Bstatic'
15763 # see comment about AmigaOS4 .so support
15764 lt_prog_compiler_pic_CXX
='-fPIC'
15767 # FIXME: we need at least 68020 code to build shared libraries, but
15768 # adding the `-m68020' flag to GCC prevents building anything better,
15770 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15775 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15776 # PIC is the default for these OSes.
15778 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15779 # This hack is so that the source file can tell whether it is being
15780 # built for inclusion in a dll (and should export symbols for example).
15781 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15782 # (--disable-auto-import) libraries
15783 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15785 darwin
* | rhapsody
*)
15786 # PIC is the default on this platform
15787 # Common symbols not allowed in MH_DYLIB files
15788 lt_prog_compiler_pic_CXX
='-fno-common'
15791 # DJGPP does not support shared libraries at all
15792 lt_prog_compiler_pic_CXX
=
15795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15796 # Instead, we relocate shared libraries at runtime.
15799 if test -d /usr
/nec
; then
15800 lt_prog_compiler_pic_CXX
=-Kconform_pic
15804 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15805 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15806 # sets the default TLS model and affects inlining.
15811 lt_prog_compiler_pic_CXX
='-fPIC'
15816 # QNX uses GNU C++, but need to define -shared option too, otherwise
15817 # it will coredump.
15818 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15821 lt_prog_compiler_pic_CXX
='-fPIC'
15827 # All AIX code is PIC.
15828 if test "$host_cpu" = ia64
; then
15829 # AIX 5 now supports IA64 processor
15830 lt_prog_compiler_static_CXX
='-Bstatic'
15832 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15836 case $cc_basename in
15838 # Green Hills C++ Compiler
15839 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15844 case $cc_basename in
15846 lt_prog_compiler_pic_CXX
='-KPIC'
15849 # Green Hills C++ Compiler
15850 lt_prog_compiler_pic_CXX
='-pic'
15856 freebsd
* | dragonfly
*)
15857 # FreeBSD uses GNU C++
15859 hpux9
* | hpux10
* | hpux11
*)
15860 case $cc_basename in
15862 lt_prog_compiler_wl_CXX
='-Wl,'
15863 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15864 if test "$host_cpu" != ia64
; then
15865 lt_prog_compiler_pic_CXX
='+Z'
15869 lt_prog_compiler_wl_CXX
='-Wl,'
15870 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15876 lt_prog_compiler_pic_CXX
='+Z'
15885 # This is c89, which is MS Visual C++ (no shared libs)
15886 # Anyone wants to do a port?
15888 irix5
* | irix6
* | nonstopux
*)
15889 case $cc_basename in
15891 lt_prog_compiler_wl_CXX
='-Wl,'
15892 lt_prog_compiler_static_CXX
='-non_shared'
15893 # CC pic flag -KPIC is the default.
15899 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15900 case $cc_basename in
15903 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15904 lt_prog_compiler_pic_CXX
='-fPIC'
15907 # old Intel C++ for x86_64 which still supported -KPIC.
15908 lt_prog_compiler_wl_CXX
='-Wl,'
15909 lt_prog_compiler_pic_CXX
='-KPIC'
15910 lt_prog_compiler_static_CXX
='-static'
15913 # Intel C++, used to be incompatible with GCC.
15914 # ICC 10 doesn't accept -KPIC any more.
15915 lt_prog_compiler_wl_CXX
='-Wl,'
15916 lt_prog_compiler_pic_CXX
='-fPIC'
15917 lt_prog_compiler_static_CXX
='-static'
15920 # Portland Group C++ compiler
15921 lt_prog_compiler_wl_CXX
='-Wl,'
15922 lt_prog_compiler_pic_CXX
='-fpic'
15923 lt_prog_compiler_static_CXX
='-Bstatic'
15927 # Make sure the PIC flag is empty. It appears that all Alpha
15928 # Linux and Compaq Tru64 Unix objects are PIC.
15929 lt_prog_compiler_pic_CXX
=
15930 lt_prog_compiler_static_CXX
='-non_shared'
15933 # IBM XL 8.0 on PPC
15934 lt_prog_compiler_wl_CXX
='-Wl,'
15935 lt_prog_compiler_pic_CXX
='-qpic'
15936 lt_prog_compiler_static_CXX
='-qstaticlink'
15939 case `$CC -V 2>&1 | sed 5q` in
15942 lt_prog_compiler_pic_CXX
='-KPIC'
15943 lt_prog_compiler_static_CXX
='-Bstatic'
15944 lt_prog_compiler_wl_CXX
='-Qoption ld '
15955 case $cc_basename in
15957 lt_prog_compiler_pic_CXX
='-W c,exportall'
15966 # QNX uses GNU C++, but need to define -shared option too, otherwise
15967 # it will coredump.
15968 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15970 osf3
* | osf4
* | osf5
*)
15971 case $cc_basename in
15973 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15976 # Rational C++ 2.4.1
15977 lt_prog_compiler_pic_CXX
='-pic'
15980 # Digital/Compaq C++
15981 lt_prog_compiler_wl_CXX
='-Wl,'
15982 # Make sure the PIC flag is empty. It appears that all Alpha
15983 # Linux and Compaq Tru64 Unix objects are PIC.
15984 lt_prog_compiler_pic_CXX
=
15985 lt_prog_compiler_static_CXX
='-non_shared'
15994 case $cc_basename in
15996 # Sun C++ 4.2, 5.x and Centerline C++
15997 lt_prog_compiler_pic_CXX
='-KPIC'
15998 lt_prog_compiler_static_CXX
='-Bstatic'
15999 lt_prog_compiler_wl_CXX
='-Qoption ld '
16002 # Green Hills C++ Compiler
16003 lt_prog_compiler_pic_CXX
='-PIC'
16010 case $cc_basename in
16013 lt_prog_compiler_pic_CXX
='-pic'
16014 lt_prog_compiler_static_CXX
='-Bstatic'
16018 lt_prog_compiler_pic_CXX
='-pic'
16024 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16025 case $cc_basename in
16027 lt_prog_compiler_wl_CXX
='-Wl,'
16028 lt_prog_compiler_pic_CXX
='-KPIC'
16029 lt_prog_compiler_static_CXX
='-Bstatic'
16034 case $cc_basename in
16036 # NonStop-UX NCC 3.20
16037 lt_prog_compiler_pic_CXX
='-KPIC'
16046 lt_prog_compiler_can_build_shared_CXX
=no
16052 # For platforms which do not support PIC, -DPIC is meaningless:
16054 lt_prog_compiler_pic_CXX
=
16057 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16060 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16061 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
16066 # Check to make sure the PIC flag actually works.
16068 if test -n "$lt_prog_compiler_pic_CXX"; then
16069 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16070 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
16071 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 lt_cv_prog_compiler_pic_works_CXX
=no
16075 ac_outfile
=conftest.
$ac_objext
16076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16077 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16078 # Insert the option either (1) after the last *FLAGS variable, or
16079 # (2) before a word containing "conftest.", or (3) at the end.
16080 # Note that $ac_compile itself does not contain backslashes and begins
16081 # with a dollar sign (not a hyphen), so the echo should work correctly.
16082 # The option is referenced via a variable to avoid confusing sed.
16083 lt_compile
=`echo "$ac_compile" | $SED \
16084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16086 -e 's:$: $lt_compiler_flag:'`
16087 (eval echo "\"\$as_me:16087: $lt_compile\"" >&5)
16088 (eval "$lt_compile" 2>conftest.err
)
16090 cat conftest.err
>&5
16091 echo "$as_me:16091: \$? = $ac_status" >&5
16092 if (exit $ac_status) && test -s "$ac_outfile"; then
16093 # The compiler can only warn and ignore the option if not recognized
16094 # So say no if there are warnings other than the usual output.
16095 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16096 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16097 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16098 lt_cv_prog_compiler_pic_works_CXX
=yes
16104 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16105 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
16107 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16108 case $lt_prog_compiler_pic_CXX in
16110 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16113 lt_prog_compiler_pic_CXX
=
16114 lt_prog_compiler_can_build_shared_CXX
=no
16122 # Check to make sure the static flag actually works.
16124 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16125 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16126 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16127 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 lt_cv_prog_compiler_static_works_CXX
=no
16131 save_LDFLAGS
="$LDFLAGS"
16132 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16135 # The linker can only warn and ignore the option if not recognized
16136 # So say no if there are warnings
16137 if test -s conftest.err
; then
16138 # Append any errors to the config.log.
16139 cat conftest.err
1>&5
16140 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16142 if diff conftest.exp conftest.er2
>/dev
/null
; then
16143 lt_cv_prog_compiler_static_works_CXX
=yes
16146 lt_cv_prog_compiler_static_works_CXX
=yes
16150 LDFLAGS
="$save_LDFLAGS"
16153 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16154 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
16156 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16159 lt_prog_compiler_static_CXX
=
16165 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16166 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16167 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16168 echo $ECHO_N "(cached) $ECHO_C" >&6
16170 lt_cv_prog_compiler_c_o_CXX
=no
16171 $RM -r conftest
2>/dev
/null
16175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16177 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16178 # Insert the option either (1) after the last *FLAGS variable, or
16179 # (2) before a word containing "conftest.", or (3) at the end.
16180 # Note that $ac_compile itself does not contain backslashes and begins
16181 # with a dollar sign (not a hyphen), so the echo should work correctly.
16182 lt_compile
=`echo "$ac_compile" | $SED \
16183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16185 -e 's:$: $lt_compiler_flag:'`
16186 (eval echo "\"\$as_me:16186: $lt_compile\"" >&5)
16187 (eval "$lt_compile" 2>out
/conftest.err
)
16189 cat out
/conftest.err
>&5
16190 echo "$as_me:16190: \$? = $ac_status" >&5
16191 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16193 # The compiler can only warn and ignore the option if not recognized
16194 # So say no if there are warnings
16195 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16196 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16197 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16198 lt_cv_prog_compiler_c_o_CXX
=yes
16203 # SGI C++ compiler will create directory out/ii_files/ for
16204 # template instantiation
16205 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16206 $RM out
/* && rmdir out
16212 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16213 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16217 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16218 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16219 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16222 lt_cv_prog_compiler_c_o_CXX
=no
16223 $RM -r conftest
2>/dev
/null
16227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16229 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16230 # Insert the option either (1) after the last *FLAGS variable, or
16231 # (2) before a word containing "conftest.", or (3) at the end.
16232 # Note that $ac_compile itself does not contain backslashes and begins
16233 # with a dollar sign (not a hyphen), so the echo should work correctly.
16234 lt_compile
=`echo "$ac_compile" | $SED \
16235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16237 -e 's:$: $lt_compiler_flag:'`
16238 (eval echo "\"\$as_me:16238: $lt_compile\"" >&5)
16239 (eval "$lt_compile" 2>out
/conftest.err
)
16241 cat out
/conftest.err
>&5
16242 echo "$as_me:16242: \$? = $ac_status" >&5
16243 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16245 # The compiler can only warn and ignore the option if not recognized
16246 # So say no if there are warnings
16247 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16248 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16249 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16250 lt_cv_prog_compiler_c_o_CXX
=yes
16255 # SGI C++ compiler will create directory out/ii_files/ for
16256 # template instantiation
16257 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16258 $RM out
/* && rmdir out
16264 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16265 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16270 hard_links
="nottested"
16271 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16272 # do not overwrite the value of need_locks provided by the user
16273 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16274 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16279 ln conftest.a conftest.b
2>&5 || hard_links
=no
16280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16281 echo "$as_me:$LINENO: result: $hard_links" >&5
16282 echo "${ECHO_T}$hard_links" >&6
16283 if test "$hard_links" = no
; then
16284 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16285 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16294 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16295 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16297 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16300 # If we're using GNU nm, then we don't want the "-C" option.
16301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16302 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16303 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16305 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16309 export_symbols_cmds_CXX
="$ltdll_cmds"
16311 cygwin
* | mingw
* | cegcc
*)
16312 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16315 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16318 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16320 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16321 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16322 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16324 with_gnu_ld_CXX
=$with_gnu_ld
16332 # Do we need to explicitly link libc?
16334 case "x$archive_cmds_need_lc_CXX" in
16336 # Assume -lc should be added
16337 archive_cmds_need_lc_CXX
=yes
16339 if test "$enable_shared" = yes && test "$GCC" = yes; then
16340 case $archive_cmds_CXX in
16342 # FIXME: we may have to deal with multi-command sequences.
16345 # Test whether the compiler implicitly links with -lc since on some
16346 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16347 # to ld, don't add -lc before -lgcc.
16348 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16349 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16350 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16357 (eval $ac_compile) 2>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } 2>conftest.err
; then
16363 libobjs
=conftest.
$ac_objext
16365 wl
=$lt_prog_compiler_wl_CXX
16366 pic_flag
=$lt_prog_compiler_pic_CXX
16372 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16373 allow_undefined_flag_CXX
=
16374 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
16375 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }
16380 lt_cv_archive_cmds_need_lc_CXX
=no
16382 lt_cv_archive_cmds_need_lc_CXX
=yes
16384 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16386 cat conftest.err
1>&5
16391 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16392 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
16393 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
16463 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16464 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16466 library_names_spec
=
16467 libname_spec
='lib$name'
16471 postuninstall_cmds
=
16475 shlibpath_overrides_runpath
=unknown
16477 dynamic_linker
="$host_os ld.so"
16478 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16479 need_lib_prefix
=unknown
16480 hardcode_into_libs
=no
16482 # when you set need_version to no, make sure it does not cause -set_version
16483 # flags to be left without arguments
16484 need_version
=unknown
16489 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16490 shlibpath_var
=LIBPATH
16492 # AIX 3 has no versioning support, so we append a major version to the name.
16493 soname_spec
='${libname}${release}${shared_ext}$major'
16500 hardcode_into_libs
=yes
16501 if test "$host_cpu" = ia64
; then
16502 # AIX 5 supports IA64
16503 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16504 shlibpath_var
=LD_LIBRARY_PATH
16506 # With GCC up to 2.95.x, collect2 would create an import file
16507 # for dependence libraries. The import file would start with
16508 # the line `#! .'. This would cause the generated library to
16509 # depend on `.', always an invalid library. This was fixed in
16510 # development snapshots of GCC prior to 3.0.
16512 aix4 | aix4.
[01] | aix4.
[01].
*)
16513 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16515 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16518 can_build_shared
=no
16522 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16523 # soname into executable. Probably we can add versioning support to
16524 # collect2, so additional links can be useful in future.
16525 if test "$aix_use_runtimelinking" = yes; then
16526 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16527 # instead of lib<name>.a to let people know that these are not
16528 # typical AIX shared libraries.
16529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16531 # We preserve .a as extension for shared libraries through AIX4.2
16532 # and later when we are not doing run time linking.
16533 library_names_spec
='${libname}${release}.a $libname.a'
16534 soname_spec
='${libname}${release}${shared_ext}$major'
16536 shlibpath_var
=LIBPATH
16543 # Since July 2007 AmigaOS4 officially supports .so libraries.
16544 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16548 library_names_spec
='$libname.ixlibrary $libname.a'
16549 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16550 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16556 library_names_spec
='${libname}${shared_ext}'
16557 dynamic_linker
="$host_os ld.so"
16558 shlibpath_var
=LIBRARY_PATH
16564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16565 soname_spec
='${libname}${release}${shared_ext}$major'
16566 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16567 shlibpath_var
=LD_LIBRARY_PATH
16568 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16569 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16570 # the default ld.so.conf also contains /usr/contrib/lib and
16571 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16572 # libtool to hard-code these into programs
16575 cygwin
* | mingw
* | pw32
* | cegcc
*)
16576 version_type
=windows
16581 case $GCC,$host_os in
16582 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16583 library_names_spec
='$libname.dll.a'
16584 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16585 postinstall_cmds
='base_file=`basename \${file}`~
16586 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16587 dldir=$destdir/`dirname \$dlpath`~
16588 test -d \$dldir || mkdir -p \$dldir~
16589 $install_prog $dir/$dlname \$dldir/$dlname~
16590 chmod a+x \$dldir/$dlname~
16591 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16592 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16594 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16595 dlpath=$dir/\$dldll~
16597 shlibpath_overrides_runpath
=yes
16601 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16602 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16603 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16606 # MinGW DLLs use traditional 'lib' prefix
16607 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16608 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16609 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16610 # It is most probably a Windows format PATH printed by
16611 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16612 # path with ; separators, and with drive letters. We can handle the
16613 # drive letters (cygwin fileutils understands them), so leave them,
16614 # especially as we might pass files found there to a mingw objdump,
16615 # which wouldn't understand a cygwinified path. Ahh.
16616 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16618 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16622 # pw32 DLLs use 'pw' prefix rather than 'lib'
16623 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16629 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16632 dynamic_linker
='Win32 ld.exe'
16633 # FIXME: first we should search . and the directory the executable is in
16637 darwin
* | rhapsody
*)
16638 dynamic_linker
="$host_os dyld"
16639 version_type
=darwin
16642 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16643 soname_spec
='${libname}${release}${major}$shared_ext'
16644 shlibpath_overrides_runpath
=yes
16645 shlibpath_var
=DYLD_LIBRARY_PATH
16646 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16648 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16656 soname_spec
='${libname}${release}${shared_ext}$major'
16657 shlibpath_var
=LD_LIBRARY_PATH
16664 freebsd
* | dragonfly
*)
16665 # DragonFly does not have aout. When/if they implement a new
16666 # versioning mechanism, adjust this.
16667 if test -x /usr
/bin
/objformat
; then
16668 objformat
=`/usr/bin/objformat`
16671 freebsd
[123]*) objformat
=aout
;;
16672 *) objformat
=elf
;;
16675 version_type
=freebsd-
$objformat
16676 case $version_type in
16678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16683 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16687 shlibpath_var
=LD_LIBRARY_PATH
16690 shlibpath_overrides_runpath
=yes
16692 freebsd3.
[01]* | freebsdelf3.
[01]*)
16693 shlibpath_overrides_runpath
=yes
16694 hardcode_into_libs
=yes
16696 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16697 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16698 shlibpath_overrides_runpath
=no
16699 hardcode_into_libs
=yes
16701 *) # from 4.6 on, and DragonFly
16702 shlibpath_overrides_runpath
=yes
16703 hardcode_into_libs
=yes
16712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16713 soname_spec
='${libname}${release}${shared_ext}$major'
16714 shlibpath_var
=LD_LIBRARY_PATH
16715 hardcode_into_libs
=yes
16718 hpux9
* | hpux10
* | hpux11
*)
16719 # Give a soname corresponding to the major version so that dld.sl refuses to
16720 # link against other versions.
16727 hardcode_into_libs
=yes
16728 dynamic_linker
="$host_os dld.so"
16729 shlibpath_var
=LD_LIBRARY_PATH
16730 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 soname_spec
='${libname}${release}${shared_ext}$major'
16733 if test "X$HPUX_IA64_MODE" = X32
; then
16734 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16736 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16738 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16742 hardcode_into_libs
=yes
16743 dynamic_linker
="$host_os dld.sl"
16744 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16745 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16747 soname_spec
='${libname}${release}${shared_ext}$major'
16748 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16749 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16753 dynamic_linker
="$host_os dld.sl"
16754 shlibpath_var
=SHLIB_PATH
16755 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16757 soname_spec
='${libname}${release}${shared_ext}$major'
16760 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16761 postinstall_cmds
='chmod 555 $lib'
16768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16769 soname_spec
='${libname}${release}${shared_ext}$major'
16770 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16771 shlibpath_var
=LD_LIBRARY_PATH
16772 shlibpath_overrides_runpath
=no
16773 hardcode_into_libs
=yes
16776 irix5
* | irix6
* | nonstopux
*)
16778 nonstopux
*) version_type
=nonstopux
;;
16780 if test "$lt_cv_prog_gnu_ld" = yes; then
16788 soname_spec
='${libname}${release}${shared_ext}$major'
16789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16791 irix5
* | nonstopux
*)
16792 libsuff
= shlibsuff
=
16795 case $LD in # libtool.m4 will add one of these switches to LD
16796 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16797 libsuff
= shlibsuff
= libmagic
=32-bit;;
16798 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16799 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16800 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16801 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16802 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16806 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16807 shlibpath_overrides_runpath
=no
16808 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16809 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16810 hardcode_into_libs
=yes
16813 # No shared lib support for Linux oldld, aout, or coff.
16814 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16818 # This must be Linux ELF.
16819 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16824 soname_spec
='${libname}${release}${shared_ext}$major'
16825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16826 shlibpath_var
=LD_LIBRARY_PATH
16827 shlibpath_overrides_runpath
=no
16829 # Some binutils ld are patched to set DT_RUNPATH
16830 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 lt_cv_shlibpath_overrides_runpath
=no
16834 save_LDFLAGS
=$LDFLAGS
16835 save_libdir
=$libdir
16836 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16837 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16838 if test x
$gcc_no_link = xyes
; then
16839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16841 { (exit 1); exit 1; }; }
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16858 rm -f conftest.
$ac_objext conftest
$ac_exeext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16860 (eval $ac_link) 2>conftest.er1
16862 grep -v '^ *+' conftest.er1
>conftest.err
16864 cat conftest.err
>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try
='test -z "$ac_cxx_werror_flag"
16868 || test ! -s conftest.err'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; } &&
16874 { ac_try
='test -s conftest$ac_exeext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16880 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
16881 lt_cv_shlibpath_overrides_runpath
=yes
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.
$ac_ext >&5
16889 rm -f conftest.err conftest.
$ac_objext \
16890 conftest
$ac_exeext conftest.
$ac_ext
16891 LDFLAGS
=$save_LDFLAGS
16892 libdir
=$save_libdir
16896 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16898 # This implies no fast_install, which is unacceptable.
16899 # Some rework will be needed to allow for fast_install
16900 # before this can be enabled.
16901 hardcode_into_libs
=yes
16903 # Append ld.so.conf contents to the search path
16904 if test -f /etc
/ld.so.conf
; then
16905 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16906 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16909 # We used to test for /lib/ld.so.1 and disable shared libraries on
16910 # powerpc, because MkLinux only supported shared libraries with the
16911 # GNU dynamic linker. Since this was broken with cross compilers,
16912 # most powerpc-linux boxes support dynamic linking these days and
16913 # people can always --disable-shared, the test was removed, and we
16914 # assume the GNU/Linux dynamic linker is in use.
16915 dynamic_linker
='GNU/Linux ld.so'
16922 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16924 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16925 dynamic_linker
='NetBSD (a.out) ld.so'
16927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16928 soname_spec
='${libname}${release}${shared_ext}$major'
16929 dynamic_linker
='NetBSD ld.elf_so'
16931 shlibpath_var
=LD_LIBRARY_PATH
16932 shlibpath_overrides_runpath
=yes
16933 hardcode_into_libs
=yes
16938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16939 shlibpath_var
=LD_LIBRARY_PATH
16940 shlibpath_overrides_runpath
=yes
16947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16948 soname_spec
='${libname}${release}${shared_ext}$major'
16949 shlibpath_var
=LD_LIBRARY_PATH
16950 shlibpath_overrides_runpath
=no
16951 hardcode_into_libs
=yes
16952 dynamic_linker
='ldqnx.so'
16957 sys_lib_dlsearch_path_spec
="/usr/lib"
16959 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16961 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16962 *) need_version
=no
;;
16964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16965 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16966 shlibpath_var
=LD_LIBRARY_PATH
16967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16969 openbsd2.
[89] | openbsd2.
[89].
*)
16970 shlibpath_overrides_runpath
=no
16973 shlibpath_overrides_runpath
=yes
16977 shlibpath_overrides_runpath
=yes
16982 libname_spec
='$name'
16985 library_names_spec
='$libname${shared_ext} $libname.a'
16986 dynamic_linker
='OS/2 ld.exe'
16987 shlibpath_var
=LIBPATH
16990 osf3
* | osf4
* | osf5
*)
16994 soname_spec
='${libname}${release}${shared_ext}$major'
16995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16996 shlibpath_var
=LD_LIBRARY_PATH
16997 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16998 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17010 soname_spec
='${libname}${release}${shared_ext}$major'
17011 shlibpath_var
=LD_LIBRARY_PATH
17012 shlibpath_overrides_runpath
=yes
17013 hardcode_into_libs
=yes
17014 # ldd complains unless libraries are executable
17015 postinstall_cmds
='chmod +x $lib'
17020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17021 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17022 shlibpath_var
=LD_LIBRARY_PATH
17023 shlibpath_overrides_runpath
=yes
17024 if test "$with_gnu_ld" = yes; then
17032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17033 soname_spec
='${libname}${release}${shared_ext}$major'
17034 shlibpath_var
=LD_LIBRARY_PATH
17035 case $host_vendor in
17037 shlibpath_overrides_runpath
=no
17039 runpath_var
=LD_RUN_PATH
17047 shlibpath_overrides_runpath
=no
17048 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17054 if test -d /usr
/nec
;then
17056 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17057 soname_spec
='$libname${shared_ext}.$major'
17058 shlibpath_var
=LD_LIBRARY_PATH
17062 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17063 version_type
=freebsd-elf
17066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17067 soname_spec
='${libname}${release}${shared_ext}$major'
17068 shlibpath_var
=LD_LIBRARY_PATH
17069 shlibpath_overrides_runpath
=yes
17070 hardcode_into_libs
=yes
17071 if test "$with_gnu_ld" = yes; then
17072 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17074 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17077 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17081 sys_lib_dlsearch_path_spec
='/usr/lib'
17085 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17090 shlibpath_var
=LD_LIBRARY_PATH
17091 shlibpath_overrides_runpath
=no
17092 hardcode_into_libs
=yes
17097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17098 soname_spec
='${libname}${release}${shared_ext}$major'
17099 shlibpath_var
=LD_LIBRARY_PATH
17106 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17107 echo "${ECHO_T}$dynamic_linker" >&6
17108 test "$dynamic_linker" = no
&& can_build_shared
=no
17110 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17111 if test "$GCC" = yes; then
17112 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17115 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17116 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17118 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17119 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17157 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17158 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17159 hardcode_action_CXX
=
17160 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17161 test -n "$runpath_var_CXX" ||
17162 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17164 # We can hardcode non-existent directories.
17165 if test "$hardcode_direct_CXX" != no
&&
17166 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17167 # have to relink, otherwise we might link with an installed library
17168 # when we should be linking with a yet-to-be-installed one
17169 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17170 test "$hardcode_minus_L_CXX" != no
; then
17171 # Linking always hardcodes the temporary library directory.
17172 hardcode_action_CXX
=relink
17174 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17175 hardcode_action_CXX
=immediate
17178 # We cannot hardcode anything, or else we can only hardcode existing
17180 hardcode_action_CXX
=unsupported
17182 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17183 echo "${ECHO_T}$hardcode_action_CXX" >&6
17185 if test "$hardcode_action_CXX" = relink ||
17186 test "$inherit_rpath_CXX" = yes; then
17187 # Fast installation is not supported
17188 enable_fast_install
=no
17189 elif test "$shlibpath_overrides_runpath" = yes ||
17190 test "$enable_shared" = no
; then
17191 # Fast installation is not necessary
17192 enable_fast_install
=needless
17201 fi # test -n "$compiler"
17207 with_gnu_ld
=$lt_save_with_gnu_ld
17208 lt_cv_path_LDCXX
=$lt_cv_path_LD
17209 lt_cv_path_LD
=$lt_save_path_LD
17210 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17211 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17212 fi # test "$_lt_caught_CXX_error" != yes
17215 ac_cpp
='$CPP $CPPFLAGS'
17216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17222 # Handle -Werror default case.
17223 if test "$ENABLE_WERROR" = default
; then
17226 if test "$GCC" = yes; then
17233 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
17234 # Extract the first word of "perl", so it can be a program name with args.
17235 set dummy perl
; ac_word
=$2
17236 echo "$as_me:$LINENO: checking for $ac_word" >&5
17237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17238 if test "${ac_cv_path_PERL+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
17246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17247 for as_dir
in $PATH
17250 test -z "$as_dir" && as_dir
=.
17251 for ac_exec_ext
in '' $ac_executable_extensions; do
17252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17253 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
17254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17263 PERL
=$ac_cv_path_PERL
17265 if test -n "$PERL"; then
17266 echo "$as_me:$LINENO: result: $PERL" >&5
17267 echo "${ECHO_T}$PERL" >&6
17269 echo "$as_me:$LINENO: result: no" >&5
17270 echo "${ECHO_T}no" >&6
17275 ac_config_files
="$ac_config_files lib/mkcollections.pl"
17277 ac_config_commands
="$ac_config_commands mkcollections.pl"
17281 if test "x${COMPILE_JNI}" = xyes
; then
17285 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
17286 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
17287 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17301 extern int testfunction(int x) __attribute__((,,))
17306 rm -f conftest.
$ac_objext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17308 (eval $ac_compile) 2>conftest.er1
17310 grep -v '^ *+' conftest.er1
>conftest.err
17312 cat conftest.err
>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try
='test -z "$ac_c_werror_flag"
17316 || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 gcc_cv_c_gcc_attribute_supported
=yes
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 gcc_cv_c_gcc_attribute_supported
=no
17335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
17341 echo "$as_me:$LINENO: result: yes" >&5
17342 echo "${ECHO_T}yes" >&6
17344 cat >>confdefs.h
<<\_ACEOF
17345 #define HAVE_GNUC25_ATTRIB
17351 echo "$as_me:$LINENO: result: no" >&5
17352 echo "${ECHO_T}no" >&6
17365 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
17366 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
17367 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 cat >conftest.
$ac_ext <<_ACEOF
17374 cat confdefs.h
>>conftest.
$ac_ext
17375 cat >>conftest.
$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17381 extern int testfunction(int x) __attribute__((unused))
17386 rm -f conftest.
$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17390 grep -v '^ *+' conftest.er1
>conftest.err
17392 cat conftest.err
>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try
='test -z "$ac_c_werror_flag"
17396 || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try
='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 gcc_cv_c_gcc_attribute_unused
=yes
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 gcc_cv_c_gcc_attribute_unused
=no
17415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
17421 echo "$as_me:$LINENO: result: yes" >&5
17422 echo "${ECHO_T}yes" >&6
17424 cat >>confdefs.h
<<\_ACEOF
17425 #define HAVE_GNUC25_UNUSED
17431 echo "$as_me:$LINENO: result: no" >&5
17432 echo "${ECHO_T}no" >&6
17441 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17442 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
17443 if test "${ac_cv_header_stdc+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 cat >conftest.
$ac_ext <<_ACEOF
17449 cat confdefs.h
>>conftest.
$ac_ext
17450 cat >>conftest.
$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17452 #include <stdlib.h>
17453 #include <stdarg.h>
17454 #include <string.h>
17465 rm -f conftest.
$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>conftest.er1
17469 grep -v '^ *+' conftest.er1
>conftest.err
17471 cat conftest.err
>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } &&
17474 { ac_try
='test -z "$ac_c_werror_flag"
17475 || test ! -s conftest.err'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; } &&
17481 { ac_try
='test -s conftest.$ac_objext'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; }; then
17487 ac_cv_header_stdc
=yes
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.
$ac_ext >&5
17492 ac_cv_header_stdc
=no
17494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17496 if test $ac_cv_header_stdc = yes; then
17497 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17498 cat >conftest.
$ac_ext <<_ACEOF
17501 cat confdefs.h
>>conftest.
$ac_ext
17502 cat >>conftest.
$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 #include <string.h>
17507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17508 $EGREP "memchr" >/dev
/null
2>&1; then
17511 ac_cv_header_stdc
=no
17517 if test $ac_cv_header_stdc = yes; then
17518 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #include <stdlib.h>
17528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17529 $EGREP "free" >/dev
/null
2>&1; then
17532 ac_cv_header_stdc
=no
17538 if test $ac_cv_header_stdc = yes; then
17539 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17540 if test "$cross_compiling" = yes; then
17543 cat >conftest.
$ac_ext <<_ACEOF
17546 cat confdefs.h
>>conftest.
$ac_ext
17547 cat >>conftest.
$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17550 #if ((' ' & 0x0FF) == 0x020)
17551 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17552 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17554 # define ISLOWER(c) \
17555 (('a' <= (c) && (c) <= 'i') \
17556 || ('j' <= (c) && (c) <= 'r') \
17557 || ('s' <= (c) && (c) <= 'z'))
17558 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17561 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17566 for (i = 0; i < 256; i++)
17567 if (XOR (islower (i), ISLOWER (i))
17568 || toupper (i) != TOUPPER (i))
17573 rm -f conftest
$ac_exeext
17574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17575 (eval $ac_link) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17586 echo "$as_me: program exited with status $ac_status" >&5
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.
$ac_ext >&5
17590 ( exit $ac_status )
17591 ac_cv_header_stdc
=no
17593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17597 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17598 echo "${ECHO_T}$ac_cv_header_stdc" >&6
17599 if test $ac_cv_header_stdc = yes; then
17601 cat >>confdefs.h
<<\_ACEOF
17602 #define STDC_HEADERS 1
17608 echo "$as_me:$LINENO: checking size of void *" >&5
17609 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17610 if test "${ac_cv_sizeof_void_p+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
17614 cat >conftest.
$ac_ext <<_ACEOF
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 #include "confdefs.h"
17621 #include <sys/types.h>
17627 switch (0) case 0: case (sizeof (void *) == $ac_size):;
17632 rm -f conftest.
$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17636 grep -v '^ *+' conftest.er1
>conftest.err
17638 cat conftest.err
>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try
='test -z "$ac_c_werror_flag"
17642 || test ! -s conftest.err'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; } &&
17648 { ac_try
='test -s conftest.$ac_objext'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 ac_cv_sizeof_void_p
=$ac_size
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.
$ac_ext >&5
17660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17661 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
17666 if test x
$ac_cv_sizeof_void_p = x
; then
17667 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
17668 echo "$as_me: error: cannot determine a size for void *" >&2;}
17669 { (exit 1); exit 1; }; }
17671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17672 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17674 cat >>confdefs.h
<<_ACEOF
17675 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17680 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17682 if test "${ac_cv_c_bigendian+set}" = set; then
17683 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 ac_cv_c_bigendian
=unknown
17686 # See if sys/param.h defines the BYTE_ORDER macro.
17687 cat >conftest.
$ac_ext <<_ACEOF
17690 cat confdefs.h
>>conftest.
$ac_ext
17691 cat >>conftest.
$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693 #include <sys/types.h>
17694 #include <sys/param.h>
17699 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17700 bogus endian macros
17706 rm -f conftest.
$ac_objext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try
='test -z "$ac_c_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try
='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17728 # It does; now see whether it defined to BIG_ENDIAN or not.
17729 cat >conftest.
$ac_ext <<_ACEOF
17732 cat confdefs.h
>>conftest.
$ac_ext
17733 cat >>conftest.
$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 #include <sys/types.h>
17736 #include <sys/param.h>
17741 #if BYTE_ORDER != BIG_ENDIAN
17748 rm -f conftest.
$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1
>conftest.err
17754 cat conftest.err
>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try
='test -z "$ac_c_werror_flag"
17758 || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try
='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 ac_cv_c_bigendian
=yes
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.
$ac_ext >&5
17775 ac_cv_c_bigendian
=no
17777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.
$ac_ext >&5
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17784 if test $ac_cv_c_bigendian = unknown
; then
17785 if test "$cross_compiling" = yes; then
17786 echo $ac_n "cross-compiling... " 2>&6
17788 cat >conftest.
$ac_ext <<_ACEOF
17791 cat confdefs.h
>>conftest.
$ac_ext
17792 cat >>conftest.
$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17795 /* Are we little or big endian? From Harbison&Steele. */
17799 char c[sizeof (long)];
17802 exit (u.c[sizeof (long) - 1] == 1);
17805 rm -f conftest
$ac_exeext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17807 (eval $ac_link) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_cv_c_bigendian
=no
17818 echo "$as_me: program exited with status $ac_status" >&5
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.
$ac_ext >&5
17822 ( exit $ac_status )
17823 ac_cv_c_bigendian
=yes
17825 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17829 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17830 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17831 if test $ac_cv_c_bigendian = unknown
; then
17832 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
17833 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
17835 cat >conftest.c
<<EOF
17836 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17837 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17838 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
17839 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17840 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17841 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17842 int main() { _ascii (); _ebcdic (); return 0; }
17844 if test -f conftest.c
; then
17845 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
17846 if test `grep -l BIGenDianSyS conftest.o` ; then
17847 echo $ac_n ' big endian probe OK, ' 1>&6
17848 ac_cv_c_bigendian
=yes
17850 if test `grep -l LiTTleEnDian conftest.o` ; then
17851 echo $ac_n ' little endian probe OK, ' 1>&6
17852 if test $ac_cv_c_bigendian = yes ; then
17853 ac_cv_c_bigendian
=unknown
;
17855 ac_cv_c_bigendian
=no
17858 echo $ac_n 'guessing bigendian ... ' >&6
17861 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17862 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17864 if test $ac_cv_c_bigendian = yes; then
17866 cat >>confdefs.h
<<\_ACEOF
17867 #define WORDS_BIGENDIAN 1
17871 cat >>confdefs.h
<<\_ACEOF
17872 #define HOST_WORDS_BIG_ENDIAN 1
17880 cat >>confdefs.h
<<_ACEOF
17881 #define BYTEORDER $BYTEORDER
17884 if test $ac_cv_c_bigendian = unknown
; then
17885 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
17886 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
17887 { (exit 1); exit 1; }; }
17915 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17917 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17924 sys
/event.h sys
/epoll.h \
17926 netinet
/in_systm.h netinet
/ip.h net
/if.h \
17927 sys
/loadavg.h sys
/sockio.h
17929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17931 echo "$as_me:$LINENO: checking for $ac_header" >&5
17932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17939 # Is the header compilable?
17940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 cat confdefs.h
>>conftest.
$ac_ext
17946 cat >>conftest.
$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17949 #include <$ac_header>
17951 rm -f conftest.
$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17955 grep -v '^ *+' conftest.er1
>conftest.err
17957 cat conftest.err
>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try
='test -z "$ac_c_werror_flag"
17961 || test ! -s conftest.err'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try
='test -s conftest.$ac_objext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_header_compiler
=yes
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.
$ac_ext >&5
17978 ac_header_compiler
=no
17980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17982 echo "${ECHO_T}$ac_header_compiler" >&6
17984 # Is the header present?
17985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 #include <$ac_header>
17995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17998 grep -v '^ *+' conftest.er1
>conftest.err
18000 cat conftest.err
>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } >/dev
/null
; then
18003 if test -s conftest.err
; then
18004 ac_cpp_err
=$ac_c_preproc_warn_flag
18005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18012 if test -z "$ac_cpp_err"; then
18013 ac_header_preproc
=yes
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 ac_header_preproc
=no
18020 rm -f conftest.err conftest.
$ac_ext
18021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18022 echo "${ECHO_T}$ac_header_preproc" >&6
18024 # So? What about this header?
18025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18031 ac_header_preproc
=yes
18034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18048 ## -------------------------------- ##
18049 ## Report this to classpath@gnu.org ##
18050 ## -------------------------------- ##
18053 sed "s/^/$as_me: WARNING: /" >&2
18056 echo "$as_me:$LINENO: checking for $ac_header" >&5
18057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18059 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 eval "$as_ac_Header=\$ac_header_preproc"
18063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18068 cat >>confdefs.h
<<_ACEOF
18069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18077 cat >conftest.
$ac_ext <<_ACEOF
18080 cat confdefs.h
>>conftest.
$ac_ext
18081 cat >>conftest.
$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 #include <stdint.h>
18086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18087 $EGREP "uint32_t" >/dev
/null
2>&1; then
18089 cat >>confdefs.h
<<\_ACEOF
18090 #define HAVE_INT32_DEFINED 1
18096 cat >conftest.
$ac_ext <<_ACEOF
18099 cat confdefs.h
>>conftest.
$ac_ext
18100 cat >>conftest.
$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #include <inttypes.h>
18105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18106 $EGREP "uint32_t" >/dev
/null
2>&1; then
18108 cat >>confdefs.h
<<\_ACEOF
18109 #define HAVE_INT32_DEFINED 1
18115 cat >conftest.
$ac_ext <<_ACEOF
18118 cat confdefs.h
>>conftest.
$ac_ext
18119 cat >>conftest.
$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121 #include <sys/types.h>
18124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18125 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18127 cat >>confdefs.h
<<\_ACEOF
18128 #define HAVE_BSD_INT32_DEFINED 1
18134 cat >conftest.
$ac_ext <<_ACEOF
18137 cat confdefs.h
>>conftest.
$ac_ext
18138 cat >>conftest.
$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 #include <sys/config.h>
18143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18144 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18146 cat >>confdefs.h
<<\_ACEOF
18147 #define HAVE_BSD_INT32_DEFINED 1
18154 echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
18155 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6
18156 if test "${ac_cv_search_inet_pton+set}" = set; then
18157 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 ac_func_search_save_LIBS
=$LIBS
18160 ac_cv_search_inet_pton
=no
18161 if test x
$gcc_no_link = xyes
; then
18162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18164 { (exit 1); exit 1; }; }
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18173 /* Override any gcc2 internal prototype to avoid an error. */
18177 /* We use char because int might match the return type of a gcc2
18178 builtin and then its argument prototype would still apply. */
18188 rm -f conftest.
$ac_objext conftest
$ac_exeext
18189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18190 (eval $ac_link) 2>conftest.er1
18192 grep -v '^ *+' conftest.er1
>conftest.err
18194 cat conftest.err
>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); } &&
18197 { ac_try
='test -z "$ac_c_werror_flag"
18198 || test ! -s conftest.err'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; } &&
18204 { ac_try
='test -s conftest$ac_exeext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18210 ac_cv_search_inet_pton
="none required"
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18216 rm -f conftest.err conftest.
$ac_objext \
18217 conftest
$ac_exeext conftest.
$ac_ext
18218 if test "$ac_cv_search_inet_pton" = no
; then
18219 for ac_lib
in nsl
; do
18220 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18221 if test x
$gcc_no_link = xyes
; then
18222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18224 { (exit 1); exit 1; }; }
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18233 /* Override any gcc2 internal prototype to avoid an error. */
18237 /* We use char because int might match the return type of a gcc2
18238 builtin and then its argument prototype would still apply. */
18248 rm -f conftest.
$ac_objext conftest
$ac_exeext
18249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18250 (eval $ac_link) 2>conftest.er1
18252 grep -v '^ *+' conftest.er1
>conftest.err
18254 cat conftest.err
>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } &&
18257 { ac_try
='test -z "$ac_c_werror_flag"
18258 || test ! -s conftest.err'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; } &&
18264 { ac_try
='test -s conftest$ac_exeext'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; }; then
18270 ac_cv_search_inet_pton
="-l$ac_lib"
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18277 rm -f conftest.err conftest.
$ac_objext \
18278 conftest
$ac_exeext conftest.
$ac_ext
18281 LIBS
=$ac_func_search_save_LIBS
18283 echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
18284 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6
18285 if test "$ac_cv_search_inet_pton" != no
; then
18286 test "$ac_cv_search_inet_pton" = "none required" || LIBS
="$ac_cv_search_inet_pton $LIBS"
18291 echo "$as_me:$LINENO: checking for gethostname in -lsocket" >&5
18292 echo $ECHO_N "checking for gethostname in -lsocket... $ECHO_C" >&6
18293 if test "${ac_cv_lib_socket_gethostname+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 ac_check_lib_save_LIBS
=$LIBS
18297 LIBS
="-lsocket $LIBS"
18298 if test x
$gcc_no_link = xyes
; then
18299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18301 { (exit 1); exit 1; }; }
18303 cat >conftest.
$ac_ext <<_ACEOF
18306 cat confdefs.h
>>conftest.
$ac_ext
18307 cat >>conftest.
$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18310 /* Override any gcc2 internal prototype to avoid an error. */
18314 /* We use char because int might match the return type of a gcc2
18315 builtin and then its argument prototype would still apply. */
18316 char gethostname ();
18325 rm -f conftest.
$ac_objext conftest
$ac_exeext
18326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18327 (eval $ac_link) 2>conftest.er1
18329 grep -v '^ *+' conftest.er1
>conftest.err
18331 cat conftest.err
>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } &&
18334 { ac_try
='test -z "$ac_c_werror_flag"
18335 || test ! -s conftest.err'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; } &&
18341 { ac_try
='test -s conftest$ac_exeext'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; }; then
18347 ac_cv_lib_socket_gethostname
=yes
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.
$ac_ext >&5
18352 ac_cv_lib_socket_gethostname
=no
18354 rm -f conftest.err conftest.
$ac_objext \
18355 conftest
$ac_exeext conftest.
$ac_ext
18356 LIBS
=$ac_check_lib_save_LIBS
18358 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostname" >&5
18359 echo "${ECHO_T}$ac_cv_lib_socket_gethostname" >&6
18360 if test $ac_cv_lib_socket_gethostname = yes; then
18361 cat >>confdefs.h
<<_ACEOF
18362 #define HAVE_LIBSOCKET 1
18365 LIBS
="-lsocket $LIBS"
18425 for ac_func
in ftruncate fsync
select \
18426 gethostname socket strerror fork pipe execve open close \
18427 lseek fstat
read readv
write writev htonl memset htons connect \
18428 getsockname getpeername
bind listen accept \
18429 recvfrom send sendto setsockopt getsockopt
time mktime \
18430 gethostbyname_r localtime_r \
18434 mmap munmap mincore msync madvise getpagesize sysconf \
18436 inet_aton inet_addr inet_pton \
18437 getifaddrs kqueue kevent epoll_create \
18440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18441 echo "$as_me:$LINENO: checking for $ac_func" >&5
18442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18443 if eval "test \"\${$as_ac_var+set}\" = set"; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 if test x
$gcc_no_link = xyes
; then
18447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18449 { (exit 1); exit 1; }; }
18451 cat >conftest.
$ac_ext <<_ACEOF
18454 cat confdefs.h
>>conftest.
$ac_ext
18455 cat >>conftest.
$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18459 #define $ac_func innocuous_$ac_func
18461 /* System header to define __stub macros and hopefully few prototypes,
18462 which can conflict with char $ac_func (); below.
18463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18464 <limits.h> exists even on freestanding compilers. */
18467 # include <limits.h>
18469 # include <assert.h>
18474 /* Override any gcc2 internal prototype to avoid an error. */
18479 /* We use char because int might match the return type of a gcc2
18480 builtin and then its argument prototype would still apply. */
18482 /* The GNU C library defines this for functions which it implements
18483 to always fail with ENOSYS. Some functions are actually named
18484 something starting with __ and the normal name is an alias. */
18485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18488 char (*f) () = $ac_func;
18497 return f != $ac_func;
18502 rm -f conftest.
$ac_objext conftest
$ac_exeext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18504 (eval $ac_link) 2>conftest.er1
18506 grep -v '^ *+' conftest.er1
>conftest.err
18508 cat conftest.err
>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try
='test -z "$ac_c_werror_flag"
18512 || test ! -s conftest.err'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try
='test -s conftest$ac_exeext'
18519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18520 (eval $ac_try) 2>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 eval "$as_ac_var=yes"
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.
$ac_ext >&5
18529 eval "$as_ac_var=no"
18531 rm -f conftest.err conftest.
$ac_objext \
18532 conftest
$ac_exeext conftest.
$ac_ext
18534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18536 if test `eval echo '${'$as_ac_var'}'` = yes; then
18537 cat >>confdefs.h
<<_ACEOF
18538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18546 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
18547 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
18548 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 ac_check_lib_save_LIBS
=$LIBS
18552 LIBS
="-lmagic $LIBS"
18553 if test x
$gcc_no_link = xyes
; then
18554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18556 { (exit 1); exit 1; }; }
18558 cat >conftest.
$ac_ext <<_ACEOF
18561 cat confdefs.h
>>conftest.
$ac_ext
18562 cat >>conftest.
$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18565 /* Override any gcc2 internal prototype to avoid an error. */
18569 /* We use char because int might match the return type of a gcc2
18570 builtin and then its argument prototype would still apply. */
18571 char magic_open ();
18580 rm -f conftest.
$ac_objext conftest
$ac_exeext
18581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18582 (eval $ac_link) 2>conftest.er1
18584 grep -v '^ *+' conftest.er1
>conftest.err
18586 cat conftest.err
>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try
='test -z "$ac_c_werror_flag"
18590 || test ! -s conftest.err'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; } &&
18596 { ac_try
='test -s conftest$ac_exeext'
18597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18598 (eval $ac_try) 2>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); }; }; then
18602 ac_cv_lib_magic_magic_open
=yes
18604 echo "$as_me: failed program was:" >&5
18605 sed 's/^/| /' conftest.
$ac_ext >&5
18607 ac_cv_lib_magic_magic_open
=no
18609 rm -f conftest.err conftest.
$ac_objext \
18610 conftest
$ac_exeext conftest.
$ac_ext
18611 LIBS
=$ac_check_lib_save_LIBS
18613 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
18614 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
18615 if test $ac_cv_lib_magic_magic_open = yes; then
18621 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
18622 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 #include <netinet/in.h>
18633 struct sockaddr_in6 addr6;
18638 rm -f conftest.
$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18642 grep -v '^ *+' conftest.er1
>conftest.err
18644 cat conftest.err
>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try
='test -z "$ac_c_werror_flag"
18648 || test ! -s conftest.err'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; } &&
18654 { ac_try
='test -s conftest.$ac_objext'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; }; then
18661 cat >>confdefs.h
<<\_ACEOF
18662 #define HAVE_INET6 1
18665 echo "$as_me:$LINENO: result: yes" >&5
18666 echo "${ECHO_T}yes" >&6
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.
$ac_ext >&5
18671 echo "$as_me:$LINENO: result: no" >&5
18672 echo "${ECHO_T}no" >&6
18674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18676 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18677 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
18678 if test "${ac_cv_header_time+set}" = set; then
18679 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 cat >conftest.
$ac_ext <<_ACEOF
18684 cat confdefs.h
>>conftest.
$ac_ext
18685 cat >>conftest.
$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18687 #include <sys/types.h>
18688 #include <sys/time.h>
18694 if ((struct tm *) 0)
18700 rm -f conftest.
$ac_objext
18701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18702 (eval $ac_compile) 2>conftest.er1
18704 grep -v '^ *+' conftest.er1
>conftest.err
18706 cat conftest.err
>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } &&
18709 { ac_try
='test -z "$ac_c_werror_flag"
18710 || test ! -s conftest.err'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; } &&
18716 { ac_try
='test -s conftest.$ac_objext'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; }; then
18722 ac_cv_header_time
=yes
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.
$ac_ext >&5
18727 ac_cv_header_time
=no
18729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18731 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18732 echo "${ECHO_T}$ac_cv_header_time" >&6
18733 if test $ac_cv_header_time = yes; then
18735 cat >>confdefs.h
<<\_ACEOF
18736 #define TIME_WITH_SYS_TIME 1
18741 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
18742 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
18743 if test "${ac_cv_struct_tm+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <sys/types.h>
18758 struct tm *tp; tp->tm_sec;
18763 rm -f conftest.
$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try
='test -z "$ac_c_werror_flag"
18773 || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try
='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_struct_tm
=time.h
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_cv_struct_tm
=sys
/time.h
18792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18794 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
18795 echo "${ECHO_T}$ac_cv_struct_tm" >&6
18796 if test $ac_cv_struct_tm = sys
/time.h
; then
18798 cat >>confdefs.h
<<\_ACEOF
18799 #define TM_IN_SYS_TIME 1
18804 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
18805 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
18806 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 cat >conftest.
$ac_ext <<_ACEOF
18812 cat confdefs.h
>>conftest.
$ac_ext
18813 cat >>conftest.
$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 #include <sys/types.h>
18816 #include <$ac_cv_struct_tm>
18822 static struct tm ac_aggr;
18823 if (ac_aggr.tm_zone)
18829 rm -f conftest.
$ac_objext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18831 (eval $ac_compile) 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } &&
18838 { ac_try
='test -z "$ac_c_werror_flag"
18839 || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try
='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 ac_cv_member_struct_tm_tm_zone
=yes
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18863 #include <$ac_cv_struct_tm>
18869 static struct tm ac_aggr;
18870 if (sizeof ac_aggr.tm_zone)
18876 rm -f conftest.
$ac_objext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18878 (eval $ac_compile) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1
>conftest.err
18882 cat conftest.err
>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try
='test -z "$ac_c_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try
='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_cv_member_struct_tm_tm_zone
=yes
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_cv_member_struct_tm_tm_zone
=no
18905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18909 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18910 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
18911 if test $ac_cv_member_struct_tm_tm_zone = yes; then
18913 cat >>confdefs.h
<<_ACEOF
18914 #define HAVE_STRUCT_TM_TM_ZONE 1
18920 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
18922 cat >>confdefs.h
<<\_ACEOF
18923 #define HAVE_TM_ZONE 1
18927 echo "$as_me:$LINENO: checking for tzname" >&5
18928 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
18929 if test "${ac_cv_var_tzname+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 if test x
$gcc_no_link = xyes
; then
18933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18935 { (exit 1); exit 1; }; }
18937 cat >conftest.
$ac_ext <<_ACEOF
18940 cat confdefs.h
>>conftest.
$ac_ext
18941 cat >>conftest.
$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18944 #ifndef tzname /* For SGI. */
18945 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
18956 rm -f conftest.
$ac_objext conftest
$ac_exeext
18957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18958 (eval $ac_link) 2>conftest.er1
18960 grep -v '^ *+' conftest.er1
>conftest.err
18962 cat conftest.err
>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } &&
18965 { ac_try
='test -z "$ac_c_werror_flag"
18966 || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try
='test -s conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_var_tzname
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 ac_cv_var_tzname
=no
18985 rm -f conftest.err conftest.
$ac_objext \
18986 conftest
$ac_exeext conftest.
$ac_ext
18988 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
18989 echo "${ECHO_T}$ac_cv_var_tzname" >&6
18990 if test $ac_cv_var_tzname = yes; then
18992 cat >>confdefs.h
<<\_ACEOF
18993 #define HAVE_TZNAME 1
19000 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
19001 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
19002 cat >conftest.
$ac_ext <<_ACEOF
19005 cat confdefs.h
>>conftest.
$ac_ext
19006 cat >>conftest.
$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19012 struct tm tim; tim.tm_gmtoff = 0;
19017 rm -f conftest.
$ac_objext
19018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19019 (eval $ac_compile) 2>conftest.er1
19021 grep -v '^ *+' conftest.er1
>conftest.err
19023 cat conftest.err
>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } &&
19026 { ac_try
='test -z "$ac_c_werror_flag"
19027 || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try
='test -s conftest.$ac_objext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19040 cat >>confdefs.h
<<\_ACEOF
19041 #define STRUCT_TM_HAS_GMTOFF 1
19044 echo "$as_me:$LINENO: result: yes" >&5
19045 echo "${ECHO_T}yes" >&6
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 echo "$as_me:$LINENO: result: no" >&5
19051 echo "${ECHO_T}no" >&6
19052 echo "$as_me:$LINENO: checking for global timezone variable" >&5
19053 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
19054 cat >conftest.
$ac_ext <<_ACEOF
19057 cat confdefs.h
>>conftest.
$ac_ext
19058 cat >>conftest.
$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19064 void i(){long z2 = 2*timezone;}
19069 rm -f conftest.
$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19073 grep -v '^ *+' conftest.er1
>conftest.err
19075 cat conftest.err
>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try
='test -z "$ac_c_werror_flag"
19079 || test ! -s conftest.err'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; } &&
19085 { ac_try
='test -s conftest.$ac_objext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19092 cat >>confdefs.h
<<\_ACEOF
19093 #define HAVE_TIMEZONE 1
19096 echo "$as_me:$LINENO: result: yes" >&5
19097 echo "${ECHO_T}yes" >&6
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19102 echo "$as_me:$LINENO: result: no" >&5
19103 echo "${ECHO_T}no" >&6
19104 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
19105 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
19106 cat >conftest.
$ac_ext <<_ACEOF
19109 cat confdefs.h
>>conftest.
$ac_ext
19110 cat >>conftest.
$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19116 long z2 = _timezone;
19121 rm -f conftest.
$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19125 grep -v '^ *+' conftest.er1
>conftest.err
19127 cat conftest.err
>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try
='test -z "$ac_c_werror_flag"
19131 || test ! -s conftest.err'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; } &&
19137 { ac_try
='test -s conftest.$ac_objext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19144 cat >>confdefs.h
<<\_ACEOF
19145 #define HAVE_UNDERSCORE_TIMEZONE 1
19148 echo "$as_me:$LINENO: result: yes" >&5
19149 echo "${ECHO_T}yes" >&6
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.
$ac_ext >&5
19154 echo "$as_me:$LINENO: result: no" >&5
19155 echo "${ECHO_T}no" >&6
19157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19163 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19164 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19165 if test "${ac_cv_c_const+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 cat >conftest.
$ac_ext <<_ACEOF
19171 cat confdefs.h
>>conftest.
$ac_ext
19172 cat >>conftest.
$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19178 /* FIXME: Include the comments suggested by Paul. */
19179 #ifndef __cplusplus
19180 /* Ultrix mips cc rejects this. */
19181 typedef int charset[2];
19183 /* SunOS 4.1.1 cc rejects this. */
19184 char const *const *ccp;
19186 /* NEC SVR4.0.2 mips cc rejects this. */
19187 struct point {int x, y;};
19188 static struct point const zero = {0,0};
19189 /* AIX XL C 1.02.0.0 rejects this.
19190 It does not let you subtract one const X* pointer from another in
19191 an arm of an if-expression whose if-part is not a constant
19193 const char *g = "string";
19194 ccp = &g + (g ? g-g : 0);
19195 /* HPUX 7.0 cc rejects these. */
19198 ccp = (char const *const *) p;
19199 { /* SCO 3.2v4 cc rejects this. */
19201 char const *s = 0 ? (char *) 0 : (char const *) 0;
19205 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19206 int x[] = {25, 17};
19207 const int *foo = &x[0];
19210 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19211 typedef const int *iptr;
19215 { /* AIX XL C 1.02.0.0 rejects this saying
19216 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19217 struct s { int j; const int *ap[3]; };
19218 struct s *b; b->j = 5;
19220 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19221 const int foo = 10;
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_c_werror_flag"
19239 || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try
='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.
$ac_ext >&5
19258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19260 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19261 echo "${ECHO_T}$ac_cv_c_const" >&6
19262 if test $ac_cv_c_const = no
; then
19264 cat >>confdefs.h
<<\_ACEOF
19270 echo "$as_me:$LINENO: checking for inline" >&5
19271 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19272 if test "${ac_cv_c_inline+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 for ac_kw
in inline __inline__ __inline
; do
19277 cat >conftest.
$ac_ext <<_ACEOF
19280 cat confdefs.h
>>conftest.
$ac_ext
19281 cat >>conftest.
$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #ifndef __cplusplus
19285 static $ac_kw foo_t static_foo () {return 0; }
19286 $ac_kw foo_t foo () {return 0; }
19290 rm -f conftest.
$ac_objext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19292 (eval $ac_compile) 2>conftest.er1
19294 grep -v '^ *+' conftest.er1
>conftest.err
19296 cat conftest.err
>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try
='test -z "$ac_c_werror_flag"
19300 || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try
='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_c_inline
=$ac_kw; break
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.
$ac_ext >&5
19318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19322 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19323 echo "${ECHO_T}$ac_cv_c_inline" >&6
19326 case $ac_cv_c_inline in
19329 case $ac_cv_c_inline in
19331 *) ac_val
=$ac_cv_c_inline;;
19333 cat >>confdefs.h
<<_ACEOF
19334 #ifndef __cplusplus
19335 #define inline $ac_val
19341 echo "$as_me:$LINENO: checking for __attribute__" >&5
19342 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
19343 if test "${ac_cv_c_attribute+set}" = set; then
19344 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 void foo(void) __attribute__ ((__noreturn__));
19356 rm -f conftest.
$ac_objext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19358 (eval $ac_compile) 2>conftest.er1
19360 grep -v '^ *+' conftest.er1
>conftest.err
19362 cat conftest.err
>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } &&
19365 { ac_try
='test -z "$ac_c_werror_flag"
19366 || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try
='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_cv_c_attribute
=yes
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19383 ac_cv_c_attribute
=no
19386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
19390 echo "${ECHO_T}$ac_cv_c_attribute" >&6
19393 case $ac_cv_c_attribute in
19396 cat >>confdefs.h
<<_ACEOF
19397 #define __attribute__(x) /* nothing */
19405 ac_cpp
='$CPP $CPPFLAGS'
19406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19410 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
19411 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
19413 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
19414 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 ################################################################
19420 ac_cv_func_which_gethostbyname_r
=unknown
19423 # ONE ARGUMENT (sanity check)
19426 # This should fail, as there is no variant of gethostbyname_r() that takes
19427 # a single argument. If it actually compiles, then we can assume that
19428 # netdb.h is not declaring the function, and the compiler is thereby
19429 # assuming an implicit prototype. In which case, we're out of luck.
19431 cat >conftest.
$ac_ext <<_ACEOF
19434 cat confdefs.h
>>conftest.
$ac_ext
19435 cat >>conftest.
$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19442 char *name = "www.gnu.org";
19443 (void)gethostbyname_r(name) /* ; */
19449 rm -f conftest.
$ac_objext
19450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19451 (eval $ac_compile) 2>conftest.er1
19453 grep -v '^ *+' conftest.er1
>conftest.err
19455 cat conftest.err
>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try
='test -z "$ac_c_werror_flag"
19459 || test ! -s conftest.err'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; } &&
19465 { ac_try
='test -s conftest.$ac_objext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 ac_cv_func_which_gethostbyname_r
=no
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.
$ac_ext >&5
19477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19484 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19486 cat >conftest.
$ac_ext <<_ACEOF
19489 cat confdefs.h
>>conftest.
$ac_ext
19490 cat >>conftest.
$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19497 char *name = "www.gnu.org";
19498 struct hostent ret, *retp;
19502 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
19508 rm -f conftest.
$ac_objext
19509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19510 (eval $ac_compile) 2>conftest.er1
19512 grep -v '^ *+' conftest.er1
>conftest.err
19514 cat conftest.err
>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try
='test -z "$ac_c_werror_flag"
19518 || test ! -s conftest.err'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; } &&
19524 { ac_try
='test -s conftest.$ac_objext'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; }; then
19530 ac_cv_func_which_gethostbyname_r
=six
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.
$ac_ext >&5
19536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19545 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19547 cat >conftest.
$ac_ext <<_ACEOF
19550 cat confdefs.h
>>conftest.
$ac_ext
19551 cat >>conftest.
$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19558 char *name = "www.gnu.org";
19559 struct hostent ret;
19563 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
19569 rm -f conftest.
$ac_objext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19571 (eval $ac_compile) 2>conftest.er1
19573 grep -v '^ *+' conftest.er1
>conftest.err
19575 cat conftest.err
>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); } &&
19578 { ac_try
='test -z "$ac_c_werror_flag"
19579 || test ! -s conftest.err'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; } &&
19585 { ac_try
='test -s conftest.$ac_objext'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; }; then
19591 ac_cv_func_which_gethostbyname_r
=five
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.
$ac_ext >&5
19597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 # (e.g. AIX, HP-UX, Tru64)
19606 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19608 cat >conftest.
$ac_ext <<_ACEOF
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19619 char *name = "www.gnu.org";
19620 struct hostent ret;
19621 struct hostent_data data;
19622 (void)gethostbyname_r(name, &ret, &data) /* ; */
19628 rm -f conftest.
$ac_objext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19630 (eval $ac_compile) 2>conftest.er1
19632 grep -v '^ *+' conftest.er1
>conftest.err
19634 cat conftest.err
>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try
='test -z "$ac_c_werror_flag"
19638 || test ! -s conftest.err'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; } &&
19644 { ac_try
='test -s conftest.$ac_objext'
19645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646 (eval $ac_try) 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; }; then
19650 ac_cv_func_which_gethostbyname_r
=three
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.
$ac_ext >&5
19656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19660 ################################################################
19665 case "$ac_cv_func_which_gethostbyname_r" in
19667 echo "$as_me:$LINENO: result: three" >&5
19668 echo "${ECHO_T}three" >&6
19670 cat >>confdefs.h
<<\_ACEOF
19671 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
19677 echo "$as_me:$LINENO: result: five" >&5
19678 echo "${ECHO_T}five" >&6
19680 cat >>confdefs.h
<<\_ACEOF
19681 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
19687 echo "$as_me:$LINENO: result: six" >&5
19688 echo "${ECHO_T}six" >&6
19690 cat >>confdefs.h
<<\_ACEOF
19691 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
19697 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
19698 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
19702 echo "$as_me:$LINENO: result: can't tell" >&5
19703 echo "${ECHO_T}can't tell" >&6
19707 { { echo "$as_me:$LINENO: error: internal error" >&5
19708 echo "$as_me: error: internal error" >&2;}
19709 { (exit 1); exit 1; }; }
19714 ac_cpp
='$CPP $CPPFLAGS'
19715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19723 if test "X$prefix" = "XNONE"; then
19724 acl_final_prefix
="$ac_default_prefix"
19726 acl_final_prefix
="$prefix"
19728 if test "X$exec_prefix" = "XNONE"; then
19729 acl_final_exec_prefix
='${prefix}'
19731 acl_final_exec_prefix
="$exec_prefix"
19733 acl_save_prefix
="$prefix"
19734 prefix
="$acl_final_prefix"
19735 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19736 prefix
="$acl_save_prefix"
19739 # Check whether --with-gnu-ld or --without-gnu-ld was given.
19740 if test "${with_gnu_ld+set}" = set; then
19741 withval
="$with_gnu_ld"
19742 test "$withval" = no || with_gnu_ld
=yes
19746 # Prepare PATH_SEPARATOR.
19747 # The user is always right.
19748 if test "${PATH_SEPARATOR+set}" != set; then
19749 echo "#! /bin/sh" >conf$$.sh
19750 echo "exit 0" >>conf$$.sh
19752 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19760 if test "$GCC" = yes; then
19761 # Check if gcc -print-prog-name=ld gives a path.
19762 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
19763 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
19766 # gcc leaves a trailing carriage return which upsets mingw
19767 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19769 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19772 # Accept absolute paths.
19773 [\\/]* |
[A-Za-z
]:[\\/]*)
19774 re_direlt
='/[^/][^/]*/\.\./'
19775 # Canonicalize the path of ld
19776 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
19777 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
19778 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19780 test -z "$LD" && LD
="$ac_prog"
19783 # If it fails, then pretend we aren't using GCC.
19787 # If it is relative, then search for the first ld in PATH.
19788 with_gnu_ld
=unknown
19791 elif test "$with_gnu_ld" = yes; then
19792 echo "$as_me:$LINENO: checking for GNU ld" >&5
19793 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
19795 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19796 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
19798 if test "${acl_cv_path_LD+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 if test -z "$LD"; then
19802 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
19803 for ac_dir
in $PATH; do
19804 test -z "$ac_dir" && ac_dir
=.
19805 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
19806 acl_cv_path_LD
="$ac_dir/$ac_prog"
19807 # Check to see if the program is GNU ld. I'd rather use --version,
19808 # but apparently some GNU ld's only accept -v.
19809 # Break only if it was the GNU/non-GNU ld that we prefer.
19810 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
19811 test "$with_gnu_ld" != no
&& break
19813 test "$with_gnu_ld" != yes && break
19819 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
19823 LD
="$acl_cv_path_LD"
19824 if test -n "$LD"; then
19825 echo "$as_me:$LINENO: result: $LD" >&5
19826 echo "${ECHO_T}$LD" >&6
19828 echo "$as_me:$LINENO: result: no" >&5
19829 echo "${ECHO_T}no" >&6
19831 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19832 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19833 { (exit 1); exit 1; }; }
19834 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19835 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
19836 if test "${acl_cv_prog_gnu_ld+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
19840 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
19841 acl_cv_prog_gnu_ld
=yes
19843 acl_cv_prog_gnu_ld
=no
19846 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
19847 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
19848 with_gnu_ld
=$acl_cv_prog_gnu_ld
19852 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
19853 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
19854 if test "${acl_cv_rpath+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
19859 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19861 rm -f .
/conftest.sh
19865 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
19866 echo "${ECHO_T}$acl_cv_rpath" >&6
19868 libext
="$acl_cv_libext"
19869 shlibext
="$acl_cv_shlibext"
19870 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
19871 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
19872 hardcode_direct
="$acl_cv_hardcode_direct"
19873 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
19874 # Check whether --enable-rpath or --disable-rpath was given.
19875 if test "${enable_rpath+set}" = set; then
19876 enableval
="$enable_rpath"
19890 acl_save_prefix
="$prefix"
19891 prefix
="$acl_final_prefix"
19892 acl_save_exec_prefix
="$exec_prefix"
19893 exec_prefix
="$acl_final_exec_prefix"
19895 eval additional_includedir
=\"$includedir\"
19896 eval additional_libdir
=\"$libdir\"
19898 exec_prefix
="$acl_save_exec_prefix"
19899 prefix
="$acl_save_prefix"
19902 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
19903 if test "${with_libiconv_prefix+set}" = set; then
19904 withval
="$with_libiconv_prefix"
19906 if test "X$withval" = "Xno"; then
19909 if test "X$withval" = "X"; then
19911 acl_save_prefix
="$prefix"
19912 prefix
="$acl_final_prefix"
19913 acl_save_exec_prefix
="$exec_prefix"
19914 exec_prefix
="$acl_final_exec_prefix"
19916 eval additional_includedir
=\"$includedir\"
19917 eval additional_libdir
=\"$libdir\"
19919 exec_prefix
="$acl_save_exec_prefix"
19920 prefix
="$acl_save_prefix"
19923 additional_includedir
="$withval/include"
19924 additional_libdir
="$withval/lib"
19934 names_already_handled
=
19935 names_next_round
='iconv '
19936 while test -n "$names_next_round"; do
19937 names_this_round
="$names_next_round"
19939 for name
in $names_this_round; do
19941 for n
in $names_already_handled; do
19942 if test "$n" = "$name"; then
19943 already_handled
=yes
19947 if test -z "$already_handled"; then
19948 names_already_handled
="$names_already_handled $name"
19949 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19950 eval value
=\"\
$HAVE_LIB$uppername\"
19951 if test -n "$value"; then
19952 if test "$value" = yes; then
19953 eval value
=\"\
$LIB$uppername\"
19954 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
19955 eval value
=\"\
$LTLIB$uppername\"
19956 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
19965 if test $use_additional = yes; then
19966 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19967 found_dir
="$additional_libdir"
19968 found_so
="$additional_libdir/lib$name.$shlibext"
19969 if test -f "$additional_libdir/lib$name.la"; then
19970 found_la
="$additional_libdir/lib$name.la"
19973 if test -f "$additional_libdir/lib$name.$libext"; then
19974 found_dir
="$additional_libdir"
19975 found_a
="$additional_libdir/lib$name.$libext"
19976 if test -f "$additional_libdir/lib$name.la"; then
19977 found_la
="$additional_libdir/lib$name.la"
19982 if test "X$found_dir" = "X"; then
19983 for x
in $LDFLAGS $LTLIBICONV; do
19985 acl_save_prefix
="$prefix"
19986 prefix
="$acl_final_prefix"
19987 acl_save_exec_prefix
="$exec_prefix"
19988 exec_prefix
="$acl_final_exec_prefix"
19990 exec_prefix
="$acl_save_exec_prefix"
19991 prefix
="$acl_save_prefix"
19995 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19996 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19998 found_so
="$dir/lib$name.$shlibext"
19999 if test -f "$dir/lib$name.la"; then
20000 found_la
="$dir/lib$name.la"
20003 if test -f "$dir/lib$name.$libext"; then
20005 found_a
="$dir/lib$name.$libext"
20006 if test -f "$dir/lib$name.la"; then
20007 found_la
="$dir/lib$name.la"
20013 if test "X$found_dir" != "X"; then
20018 if test "X$found_dir" != "X"; then
20019 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20020 if test "X$found_so" != "X"; then
20021 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
20022 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20025 for x
in $ltrpathdirs; do
20026 if test "X$x" = "X$found_dir"; then
20031 if test -z "$haveit"; then
20032 ltrpathdirs
="$ltrpathdirs $found_dir"
20034 if test "$hardcode_direct" = yes; then
20035 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20037 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
20038 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20040 for x
in $rpathdirs; do
20041 if test "X$x" = "X$found_dir"; then
20046 if test -z "$haveit"; then
20047 rpathdirs
="$rpathdirs $found_dir"
20051 for x
in $LDFLAGS $LIBICONV; do
20053 acl_save_prefix
="$prefix"
20054 prefix
="$acl_final_prefix"
20055 acl_save_exec_prefix
="$exec_prefix"
20056 exec_prefix
="$acl_final_exec_prefix"
20058 exec_prefix
="$acl_save_exec_prefix"
20059 prefix
="$acl_save_prefix"
20061 if test "X$x" = "X-L$found_dir"; then
20066 if test -z "$haveit"; then
20067 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20069 if test "$hardcode_minus_L" != no
; then
20070 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20072 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20078 if test "X$found_a" != "X"; then
20079 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20081 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20084 additional_includedir
=
20085 case "$found_dir" in
20087 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
20088 additional_includedir
="$basedir/include"
20091 if test "X$additional_includedir" != "X"; then
20092 if test "X$additional_includedir" != "X/usr/include"; then
20094 if test "X$additional_includedir" = "X/usr/local/include"; then
20095 if test -n "$GCC"; then
20097 linux
*) haveit
=yes;;
20101 if test -z "$haveit"; then
20102 for x
in $CPPFLAGS $INCICONV; do
20104 acl_save_prefix
="$prefix"
20105 prefix
="$acl_final_prefix"
20106 acl_save_exec_prefix
="$exec_prefix"
20107 exec_prefix
="$acl_final_exec_prefix"
20109 exec_prefix
="$acl_save_exec_prefix"
20110 prefix
="$acl_save_prefix"
20112 if test "X$x" = "X-I$additional_includedir"; then
20117 if test -z "$haveit"; then
20118 if test -d "$additional_includedir"; then
20119 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20125 if test -n "$found_la"; then
20126 save_libdir
="$libdir"
20127 case "$found_la" in
20128 */* |
*\\*) .
"$found_la" ;;
20129 *) .
"./$found_la" ;;
20131 libdir
="$save_libdir"
20132 for dep
in $dependency_libs; do
20135 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20136 if test "X$additional_libdir" != "X/usr/lib"; then
20138 if test "X$additional_libdir" = "X/usr/local/lib"; then
20139 if test -n "$GCC"; then
20141 linux
*) haveit
=yes;;
20145 if test -z "$haveit"; then
20147 for x
in $LDFLAGS $LIBICONV; do
20149 acl_save_prefix
="$prefix"
20150 prefix
="$acl_final_prefix"
20151 acl_save_exec_prefix
="$exec_prefix"
20152 exec_prefix
="$acl_final_exec_prefix"
20154 exec_prefix
="$acl_save_exec_prefix"
20155 prefix
="$acl_save_prefix"
20157 if test "X$x" = "X-L$additional_libdir"; then
20162 if test -z "$haveit"; then
20163 if test -d "$additional_libdir"; then
20164 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20168 for x
in $LDFLAGS $LTLIBICONV; do
20170 acl_save_prefix
="$prefix"
20171 prefix
="$acl_final_prefix"
20172 acl_save_exec_prefix
="$exec_prefix"
20173 exec_prefix
="$acl_final_exec_prefix"
20175 exec_prefix
="$acl_save_exec_prefix"
20176 prefix
="$acl_save_prefix"
20178 if test "X$x" = "X-L$additional_libdir"; then
20183 if test -z "$haveit"; then
20184 if test -d "$additional_libdir"; then
20185 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20192 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20193 if test "$enable_rpath" != no
; then
20195 for x
in $rpathdirs; do
20196 if test "X$x" = "X$dir"; then
20201 if test -z "$haveit"; then
20202 rpathdirs
="$rpathdirs $dir"
20205 for x
in $ltrpathdirs; do
20206 if test "X$x" = "X$dir"; then
20211 if test -z "$haveit"; then
20212 ltrpathdirs
="$ltrpathdirs $dir"
20217 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20220 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20223 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20224 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20230 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20231 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20237 if test "X$rpathdirs" != "X"; then
20238 if test -n "$hardcode_libdir_separator"; then
20240 for found_dir
in $rpathdirs; do
20241 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
20243 acl_save_libdir
="$libdir"
20245 eval flag
=\"$hardcode_libdir_flag_spec\"
20246 libdir
="$acl_save_libdir"
20247 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20249 for found_dir
in $rpathdirs; do
20250 acl_save_libdir
="$libdir"
20251 libdir
="$found_dir"
20252 eval flag
=\"$hardcode_libdir_flag_spec\"
20253 libdir
="$acl_save_libdir"
20254 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20258 if test "X$ltrpathdirs" != "X"; then
20259 for found_dir
in $ltrpathdirs; do
20260 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20270 am_save_CPPFLAGS
="$CPPFLAGS"
20272 for element
in $INCICONV; do
20274 for x
in $CPPFLAGS; do
20276 acl_save_prefix
="$prefix"
20277 prefix
="$acl_final_prefix"
20278 acl_save_exec_prefix
="$exec_prefix"
20279 exec_prefix
="$acl_final_exec_prefix"
20281 exec_prefix
="$acl_save_exec_prefix"
20282 prefix
="$acl_save_prefix"
20284 if test "X$x" = "X$element"; then
20289 if test -z "$haveit"; then
20290 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20295 echo "$as_me:$LINENO: checking for iconv" >&5
20296 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
20297 if test "${am_cv_func_iconv+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20301 am_cv_func_iconv
="no, consider installing GNU libiconv"
20303 if test x
$gcc_no_link = xyes
; then
20304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20306 { (exit 1); exit 1; }; }
20308 cat >conftest.
$ac_ext <<_ACEOF
20311 cat confdefs.h
>>conftest.
$ac_ext
20312 cat >>conftest.
$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 #include <stdlib.h>
20319 iconv_t cd = iconv_open("","");
20320 iconv(cd,NULL,NULL,NULL,NULL);
20326 rm -f conftest.
$ac_objext conftest
$ac_exeext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20328 (eval $ac_link) 2>conftest.er1
20330 grep -v '^ *+' conftest.er1
>conftest.err
20332 cat conftest.err
>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } &&
20335 { ac_try
='test -z "$ac_c_werror_flag"
20336 || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try
='test -s conftest$ac_exeext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 am_cv_func_iconv
=yes
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20354 rm -f conftest.err conftest.
$ac_objext \
20355 conftest
$ac_exeext conftest.
$ac_ext
20356 if test "$am_cv_func_iconv" != yes; then
20357 am_save_LIBS
="$LIBS"
20358 LIBS
="$LIBS $LIBICONV"
20359 if test x
$gcc_no_link = xyes
; then
20360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20362 { (exit 1); exit 1; }; }
20364 cat >conftest.
$ac_ext <<_ACEOF
20367 cat confdefs.h
>>conftest.
$ac_ext
20368 cat >>conftest.
$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 #include <stdlib.h>
20375 iconv_t cd = iconv_open("","");
20376 iconv(cd,NULL,NULL,NULL,NULL);
20382 rm -f conftest.
$ac_objext conftest
$ac_exeext
20383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20384 (eval $ac_link) 2>conftest.er1
20386 grep -v '^ *+' conftest.er1
>conftest.err
20388 cat conftest.err
>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } &&
20391 { ac_try
='test -z "$ac_c_werror_flag"
20392 || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try
='test -s conftest$ac_exeext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 am_cv_lib_iconv
=yes
20405 am_cv_func_iconv
=yes
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.
$ac_ext >&5
20411 rm -f conftest.err conftest.
$ac_objext \
20412 conftest
$ac_exeext conftest.
$ac_ext
20413 LIBS
="$am_save_LIBS"
20417 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
20418 echo "${ECHO_T}$am_cv_func_iconv" >&6
20419 if test "$am_cv_func_iconv" = yes; then
20421 cat >>confdefs.h
<<\_ACEOF
20422 #define HAVE_ICONV 1
20426 if test "$am_cv_lib_iconv" = yes; then
20427 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
20428 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
20429 echo "$as_me:$LINENO: result: $LIBICONV" >&5
20430 echo "${ECHO_T}$LIBICONV" >&6
20432 CPPFLAGS
="$am_save_CPPFLAGS"
20439 if test "$am_cv_func_iconv" = yes; then
20440 echo "$as_me:$LINENO: checking for iconv declaration" >&5
20441 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
20442 if test "${am_cv_proto_iconv+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20453 #include <stdlib.h>
20459 #if defined(__STDC__) || defined(__cplusplus)
20460 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20473 rm -f conftest.
$ac_objext
20474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20475 (eval $ac_compile) 2>conftest.er1
20477 grep -v '^ *+' conftest.er1
>conftest.err
20479 cat conftest.err
>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try
='test -z "$ac_c_werror_flag"
20483 || test ! -s conftest.err'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; } &&
20489 { ac_try
='test -s conftest.$ac_objext'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20495 am_cv_proto_iconv_arg1
=""
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 am_cv_proto_iconv_arg1
="const"
20502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20503 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);"
20506 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20507 echo "$as_me:$LINENO: result: ${ac_t:-
20508 }$am_cv_proto_iconv" >&5
20509 echo "${ECHO_T}${ac_t:-
20510 }$am_cv_proto_iconv" >&6
20512 cat >>confdefs.h
<<_ACEOF
20513 #define ICONV_CONST $am_cv_proto_iconv_arg1
20519 if test "x${GCC}" = xyes
; then
20521 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
20524 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
20527 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
20531 if test "x${ENABLE_WERROR}" = xyes
; then
20532 ERROR_CFLAGS
='-Werror'
20537 if test "x${COMPILE_XMLJ}" = xyes
; then
20541 if test -z "$PKG_CONFIG"; then
20542 # Extract the first word of "pkg-config", so it can be a program name with args.
20543 set dummy pkg-config
; ac_word
=$2
20544 echo "$as_me:$LINENO: checking for $ac_word" >&5
20545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20546 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20547 echo $ECHO_N "(cached) $ECHO_C" >&6
20549 case $PKG_CONFIG in
20551 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20555 for as_dir
in $PATH
20558 test -z "$as_dir" && as_dir
=.
20559 for ac_exec_ext
in '' $ac_executable_extensions; do
20560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20561 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20568 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20572 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20574 if test -n "$PKG_CONFIG"; then
20575 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20576 echo "${ECHO_T}$PKG_CONFIG" >&6
20578 echo "$as_me:$LINENO: result: no" >&5
20579 echo "${ECHO_T}no" >&6
20584 if test "$PKG_CONFIG" = "no" ; then
20585 echo "*** The pkg-config script could not be found. Make sure it is"
20586 echo "*** in your path, or set the PKG_CONFIG environment variable"
20587 echo "*** to the full path to pkg-config."
20588 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20590 PKG_CONFIG_MIN_VERSION
=0.9.0
20591 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20592 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
20593 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
20595 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
20596 echo "$as_me:$LINENO: result: yes" >&5
20597 echo "${ECHO_T}yes" >&6
20600 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
20601 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
20602 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
20603 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
20604 echo "${ECHO_T}$XML_CFLAGS" >&6
20606 echo "$as_me:$LINENO: checking XML_LIBS" >&5
20607 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
20608 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
20609 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
20610 echo "${ECHO_T}$XML_LIBS" >&6
20614 ## If we have a custom action on failure, don't print errors, but
20615 ## do set a variable so people can do so.
20616 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
20617 echo $XML_PKG_ERRORS
20623 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20624 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20628 if test $succeeded = yes; then
20631 { { 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
20632 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;}
20633 { (exit 1); exit 1; }; }
20639 if test -z "$PKG_CONFIG"; then
20640 # Extract the first word of "pkg-config", so it can be a program name with args.
20641 set dummy pkg-config
; ac_word
=$2
20642 echo "$as_me:$LINENO: checking for $ac_word" >&5
20643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20645 echo $ECHO_N "(cached) $ECHO_C" >&6
20647 case $PKG_CONFIG in
20649 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20653 for as_dir
in $PATH
20656 test -z "$as_dir" && as_dir
=.
20657 for ac_exec_ext
in '' $ac_executable_extensions; do
20658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20659 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20670 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20672 if test -n "$PKG_CONFIG"; then
20673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20674 echo "${ECHO_T}$PKG_CONFIG" >&6
20676 echo "$as_me:$LINENO: result: no" >&5
20677 echo "${ECHO_T}no" >&6
20682 if test "$PKG_CONFIG" = "no" ; then
20683 echo "*** The pkg-config script could not be found. Make sure it is"
20684 echo "*** in your path, or set the PKG_CONFIG environment variable"
20685 echo "*** to the full path to pkg-config."
20686 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20688 PKG_CONFIG_MIN_VERSION
=0.9.0
20689 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20690 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
20691 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
20693 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
20694 echo "$as_me:$LINENO: result: yes" >&5
20695 echo "${ECHO_T}yes" >&6
20698 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
20699 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
20700 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
20701 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
20702 echo "${ECHO_T}$XSLT_CFLAGS" >&6
20704 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
20705 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
20706 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
20707 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
20708 echo "${ECHO_T}$XSLT_LIBS" >&6
20712 ## If we have a custom action on failure, don't print errors, but
20713 ## do set a variable so people can do so.
20714 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
20715 echo $XSLT_PKG_ERRORS
20721 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20722 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20726 if test $succeeded = yes; then
20729 { { 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
20730 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;}
20731 { (exit 1); exit 1; }; }
20740 if test "x${COMPILE_GTK_PEER}" = xyes
; then
20741 echo "$as_me:$LINENO: checking for X" >&5
20742 echo $ECHO_N "checking for X... $ECHO_C" >&6
20745 # Check whether --with-x or --without-x was given.
20746 if test "${with_x+set}" = set; then
20750 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20751 if test "x$with_x" = xno
; then
20752 # The user explicitly disabled X.
20755 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20756 # Both variables are already set.
20759 if test "${ac_cv_have_x+set}" = set; then
20760 echo $ECHO_N "(cached) $ECHO_C" >&6
20762 # One or both of the vars are not set, and there is no cached value.
20763 ac_x_includes
=no ac_x_libraries
=no
20764 rm -fr conftest.dir
20765 if mkdir conftest.dir
; then
20767 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20768 cat >Imakefile
<<'_ACEOF'
20770 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20772 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20773 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20774 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20775 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20776 for ac_extension
in a so sl
; do
20777 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20778 test -f $ac_im_libdir/libX11.
$ac_extension; then
20779 ac_im_usrlibdir
=$ac_im_libdir; break
20782 # Screen out bogus values from the imake configuration. They are
20783 # bogus both because they are the default anyway, and because
20784 # using them would break gcc on systems where it needs fixed includes.
20785 case $ac_im_incroot in
20787 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20789 case $ac_im_usrlibdir in
20790 /usr
/lib |
/lib
) ;;
20791 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20795 rm -fr conftest.dir
20798 # Standard set of common directories for X headers.
20799 # Check X11 before X11Rn because it is often a symlink to the current release.
20811 /usr/local/X11/include
20812 /usr/local/X11R6/include
20813 /usr/local/X11R5/include
20814 /usr/local/X11R4/include
20816 /usr/local/include/X11
20817 /usr/local/include/X11R6
20818 /usr/local/include/X11R5
20819 /usr/local/include/X11R4
20823 /usr/XFree86/include/X11
20827 /usr/unsupported/include
20828 /usr/athena/include
20829 /usr/local/x11r5/include
20830 /usr/lpp/Xamples/include
20832 /usr/openwin/include
20833 /usr/openwin/share/include'
20835 if test "$ac_x_includes" = no
; then
20836 # Guess where to find include files, by looking for Intrinsic.h.
20837 # First, try using that file with no special directory specified.
20838 cat >conftest.
$ac_ext <<_ACEOF
20841 cat confdefs.h
>>conftest.
$ac_ext
20842 cat >>conftest.
$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 #include <X11/Intrinsic.h>
20846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20849 grep -v '^ *+' conftest.er1
>conftest.err
20851 cat conftest.err
>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } >/dev
/null
; then
20854 if test -s conftest.err
; then
20855 ac_cpp_err
=$ac_c_preproc_warn_flag
20856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20863 if test -z "$ac_cpp_err"; then
20864 # We can compile using X headers with no special include directory.
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.
$ac_ext >&5
20870 for ac_dir
in $ac_x_header_dirs; do
20871 if test -r "$ac_dir/X11/Intrinsic.h"; then
20872 ac_x_includes
=$ac_dir
20877 rm -f conftest.err conftest.
$ac_ext
20878 fi # $ac_x_includes = no
20880 if test "$ac_x_libraries" = no
; then
20881 # Check for the libraries.
20882 # See if we find them without any special options.
20883 # Don't add to $LIBS permanently.
20886 if test x
$gcc_no_link = xyes
; then
20887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20889 { (exit 1); exit 1; }; }
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 #include <X11/Intrinsic.h>
20906 rm -f conftest.
$ac_objext conftest
$ac_exeext
20907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20908 (eval $ac_link) 2>conftest.er1
20910 grep -v '^ *+' conftest.er1
>conftest.err
20912 cat conftest.err
>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } &&
20915 { ac_try
='test -z "$ac_c_werror_flag"
20916 || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try
='test -s conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20929 # We can link X programs with no special library path.
20932 echo "$as_me: failed program was:" >&5
20933 sed 's/^/| /' conftest.
$ac_ext >&5
20936 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20938 # Don't even attempt the hair of trying to link an X program!
20939 for ac_extension
in a so sl
; do
20940 if test -r $ac_dir/libXt.
$ac_extension; then
20941 ac_x_libraries
=$ac_dir
20947 rm -f conftest.err conftest.
$ac_objext \
20948 conftest
$ac_exeext conftest.
$ac_ext
20949 fi # $ac_x_libraries = no
20951 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
20952 # Didn't find X anywhere. Cache the known absence of X.
20953 ac_cv_have_x
="have_x=no"
20955 # Record where we found X for the cache.
20956 ac_cv_have_x
="have_x=yes \
20957 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20962 eval "$ac_cv_have_x"
20965 if test "$have_x" != yes; then
20966 echo "$as_me:$LINENO: result: $have_x" >&5
20967 echo "${ECHO_T}$have_x" >&6
20970 # If each of the values was on the command line, it overrides each guess.
20971 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20972 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20973 # Update the cache value to reflect the command line values.
20974 ac_cv_have_x
="have_x=yes \
20975 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20976 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20977 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20980 if test "$no_x" = yes; then
20981 # Not all programs may use this symbol, but it does not hurt to define it.
20983 cat >>confdefs.h
<<\_ACEOF
20984 #define X_DISPLAY_MISSING 1
20987 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20989 if test -n "$x_includes"; then
20990 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20993 # It would also be nice to do this for all -L options, not just this one.
20994 if test -n "$x_libraries"; then
20995 X_LIBS
="$X_LIBS -L$x_libraries"
20996 # For Solaris; some versions of Sun CC require a space after -R and
20997 # others require no space. Words are not sufficient . . . .
20998 case `(uname -sr) 2>/dev/null` in
21000 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21001 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21002 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21003 if test x
$gcc_no_link = xyes
; then
21004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21006 { (exit 1); exit 1; }; }
21008 cat >conftest.
$ac_ext <<_ACEOF
21011 cat confdefs.h
>>conftest.
$ac_ext
21012 cat >>conftest.
$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21023 rm -f conftest.
$ac_objext conftest
$ac_exeext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21025 (eval $ac_link) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_c_werror_flag"
21033 || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try
='test -s conftest$ac_exeext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21052 rm -f conftest.err conftest.
$ac_objext \
21053 conftest
$ac_exeext conftest.
$ac_ext
21054 if test $ac_R_nospace = yes; then
21055 echo "$as_me:$LINENO: result: no" >&5
21056 echo "${ECHO_T}no" >&6
21057 X_LIBS
="$X_LIBS -R$x_libraries"
21059 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21060 if test x
$gcc_no_link = xyes
; then
21061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21063 { (exit 1); exit 1; }; }
21065 cat >conftest.
$ac_ext <<_ACEOF
21068 cat confdefs.h
>>conftest.
$ac_ext
21069 cat >>conftest.
$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21080 rm -f conftest.
$ac_objext conftest
$ac_exeext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21082 (eval $ac_link) 2>conftest.er1
21084 grep -v '^ *+' conftest.er1
>conftest.err
21086 cat conftest.err
>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try
='test -z "$ac_c_werror_flag"
21090 || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try
='test -s conftest$ac_exeext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.
$ac_ext >&5
21109 rm -f conftest.err conftest.
$ac_objext \
21110 conftest
$ac_exeext conftest.
$ac_ext
21111 if test $ac_R_space = yes; then
21112 echo "$as_me:$LINENO: result: yes" >&5
21113 echo "${ECHO_T}yes" >&6
21114 X_LIBS
="$X_LIBS -R $x_libraries"
21116 echo "$as_me:$LINENO: result: neither works" >&5
21117 echo "${ECHO_T}neither works" >&6
21120 LIBS
=$ac_xsave_LIBS
21124 # Check for system-dependent libraries X programs must link with.
21125 # Do this before checking for the system-independent R6 libraries
21126 # (-lICE), since we may need -lsocket or whatever for X linking.
21128 if test "$ISC" = yes; then
21129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21131 # Martyn Johnson says this is needed for Ultrix, if the X
21132 # libraries were built with DECnet support. And Karl Berry says
21133 # the Alpha needs dnet_stub (dnet does not exist).
21134 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21135 if test x
$gcc_no_link = xyes
; then
21136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21138 { (exit 1); exit 1; }; }
21140 cat >conftest.
$ac_ext <<_ACEOF
21143 cat confdefs.h
>>conftest.
$ac_ext
21144 cat >>conftest.
$ac_ext <<_ACEOF
21145 /* end confdefs.h. */
21147 /* Override any gcc2 internal prototype to avoid an error. */
21151 /* We use char because int might match the return type of a gcc2
21152 builtin and then its argument prototype would still apply. */
21153 char XOpenDisplay ();
21162 rm -f conftest.
$ac_objext conftest
$ac_exeext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21164 (eval $ac_link) 2>conftest.er1
21166 grep -v '^ *+' conftest.er1
>conftest.err
21168 cat conftest.err
>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try
='test -z "$ac_c_werror_flag"
21172 || test ! -s conftest.err'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try
='test -s conftest$ac_exeext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21189 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21190 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21191 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 ac_check_lib_save_LIBS
=$LIBS
21195 LIBS
="-ldnet $LIBS"
21196 if test x
$gcc_no_link = xyes
; then
21197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21199 { (exit 1); exit 1; }; }
21201 cat >conftest.
$ac_ext <<_ACEOF
21204 cat confdefs.h
>>conftest.
$ac_ext
21205 cat >>conftest.
$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21208 /* Override any gcc2 internal prototype to avoid an error. */
21212 /* We use char because int might match the return type of a gcc2
21213 builtin and then its argument prototype would still apply. */
21223 rm -f conftest.
$ac_objext conftest
$ac_exeext
21224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21225 (eval $ac_link) 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try
='test -z "$ac_c_werror_flag"
21233 || test ! -s conftest.err'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; } &&
21239 { ac_try
='test -s conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21245 ac_cv_lib_dnet_dnet_ntoa
=yes
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.
$ac_ext >&5
21250 ac_cv_lib_dnet_dnet_ntoa
=no
21252 rm -f conftest.err conftest.
$ac_objext \
21253 conftest
$ac_exeext conftest.
$ac_ext
21254 LIBS
=$ac_check_lib_save_LIBS
21256 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21257 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21258 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21262 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21263 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21264 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21265 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21268 ac_check_lib_save_LIBS
=$LIBS
21269 LIBS
="-ldnet_stub $LIBS"
21270 if test x
$gcc_no_link = xyes
; then
21271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21273 { (exit 1); exit 1; }; }
21275 cat >conftest.
$ac_ext <<_ACEOF
21278 cat confdefs.h
>>conftest.
$ac_ext
21279 cat >>conftest.
$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21282 /* Override any gcc2 internal prototype to avoid an error. */
21286 /* We use char because int might match the return type of a gcc2
21287 builtin and then its argument prototype would still apply. */
21297 rm -f conftest.
$ac_objext conftest
$ac_exeext
21298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21299 (eval $ac_link) 2>conftest.er1
21301 grep -v '^ *+' conftest.er1
>conftest.err
21303 cat conftest.err
>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } &&
21306 { ac_try
='test -z "$ac_c_werror_flag"
21307 || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try
='test -s conftest$ac_exeext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.
$ac_ext >&5
21324 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21326 rm -f conftest.err conftest.
$ac_objext \
21327 conftest
$ac_exeext conftest.
$ac_ext
21328 LIBS
=$ac_check_lib_save_LIBS
21330 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21331 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21332 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21338 rm -f conftest.err conftest.
$ac_objext \
21339 conftest
$ac_exeext conftest.
$ac_ext
21340 LIBS
="$ac_xsave_LIBS"
21342 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21343 # to get the SysV transport functions.
21344 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21346 # The nsl library prevents programs from opening the X display
21347 # on Irix 5.2, according to T.E. Dickey.
21348 # The functions gethostbyname, getservbyname, and inet_addr are
21349 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21350 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21351 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21352 if test "${ac_cv_func_gethostbyname+set}" = set; then
21353 echo $ECHO_N "(cached) $ECHO_C" >&6
21355 if test x
$gcc_no_link = xyes
; then
21356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21358 { (exit 1); exit 1; }; }
21360 cat >conftest.
$ac_ext <<_ACEOF
21363 cat confdefs.h
>>conftest.
$ac_ext
21364 cat >>conftest.
$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
21367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21368 #define gethostbyname innocuous_gethostbyname
21370 /* System header to define __stub macros and hopefully few prototypes,
21371 which can conflict with char gethostbyname (); below.
21372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21373 <limits.h> exists even on freestanding compilers. */
21376 # include <limits.h>
21378 # include <assert.h>
21381 #undef gethostbyname
21383 /* Override any gcc2 internal prototype to avoid an error. */
21388 /* We use char because int might match the return type of a gcc2
21389 builtin and then its argument prototype would still apply. */
21390 char gethostbyname ();
21391 /* The GNU C library defines this for functions which it implements
21392 to always fail with ENOSYS. Some functions are actually named
21393 something starting with __ and the normal name is an alias. */
21394 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21397 char (*f) () = gethostbyname;
21406 return f != gethostbyname;
21411 rm -f conftest.
$ac_objext conftest
$ac_exeext
21412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21413 (eval $ac_link) 2>conftest.er1
21415 grep -v '^ *+' conftest.er1
>conftest.err
21417 cat conftest.err
>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } &&
21420 { ac_try
='test -z "$ac_c_werror_flag"
21421 || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try
='test -s conftest$ac_exeext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_cv_func_gethostbyname
=yes
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ac_cv_func_gethostbyname
=no
21440 rm -f conftest.err conftest.
$ac_objext \
21441 conftest
$ac_exeext conftest.
$ac_ext
21443 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21444 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21446 if test $ac_cv_func_gethostbyname = no
; then
21447 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21448 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21449 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21450 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 ac_check_lib_save_LIBS
=$LIBS
21454 if test x
$gcc_no_link = xyes
; then
21455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21457 { (exit 1); exit 1; }; }
21459 cat >conftest.
$ac_ext <<_ACEOF
21462 cat confdefs.h
>>conftest.
$ac_ext
21463 cat >>conftest.
$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21466 /* Override any gcc2 internal prototype to avoid an error. */
21470 /* We use char because int might match the return type of a gcc2
21471 builtin and then its argument prototype would still apply. */
21472 char gethostbyname ();
21481 rm -f conftest.
$ac_objext conftest
$ac_exeext
21482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21483 (eval $ac_link) 2>conftest.er1
21485 grep -v '^ *+' conftest.er1
>conftest.err
21487 cat conftest.err
>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } &&
21490 { ac_try
='test -z "$ac_c_werror_flag"
21491 || test ! -s conftest.err'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; } &&
21497 { ac_try
='test -s conftest$ac_exeext'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 ac_cv_lib_nsl_gethostbyname
=yes
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.
$ac_ext >&5
21508 ac_cv_lib_nsl_gethostbyname
=no
21510 rm -f conftest.err conftest.
$ac_objext \
21511 conftest
$ac_exeext conftest.
$ac_ext
21512 LIBS
=$ac_check_lib_save_LIBS
21514 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21515 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21516 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21520 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21521 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21522 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21523 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 ac_check_lib_save_LIBS
=$LIBS
21528 if test x
$gcc_no_link = xyes
; then
21529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21531 { (exit 1); exit 1; }; }
21533 cat >conftest.
$ac_ext <<_ACEOF
21536 cat confdefs.h
>>conftest.
$ac_ext
21537 cat >>conftest.
$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21540 /* Override any gcc2 internal prototype to avoid an error. */
21544 /* We use char because int might match the return type of a gcc2
21545 builtin and then its argument prototype would still apply. */
21546 char gethostbyname ();
21555 rm -f conftest.
$ac_objext conftest
$ac_exeext
21556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21557 (eval $ac_link) 2>conftest.er1
21559 grep -v '^ *+' conftest.er1
>conftest.err
21561 cat conftest.err
>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } &&
21564 { ac_try
='test -z "$ac_c_werror_flag"
21565 || test ! -s conftest.err'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; } &&
21571 { ac_try
='test -s conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_lib_bsd_gethostbyname
=yes
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.
$ac_ext >&5
21582 ac_cv_lib_bsd_gethostbyname
=no
21584 rm -f conftest.err conftest.
$ac_objext \
21585 conftest
$ac_exeext conftest.
$ac_ext
21586 LIBS
=$ac_check_lib_save_LIBS
21588 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21589 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21590 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21591 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21597 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21598 # socket/setsockopt and other routines are undefined under SCO ODT
21599 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21600 # on later versions), says Simon Leinen: it contains gethostby*
21601 # variants that don't use the name server (or something). -lsocket
21602 # must be given before -lnsl if both are needed. We assume that
21603 # if connect needs -lnsl, so does gethostbyname.
21604 echo "$as_me:$LINENO: checking for connect" >&5
21605 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21606 if test "${ac_cv_func_connect+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 if test x
$gcc_no_link = xyes
; then
21610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21612 { (exit 1); exit 1; }; }
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
21621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21622 #define connect innocuous_connect
21624 /* System header to define __stub macros and hopefully few prototypes,
21625 which can conflict with char connect (); below.
21626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21627 <limits.h> exists even on freestanding compilers. */
21630 # include <limits.h>
21632 # include <assert.h>
21637 /* Override any gcc2 internal prototype to avoid an error. */
21642 /* We use char because int might match the return type of a gcc2
21643 builtin and then its argument prototype would still apply. */
21645 /* The GNU C library defines this for functions which it implements
21646 to always fail with ENOSYS. Some functions are actually named
21647 something starting with __ and the normal name is an alias. */
21648 #if defined (__stub_connect) || defined (__stub___connect)
21651 char (*f) () = connect;
21660 return f != connect;
21665 rm -f conftest.
$ac_objext conftest
$ac_exeext
21666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21667 (eval $ac_link) 2>conftest.er1
21669 grep -v '^ *+' conftest.er1
>conftest.err
21671 cat conftest.err
>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } &&
21674 { ac_try
='test -z "$ac_c_werror_flag"
21675 || test ! -s conftest.err'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; } &&
21681 { ac_try
='test -s conftest$ac_exeext'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; }; then
21687 ac_cv_func_connect
=yes
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.
$ac_ext >&5
21692 ac_cv_func_connect
=no
21694 rm -f conftest.err conftest.
$ac_objext \
21695 conftest
$ac_exeext conftest.
$ac_ext
21697 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21698 echo "${ECHO_T}$ac_cv_func_connect" >&6
21700 if test $ac_cv_func_connect = no
; then
21701 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21702 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21703 if test "${ac_cv_lib_socket_connect+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 ac_check_lib_save_LIBS
=$LIBS
21707 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21708 if test x
$gcc_no_link = xyes
; then
21709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21711 { (exit 1); exit 1; }; }
21713 cat >conftest.
$ac_ext <<_ACEOF
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21720 /* Override any gcc2 internal prototype to avoid an error. */
21724 /* We use char because int might match the return type of a gcc2
21725 builtin and then its argument prototype would still apply. */
21735 rm -f conftest.
$ac_objext conftest
$ac_exeext
21736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21737 (eval $ac_link) 2>conftest.er1
21739 grep -v '^ *+' conftest.er1
>conftest.err
21741 cat conftest.err
>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try
='test -z "$ac_c_werror_flag"
21745 || test ! -s conftest.err'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try
='test -s conftest$ac_exeext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21757 ac_cv_lib_socket_connect
=yes
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.
$ac_ext >&5
21762 ac_cv_lib_socket_connect
=no
21764 rm -f conftest.err conftest.
$ac_objext \
21765 conftest
$ac_exeext conftest.
$ac_ext
21766 LIBS
=$ac_check_lib_save_LIBS
21768 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21769 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21770 if test $ac_cv_lib_socket_connect = yes; then
21771 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21776 # Guillermo Gomez says -lposix is necessary on A/UX.
21777 echo "$as_me:$LINENO: checking for remove" >&5
21778 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21779 if test "${ac_cv_func_remove+set}" = set; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 if test x
$gcc_no_link = xyes
; then
21783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21785 { (exit 1); exit 1; }; }
21787 cat >conftest.
$ac_ext <<_ACEOF
21790 cat confdefs.h
>>conftest.
$ac_ext
21791 cat >>conftest.
$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
21794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21795 #define remove innocuous_remove
21797 /* System header to define __stub macros and hopefully few prototypes,
21798 which can conflict with char remove (); below.
21799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21800 <limits.h> exists even on freestanding compilers. */
21803 # include <limits.h>
21805 # include <assert.h>
21810 /* Override any gcc2 internal prototype to avoid an error. */
21815 /* We use char because int might match the return type of a gcc2
21816 builtin and then its argument prototype would still apply. */
21818 /* The GNU C library defines this for functions which it implements
21819 to always fail with ENOSYS. Some functions are actually named
21820 something starting with __ and the normal name is an alias. */
21821 #if defined (__stub_remove) || defined (__stub___remove)
21824 char (*f) () = remove;
21833 return f != remove;
21838 rm -f conftest.
$ac_objext conftest
$ac_exeext
21839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21840 (eval $ac_link) 2>conftest.er1
21842 grep -v '^ *+' conftest.er1
>conftest.err
21844 cat conftest.err
>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try
='test -z "$ac_c_werror_flag"
21848 || test ! -s conftest.err'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; } &&
21854 { ac_try
='test -s conftest$ac_exeext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_func_remove
=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.
$ac_ext >&5
21865 ac_cv_func_remove
=no
21867 rm -f conftest.err conftest.
$ac_objext \
21868 conftest
$ac_exeext conftest.
$ac_ext
21870 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21871 echo "${ECHO_T}$ac_cv_func_remove" >&6
21873 if test $ac_cv_func_remove = no
; then
21874 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21875 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21876 if test "${ac_cv_lib_posix_remove+set}" = set; then
21877 echo $ECHO_N "(cached) $ECHO_C" >&6
21879 ac_check_lib_save_LIBS
=$LIBS
21880 LIBS
="-lposix $LIBS"
21881 if test x
$gcc_no_link = xyes
; then
21882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21884 { (exit 1); exit 1; }; }
21886 cat >conftest.
$ac_ext <<_ACEOF
21889 cat confdefs.h
>>conftest.
$ac_ext
21890 cat >>conftest.
$ac_ext <<_ACEOF
21891 /* end confdefs.h. */
21893 /* Override any gcc2 internal prototype to avoid an error. */
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21908 rm -f conftest.
$ac_objext conftest
$ac_exeext
21909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21910 (eval $ac_link) 2>conftest.er1
21912 grep -v '^ *+' conftest.er1
>conftest.err
21914 cat conftest.err
>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } &&
21917 { ac_try
='test -z "$ac_c_werror_flag"
21918 || test ! -s conftest.err'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; } &&
21924 { ac_try
='test -s conftest$ac_exeext'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; }; then
21930 ac_cv_lib_posix_remove
=yes
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.
$ac_ext >&5
21935 ac_cv_lib_posix_remove
=no
21937 rm -f conftest.err conftest.
$ac_objext \
21938 conftest
$ac_exeext conftest.
$ac_ext
21939 LIBS
=$ac_check_lib_save_LIBS
21941 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21942 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21943 if test $ac_cv_lib_posix_remove = yes; then
21944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21949 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21950 echo "$as_me:$LINENO: checking for shmat" >&5
21951 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21952 if test "${ac_cv_func_shmat+set}" = set; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 if test x
$gcc_no_link = xyes
; then
21956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21958 { (exit 1); exit 1; }; }
21960 cat >conftest.
$ac_ext <<_ACEOF
21963 cat confdefs.h
>>conftest.
$ac_ext
21964 cat >>conftest.
$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
21967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21968 #define shmat innocuous_shmat
21970 /* System header to define __stub macros and hopefully few prototypes,
21971 which can conflict with char shmat (); below.
21972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21973 <limits.h> exists even on freestanding compilers. */
21976 # include <limits.h>
21978 # include <assert.h>
21983 /* Override any gcc2 internal prototype to avoid an error. */
21988 /* We use char because int might match the return type of a gcc2
21989 builtin and then its argument prototype would still apply. */
21991 /* The GNU C library defines this for functions which it implements
21992 to always fail with ENOSYS. Some functions are actually named
21993 something starting with __ and the normal name is an alias. */
21994 #if defined (__stub_shmat) || defined (__stub___shmat)
21997 char (*f) () = shmat;
22011 rm -f conftest.
$ac_objext conftest
$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>conftest.er1
22015 grep -v '^ *+' conftest.er1
>conftest.err
22017 cat conftest.err
>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try
='test -z "$ac_c_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest$ac_exeext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_func_shmat
=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 ac_cv_func_shmat
=no
22040 rm -f conftest.err conftest.
$ac_objext \
22041 conftest
$ac_exeext conftest.
$ac_ext
22043 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22044 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22046 if test $ac_cv_func_shmat = no
; then
22047 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22048 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22049 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22050 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 ac_check_lib_save_LIBS
=$LIBS
22054 if test x
$gcc_no_link = xyes
; then
22055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22057 { (exit 1); exit 1; }; }
22059 cat >conftest.
$ac_ext <<_ACEOF
22062 cat confdefs.h
>>conftest.
$ac_ext
22063 cat >>conftest.
$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22066 /* Override any gcc2 internal prototype to avoid an error. */
22070 /* We use char because int might match the return type of a gcc2
22071 builtin and then its argument prototype would still apply. */
22081 rm -f conftest.
$ac_objext conftest
$ac_exeext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22083 (eval $ac_link) 2>conftest.er1
22085 grep -v '^ *+' conftest.er1
>conftest.err
22087 cat conftest.err
>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try
='test -z "$ac_c_werror_flag"
22091 || test ! -s conftest.err'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try
='test -s conftest$ac_exeext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 ac_cv_lib_ipc_shmat
=yes
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.
$ac_ext >&5
22108 ac_cv_lib_ipc_shmat
=no
22110 rm -f conftest.err conftest.
$ac_objext \
22111 conftest
$ac_exeext conftest.
$ac_ext
22112 LIBS
=$ac_check_lib_save_LIBS
22114 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22115 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22116 if test $ac_cv_lib_ipc_shmat = yes; then
22117 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22123 # Check for libraries that X11R6 Xt/Xaw programs need.
22124 ac_save_LDFLAGS
=$LDFLAGS
22125 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22126 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22127 # check for ICE first), but we must link in the order -lSM -lICE or
22128 # we get undefined symbols. So assume we have SM if we have ICE.
22129 # These have to be linked with before -lX11, unlike the other
22130 # libraries we check for below, so use a different variable.
22131 # John Interrante, Karl Berry
22132 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22133 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22134 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 ac_check_lib_save_LIBS
=$LIBS
22138 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22139 if test x
$gcc_no_link = xyes
; then
22140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22142 { (exit 1); exit 1; }; }
22144 cat >conftest.
$ac_ext <<_ACEOF
22147 cat confdefs.h
>>conftest.
$ac_ext
22148 cat >>conftest.
$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22151 /* Override any gcc2 internal prototype to avoid an error. */
22155 /* We use char because int might match the return type of a gcc2
22156 builtin and then its argument prototype would still apply. */
22157 char IceConnectionNumber ();
22161 IceConnectionNumber ();
22166 rm -f conftest.
$ac_objext conftest
$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>conftest.er1
22170 grep -v '^ *+' conftest.er1
>conftest.err
22172 cat conftest.err
>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try
='test -z "$ac_c_werror_flag"
22176 || test ! -s conftest.err'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; } &&
22182 { ac_try
='test -s conftest$ac_exeext'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 ac_cv_lib_ICE_IceConnectionNumber
=yes
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.
$ac_ext >&5
22193 ac_cv_lib_ICE_IceConnectionNumber
=no
22195 rm -f conftest.err conftest.
$ac_objext \
22196 conftest
$ac_exeext conftest.
$ac_ext
22197 LIBS
=$ac_check_lib_save_LIBS
22199 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22200 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22201 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22202 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22205 LDFLAGS
=$ac_save_LDFLAGS
22209 if test "$no_x" = yes; then
22210 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
22211 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
22212 { (exit 1); exit 1; }; }
22214 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
22215 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
22216 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 ac_check_lib_save_LIBS
=$LIBS
22220 LIBS
="-lXtst ${X_LIBS} $LIBS"
22221 if test x
$gcc_no_link = xyes
; then
22222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22224 { (exit 1); exit 1; }; }
22226 cat >conftest.
$ac_ext <<_ACEOF
22229 cat confdefs.h
>>conftest.
$ac_ext
22230 cat >>conftest.
$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22233 /* Override any gcc2 internal prototype to avoid an error. */
22237 /* We use char because int might match the return type of a gcc2
22238 builtin and then its argument prototype would still apply. */
22239 char XTestQueryExtension ();
22243 XTestQueryExtension ();
22248 rm -f conftest.
$ac_objext conftest
$ac_exeext
22249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22250 (eval $ac_link) 2>conftest.er1
22252 grep -v '^ *+' conftest.er1
>conftest.err
22254 cat conftest.err
>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } &&
22257 { ac_try
='test -z "$ac_c_werror_flag"
22258 || test ! -s conftest.err'
22259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22260 (eval $ac_try) 2>&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); }; } &&
22264 { ac_try
='test -s conftest$ac_exeext'
22265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22266 (eval $ac_try) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); }; }; then
22270 ac_cv_lib_Xtst_XTestQueryExtension
=yes
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.
$ac_ext >&5
22275 ac_cv_lib_Xtst_XTestQueryExtension
=no
22277 rm -f conftest.err conftest.
$ac_objext \
22278 conftest
$ac_exeext conftest.
$ac_ext
22279 LIBS
=$ac_check_lib_save_LIBS
22281 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
22282 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
22283 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
22285 cat >>confdefs.h
<<\_ACEOF
22286 #define HAVE_XTEST 1
22288 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
22298 if test -z "$PKG_CONFIG"; then
22299 # Extract the first word of "pkg-config", so it can be a program name with args.
22300 set dummy pkg-config
; ac_word
=$2
22301 echo "$as_me:$LINENO: checking for $ac_word" >&5
22302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 case $PKG_CONFIG in
22308 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22312 for as_dir
in $PATH
22315 test -z "$as_dir" && as_dir
=.
22316 for ac_exec_ext
in '' $ac_executable_extensions; do
22317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22318 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22331 if test -n "$PKG_CONFIG"; then
22332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22333 echo "${ECHO_T}$PKG_CONFIG" >&6
22335 echo "$as_me:$LINENO: result: no" >&5
22336 echo "${ECHO_T}no" >&6
22341 if test "$PKG_CONFIG" = "no" ; then
22342 echo "*** The pkg-config script could not be found. Make sure it is"
22343 echo "*** in your path, or set the PKG_CONFIG environment variable"
22344 echo "*** to the full path to pkg-config."
22345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22347 PKG_CONFIG_MIN_VERSION
=0.9.0
22348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22349 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
22350 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
22352 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
22353 echo "$as_me:$LINENO: result: yes" >&5
22354 echo "${ECHO_T}yes" >&6
22357 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
22358 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
22359 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22360 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
22361 echo "${ECHO_T}$GTK_CFLAGS" >&6
22363 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
22364 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
22365 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22366 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
22367 echo "${ECHO_T}$GTK_LIBS" >&6
22371 ## If we have a custom action on failure, don't print errors, but
22372 ## do set a variable so people can do so.
22373 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22374 echo $GTK_PKG_ERRORS
22380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22385 if test $succeeded = yes; then
22388 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 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
22389 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 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;}
22390 { (exit 1); exit 1; }; }
22396 if test -z "$PKG_CONFIG"; then
22397 # Extract the first word of "pkg-config", so it can be a program name with args.
22398 set dummy pkg-config
; ac_word
=$2
22399 echo "$as_me:$LINENO: checking for $ac_word" >&5
22400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22402 echo $ECHO_N "(cached) $ECHO_C" >&6
22404 case $PKG_CONFIG in
22406 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22410 for as_dir
in $PATH
22413 test -z "$as_dir" && as_dir
=.
22414 for ac_exec_ext
in '' $ac_executable_extensions; do
22415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22416 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22427 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22429 if test -n "$PKG_CONFIG"; then
22430 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22431 echo "${ECHO_T}$PKG_CONFIG" >&6
22433 echo "$as_me:$LINENO: result: no" >&5
22434 echo "${ECHO_T}no" >&6
22439 if test "$PKG_CONFIG" = "no" ; then
22440 echo "*** The pkg-config script could not be found. Make sure it is"
22441 echo "*** in your path, or set the PKG_CONFIG environment variable"
22442 echo "*** to the full path to pkg-config."
22443 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22445 PKG_CONFIG_MIN_VERSION
=0.9.0
22446 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22447 echo "$as_me:$LINENO: checking for freetype2" >&5
22448 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
22450 if $PKG_CONFIG --exists "freetype2" ; then
22451 echo "$as_me:$LINENO: result: yes" >&5
22452 echo "${ECHO_T}yes" >&6
22455 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
22456 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
22457 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
22458 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
22459 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
22461 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
22462 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
22463 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
22464 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
22465 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
22467 FREETYPE2_CFLAGS
=""
22469 ## If we have a custom action on failure, don't print errors, but
22470 ## do set a variable so people can do so.
22471 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
22472 echo $FREETYPE2_PKG_ERRORS
22478 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22479 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22483 if test $succeeded = yes; then
22486 { { echo "$as_me:$LINENO: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22487 echo "$as_me: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22488 { (exit 1); exit 1; }; }
22494 if test -z "$PKG_CONFIG"; then
22495 # Extract the first word of "pkg-config", so it can be a program name with args.
22496 set dummy pkg-config
; ac_word
=$2
22497 echo "$as_me:$LINENO: checking for $ac_word" >&5
22498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22499 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 case $PKG_CONFIG in
22504 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22508 for as_dir
in $PATH
22511 test -z "$as_dir" && as_dir
=.
22512 for ac_exec_ext
in '' $ac_executable_extensions; do
22513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22514 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22521 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22525 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22527 if test -n "$PKG_CONFIG"; then
22528 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22529 echo "${ECHO_T}$PKG_CONFIG" >&6
22531 echo "$as_me:$LINENO: result: no" >&5
22532 echo "${ECHO_T}no" >&6
22537 if test "$PKG_CONFIG" = "no" ; then
22538 echo "*** The pkg-config script could not be found. Make sure it is"
22539 echo "*** in your path, or set the PKG_CONFIG environment variable"
22540 echo "*** to the full path to pkg-config."
22541 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22543 PKG_CONFIG_MIN_VERSION
=0.9.0
22544 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22545 echo "$as_me:$LINENO: checking for pangoft2" >&5
22546 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22548 if $PKG_CONFIG --exists "pangoft2" ; then
22549 echo "$as_me:$LINENO: result: yes" >&5
22550 echo "${ECHO_T}yes" >&6
22553 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22554 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22555 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22556 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22557 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22559 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22560 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22561 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22562 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22563 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22567 ## If we have a custom action on failure, don't print errors, but
22568 ## do set a variable so people can do so.
22569 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22570 echo $PANGOFT2_PKG_ERRORS
22576 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22577 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22581 if test $succeeded = yes; then
22584 { { 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
22585 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;}
22586 { (exit 1); exit 1; }; }
22592 if test -z "$PKG_CONFIG"; then
22593 # Extract the first word of "pkg-config", so it can be a program name with args.
22594 set dummy pkg-config
; ac_word
=$2
22595 echo "$as_me:$LINENO: checking for $ac_word" >&5
22596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22597 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 case $PKG_CONFIG in
22602 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22606 for as_dir
in $PATH
22609 test -z "$as_dir" && as_dir
=.
22610 for ac_exec_ext
in '' $ac_executable_extensions; do
22611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22612 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22619 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22623 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22625 if test -n "$PKG_CONFIG"; then
22626 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22627 echo "${ECHO_T}$PKG_CONFIG" >&6
22629 echo "$as_me:$LINENO: result: no" >&5
22630 echo "${ECHO_T}no" >&6
22635 if test "$PKG_CONFIG" = "no" ; then
22636 echo "*** The pkg-config script could not be found. Make sure it is"
22637 echo "*** in your path, or set the PKG_CONFIG environment variable"
22638 echo "*** to the full path to pkg-config."
22639 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22641 PKG_CONFIG_MIN_VERSION
=0.9.0
22642 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22643 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
22644 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
22646 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
22647 echo "$as_me:$LINENO: result: yes" >&5
22648 echo "${ECHO_T}yes" >&6
22651 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
22652 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
22653 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
22654 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
22655 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
22657 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
22658 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
22659 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
22660 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
22661 echo "${ECHO_T}$CAIRO_LIBS" >&6
22665 ## If we have a custom action on failure, don't print errors, but
22666 ## do set a variable so people can do so.
22667 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
22668 echo $CAIRO_PKG_ERRORS
22674 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22675 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22679 if test $succeeded = yes; then
22682 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 1.1.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
22683 echo "$as_me: error: Library requirements (cairo >= 1.1.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;}
22684 { (exit 1); exit 1; }; }
22687 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
22688 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
22689 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 ac_check_lib_save_LIBS
=$LIBS
22693 LIBS
="-lXrender ${X_LIBS} $LIBS"
22694 if test x
$gcc_no_link = xyes
; then
22695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22697 { (exit 1); exit 1; }; }
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22706 /* Override any gcc2 internal prototype to avoid an error. */
22710 /* We use char because int might match the return type of a gcc2
22711 builtin and then its argument prototype would still apply. */
22712 char XRenderQueryExtension ();
22716 XRenderQueryExtension ();
22721 rm -f conftest.
$ac_objext conftest
$ac_exeext
22722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22723 (eval $ac_link) 2>conftest.er1
22725 grep -v '^ *+' conftest.er1
>conftest.err
22727 cat conftest.err
>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); } &&
22730 { ac_try
='test -z "$ac_c_werror_flag"
22731 || test ! -s conftest.err'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; } &&
22737 { ac_try
='test -s conftest$ac_exeext'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; }; then
22743 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
22745 echo "$as_me: failed program was:" >&5
22746 sed 's/^/| /' conftest.
$ac_ext >&5
22748 ac_cv_lib_Xrender_XRenderQueryExtension
=no
22750 rm -f conftest.err conftest.
$ac_objext \
22751 conftest
$ac_exeext conftest.
$ac_ext
22752 LIBS
=$ac_check_lib_save_LIBS
22754 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
22755 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
22756 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
22758 cat >>confdefs.h
<<\_ACEOF
22759 #define HAVE_XRENDER 1
22761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
22767 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
22768 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
22769 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
22770 echo $ECHO_N "(cached) $ECHO_C" >&6
22772 ac_check_lib_save_LIBS
=$LIBS
22773 LIBS
="-lXrandr ${X_LIBS} $LIBS"
22774 if test x
$gcc_no_link = xyes
; then
22775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22777 { (exit 1); exit 1; }; }
22779 cat >conftest.
$ac_ext <<_ACEOF
22782 cat confdefs.h
>>conftest.
$ac_ext
22783 cat >>conftest.
$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22786 /* Override any gcc2 internal prototype to avoid an error. */
22790 /* We use char because int might match the return type of a gcc2
22791 builtin and then its argument prototype would still apply. */
22792 char XRRQueryExtension ();
22796 XRRQueryExtension ();
22801 rm -f conftest.
$ac_objext conftest
$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>conftest.er1
22805 grep -v '^ *+' conftest.er1
>conftest.err
22807 cat conftest.err
>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } &&
22810 { ac_try
='test -z "$ac_c_werror_flag"
22811 || test ! -s conftest.err'
22812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22813 (eval $ac_try) 2>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); }; } &&
22817 { ac_try
='test -s conftest$ac_exeext'
22818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22819 (eval $ac_try) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); }; }; then
22823 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.
$ac_ext >&5
22828 ac_cv_lib_Xrandr_XRRQueryExtension
=no
22830 rm -f conftest.err conftest.
$ac_objext \
22831 conftest
$ac_exeext conftest.
$ac_ext
22832 LIBS
=$ac_check_lib_save_LIBS
22834 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
22835 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
22836 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
22838 cat >>confdefs.h
<<\_ACEOF
22839 #define HAVE_XRANDR 1
22841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
22856 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
22860 if test -z "$PKG_CONFIG"; then
22861 # Extract the first word of "pkg-config", so it can be a program name with args.
22862 set dummy pkg-config
; ac_word
=$2
22863 echo "$as_me:$LINENO: checking for $ac_word" >&5
22864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 case $PKG_CONFIG in
22870 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22874 for as_dir
in $PATH
22877 test -z "$as_dir" && as_dir
=.
22878 for ac_exec_ext
in '' $ac_executable_extensions; do
22879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22880 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22891 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22893 if test -n "$PKG_CONFIG"; then
22894 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22895 echo "${ECHO_T}$PKG_CONFIG" >&6
22897 echo "$as_me:$LINENO: result: no" >&5
22898 echo "${ECHO_T}no" >&6
22903 if test "$PKG_CONFIG" = "no" ; then
22904 echo "*** The pkg-config script could not be found. Make sure it is"
22905 echo "*** in your path, or set the PKG_CONFIG environment variable"
22906 echo "*** to the full path to pkg-config."
22907 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22909 PKG_CONFIG_MIN_VERSION
=0.9.0
22910 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22911 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
22912 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
22914 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
22915 echo "$as_me:$LINENO: result: yes" >&5
22916 echo "${ECHO_T}yes" >&6
22919 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
22920 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
22921 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
22922 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
22923 echo "${ECHO_T}$GCONF_CFLAGS" >&6
22925 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
22926 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
22927 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
22928 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
22929 echo "${ECHO_T}$GCONF_LIBS" >&6
22933 ## If we have a custom action on failure, don't print errors, but
22934 ## do set a variable so people can do so.
22935 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
22936 echo $GCONF_PKG_ERRORS
22942 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22943 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22947 if test $succeeded = yes; then
22950 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.6.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
22951 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.6.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;}
22952 { (exit 1); exit 1; }; }
22960 if test -z "$PKG_CONFIG"; then
22961 # Extract the first word of "pkg-config", so it can be a program name with args.
22962 set dummy pkg-config
; ac_word
=$2
22963 echo "$as_me:$LINENO: checking for $ac_word" >&5
22964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22965 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 case $PKG_CONFIG in
22970 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22974 for as_dir
in $PATH
22977 test -z "$as_dir" && as_dir
=.
22978 for ac_exec_ext
in '' $ac_executable_extensions; do
22979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22980 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22987 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22991 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22993 if test -n "$PKG_CONFIG"; then
22994 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22995 echo "${ECHO_T}$PKG_CONFIG" >&6
22997 echo "$as_me:$LINENO: result: no" >&5
22998 echo "${ECHO_T}no" >&6
23003 if test "$PKG_CONFIG" = "no" ; then
23004 echo "*** The pkg-config script could not be found. Make sure it is"
23005 echo "*** in your path, or set the PKG_CONFIG environment variable"
23006 echo "*** to the full path to pkg-config."
23007 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23009 PKG_CONFIG_MIN_VERSION
=0.9.0
23010 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23011 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
23012 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
23014 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
23015 echo "$as_me:$LINENO: result: yes" >&5
23016 echo "${ECHO_T}yes" >&6
23019 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
23020 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
23021 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
23022 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
23023 echo "${ECHO_T}$GDK_CFLAGS" >&6
23025 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
23026 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
23027 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
23028 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
23029 echo "${ECHO_T}$GDK_LIBS" >&6
23033 ## If we have a custom action on failure, don't print errors, but
23034 ## do set a variable so people can do so.
23035 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
23036 echo $GDK_PKG_ERRORS
23042 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23043 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23047 if test $succeeded = yes; then
23050 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.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
23051 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.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;}
23052 { (exit 1); exit 1; }; }
23057 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
23058 if test "$USE_GCONF_PREFS_PEER" = ""; then
23059 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
23063 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
23064 GST_MAJORMINOR
=0.10
23065 GST_REQUIRED
=0.10.10
23070 if test -z "$PKG_CONFIG"; then
23071 # Extract the first word of "pkg-config", so it can be a program name with args.
23072 set dummy pkg-config
; ac_word
=$2
23073 echo "$as_me:$LINENO: checking for $ac_word" >&5
23074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23075 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6
23078 case $PKG_CONFIG in
23080 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23084 for as_dir
in $PATH
23087 test -z "$as_dir" && as_dir
=.
23088 for ac_exec_ext
in '' $ac_executable_extensions; do
23089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23090 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23097 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23101 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23103 if test -n "$PKG_CONFIG"; then
23104 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23105 echo "${ECHO_T}$PKG_CONFIG" >&6
23107 echo "$as_me:$LINENO: result: no" >&5
23108 echo "${ECHO_T}no" >&6
23113 if test "$PKG_CONFIG" = "no" ; then
23114 echo "*** The pkg-config script could not be found. Make sure it is"
23115 echo "*** in your path, or set the PKG_CONFIG environment variable"
23116 echo "*** to the full path to pkg-config."
23117 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23119 PKG_CONFIG_MIN_VERSION
=0.9.0
23120 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23121 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23122 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23124 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23125 echo "$as_me:$LINENO: result: yes" >&5
23126 echo "${ECHO_T}yes" >&6
23129 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
23130 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
23131 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23132 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
23133 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
23135 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
23136 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
23137 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23138 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
23139 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
23141 GSTREAMER_CFLAGS
=""
23143 ## If we have a custom action on failure, don't print errors, but
23144 ## do set a variable so people can do so.
23145 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23146 echo $GSTREAMER_PKG_ERRORS
23152 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23153 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23157 if test $succeeded = yes; then
23160 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) 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
23161 echo "$as_me: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) 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;}
23162 { (exit 1); exit 1; }; }
23171 if test -z "$PKG_CONFIG"; then
23172 # Extract the first word of "pkg-config", so it can be a program name with args.
23173 set dummy pkg-config
; ac_word
=$2
23174 echo "$as_me:$LINENO: checking for $ac_word" >&5
23175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23176 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 case $PKG_CONFIG in
23181 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23185 for as_dir
in $PATH
23188 test -z "$as_dir" && as_dir
=.
23189 for ac_exec_ext
in '' $ac_executable_extensions; do
23190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23191 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23198 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23202 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23204 if test -n "$PKG_CONFIG"; then
23205 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23206 echo "${ECHO_T}$PKG_CONFIG" >&6
23208 echo "$as_me:$LINENO: result: no" >&5
23209 echo "${ECHO_T}no" >&6
23214 if test "$PKG_CONFIG" = "no" ; then
23215 echo "*** The pkg-config script could not be found. Make sure it is"
23216 echo "*** in your path, or set the PKG_CONFIG environment variable"
23217 echo "*** to the full path to pkg-config."
23218 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23220 PKG_CONFIG_MIN_VERSION
=0.9.0
23221 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23222 echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23223 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23225 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23226 echo "$as_me:$LINENO: result: yes" >&5
23227 echo "${ECHO_T}yes" >&6
23230 echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
23231 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
23232 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23233 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
23234 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
23236 echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
23237 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
23238 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23239 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
23240 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
23242 GSTREAMER_BASE_CFLAGS
=""
23243 GSTREAMER_BASE_LIBS
=""
23244 ## If we have a custom action on failure, don't print errors, but
23245 ## do set a variable so people can do so.
23246 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23247 echo $GSTREAMER_BASE_PKG_ERRORS
23253 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23254 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23258 if test $succeeded = yes; then
23261 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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
23262 echo "$as_me: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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;}
23263 { (exit 1); exit 1; }; }
23272 if test -z "$PKG_CONFIG"; then
23273 # Extract the first word of "pkg-config", so it can be a program name with args.
23274 set dummy pkg-config
; ac_word
=$2
23275 echo "$as_me:$LINENO: checking for $ac_word" >&5
23276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23277 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23278 echo $ECHO_N "(cached) $ECHO_C" >&6
23280 case $PKG_CONFIG in
23282 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23286 for as_dir
in $PATH
23289 test -z "$as_dir" && as_dir
=.
23290 for ac_exec_ext
in '' $ac_executable_extensions; do
23291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23292 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23299 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23303 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23305 if test -n "$PKG_CONFIG"; then
23306 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23307 echo "${ECHO_T}$PKG_CONFIG" >&6
23309 echo "$as_me:$LINENO: result: no" >&5
23310 echo "${ECHO_T}no" >&6
23315 if test "$PKG_CONFIG" = "no" ; then
23316 echo "*** The pkg-config script could not be found. Make sure it is"
23317 echo "*** in your path, or set the PKG_CONFIG environment variable"
23318 echo "*** to the full path to pkg-config."
23319 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23321 PKG_CONFIG_MIN_VERSION
=0.9.0
23322 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23323 echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23324 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23326 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23327 echo "$as_me:$LINENO: result: yes" >&5
23328 echo "${ECHO_T}yes" >&6
23331 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
23332 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
23333 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23334 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
23335 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
23337 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
23338 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
23339 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23340 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
23341 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
23343 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
23344 GSTREAMER_PLUGINS_BASE_LIBS
=""
23345 ## If we have a custom action on failure, don't print errors, but
23346 ## do set a variable so people can do so.
23347 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23348 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
23354 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23355 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23359 if test $succeeded = yes; then
23362 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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
23363 echo "$as_me: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) 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;}
23364 { (exit 1); exit 1; }; }
23370 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
23376 if test -z "$PKG_CONFIG"; then
23377 # Extract the first word of "pkg-config", so it can be a program name with args.
23378 set dummy pkg-config
; ac_word
=$2
23379 echo "$as_me:$LINENO: checking for $ac_word" >&5
23380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23382 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 case $PKG_CONFIG in
23386 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23390 for as_dir
in $PATH
23393 test -z "$as_dir" && as_dir
=.
23394 for ac_exec_ext
in '' $ac_executable_extensions; do
23395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23396 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23407 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23409 if test -n "$PKG_CONFIG"; then
23410 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23411 echo "${ECHO_T}$PKG_CONFIG" >&6
23413 echo "$as_me:$LINENO: result: no" >&5
23414 echo "${ECHO_T}no" >&6
23419 if test "$PKG_CONFIG" = "no" ; then
23420 echo "*** The pkg-config script could not be found. Make sure it is"
23421 echo "*** in your path, or set the PKG_CONFIG environment variable"
23422 echo "*** to the full path to pkg-config."
23423 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23425 PKG_CONFIG_MIN_VERSION
=0.9.0
23426 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23427 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
23428 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
23430 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
23431 echo "$as_me:$LINENO: result: yes" >&5
23432 echo "${ECHO_T}yes" >&6
23435 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
23436 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
23437 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
23438 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
23439 echo "${ECHO_T}$GDK_CFLAGS" >&6
23441 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
23442 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
23443 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
23444 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
23445 echo "${ECHO_T}$GDK_LIBS" >&6
23449 ## If we have a custom action on failure, don't print errors, but
23450 ## do set a variable so people can do so.
23451 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
23452 echo $GDK_PKG_ERRORS
23458 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23459 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23463 if test $succeeded = yes; then
23466 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.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
23467 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.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;}
23468 { (exit 1); exit 1; }; }
23474 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
23475 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
23480 if test "x${COMPILE_QT_PEER}" = xyes
; then
23484 if test -z "$PKG_CONFIG"; then
23485 # Extract the first word of "pkg-config", so it can be a program name with args.
23486 set dummy pkg-config
; ac_word
=$2
23487 echo "$as_me:$LINENO: checking for $ac_word" >&5
23488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23490 echo $ECHO_N "(cached) $ECHO_C" >&6
23492 case $PKG_CONFIG in
23494 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23498 for as_dir
in $PATH
23501 test -z "$as_dir" && as_dir
=.
23502 for ac_exec_ext
in '' $ac_executable_extensions; do
23503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23504 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23511 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23515 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23517 if test -n "$PKG_CONFIG"; then
23518 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23519 echo "${ECHO_T}$PKG_CONFIG" >&6
23521 echo "$as_me:$LINENO: result: no" >&5
23522 echo "${ECHO_T}no" >&6
23527 if test "$PKG_CONFIG" = "no" ; then
23528 echo "*** The pkg-config script could not be found. Make sure it is"
23529 echo "*** in your path, or set the PKG_CONFIG environment variable"
23530 echo "*** to the full path to pkg-config."
23531 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23533 PKG_CONFIG_MIN_VERSION
=0.9.0
23534 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23535 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
23536 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
23538 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
23539 echo "$as_me:$LINENO: result: yes" >&5
23540 echo "${ECHO_T}yes" >&6
23543 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
23544 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
23545 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
23546 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
23547 echo "${ECHO_T}$QT_CFLAGS" >&6
23549 echo "$as_me:$LINENO: checking QT_LIBS" >&5
23550 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
23551 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
23552 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
23553 echo "${ECHO_T}$QT_LIBS" >&6
23557 ## If we have a custom action on failure, don't print errors, but
23558 ## do set a variable so people can do so.
23559 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
23566 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23567 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23571 if test $succeeded = yes; then
23577 if test "x$HAVE_QT4" = "xyes"; then
23578 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
23579 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
23580 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
23581 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
23582 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
23583 if eval "test \"\${$as_ac_File+set}\" = set"; then
23584 echo $ECHO_N "(cached) $ECHO_C" >&6
23586 test "$cross_compiling" = yes &&
23587 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23588 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23589 { (exit 1); exit 1; }; }
23590 if test -r "$QT_INCLUDE_DIR/QWidget"; then
23591 eval "$as_ac_File=yes"
23593 eval "$as_ac_File=no"
23596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
23597 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
23598 if test `eval echo '${'$as_ac_File'}'` = yes; then
23599 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
23600 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
23602 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
23603 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
23604 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
23605 if eval "test \"\${$as_ac_File+set}\" = set"; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 test "$cross_compiling" = yes &&
23609 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23610 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23611 { (exit 1); exit 1; }; }
23612 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
23613 eval "$as_ac_File=yes"
23615 eval "$as_ac_File=no"
23618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
23619 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
23620 if test `eval echo '${'$as_ac_File'}'` = yes; then
23621 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
23623 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
23624 echo "$as_me: WARNING: QWidget not found" >&2;}
23629 # Extract the first word of "moc", so it can be a program name with args.
23630 set dummy moc
; ac_word
=$2
23631 echo "$as_me:$LINENO: checking for $ac_word" >&5
23632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23633 if test "${ac_cv_prog_MOC+set}" = set; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 if test -n "$MOC"; then
23637 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23640 for as_dir
in $PATH
23643 test -z "$as_dir" && as_dir
=.
23644 for ac_exec_ext
in '' $ac_executable_extensions; do
23645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23646 ac_cv_prog_MOC
="moc"
23647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23655 MOC
=$ac_cv_prog_MOC
23656 if test -n "$MOC"; then
23657 echo "$as_me:$LINENO: result: $MOC" >&5
23658 echo "${ECHO_T}$MOC" >&6
23660 echo "$as_me:$LINENO: result: no" >&5
23661 echo "${ECHO_T}no" >&6
23664 # Extract the first word of "moc-qt4", so it can be a program name with args.
23665 set dummy moc-qt4
; ac_word
=$2
23666 echo "$as_me:$LINENO: checking for $ac_word" >&5
23667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23668 if test "${ac_cv_prog_MOC+set}" = set; then
23669 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 if test -n "$MOC"; then
23672 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23675 for as_dir
in $PATH
23678 test -z "$as_dir" && as_dir
=.
23679 for ac_exec_ext
in '' $ac_executable_extensions; do
23680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23681 ac_cv_prog_MOC
="moc-qt4"
23682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23690 MOC
=$ac_cv_prog_MOC
23691 if test -n "$MOC"; then
23692 echo "$as_me:$LINENO: result: $MOC" >&5
23693 echo "${ECHO_T}$MOC" >&6
23695 echo "$as_me:$LINENO: result: no" >&5
23696 echo "${ECHO_T}no" >&6
23700 if test "x$HAVE_QT4" = "xno"; then
23701 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
23702 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
23706 # Check whether --with-qt4dir or --without-qt4dir was given.
23707 if test "${with_qt4dir+set}" = set; then
23708 withval
="$with_qt4dir"
23712 if test x
"$QT4DIR" = x
; then
23713 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
23714 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
23715 { (exit 1); exit 1; }; }
23717 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
23718 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
23719 # Extract the first word of "moc", so it can be a program name with args.
23720 set dummy moc
; ac_word
=$2
23721 echo "$as_me:$LINENO: checking for $ac_word" >&5
23722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23723 if test "${ac_cv_prog_MOC+set}" = set; then
23724 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 if test -n "$MOC"; then
23727 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23730 for as_dir
in $QT4DIR/bin
23733 test -z "$as_dir" && as_dir
=.
23734 for ac_exec_ext
in '' $ac_executable_extensions; do
23735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23736 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
23737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23745 MOC
=$ac_cv_prog_MOC
23746 if test -n "$MOC"; then
23747 echo "$as_me:$LINENO: result: $MOC" >&5
23748 echo "${ECHO_T}$MOC" >&6
23750 echo "$as_me:$LINENO: result: no" >&5
23751 echo "${ECHO_T}no" >&6
23754 if test x
"$MOC" = x
; then
23755 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
23756 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
23757 { (exit 1); exit 1; }; }
23759 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
23760 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
23761 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
23762 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
23765 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
23766 of your installed Qt4 installation." >&5
23767 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
23768 of your installed Qt4 installation." >&2;}
23769 { (exit 1); exit 1; }; }
23773 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
23774 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
23778 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
23779 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
23780 cat >conftest.
$ac_ext <<_ACEOF
23783 cat confdefs.h
>>conftest.
$ac_ext
23784 cat >>conftest.
$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786 #include <sys/socket.h>
23790 int f = MSG_NOSIGNAL;
23795 rm -f conftest.
$ac_objext
23796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23797 (eval $ac_compile) 2>conftest.er1
23799 grep -v '^ *+' conftest.er1
>conftest.err
23801 cat conftest.err
>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } &&
23804 { ac_try
='test -z "$ac_c_werror_flag"
23805 || test ! -s conftest.err'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; } &&
23811 { ac_try
='test -s conftest.$ac_objext'
23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813 (eval $ac_try) 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; }; then
23817 echo "$as_me:$LINENO: result: yes" >&5
23818 echo "${ECHO_T}yes" >&6
23820 cat >>confdefs.h
<<\_ACEOF
23821 #define HAVE_MSG_NOSIGNAL 1
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.
$ac_ext >&5
23828 echo "$as_me:$LINENO: result: no" >&5
23829 echo "${ECHO_T}no" >&6
23832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23833 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
23834 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
23835 cat >conftest.
$ac_ext <<_ACEOF
23838 cat confdefs.h
>>conftest.
$ac_ext
23839 cat >>conftest.
$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <sys/socket.h>
23845 int f = SO_NOSIGPIPE;
23850 rm -f conftest.
$ac_objext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23852 (eval $ac_compile) 2>conftest.er1
23854 grep -v '^ *+' conftest.er1
>conftest.err
23856 cat conftest.err
>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try
='test -s conftest.$ac_objext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 echo "$as_me:$LINENO: result: yes" >&5
23873 echo "${ECHO_T}yes" >&6
23875 cat >>confdefs.h
<<\_ACEOF
23876 #define HAVE_SO_NOSIGPIPE 1
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.
$ac_ext >&5
23883 echo "$as_me:$LINENO: result: no" >&5
23884 echo "${ECHO_T}no" >&6
23887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23888 echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
23889 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6
23890 cat >conftest.
$ac_ext <<_ACEOF
23893 cat confdefs.h
>>conftest.
$ac_ext
23894 cat >>conftest.
$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <sys/socket.h>
23900 int f = MSG_WAITALL;
23905 rm -f conftest.
$ac_objext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23907 (eval $ac_compile) 2>conftest.er1
23909 grep -v '^ *+' conftest.er1
>conftest.err
23911 cat conftest.err
>&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); } &&
23914 { ac_try
='test -z "$ac_c_werror_flag"
23915 || test ! -s conftest.err'
23916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23917 (eval $ac_try) 2>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); }; } &&
23921 { ac_try
='test -s conftest.$ac_objext'
23922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23923 (eval $ac_try) 2>&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); }; }; then
23927 echo "$as_me:$LINENO: result: yes" >&5
23928 echo "${ECHO_T}yes" >&6
23930 cat >>confdefs.h
<<\_ACEOF
23931 #define HAVE_MSG_WAITALL 1
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.
$ac_ext >&5
23938 echo "$as_me:$LINENO: result: no" >&5
23939 echo "${ECHO_T}no" >&6
23942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23944 if test "x${COMPILE_PLUGIN}" = xyes
; then
23948 if test -z "$PKG_CONFIG"; then
23949 # Extract the first word of "pkg-config", so it can be a program name with args.
23950 set dummy pkg-config
; ac_word
=$2
23951 echo "$as_me:$LINENO: checking for $ac_word" >&5
23952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23953 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 case $PKG_CONFIG in
23958 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23962 for as_dir
in $PATH
23965 test -z "$as_dir" && as_dir
=.
23966 for ac_exec_ext
in '' $ac_executable_extensions; do
23967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23968 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23975 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23979 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23981 if test -n "$PKG_CONFIG"; then
23982 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23983 echo "${ECHO_T}$PKG_CONFIG" >&6
23985 echo "$as_me:$LINENO: result: no" >&5
23986 echo "${ECHO_T}no" >&6
23991 if test "$PKG_CONFIG" = "no" ; then
23992 echo "*** The pkg-config script could not be found. Make sure it is"
23993 echo "*** in your path, or set the PKG_CONFIG environment variable"
23994 echo "*** to the full path to pkg-config."
23995 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23997 PKG_CONFIG_MIN_VERSION
=0.9.0
23998 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23999 echo "$as_me:$LINENO: checking for mozilla-plugin libxul-unstable" >&5
24000 echo $ECHO_N "checking for mozilla-plugin libxul-unstable... $ECHO_C" >&6
24002 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
24003 echo "$as_me:$LINENO: result: yes" >&5
24004 echo "${ECHO_T}yes" >&6
24007 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24008 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24009 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
24010 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24011 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24013 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24014 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24015 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
24016 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24017 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24021 ## If we have a custom action on failure, don't print errors, but
24022 ## do set a variable so people can do so.
24023 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
24030 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24031 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24035 if test $succeeded = yes; then
24041 if test "x${MOZILLA_FOUND}" = xno
; then
24045 if test -z "$PKG_CONFIG"; then
24046 # Extract the first word of "pkg-config", so it can be a program name with args.
24047 set dummy pkg-config
; ac_word
=$2
24048 echo "$as_me:$LINENO: checking for $ac_word" >&5
24049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24050 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 case $PKG_CONFIG in
24055 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24059 for as_dir
in $PATH
24062 test -z "$as_dir" && as_dir
=.
24063 for ac_exec_ext
in '' $ac_executable_extensions; do
24064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24065 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24072 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24076 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24078 if test -n "$PKG_CONFIG"; then
24079 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24080 echo "${ECHO_T}$PKG_CONFIG" >&6
24082 echo "$as_me:$LINENO: result: no" >&5
24083 echo "${ECHO_T}no" >&6
24088 if test "$PKG_CONFIG" = "no" ; then
24089 echo "*** The pkg-config script could not be found. Make sure it is"
24090 echo "*** in your path, or set the PKG_CONFIG environment variable"
24091 echo "*** to the full path to pkg-config."
24092 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24094 PKG_CONFIG_MIN_VERSION
=0.9.0
24095 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24096 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
24097 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
24099 if $PKG_CONFIG --exists "mozilla-plugin" ; then
24100 echo "$as_me:$LINENO: result: yes" >&5
24101 echo "${ECHO_T}yes" >&6
24104 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24105 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24106 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
24107 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24108 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24110 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24111 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24112 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
24113 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24114 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24118 ## If we have a custom action on failure, don't print errors, but
24119 ## do set a variable so people can do so.
24120 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
24127 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24128 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24132 if test $succeeded = yes; then
24139 if test "x${MOZILLA_FOUND}" = xno
; then
24143 if test -z "$PKG_CONFIG"; then
24144 # Extract the first word of "pkg-config", so it can be a program name with args.
24145 set dummy pkg-config
; ac_word
=$2
24146 echo "$as_me:$LINENO: checking for $ac_word" >&5
24147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24148 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24149 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 case $PKG_CONFIG in
24153 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24157 for as_dir
in $PATH
24160 test -z "$as_dir" && as_dir
=.
24161 for ac_exec_ext
in '' $ac_executable_extensions; do
24162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24163 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24174 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24176 if test -n "$PKG_CONFIG"; then
24177 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24178 echo "${ECHO_T}$PKG_CONFIG" >&6
24180 echo "$as_me:$LINENO: result: no" >&5
24181 echo "${ECHO_T}no" >&6
24186 if test "$PKG_CONFIG" = "no" ; then
24187 echo "*** The pkg-config script could not be found. Make sure it is"
24188 echo "*** in your path, or set the PKG_CONFIG environment variable"
24189 echo "*** to the full path to pkg-config."
24190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24192 PKG_CONFIG_MIN_VERSION
=0.9.0
24193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24194 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
24195 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
24197 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
24198 echo "$as_me:$LINENO: result: yes" >&5
24199 echo "${ECHO_T}yes" >&6
24202 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24203 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24204 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
24205 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24206 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24208 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24209 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24210 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
24211 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24212 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24216 ## If we have a custom action on failure, don't print errors, but
24217 ## do set a variable so people can do so.
24218 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
24225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24230 if test $succeeded = yes; then
24237 if test "x${MOZILLA_FOUND}" = xno
; then
24241 if test -z "$PKG_CONFIG"; then
24242 # Extract the first word of "pkg-config", so it can be a program name with args.
24243 set dummy pkg-config
; ac_word
=$2
24244 echo "$as_me:$LINENO: checking for $ac_word" >&5
24245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24246 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24247 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 case $PKG_CONFIG in
24251 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24255 for as_dir
in $PATH
24258 test -z "$as_dir" && as_dir
=.
24259 for ac_exec_ext
in '' $ac_executable_extensions; do
24260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24261 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24272 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24274 if test -n "$PKG_CONFIG"; then
24275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24276 echo "${ECHO_T}$PKG_CONFIG" >&6
24278 echo "$as_me:$LINENO: result: no" >&5
24279 echo "${ECHO_T}no" >&6
24284 if test "$PKG_CONFIG" = "no" ; then
24285 echo "*** The pkg-config script could not be found. Make sure it is"
24286 echo "*** in your path, or set the PKG_CONFIG environment variable"
24287 echo "*** to the full path to pkg-config."
24288 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24290 PKG_CONFIG_MIN_VERSION
=0.9.0
24291 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24292 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
24293 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
24295 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
24296 echo "$as_me:$LINENO: result: yes" >&5
24297 echo "${ECHO_T}yes" >&6
24300 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24301 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24302 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
24303 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24304 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24306 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24307 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24308 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
24309 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24310 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24314 ## If we have a custom action on failure, don't print errors, but
24315 ## do set a variable so people can do so.
24316 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
24323 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24324 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24328 if test $succeeded = yes; then
24335 if test "x${MOZILLA_FOUND}" = xno
; then
24339 if test -z "$PKG_CONFIG"; then
24340 # Extract the first word of "pkg-config", so it can be a program name with args.
24341 set dummy pkg-config
; ac_word
=$2
24342 echo "$as_me:$LINENO: checking for $ac_word" >&5
24343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24345 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 case $PKG_CONFIG in
24349 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24353 for as_dir
in $PATH
24356 test -z "$as_dir" && as_dir
=.
24357 for ac_exec_ext
in '' $ac_executable_extensions; do
24358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24359 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24370 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24372 if test -n "$PKG_CONFIG"; then
24373 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24374 echo "${ECHO_T}$PKG_CONFIG" >&6
24376 echo "$as_me:$LINENO: result: no" >&5
24377 echo "${ECHO_T}no" >&6
24382 if test "$PKG_CONFIG" = "no" ; then
24383 echo "*** The pkg-config script could not be found. Make sure it is"
24384 echo "*** in your path, or set the PKG_CONFIG environment variable"
24385 echo "*** to the full path to pkg-config."
24386 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24388 PKG_CONFIG_MIN_VERSION
=0.9.0
24389 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24390 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
24391 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
24393 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
24394 echo "$as_me:$LINENO: result: yes" >&5
24395 echo "${ECHO_T}yes" >&6
24398 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24399 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24400 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24401 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24402 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24404 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24405 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24406 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24407 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24408 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24412 ## If we have a custom action on failure, don't print errors, but
24413 ## do set a variable so people can do so.
24414 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24421 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24422 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24426 if test $succeeded = yes; then
24433 if test "x${MOZILLA_FOUND}" = xno
; then
24437 if test -z "$PKG_CONFIG"; then
24438 # Extract the first word of "pkg-config", so it can be a program name with args.
24439 set dummy pkg-config
; ac_word
=$2
24440 echo "$as_me:$LINENO: checking for $ac_word" >&5
24441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 case $PKG_CONFIG in
24447 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24451 for as_dir
in $PATH
24454 test -z "$as_dir" && as_dir
=.
24455 for ac_exec_ext
in '' $ac_executable_extensions; do
24456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24457 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24464 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24468 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24470 if test -n "$PKG_CONFIG"; then
24471 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24472 echo "${ECHO_T}$PKG_CONFIG" >&6
24474 echo "$as_me:$LINENO: result: no" >&5
24475 echo "${ECHO_T}no" >&6
24480 if test "$PKG_CONFIG" = "no" ; then
24481 echo "*** The pkg-config script could not be found. Make sure it is"
24482 echo "*** in your path, or set the PKG_CONFIG environment variable"
24483 echo "*** to the full path to pkg-config."
24484 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24486 PKG_CONFIG_MIN_VERSION
=0.9.0
24487 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24488 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
24489 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
24491 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
24492 echo "$as_me:$LINENO: result: yes" >&5
24493 echo "${ECHO_T}yes" >&6
24496 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24497 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24498 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
24499 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24500 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24502 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24503 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24504 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
24505 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24506 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24510 ## If we have a custom action on failure, don't print errors, but
24511 ## do set a variable so people can do so.
24512 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
24519 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24520 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24524 if test $succeeded = yes; then
24531 if test "x${MOZILLA_FOUND}" = xno
; then
24535 if test -z "$PKG_CONFIG"; then
24536 # Extract the first word of "pkg-config", so it can be a program name with args.
24537 set dummy pkg-config
; ac_word
=$2
24538 echo "$as_me:$LINENO: checking for $ac_word" >&5
24539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24540 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24541 echo $ECHO_N "(cached) $ECHO_C" >&6
24543 case $PKG_CONFIG in
24545 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24549 for as_dir
in $PATH
24552 test -z "$as_dir" && as_dir
=.
24553 for ac_exec_ext
in '' $ac_executable_extensions; do
24554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24555 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24562 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24566 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24568 if test -n "$PKG_CONFIG"; then
24569 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24570 echo "${ECHO_T}$PKG_CONFIG" >&6
24572 echo "$as_me:$LINENO: result: no" >&5
24573 echo "${ECHO_T}no" >&6
24578 if test "$PKG_CONFIG" = "no" ; then
24579 echo "*** The pkg-config script could not be found. Make sure it is"
24580 echo "*** in your path, or set the PKG_CONFIG environment variable"
24581 echo "*** to the full path to pkg-config."
24582 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24584 PKG_CONFIG_MIN_VERSION
=0.9.0
24585 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24586 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
24587 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
24589 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
24590 echo "$as_me:$LINENO: result: yes" >&5
24591 echo "${ECHO_T}yes" >&6
24594 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24595 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24596 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
24597 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24598 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24600 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24601 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24602 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
24603 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24604 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24608 ## If we have a custom action on failure, don't print errors, but
24609 ## do set a variable so people can do so.
24610 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
24617 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24618 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24622 if test $succeeded = yes; then
24629 if test "x${MOZILLA_FOUND}" = xno
; then
24630 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
24631 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
24632 { (exit 1); exit 1; }; }
24638 if test -z "$PKG_CONFIG"; then
24639 # Extract the first word of "pkg-config", so it can be a program name with args.
24640 set dummy pkg-config
; ac_word
=$2
24641 echo "$as_me:$LINENO: checking for $ac_word" >&5
24642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24643 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24644 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 case $PKG_CONFIG in
24648 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24652 for as_dir
in $PATH
24655 test -z "$as_dir" && as_dir
=.
24656 for ac_exec_ext
in '' $ac_executable_extensions; do
24657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24658 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24665 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24669 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24671 if test -n "$PKG_CONFIG"; then
24672 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24673 echo "${ECHO_T}$PKG_CONFIG" >&6
24675 echo "$as_me:$LINENO: result: no" >&5
24676 echo "${ECHO_T}no" >&6
24681 if test "$PKG_CONFIG" = "no" ; then
24682 echo "*** The pkg-config script could not be found. Make sure it is"
24683 echo "*** in your path, or set the PKG_CONFIG environment variable"
24684 echo "*** to the full path to pkg-config."
24685 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24687 PKG_CONFIG_MIN_VERSION
=0.9.0
24688 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24689 echo "$as_me:$LINENO: checking for glib-2.0" >&5
24690 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
24692 if $PKG_CONFIG --exists "glib-2.0" ; then
24693 echo "$as_me:$LINENO: result: yes" >&5
24694 echo "${ECHO_T}yes" >&6
24697 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
24698 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
24699 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
24700 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
24701 echo "${ECHO_T}$GLIB_CFLAGS" >&6
24703 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
24704 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
24705 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
24706 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
24707 echo "${ECHO_T}$GLIB_LIBS" >&6
24711 ## If we have a custom action on failure, don't print errors, but
24712 ## do set a variable so people can do so.
24713 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
24714 echo $GLIB_PKG_ERRORS
24720 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24721 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24725 if test $succeeded = yes; then
24728 { { echo "$as_me:$LINENO: error: Library requirements (glib-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
24729 echo "$as_me: error: Library requirements (glib-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;}
24730 { (exit 1); exit 1; }; }
24736 if test -z "$PKG_CONFIG"; then
24737 # Extract the first word of "pkg-config", so it can be a program name with args.
24738 set dummy pkg-config
; ac_word
=$2
24739 echo "$as_me:$LINENO: checking for $ac_word" >&5
24740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24744 case $PKG_CONFIG in
24746 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24750 for as_dir
in $PATH
24753 test -z "$as_dir" && as_dir
=.
24754 for ac_exec_ext
in '' $ac_executable_extensions; do
24755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24756 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24763 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24767 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24769 if test -n "$PKG_CONFIG"; then
24770 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24771 echo "${ECHO_T}$PKG_CONFIG" >&6
24773 echo "$as_me:$LINENO: result: no" >&5
24774 echo "${ECHO_T}no" >&6
24779 if test "$PKG_CONFIG" = "no" ; then
24780 echo "*** The pkg-config script could not be found. Make sure it is"
24781 echo "*** in your path, or set the PKG_CONFIG environment variable"
24782 echo "*** to the full path to pkg-config."
24783 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24785 PKG_CONFIG_MIN_VERSION
=0.9.0
24786 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24787 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
24788 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
24790 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
24791 echo "$as_me:$LINENO: result: yes" >&5
24792 echo "${ECHO_T}yes" >&6
24795 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24796 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24797 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24798 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24799 echo "${ECHO_T}$GTK_CFLAGS" >&6
24801 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24802 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24803 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24804 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24805 echo "${ECHO_T}$GTK_LIBS" >&6
24809 ## If we have a custom action on failure, don't print errors, but
24810 ## do set a variable so people can do so.
24811 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24812 echo $GTK_PKG_ERRORS
24818 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24819 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24823 if test $succeeded = yes; then
24826 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 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
24827 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 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;}
24828 { (exit 1); exit 1; }; }
24839 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
24843 if test "x${COMPILE_GMP}" = xyes
; then
24844 echo "$as_me:$LINENO: checking for __gmpz_mul_si in -lgmp" >&5
24845 echo $ECHO_N "checking for __gmpz_mul_si in -lgmp... $ECHO_C" >&6
24846 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24849 ac_check_lib_save_LIBS
=$LIBS
24851 if test x
$gcc_no_link = xyes
; then
24852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24854 { (exit 1); exit 1; }; }
24856 cat >conftest.
$ac_ext <<_ACEOF
24859 cat confdefs.h
>>conftest.
$ac_ext
24860 cat >>conftest.
$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24863 /* Override any gcc2 internal prototype to avoid an error. */
24867 /* We use char because int might match the return type of a gcc2
24868 builtin and then its argument prototype would still apply. */
24869 char __gmpz_mul_si ();
24878 rm -f conftest.
$ac_objext conftest
$ac_exeext
24879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24880 (eval $ac_link) 2>conftest.er1
24882 grep -v '^ *+' conftest.er1
>conftest.err
24884 cat conftest.err
>&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); } &&
24887 { ac_try
='test -z "$ac_c_werror_flag"
24888 || test ! -s conftest.err'
24889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24890 (eval $ac_try) 2>&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); }; } &&
24894 { ac_try
='test -s conftest$ac_exeext'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; }; then
24900 ac_cv_lib_gmp___gmpz_mul_si
=yes
24902 echo "$as_me: failed program was:" >&5
24903 sed 's/^/| /' conftest.
$ac_ext >&5
24905 ac_cv_lib_gmp___gmpz_mul_si
=no
24907 rm -f conftest.err conftest.
$ac_objext \
24908 conftest
$ac_exeext conftest.
$ac_ext
24909 LIBS
=$ac_check_lib_save_LIBS
24911 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
24912 echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_mul_si" >&6
24913 if test $ac_cv_lib_gmp___gmpz_mul_si = yes; then
24914 GMP_CFLAGS
=-I/usr
/include
24925 for ac_header
in gmp.h
24927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24929 echo "$as_me:$LINENO: checking for $ac_header" >&5
24930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24937 # Is the header compilable?
24938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24940 cat >conftest.
$ac_ext <<_ACEOF
24943 cat confdefs.h
>>conftest.
$ac_ext
24944 cat >>conftest.
$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 $ac_includes_default
24947 #include <$ac_header>
24949 rm -f conftest.
$ac_objext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24951 (eval $ac_compile) 2>conftest.er1
24953 grep -v '^ *+' conftest.er1
>conftest.err
24955 cat conftest.err
>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try
='test -z "$ac_c_werror_flag"
24959 || test ! -s conftest.err'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try
='test -s conftest.$ac_objext'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 ac_header_compiler
=yes
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.
$ac_ext >&5
24976 ac_header_compiler
=no
24978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24980 echo "${ECHO_T}$ac_header_compiler" >&6
24982 # Is the header present?
24983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24985 cat >conftest.
$ac_ext <<_ACEOF
24988 cat confdefs.h
>>conftest.
$ac_ext
24989 cat >>conftest.
$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 #include <$ac_header>
24993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24996 grep -v '^ *+' conftest.er1
>conftest.err
24998 cat conftest.err
>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } >/dev
/null
; then
25001 if test -s conftest.err
; then
25002 ac_cpp_err
=$ac_c_preproc_warn_flag
25003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25010 if test -z "$ac_cpp_err"; then
25011 ac_header_preproc
=yes
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.
$ac_ext >&5
25016 ac_header_preproc
=no
25018 rm -f conftest.err conftest.
$ac_ext
25019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25020 echo "${ECHO_T}$ac_header_preproc" >&6
25022 # So? What about this header?
25023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25029 ac_header_preproc
=yes
25032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25046 ## -------------------------------- ##
25047 ## Report this to classpath@gnu.org ##
25048 ## -------------------------------- ##
25051 sed "s/^/$as_me: WARNING: /" >&2
25054 echo "$as_me:$LINENO: checking for $ac_header" >&5
25055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 eval "$as_ac_Header=\$ac_header_preproc"
25061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25066 cat >>confdefs.h
<<_ACEOF
25067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25080 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
25083 # Check whether --with-javah or --without-javah was given.
25084 if test "${with_javah+set}" = set; then
25085 withval
="$with_javah"
25087 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
25089 if test "x${withval}" != x
; then
25090 if test -f "${withval}"; then
25091 USER_JAVAH
="${withval}"
25093 # Extract the first word of ""${withval}"", so it can be a program name with args.
25094 set dummy
"${withval}"; ac_word
=$2
25095 echo "$as_me:$LINENO: checking for $ac_word" >&5
25096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25097 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 case $USER_JAVAH in
25102 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25106 for as_dir
in $PATH
25109 test -z "$as_dir" && as_dir
=.
25110 for ac_exec_ext
in '' $ac_executable_extensions; do
25111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25112 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25122 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25124 if test -n "$USER_JAVAH"; then
25125 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25126 echo "${ECHO_T}$USER_JAVAH" >&6
25128 echo "$as_me:$LINENO: result: no" >&5
25129 echo "${ECHO_T}no" >&6
25134 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
25136 # Extract the first word of "$ac_prog", so it can be a program name with args.
25137 set dummy
$ac_prog; ac_word
=$2
25138 echo "$as_me:$LINENO: checking for $ac_word" >&5
25139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25140 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 case $USER_JAVAH in
25145 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25149 for as_dir
in $PATH
25152 test -z "$as_dir" && as_dir
=.
25153 for ac_exec_ext
in '' $ac_executable_extensions; do
25154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25155 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25165 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25167 if test -n "$USER_JAVAH"; then
25168 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25169 echo "${ECHO_T}$USER_JAVAH" >&6
25171 echo "$as_me:$LINENO: result: no" >&5
25172 echo "${ECHO_T}no" >&6
25175 test -n "$USER_JAVAH" && break
25180 if test "x${USER_JAVAH}" = x
; then
25181 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25182 echo "$as_me: error: can not find javah" >&2;}
25183 { (exit 1); exit 1; }; }
25188 if test "x" != x
; then
25189 if test -f ""; then
25192 # Extract the first word of """", so it can be a program name with args.
25193 set dummy
""; ac_word
=$2
25194 echo "$as_me:$LINENO: checking for $ac_word" >&5
25195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25196 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25199 case $USER_JAVAH in
25201 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25205 for as_dir
in $PATH
25208 test -z "$as_dir" && as_dir
=.
25209 for ac_exec_ext
in '' $ac_executable_extensions; do
25210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25211 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25221 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25223 if test -n "$USER_JAVAH"; then
25224 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25225 echo "${ECHO_T}$USER_JAVAH" >&6
25227 echo "$as_me:$LINENO: result: no" >&5
25228 echo "${ECHO_T}no" >&6
25233 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
25235 # Extract the first word of "$ac_prog", so it can be a program name with args.
25236 set dummy
$ac_prog; ac_word
=$2
25237 echo "$as_me:$LINENO: checking for $ac_word" >&5
25238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25239 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25242 case $USER_JAVAH in
25244 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25248 for as_dir
in $PATH
25251 test -z "$as_dir" && as_dir
=.
25252 for ac_exec_ext
in '' $ac_executable_extensions; do
25253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25254 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25264 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25266 if test -n "$USER_JAVAH"; then
25267 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25268 echo "${ECHO_T}$USER_JAVAH" >&6
25270 echo "$as_me:$LINENO: result: no" >&5
25271 echo "${ECHO_T}no" >&6
25274 test -n "$USER_JAVAH" && break
25279 if test "x${USER_JAVAH}" = x
; then
25280 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25281 echo "$as_me: error: can not find javah" >&2;}
25282 { (exit 1); exit 1; }; }
25290 if test "x" != x
; then
25291 if test -f ""; then
25294 # Extract the first word of """", so it can be a program name with args.
25295 set dummy
""; ac_word
=$2
25296 echo "$as_me:$LINENO: checking for $ac_word" >&5
25297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25298 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25299 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 case $USER_JAVAH in
25303 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25307 for as_dir
in $PATH
25310 test -z "$as_dir" && as_dir
=.
25311 for ac_exec_ext
in '' $ac_executable_extensions; do
25312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25313 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25323 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25325 if test -n "$USER_JAVAH"; then
25326 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25327 echo "${ECHO_T}$USER_JAVAH" >&6
25329 echo "$as_me:$LINENO: result: no" >&5
25330 echo "${ECHO_T}no" >&6
25335 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
25337 # Extract the first word of "$ac_prog", so it can be a program name with args.
25338 set dummy
$ac_prog; ac_word
=$2
25339 echo "$as_me:$LINENO: checking for $ac_word" >&5
25340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25341 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 case $USER_JAVAH in
25346 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25350 for as_dir
in $PATH
25353 test -z "$as_dir" && as_dir
=.
25354 for ac_exec_ext
in '' $ac_executable_extensions; do
25355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25356 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25366 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25368 if test -n "$USER_JAVAH"; then
25369 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25370 echo "${ECHO_T}$USER_JAVAH" >&6
25372 echo "$as_me:$LINENO: result: no" >&5
25373 echo "${ECHO_T}no" >&6
25376 test -n "$USER_JAVAH" && break
25381 if test "x${USER_JAVAH}" = x
; then
25382 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25383 echo "$as_me: error: can not find javah" >&2;}
25384 { (exit 1); exit 1; }; }
25393 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
25396 if test "x${COMPILE_JNI}" = xyes
; then
25397 echo "$as_me:$LINENO: checking jni_md.h support" >&5
25398 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
25399 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
25400 echo "$as_me:$LINENO: result: yes" >&5
25401 echo "${ECHO_T}yes" >&6
25404 target_os
=linux-gnu
25405 { echo "$as_me:$LINENO: WARNING: no" >&5
25406 echo "$as_me: WARNING: no" >&2;}
25408 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
25409 ac_dests
="include/jni_md.h"
25410 while test -n "$ac_sources"; do
25411 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
25412 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
25413 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
25415 ac_config_links
="$ac_config_links $ac_config_links_1"
25421 # Check whether --with-vm-classes or --without-vm-classes was given.
25422 if test "${with_vm_classes+set}" = set; then
25423 withval
="$with_vm_classes"
25424 vm_classes
="$with_vm_classes"
25426 vm_classes
='${top_srcdir}/vm/reference'
25431 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25432 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25433 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25434 if test "${enable_maintainer_mode+set}" = set; then
25435 enableval
="$enable_maintainer_mode"
25436 USE_MAINTAINER_MODE
=$enableval
25438 USE_MAINTAINER_MODE
=no
25440 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25441 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25444 if test $USE_MAINTAINER_MODE = yes; then
25445 MAINTAINER_MODE_TRUE
=
25446 MAINTAINER_MODE_FALSE
='#'
25448 MAINTAINER_MODE_TRUE
='#'
25449 MAINTAINER_MODE_FALSE
=
25452 MAINT
=$MAINTAINER_MODE_TRUE
25456 # Check whether --enable-debug or --disable-debug was given.
25457 if test "${enable_debug+set}" = set; then
25458 enableval
="$enable_debug"
25459 case "${enableval}" in
25463 cat >>confdefs.h
<<\_ACEOF
25468 no
) LIBDEBUG
="false" ;;
25469 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25470 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25471 { (exit 1); exit 1; }; } ;;
25478 # Check whether --enable-load-library or --disable-load-library was given.
25479 if test "${enable_load_library+set}" = set; then
25480 enableval
="$enable_load_library"
25481 case "${enableval}" in
25482 yes) INIT_LOAD_LIBRARY
="true" ;;
25483 no
) INIT_LOAD_LIBRARY
="false" ;;
25484 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25485 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25486 { (exit 1); exit 1; }; } ;;
25489 INIT_LOAD_LIBRARY
="true"
25495 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25496 if test "${with_ecj_jar+set}" = set; then
25497 withval
="$with_ecj_jar"
25500 if test -f $multi_basedir/ecj.jar
; then
25501 ECJ_JAR
='$(jardir)/ecj.jar'
25506 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25507 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25508 enableval
="$enable_java_lang_system_explicit_initialization"
25509 case "${enableval}" in
25510 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
25511 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
25512 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25513 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25514 { (exit 1); exit 1; }; } ;;
25517 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
25525 # Extract the first word of "mkdir", so it can be a program name with args.
25526 set dummy mkdir
; ac_word
=$2
25527 echo "$as_me:$LINENO: checking for $ac_word" >&5
25528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25529 if test "${ac_cv_path_MKDIR+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
25537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25538 for as_dir
in $PATH
25541 test -z "$as_dir" && as_dir
=.
25542 for ac_exec_ext
in '' $ac_executable_extensions; do
25543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25544 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
25545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25554 MKDIR
=$ac_cv_path_MKDIR
25556 if test -n "$MKDIR"; then
25557 echo "$as_me:$LINENO: result: $MKDIR" >&5
25558 echo "${ECHO_T}$MKDIR" >&6
25560 echo "$as_me:$LINENO: result: no" >&5
25561 echo "${ECHO_T}no" >&6
25564 # Extract the first word of "cp", so it can be a program name with args.
25565 set dummy
cp; ac_word
=$2
25566 echo "$as_me:$LINENO: checking for $ac_word" >&5
25567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25568 if test "${ac_cv_path_CP+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
25576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25577 for as_dir
in $PATH
25580 test -z "$as_dir" && as_dir
=.
25581 for ac_exec_ext
in '' $ac_executable_extensions; do
25582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25583 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
25584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25595 if test -n "$CP"; then
25596 echo "$as_me:$LINENO: result: $CP" >&5
25597 echo "${ECHO_T}$CP" >&6
25599 echo "$as_me:$LINENO: result: no" >&5
25600 echo "${ECHO_T}no" >&6
25603 # Extract the first word of "date", so it can be a program name with args.
25604 set dummy
date; ac_word
=$2
25605 echo "$as_me:$LINENO: checking for $ac_word" >&5
25606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25607 if test "${ac_cv_path_DATE+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
25615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25616 for as_dir
in $PATH
25619 test -z "$as_dir" && as_dir
=.
25620 for ac_exec_ext
in '' $ac_executable_extensions; do
25621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25622 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
25623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25632 DATE
=$ac_cv_path_DATE
25634 if test -n "$DATE"; then
25635 echo "$as_me:$LINENO: result: $DATE" >&5
25636 echo "${ECHO_T}$DATE" >&6
25638 echo "$as_me:$LINENO: result: no" >&5
25639 echo "${ECHO_T}no" >&6
25643 # Extract the first word of "find", so it can be a program name with args.
25644 set dummy
find; ac_word
=$2
25645 echo "$as_me:$LINENO: checking for $ac_word" >&5
25646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25647 if test "${ac_cv_path_FIND+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
25655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25656 for as_dir
in $PATH
25659 test -z "$as_dir" && as_dir
=.
25660 for ac_exec_ext
in '' $ac_executable_extensions; do
25661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25662 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
25663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25672 FIND
=$ac_cv_path_FIND
25674 if test -n "$FIND"; then
25675 echo "$as_me:$LINENO: result: $FIND" >&5
25676 echo "${ECHO_T}$FIND" >&6
25678 echo "$as_me:$LINENO: result: no" >&5
25679 echo "${ECHO_T}no" >&6
25684 # Extract the first word of "zip", so it can be a program name with args.
25685 set dummy
zip; ac_word
=$2
25686 echo "$as_me:$LINENO: checking for $ac_word" >&5
25687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25688 if test "${ac_cv_path_ZIP+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25693 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25697 for as_dir
in $PATH
25700 test -z "$as_dir" && as_dir
=.
25701 for ac_exec_ext
in '' $ac_executable_extensions; do
25702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25703 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25713 ZIP
=$ac_cv_path_ZIP
25715 if test -n "$ZIP"; then
25716 echo "$as_me:$LINENO: result: $ZIP" >&5
25717 echo "${ECHO_T}$ZIP" >&6
25719 echo "$as_me:$LINENO: result: no" >&5
25720 echo "${ECHO_T}no" >&6
25724 echo "$as_me:$LINENO: checking for a jar-like tool" >&5
25725 echo $ECHO_N "checking for a jar-like tool... $ECHO_C" >&6
25727 # Check whether --with-jar or --without-jar was given.
25728 if test "${with_jar+set}" = set; then
25729 withval
="$with_jar"
25731 case "${withval}" in
25737 echo "$as_me:$LINENO: result: ${JAR}" >&5
25738 echo "${ECHO_T}${JAR}" >&6
25741 if test -f "${withval}"; then
25743 echo "$as_me:$LINENO: result: ${JAR}" >&5
25744 echo "${ECHO_T}${JAR}" >&6
25746 echo "$as_me:$LINENO: result: not found" >&5
25747 echo "${ECHO_T}not found" >&6
25748 { { echo "$as_me:$LINENO: error: The jar tool ${withval} was not found." >&5
25749 echo "$as_me: error: The jar tool ${withval} was not found." >&2;}
25750 { (exit 1); exit 1; }; }
25760 if test x
"${JAR}" = "xyes"; then
25761 echo "$as_me:$LINENO: result: trying fastjar, gjar and jar" >&5
25762 echo "${ECHO_T}trying fastjar, gjar and jar" >&6
25763 for ac_prog
in fastjar gjar jar
25765 # Extract the first word of "$ac_prog", so it can be a program name with args.
25766 set dummy
$ac_prog; ac_word
=$2
25767 echo "$as_me:$LINENO: checking for $ac_word" >&5
25768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25769 if test "${ac_cv_path_JAR+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
25777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25778 for as_dir
in $PATH
25781 test -z "$as_dir" && as_dir
=.
25782 for ac_exec_ext
in '' $ac_executable_extensions; do
25783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25784 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
25785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25794 JAR
=$ac_cv_path_JAR
25796 if test -n "$JAR"; then
25797 echo "$as_me:$LINENO: result: $JAR" >&5
25798 echo "${ECHO_T}$JAR" >&6
25800 echo "$as_me:$LINENO: result: no" >&5
25801 echo "${ECHO_T}no" >&6
25804 test -n "$JAR" && break
25807 if test x
"${RHINO_JAR}" = "xyes"; then
25808 echo "$as_me:$LINENO: result: not found" >&5
25809 echo "${ECHO_T}not found" >&6
25812 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
25813 { { echo "$as_me:$LINENO: error: No zip or jar tool found." >&5
25814 echo "$as_me: error: No zip or jar tool found." >&2;}
25815 { (exit 1); exit 1; }; }
25819 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
25830 # Check whether --with-glibj or --without-glibj was given.
25831 if test "${with_glibj+set}" = set; then
25832 withval
="$with_glibj"
25834 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
25835 install_class_files
=no
25836 build_class_files
=yes
25838 elif test "x${withval}" = xboth
; then
25839 install_class_files
=yes
25840 build_class_files
=yes
25842 elif test "x${withval}" = xflat
; then
25843 install_class_files
=yes
25844 build_class_files
=yes
25846 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
25847 install_class_files
=no
25848 build_class_files
=no
25850 elif test "x${withval}" = xbuild
; then
25851 install_class_files
=no
25852 build_class_files
=yes
25855 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
25856 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
25857 { (exit 1); exit 1; }; }
25862 install_class_files
=no
25868 if test "x${use_zip}" = xyes
; then
25869 INSTALL_GLIBJ_ZIP_TRUE
=
25870 INSTALL_GLIBJ_ZIP_FALSE
='#'
25872 INSTALL_GLIBJ_ZIP_TRUE
='#'
25873 INSTALL_GLIBJ_ZIP_FALSE
=
25878 if test "x${install_class_files}" = xyes
; then
25879 INSTALL_CLASS_FILES_TRUE
=
25880 INSTALL_CLASS_FILES_FALSE
='#'
25882 INSTALL_CLASS_FILES_TRUE
='#'
25883 INSTALL_CLASS_FILES_FALSE
=
25888 if test "x${build_class_files}" = xyes
; then
25889 BUILD_CLASS_FILES_TRUE
=
25890 BUILD_CLASS_FILES_FALSE
='#'
25892 BUILD_CLASS_FILES_TRUE
='#'
25893 BUILD_CLASS_FILES_FALSE
=
25897 # Check whether --enable-examples or --disable-examples was given.
25898 if test "${enable_examples+set}" = set; then
25899 enableval
="$enable_examples"
25900 case "${enableval}" in
25901 yes) EXAMPLESDIR
="examples" ;;
25902 no
) EXAMPLESDIR
="" ;;
25903 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
25904 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
25905 { (exit 1); exit 1; }; } ;;
25908 EXAMPLESDIR
="examples"
25910 if test "x${build_class_files}" = xno
; then
25915 # Check whether --enable-tools or --disable-tools was given.
25916 if test "${enable_tools+set}" = set; then
25917 enableval
="$enable_tools"
25918 case "${enableval}" in
25919 yes) TOOLSDIR
="tools" ;;
25921 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tools" >&5
25922 echo "$as_me: error: bad value ${enableval} for --enable-tools" >&2;}
25923 { (exit 1); exit 1; }; } ;;
25928 if test "x${build_class_files}" = xno
; then
25936 # Check whether --with-gjdoc or --without-gjdoc was given.
25937 if test "${with_gjdoc+set}" = set; then
25938 withval
="$with_gjdoc"
25939 if test "x${withval}" = xno
; then
25941 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
25943 # Extract the first word of "gjdoc", so it can be a program name with args.
25944 set dummy gjdoc
; ac_word
=$2
25945 echo "$as_me:$LINENO: checking for $ac_word" >&5
25946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25947 if test "${ac_cv_path_GJDOC+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
25955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25956 for as_dir
in $PATH
25959 test -z "$as_dir" && as_dir
=.
25960 for ac_exec_ext
in '' $ac_executable_extensions; do
25961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25962 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
25963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25969 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
25973 GJDOC
=$ac_cv_path_GJDOC
25975 if test -n "$GJDOC"; then
25976 echo "$as_me:$LINENO: result: $GJDOC" >&5
25977 echo "${ECHO_T}$GJDOC" >&6
25979 echo "$as_me:$LINENO: result: no" >&5
25980 echo "${ECHO_T}no" >&6
25983 if test "x${GJDOC}" = xno
; then
25984 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
25985 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
25986 { (exit 1); exit 1; }; };
25991 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
25992 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
25993 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
25994 if eval "test \"\${$as_ac_File+set}\" = set"; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 test "$cross_compiling" = yes &&
25998 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25999 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26000 { (exit 1); exit 1; }; }
26001 if test -r "${GJDOC}"; then
26002 eval "$as_ac_File=yes"
26004 eval "$as_ac_File=no"
26007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26008 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26009 if test `eval echo '${'$as_ac_File'}'` = yes; then
26012 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
26013 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
26014 { (exit 1); exit 1; }; }
26023 if test "x${WITH_GJDOC}" = xyes
; then
26024 CREATE_API_DOCS_TRUE
=
26025 CREATE_API_DOCS_FALSE
='#'
26027 CREATE_API_DOCS_TRUE
='#'
26028 CREATE_API_DOCS_FALSE
=
26031 if test "x${WITH_GJDOC}" = xyes
; then
26032 echo "$as_me:$LINENO: checking version of GJDoc" >&5
26033 echo $ECHO_N "checking version of GJDoc... $ECHO_C" >&6
26034 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
26035 echo "$as_me:$LINENO: result: ${gjdoc_version}" >&5
26036 echo "${ECHO_T}${gjdoc_version}" >&6
26037 case ${gjdoc_version} in
26040 *) { { echo "$as_me:$LINENO: error: Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." >&5
26041 echo "$as_me: error: Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." >&2;}
26042 { (exit 1); exit 1; }; } ;;
26049 # Check whether --with-jay or --without-jay was given.
26050 if test "${with_jay+set}" = set; then
26051 withval
="$with_jay"
26053 echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
26054 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6
26057 if test "x${withval}" = xno
; then
26058 echo "$as_me:$LINENO: result: no" >&5
26059 echo "${ECHO_T}no" >&6
26060 elif test "x${withval}" = xyes
; then
26061 echo "$as_me:$LINENO: result: yes" >&5
26062 echo "${ECHO_T}yes" >&6
26063 JAY_DIR_PATH
="/usr/share/jay"
26064 elif test -d "${withval}"; then
26065 echo "$as_me:$LINENO: result: yes" >&5
26066 echo "${ECHO_T}yes" >&6
26067 JAY_DIR_PATH
="${withval}"
26068 elif test -f "${withval}"; then
26069 echo "$as_me:$LINENO: result: yes" >&5
26070 echo "${ECHO_T}yes" >&6
26071 JAY_DIR_PATH
=`dirname "${withval}"`
26074 { { echo "$as_me:$LINENO: error: jay not found at ${withval}" >&5
26075 echo "$as_me: error: jay not found at ${withval}" >&2;}
26076 { (exit 1); exit 1; }; }
26079 if test "x${JAY_DIR_PATH}" != x
; then
26080 # Extract the first word of "jay", so it can be a program name with args.
26081 set dummy jay
; ac_word
=$2
26082 echo "$as_me:$LINENO: checking for $ac_word" >&5
26083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26084 if test "${ac_cv_path_JAY+set}" = set; then
26085 echo $ECHO_N "(cached) $ECHO_C" >&6
26089 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
26092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26093 as_dummy
="${JAY_DIR_PATH}:${PATH}"
26094 for as_dir
in $as_dummy
26097 test -z "$as_dir" && as_dir
=.
26098 for ac_exec_ext
in '' $ac_executable_extensions; do
26099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26100 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
26101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26107 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
26111 JAY
=$ac_cv_path_JAY
26113 if test -n "$JAY"; then
26114 echo "$as_me:$LINENO: result: $JAY" >&5
26115 echo "${ECHO_T}$JAY" >&6
26117 echo "$as_me:$LINENO: result: no" >&5
26118 echo "${ECHO_T}no" >&6
26121 if test "x${JAY}" = xno
; then
26122 { { echo "$as_me:$LINENO: error: jay executable not found" >&5
26123 echo "$as_me: error: jay executable not found" >&2;}
26124 { (exit 1); exit 1; }; };
26126 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
26127 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
26128 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
26129 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
26130 if eval "test \"\${$as_ac_File+set}\" = set"; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26133 test "$cross_compiling" = yes &&
26134 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26135 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26136 { (exit 1); exit 1; }; }
26137 if test -r "${JAY_SKELETON}"; then
26138 eval "$as_ac_File=yes"
26140 eval "$as_ac_File=no"
26143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26144 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26145 if test `eval echo '${'$as_ac_File'}'` = yes; then
26148 { { echo "$as_me:$LINENO: error: Expected skeleton file in ${JAY_DIR_PATH}" >&5
26149 echo "$as_me: error: Expected skeleton file in ${JAY_DIR_PATH}" >&2;}
26150 { (exit 1); exit 1; }; }
26158 echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
26159 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6
26160 echo "$as_me:$LINENO: result: no" >&5
26161 echo "${ECHO_T}no" >&6
26167 if test "x${JAY_FOUND}" = xyes
; then
26168 REGEN_PARSERS_TRUE
=
26169 REGEN_PARSERS_FALSE
='#'
26171 REGEN_PARSERS_TRUE
='#'
26172 REGEN_PARSERS_FALSE
=
26177 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
26178 if test "${enable_portable_native_sync+set}" = set; then
26179 enableval
="$enable_portable_native_sync"
26180 case "${enableval}" in
26183 cat >>confdefs.h
<<\_ACEOF
26184 #define PORTABLE_NATIVE_SYNC 1
26190 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
26191 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
26192 { (exit 1); exit 1; }; }
26197 # ------ AX CREATE STDINT H -------------------------------------
26198 echo "$as_me:$LINENO: checking for stdint types" >&5
26199 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
26200 ac_stdint_h
=`echo include/config-int.h`
26201 # try to shortcircuit - if the default include path of the compiler
26202 # can find a "stdint.h" header then we assume that all compilers can.
26203 if test "${ac_cv_header_stdint_t+set}" = set; then
26204 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
26208 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
26209 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
26210 cat >conftest.
$ac_ext <<_ACEOF
26213 cat confdefs.h
>>conftest.
$ac_ext
26214 cat >>conftest.
$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 #include <stdint.h>
26220 int_least32_t v = 0;
26225 rm -f conftest.
$ac_objext
26226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26227 (eval $ac_compile) 2>conftest.er1
26229 grep -v '^ *+' conftest.er1
>conftest.err
26231 cat conftest.err
>&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } &&
26234 { ac_try
='test -z "$ac_c_werror_flag"
26235 || test ! -s conftest.err'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; } &&
26241 { ac_try
='test -s conftest.$ac_objext'
26242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26243 (eval $ac_try) 2>&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); }; }; then
26247 ac_cv_stdint_result
="(assuming C99 compatible system)"
26248 ac_cv_header_stdint_t
="stdint.h";
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.
$ac_ext >&5
26253 ac_cv_header_stdint_t
=""
26255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26256 CXXFLAGS
="$old_CXXFLAGS"
26257 CPPFLAGS
="$old_CPPFLAGS"
26258 CFLAGS
="$old_CFLAGS"
26262 v
="... $ac_cv_header_stdint_h"
26263 if test "$ac_stdint_h" = "stdint.h" ; then
26264 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
26265 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
26266 elif test "$ac_stdint_h" = "inttypes.h" ; then
26267 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
26268 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
26269 elif test "_$ac_cv_header_stdint_t" = "_" ; then
26270 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
26271 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
26273 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
26274 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
26275 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
26278 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
26281 inttype_headers
=`echo | sed -e 's/,/ /g'`
26283 ac_cv_stdint_result
="(no helpful system typedefs seen)"
26285 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26286 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26287 if test "${ac_cv_header_stdint_x+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
26292 echo "$as_me:$LINENO: result: (..)" >&5
26293 echo "${ECHO_T}(..)" >&6
26294 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26295 unset ac_cv_type_uintptr_t
26296 unset ac_cv_type_uint64_t
26297 echo "$as_me:$LINENO: checking for uintptr_t" >&5
26298 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
26299 if test "${ac_cv_type_uintptr_t+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 cat >conftest.
$ac_ext <<_ACEOF
26305 cat confdefs.h
>>conftest.
$ac_ext
26306 cat >>conftest.
$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26313 if ((uintptr_t *) 0)
26315 if (sizeof (uintptr_t))
26321 rm -f conftest.
$ac_objext
26322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26323 (eval $ac_compile) 2>conftest.er1
26325 grep -v '^ *+' conftest.er1
>conftest.err
26327 cat conftest.err
>&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } &&
26330 { ac_try
='test -z "$ac_c_werror_flag"
26331 || test ! -s conftest.err'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; } &&
26337 { ac_try
='test -s conftest.$ac_objext'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26343 ac_cv_type_uintptr_t
=yes
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.
$ac_ext >&5
26348 ac_cv_type_uintptr_t
=no
26350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26352 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26353 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26354 if test $ac_cv_type_uintptr_t = yes; then
26355 ac_cv_header_stdint_x
=$i
26360 echo "$as_me:$LINENO: checking for uint64_t" >&5
26361 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26362 if test "${ac_cv_type_uint64_t+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 cat >conftest.
$ac_ext <<_ACEOF
26368 cat confdefs.h
>>conftest.
$ac_ext
26369 cat >>conftest.
$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26376 if ((uint64_t *) 0)
26378 if (sizeof (uint64_t))
26384 rm -f conftest.
$ac_objext
26385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26386 (eval $ac_compile) 2>conftest.er1
26388 grep -v '^ *+' conftest.er1
>conftest.err
26390 cat conftest.err
>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } &&
26393 { ac_try
='test -z "$ac_c_werror_flag"
26394 || test ! -s conftest.err'
26395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26396 (eval $ac_try) 2>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; } &&
26400 { ac_try
='test -s conftest.$ac_objext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26406 ac_cv_type_uint64_t
=yes
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.
$ac_ext >&5
26411 ac_cv_type_uint64_t
=no
26413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26415 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26416 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26417 if test $ac_cv_type_uint64_t = yes; then
26423 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
26426 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26427 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26430 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26431 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26434 if test "_$ac_cv_header_stdint_x" = "_" ; then
26436 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26437 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26438 if test "${ac_cv_header_stdint_o+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
26443 echo "$as_me:$LINENO: result: (..)" >&5
26444 echo "${ECHO_T}(..)" >&6
26445 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
26446 unset ac_cv_type_uint32_t
26447 unset ac_cv_type_uint64_t
26448 echo "$as_me:$LINENO: checking for uint32_t" >&5
26449 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26450 if test "${ac_cv_type_uint32_t+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 cat >conftest.
$ac_ext <<_ACEOF
26456 cat confdefs.h
>>conftest.
$ac_ext
26457 cat >>conftest.
$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26464 if ((uint32_t *) 0)
26466 if (sizeof (uint32_t))
26472 rm -f conftest.
$ac_objext
26473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26474 (eval $ac_compile) 2>conftest.er1
26476 grep -v '^ *+' conftest.er1
>conftest.err
26478 cat conftest.err
>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); } &&
26481 { ac_try
='test -z "$ac_c_werror_flag"
26482 || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try
='test -s conftest.$ac_objext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_type_uint32_t
=yes
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26499 ac_cv_type_uint32_t
=no
26501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26503 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26504 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26505 if test $ac_cv_type_uint32_t = yes; then
26506 ac_cv_header_stdint_o
=$i
26511 echo "$as_me:$LINENO: checking for uint64_t" >&5
26512 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26513 if test "${ac_cv_type_uint64_t+set}" = set; then
26514 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 cat >conftest.
$ac_ext <<_ACEOF
26519 cat confdefs.h
>>conftest.
$ac_ext
26520 cat >>conftest.
$ac_ext <<_ACEOF
26521 /* end confdefs.h. */
26527 if ((uint64_t *) 0)
26529 if (sizeof (uint64_t))
26535 rm -f conftest.
$ac_objext
26536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26537 (eval $ac_compile) 2>conftest.er1
26539 grep -v '^ *+' conftest.er1
>conftest.err
26541 cat conftest.err
>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try
='test -z "$ac_c_werror_flag"
26545 || test ! -s conftest.err'
26546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26547 (eval $ac_try) 2>&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); }; } &&
26551 { ac_try
='test -s conftest.$ac_objext'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; }; then
26557 ac_cv_type_uint64_t
=yes
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.
$ac_ext >&5
26562 ac_cv_type_uint64_t
=no
26564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26566 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26567 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26568 if test $ac_cv_type_uint64_t = yes; then
26574 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
26578 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26579 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26582 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26583 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26587 if test "_$ac_cv_header_stdint_x" = "_" ; then
26588 if test "_$ac_cv_header_stdint_o" = "_" ; then
26590 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26591 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26592 if test "${ac_cv_header_stdint_u+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
26597 echo "$as_me:$LINENO: result: (..)" >&5
26598 echo "${ECHO_T}(..)" >&6
26599 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26600 unset ac_cv_type_u_int32_t
26601 unset ac_cv_type_u_int64_t
26602 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26603 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26604 if test "${ac_cv_type_u_int32_t+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 cat >conftest.
$ac_ext <<_ACEOF
26610 cat confdefs.h
>>conftest.
$ac_ext
26611 cat >>conftest.
$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26618 if ((u_int32_t *) 0)
26620 if (sizeof (u_int32_t))
26626 rm -f conftest.
$ac_objext
26627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26630 grep -v '^ *+' conftest.er1
>conftest.err
26632 cat conftest.err
>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try
='test -z "$ac_c_werror_flag"
26636 || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try
='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 ac_cv_type_u_int32_t
=yes
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.
$ac_ext >&5
26653 ac_cv_type_u_int32_t
=no
26655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26657 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26658 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26659 if test $ac_cv_type_u_int32_t = yes; then
26660 ac_cv_header_stdint_u
=$i
26665 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26666 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26667 if test "${ac_cv_type_u_int64_t+set}" = set; then
26668 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 cat >conftest.
$ac_ext <<_ACEOF
26673 cat confdefs.h
>>conftest.
$ac_ext
26674 cat >>conftest.
$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26681 if ((u_int64_t *) 0)
26683 if (sizeof (u_int64_t))
26689 rm -f conftest.
$ac_objext
26690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26691 (eval $ac_compile) 2>conftest.er1
26693 grep -v '^ *+' conftest.er1
>conftest.err
26695 cat conftest.err
>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } &&
26698 { ac_try
='test -z "$ac_c_werror_flag"
26699 || test ! -s conftest.err'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; } &&
26705 { ac_try
='test -s conftest.$ac_objext'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; }; then
26711 ac_cv_type_u_int64_t
=yes
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.
$ac_ext >&5
26716 ac_cv_type_u_int64_t
=no
26718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26720 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26721 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26722 if test $ac_cv_type_u_int64_t = yes; then
26728 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
26732 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26733 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26736 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26737 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26741 if test "_$ac_cv_header_stdint_x" = "_" ; then
26742 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26743 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26744 echo "$as_me:$LINENO: result: (..)" >&5
26745 echo "${ECHO_T}(..)" >&6
26747 echo "$as_me:$LINENO: checking for char" >&5
26748 echo $ECHO_N "checking for char... $ECHO_C" >&6
26749 if test "${ac_cv_type_char+set}" = set; then
26750 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 cat >conftest.
$ac_ext <<_ACEOF
26755 cat confdefs.h
>>conftest.
$ac_ext
26756 cat >>conftest.
$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758 $ac_includes_default
26770 rm -f conftest.
$ac_objext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26772 (eval $ac_compile) 2>conftest.er1
26774 grep -v '^ *+' conftest.er1
>conftest.err
26776 cat conftest.err
>&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } &&
26779 { ac_try
='test -z "$ac_c_werror_flag"
26780 || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try
='test -s conftest.$ac_objext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 ac_cv_type_char
=yes
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.
$ac_ext >&5
26799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26801 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26802 echo "${ECHO_T}$ac_cv_type_char" >&6
26804 echo "$as_me:$LINENO: checking size of char" >&5
26805 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26806 if test "${ac_cv_sizeof_char+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 if test "$ac_cv_type_char" = yes; then
26810 # The cast to unsigned long works around a bug in the HP C Compiler
26811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26813 # This bug is HP SR number 8606223364.
26814 if test "$cross_compiling" = yes; then
26815 # Depending upon the size, compute the lo and hi bounds.
26816 cat >conftest.
$ac_ext <<_ACEOF
26819 cat confdefs.h
>>conftest.
$ac_ext
26820 cat >>conftest.
$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 $ac_includes_default
26826 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
26833 rm -f conftest.
$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>conftest.er1
26837 grep -v '^ *+' conftest.er1
>conftest.err
26839 cat conftest.err
>&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } &&
26842 { ac_try
='test -z "$ac_c_werror_flag"
26843 || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try
='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26857 cat >conftest.
$ac_ext <<_ACEOF
26860 cat confdefs.h
>>conftest.
$ac_ext
26861 cat >>conftest.
$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863 $ac_includes_default
26867 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26874 rm -f conftest.
$ac_objext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26876 (eval $ac_compile) 2>conftest.er1
26878 grep -v '^ *+' conftest.er1
>conftest.err
26880 cat conftest.err
>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); } &&
26883 { ac_try
='test -z "$ac_c_werror_flag"
26884 || test ! -s conftest.err'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; } &&
26890 { ac_try
='test -s conftest.$ac_objext'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; }; then
26896 ac_hi
=$ac_mid; break
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.
$ac_ext >&5
26901 ac_lo
=`expr $ac_mid + 1`
26902 if test $ac_lo -le $ac_mid; then
26906 ac_mid
=`expr 2 '*' $ac_mid + 1`
26908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.
$ac_ext >&5
26914 cat >conftest.
$ac_ext <<_ACEOF
26917 cat confdefs.h
>>conftest.
$ac_ext
26918 cat >>conftest.
$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 $ac_includes_default
26924 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
26931 rm -f conftest.
$ac_objext
26932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26933 (eval $ac_compile) 2>conftest.er1
26935 grep -v '^ *+' conftest.er1
>conftest.err
26937 cat conftest.err
>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 { ac_try
='test -z "$ac_c_werror_flag"
26941 || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try
='test -s conftest.$ac_objext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26955 cat >conftest.
$ac_ext <<_ACEOF
26958 cat confdefs.h
>>conftest.
$ac_ext
26959 cat >>conftest.
$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 $ac_includes_default
26965 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
26972 rm -f conftest.
$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26976 grep -v '^ *+' conftest.er1
>conftest.err
26978 cat conftest.err
>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try
='test -z "$ac_c_werror_flag"
26982 || test ! -s conftest.err'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; } &&
26988 { ac_try
='test -s conftest.$ac_objext'
26989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26990 (eval $ac_try) 2>&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 ac_lo
=$ac_mid; break
26996 echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.
$ac_ext >&5
26999 ac_hi
=`expr '(' $ac_mid ')' - 1`
27000 if test $ac_mid -le $ac_hi; then
27004 ac_mid
=`expr 2 '*' $ac_mid`
27006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.
$ac_ext >&5
27014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27017 # Binary search between lo and hi bounds.
27018 while test "x$ac_lo" != "x$ac_hi"; do
27019 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27020 cat >conftest.
$ac_ext <<_ACEOF
27023 cat confdefs.h
>>conftest.
$ac_ext
27024 cat >>conftest.
$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 $ac_includes_default
27030 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27037 rm -f conftest.
$ac_objext
27038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27039 (eval $ac_compile) 2>conftest.er1
27041 grep -v '^ *+' conftest.er1
>conftest.err
27043 cat conftest.err
>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); } &&
27046 { ac_try
='test -z "$ac_c_werror_flag"
27047 || test ! -s conftest.err'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; } &&
27053 { ac_try
='test -s conftest.$ac_objext'
27054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055 (eval $ac_try) 2>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; }; then
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.
$ac_ext >&5
27064 ac_lo
=`expr '(' $ac_mid ')' + 1`
27066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27069 ?
*) ac_cv_sizeof_char
=$ac_lo;;
27070 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27071 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27073 See \`config.log' for more details." >&5
27074 echo "$as_me: error: cannot compute sizeof (char), 77
27075 See \`config.log' for more details." >&2;}
27076 { (exit 1); exit 1; }; }; } ;;
27079 if test "$cross_compiling" = yes; then
27080 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27082 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27083 See \`config.log' for more details." >&5
27084 echo "$as_me: error: cannot run test program while cross compiling
27085 See \`config.log' for more details." >&2;}
27086 { (exit 1); exit 1; }; }; }
27088 cat >conftest.
$ac_ext <<_ACEOF
27091 cat confdefs.h
>>conftest.
$ac_ext
27092 cat >>conftest.
$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27094 $ac_includes_default
27095 long longval () { return (long) (sizeof (char)); }
27096 unsigned long ulongval () { return (long) (sizeof (char)); }
27098 #include <stdlib.h>
27103 FILE *f = fopen ("conftest.val", "w");
27106 if (((long) (sizeof (char))) < 0)
27108 long i = longval ();
27109 if (i != ((long) (sizeof (char))))
27111 fprintf (f, "%ld\n", i);
27115 unsigned long i = ulongval ();
27116 if (i != ((long) (sizeof (char))))
27118 fprintf (f, "%lu\n", i);
27120 exit (ferror (f) || fclose (f) != 0);
27126 rm -f conftest
$ac_exeext
27127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27128 (eval $ac_link) 2>&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_cv_sizeof_char
=`cat conftest.val`
27139 echo "$as_me: program exited with status $ac_status" >&5
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.
$ac_ext >&5
27143 ( exit $ac_status )
27144 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27145 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27147 See \`config.log' for more details." >&5
27148 echo "$as_me: error: cannot compute sizeof (char), 77
27149 See \`config.log' for more details." >&2;}
27150 { (exit 1); exit 1; }; }; }
27152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27157 ac_cv_sizeof_char
=0
27160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
27161 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
27162 cat >>confdefs.h
<<_ACEOF
27163 #define SIZEOF_CHAR $ac_cv_sizeof_char
27167 echo "$as_me:$LINENO: checking for short" >&5
27168 echo $ECHO_N "checking for short... $ECHO_C" >&6
27169 if test "${ac_cv_type_short+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 cat >conftest.
$ac_ext <<_ACEOF
27175 cat confdefs.h
>>conftest.
$ac_ext
27176 cat >>conftest.
$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 $ac_includes_default
27184 if (sizeof (short))
27190 rm -f conftest.
$ac_objext
27191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27192 (eval $ac_compile) 2>conftest.er1
27194 grep -v '^ *+' conftest.er1
>conftest.err
27196 cat conftest.err
>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } &&
27199 { ac_try
='test -z "$ac_c_werror_flag"
27200 || test ! -s conftest.err'
27201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27202 (eval $ac_try) 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; } &&
27206 { ac_try
='test -s conftest.$ac_objext'
27207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208 (eval $ac_try) 2>&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); }; }; then
27212 ac_cv_type_short
=yes
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.
$ac_ext >&5
27217 ac_cv_type_short
=no
27219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27221 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
27222 echo "${ECHO_T}$ac_cv_type_short" >&6
27224 echo "$as_me:$LINENO: checking size of short" >&5
27225 echo $ECHO_N "checking size of short... $ECHO_C" >&6
27226 if test "${ac_cv_sizeof_short+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 if test "$ac_cv_type_short" = yes; then
27230 # The cast to unsigned long works around a bug in the HP C Compiler
27231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27233 # This bug is HP SR number 8606223364.
27234 if test "$cross_compiling" = yes; then
27235 # Depending upon the size, compute the lo and hi bounds.
27236 cat >conftest.
$ac_ext <<_ACEOF
27239 cat confdefs.h
>>conftest.
$ac_ext
27240 cat >>conftest.
$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27242 $ac_includes_default
27246 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
27253 rm -f conftest.
$ac_objext
27254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27255 (eval $ac_compile) 2>conftest.er1
27257 grep -v '^ *+' conftest.er1
>conftest.err
27259 cat conftest.err
>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); } &&
27262 { ac_try
='test -z "$ac_c_werror_flag"
27263 || test ! -s conftest.err'
27264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265 (eval $ac_try) 2>&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); }; } &&
27269 { ac_try
='test -s conftest.$ac_objext'
27270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27271 (eval $ac_try) 2>&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); }; }; then
27277 cat >conftest.
$ac_ext <<_ACEOF
27280 cat confdefs.h
>>conftest.
$ac_ext
27281 cat >>conftest.
$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283 $ac_includes_default
27287 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27294 rm -f conftest.
$ac_objext
27295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27296 (eval $ac_compile) 2>conftest.er1
27298 grep -v '^ *+' conftest.er1
>conftest.err
27300 cat conftest.err
>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); } &&
27303 { ac_try
='test -z "$ac_c_werror_flag"
27304 || test ! -s conftest.err'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; } &&
27310 { ac_try
='test -s conftest.$ac_objext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 ac_hi
=$ac_mid; break
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.
$ac_ext >&5
27321 ac_lo
=`expr $ac_mid + 1`
27322 if test $ac_lo -le $ac_mid; then
27326 ac_mid
=`expr 2 '*' $ac_mid + 1`
27328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27331 echo "$as_me: failed program was:" >&5
27332 sed 's/^/| /' conftest.
$ac_ext >&5
27334 cat >conftest.
$ac_ext <<_ACEOF
27337 cat confdefs.h
>>conftest.
$ac_ext
27338 cat >>conftest.
$ac_ext <<_ACEOF
27339 /* end confdefs.h. */
27340 $ac_includes_default
27344 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27351 rm -f conftest.
$ac_objext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27353 (eval $ac_compile) 2>conftest.er1
27355 grep -v '^ *+' conftest.er1
>conftest.err
27357 cat conftest.err
>&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try
='test -z "$ac_c_werror_flag"
27361 || test ! -s conftest.err'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try
='test -s conftest.$ac_objext'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
27375 cat >conftest.
$ac_ext <<_ACEOF
27378 cat confdefs.h
>>conftest.
$ac_ext
27379 cat >>conftest.
$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27381 $ac_includes_default
27385 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27392 rm -f conftest.
$ac_objext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27394 (eval $ac_compile) 2>conftest.er1
27396 grep -v '^ *+' conftest.er1
>conftest.err
27398 cat conftest.err
>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } &&
27401 { ac_try
='test -z "$ac_c_werror_flag"
27402 || test ! -s conftest.err'
27403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404 (eval $ac_try) 2>&5
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); }; } &&
27408 { ac_try
='test -s conftest.$ac_objext'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; }; then
27414 ac_lo
=$ac_mid; break
27416 echo "$as_me: failed program was:" >&5
27417 sed 's/^/| /' conftest.
$ac_ext >&5
27419 ac_hi
=`expr '(' $ac_mid ')' - 1`
27420 if test $ac_mid -le $ac_hi; then
27424 ac_mid
=`expr 2 '*' $ac_mid`
27426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.
$ac_ext >&5
27434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27437 # Binary search between lo and hi bounds.
27438 while test "x$ac_lo" != "x$ac_hi"; do
27439 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27440 cat >conftest.
$ac_ext <<_ACEOF
27443 cat confdefs.h
>>conftest.
$ac_ext
27444 cat >>conftest.
$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 $ac_includes_default
27450 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27457 rm -f conftest.
$ac_objext
27458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27459 (eval $ac_compile) 2>conftest.er1
27461 grep -v '^ *+' conftest.er1
>conftest.err
27463 cat conftest.err
>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } &&
27466 { ac_try
='test -z "$ac_c_werror_flag"
27467 || test ! -s conftest.err'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; } &&
27473 { ac_try
='test -s conftest.$ac_objext'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; }; then
27481 echo "$as_me: failed program was:" >&5
27482 sed 's/^/| /' conftest.
$ac_ext >&5
27484 ac_lo
=`expr '(' $ac_mid ')' + 1`
27486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27489 ?
*) ac_cv_sizeof_short
=$ac_lo;;
27490 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27491 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27493 See \`config.log' for more details." >&5
27494 echo "$as_me: error: cannot compute sizeof (short), 77
27495 See \`config.log' for more details." >&2;}
27496 { (exit 1); exit 1; }; }; } ;;
27499 if test "$cross_compiling" = yes; then
27500 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27501 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27502 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27503 See \`config.log' for more details." >&5
27504 echo "$as_me: error: cannot run test program while cross compiling
27505 See \`config.log' for more details." >&2;}
27506 { (exit 1); exit 1; }; }; }
27508 cat >conftest.
$ac_ext <<_ACEOF
27511 cat confdefs.h
>>conftest.
$ac_ext
27512 cat >>conftest.
$ac_ext <<_ACEOF
27513 /* end confdefs.h. */
27514 $ac_includes_default
27515 long longval () { return (long) (sizeof (short)); }
27516 unsigned long ulongval () { return (long) (sizeof (short)); }
27518 #include <stdlib.h>
27523 FILE *f = fopen ("conftest.val", "w");
27526 if (((long) (sizeof (short))) < 0)
27528 long i = longval ();
27529 if (i != ((long) (sizeof (short))))
27531 fprintf (f, "%ld\n", i);
27535 unsigned long i = ulongval ();
27536 if (i != ((long) (sizeof (short))))
27538 fprintf (f, "%lu\n", i);
27540 exit (ferror (f) || fclose (f) != 0);
27546 rm -f conftest
$ac_exeext
27547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27548 (eval $ac_link) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_sizeof_short
=`cat conftest.val`
27559 echo "$as_me: program exited with status $ac_status" >&5
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.
$ac_ext >&5
27563 ( exit $ac_status )
27564 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27565 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27567 See \`config.log' for more details." >&5
27568 echo "$as_me: error: cannot compute sizeof (short), 77
27569 See \`config.log' for more details." >&2;}
27570 { (exit 1); exit 1; }; }; }
27572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27577 ac_cv_sizeof_short
=0
27580 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27581 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27582 cat >>confdefs.h
<<_ACEOF
27583 #define SIZEOF_SHORT $ac_cv_sizeof_short
27587 echo "$as_me:$LINENO: checking for int" >&5
27588 echo $ECHO_N "checking for int... $ECHO_C" >&6
27589 if test "${ac_cv_type_int+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27592 cat >conftest.
$ac_ext <<_ACEOF
27595 cat confdefs.h
>>conftest.
$ac_ext
27596 cat >>conftest.
$ac_ext <<_ACEOF
27597 /* end confdefs.h. */
27598 $ac_includes_default
27610 rm -f conftest.
$ac_objext
27611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27612 (eval $ac_compile) 2>conftest.er1
27614 grep -v '^ *+' conftest.er1
>conftest.err
27616 cat conftest.err
>&5
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); } &&
27619 { ac_try
='test -z "$ac_c_werror_flag"
27620 || test ! -s conftest.err'
27621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622 (eval $ac_try) 2>&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); }; } &&
27626 { ac_try
='test -s conftest.$ac_objext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.
$ac_ext >&5
27639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27641 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27642 echo "${ECHO_T}$ac_cv_type_int" >&6
27644 echo "$as_me:$LINENO: checking size of int" >&5
27645 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27646 if test "${ac_cv_sizeof_int+set}" = set; then
27647 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 if test "$ac_cv_type_int" = yes; then
27650 # The cast to unsigned long works around a bug in the HP C Compiler
27651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27653 # This bug is HP SR number 8606223364.
27654 if test "$cross_compiling" = yes; then
27655 # Depending upon the size, compute the lo and hi bounds.
27656 cat >conftest.
$ac_ext <<_ACEOF
27659 cat confdefs.h
>>conftest.
$ac_ext
27660 cat >>conftest.
$ac_ext <<_ACEOF
27661 /* end confdefs.h. */
27662 $ac_includes_default
27666 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27673 rm -f conftest.
$ac_objext
27674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27675 (eval $ac_compile) 2>conftest.er1
27677 grep -v '^ *+' conftest.er1
>conftest.err
27679 cat conftest.err
>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); } &&
27682 { ac_try
='test -z "$ac_c_werror_flag"
27683 || test ! -s conftest.err'
27684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685 (eval $ac_try) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; } &&
27689 { ac_try
='test -s conftest.$ac_objext'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; }; then
27697 cat >conftest.
$ac_ext <<_ACEOF
27700 cat confdefs.h
>>conftest.
$ac_ext
27701 cat >>conftest.
$ac_ext <<_ACEOF
27702 /* end confdefs.h. */
27703 $ac_includes_default
27707 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27714 rm -f conftest.
$ac_objext
27715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27716 (eval $ac_compile) 2>conftest.er1
27718 grep -v '^ *+' conftest.er1
>conftest.err
27720 cat conftest.err
>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try
='test -z "$ac_c_werror_flag"
27724 || test ! -s conftest.err'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; } &&
27730 { ac_try
='test -s conftest.$ac_objext'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_hi
=$ac_mid; break
27738 echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.
$ac_ext >&5
27741 ac_lo
=`expr $ac_mid + 1`
27742 if test $ac_lo -le $ac_mid; then
27746 ac_mid
=`expr 2 '*' $ac_mid + 1`
27748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27751 echo "$as_me: failed program was:" >&5
27752 sed 's/^/| /' conftest.
$ac_ext >&5
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 $ac_includes_default
27764 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27771 rm -f conftest.
$ac_objext
27772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27773 (eval $ac_compile) 2>conftest.er1
27775 grep -v '^ *+' conftest.er1
>conftest.err
27777 cat conftest.err
>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } &&
27780 { ac_try
='test -z "$ac_c_werror_flag"
27781 || test ! -s conftest.err'
27782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27783 (eval $ac_try) 2>&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); }; } &&
27787 { ac_try
='test -s conftest.$ac_objext'
27788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27789 (eval $ac_try) 2>&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); }; }; then
27795 cat >conftest.
$ac_ext <<_ACEOF
27798 cat confdefs.h
>>conftest.
$ac_ext
27799 cat >>conftest.
$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801 $ac_includes_default
27805 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27812 rm -f conftest.
$ac_objext
27813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27814 (eval $ac_compile) 2>conftest.er1
27816 grep -v '^ *+' conftest.er1
>conftest.err
27818 cat conftest.err
>&5
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); } &&
27821 { ac_try
='test -z "$ac_c_werror_flag"
27822 || test ! -s conftest.err'
27823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27824 (eval $ac_try) 2>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); }; } &&
27828 { ac_try
='test -s conftest.$ac_objext'
27829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27830 (eval $ac_try) 2>&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); }; }; then
27834 ac_lo
=$ac_mid; break
27836 echo "$as_me: failed program was:" >&5
27837 sed 's/^/| /' conftest.
$ac_ext >&5
27839 ac_hi
=`expr '(' $ac_mid ')' - 1`
27840 if test $ac_mid -le $ac_hi; then
27844 ac_mid
=`expr 2 '*' $ac_mid`
27846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27849 echo "$as_me: failed program was:" >&5
27850 sed 's/^/| /' conftest.
$ac_ext >&5
27854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27857 # Binary search between lo and hi bounds.
27858 while test "x$ac_lo" != "x$ac_hi"; do
27859 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27860 cat >conftest.
$ac_ext <<_ACEOF
27863 cat confdefs.h
>>conftest.
$ac_ext
27864 cat >>conftest.
$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27866 $ac_includes_default
27870 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27877 rm -f conftest.
$ac_objext
27878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27879 (eval $ac_compile) 2>conftest.er1
27881 grep -v '^ *+' conftest.er1
>conftest.err
27883 cat conftest.err
>&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } &&
27886 { ac_try
='test -z "$ac_c_werror_flag"
27887 || test ! -s conftest.err'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } &&
27893 { ac_try
='test -s conftest.$ac_objext'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; }; then
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.
$ac_ext >&5
27904 ac_lo
=`expr '(' $ac_mid ')' + 1`
27906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27909 ?
*) ac_cv_sizeof_int
=$ac_lo;;
27910 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27911 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27913 See \`config.log' for more details." >&5
27914 echo "$as_me: error: cannot compute sizeof (int), 77
27915 See \`config.log' for more details." >&2;}
27916 { (exit 1); exit 1; }; }; } ;;
27919 if test "$cross_compiling" = yes; then
27920 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27921 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27923 See \`config.log' for more details." >&5
27924 echo "$as_me: error: cannot run test program while cross compiling
27925 See \`config.log' for more details." >&2;}
27926 { (exit 1); exit 1; }; }; }
27928 cat >conftest.
$ac_ext <<_ACEOF
27931 cat confdefs.h
>>conftest.
$ac_ext
27932 cat >>conftest.
$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27934 $ac_includes_default
27935 long longval () { return (long) (sizeof (int)); }
27936 unsigned long ulongval () { return (long) (sizeof (int)); }
27938 #include <stdlib.h>
27943 FILE *f = fopen ("conftest.val", "w");
27946 if (((long) (sizeof (int))) < 0)
27948 long i = longval ();
27949 if (i != ((long) (sizeof (int))))
27951 fprintf (f, "%ld\n", i);
27955 unsigned long i = ulongval ();
27956 if (i != ((long) (sizeof (int))))
27958 fprintf (f, "%lu\n", i);
27960 exit (ferror (f) || fclose (f) != 0);
27966 rm -f conftest
$ac_exeext
27967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27968 (eval $ac_link) 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27977 ac_cv_sizeof_int
=`cat conftest.val`
27979 echo "$as_me: program exited with status $ac_status" >&5
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.
$ac_ext >&5
27983 ( exit $ac_status )
27984 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27985 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27987 See \`config.log' for more details." >&5
27988 echo "$as_me: error: cannot compute sizeof (int), 77
27989 See \`config.log' for more details." >&2;}
27990 { (exit 1); exit 1; }; }; }
27992 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28000 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
28001 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
28002 cat >>confdefs.h
<<_ACEOF
28003 #define SIZEOF_INT $ac_cv_sizeof_int
28007 echo "$as_me:$LINENO: checking for long" >&5
28008 echo $ECHO_N "checking for long... $ECHO_C" >&6
28009 if test "${ac_cv_type_long+set}" = set; then
28010 echo $ECHO_N "(cached) $ECHO_C" >&6
28012 cat >conftest.
$ac_ext <<_ACEOF
28015 cat confdefs.h
>>conftest.
$ac_ext
28016 cat >>conftest.
$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28018 $ac_includes_default
28030 rm -f conftest.
$ac_objext
28031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28032 (eval $ac_compile) 2>conftest.er1
28034 grep -v '^ *+' conftest.er1
>conftest.err
28036 cat conftest.err
>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } &&
28039 { ac_try
='test -z "$ac_c_werror_flag"
28040 || test ! -s conftest.err'
28041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28042 (eval $ac_try) 2>&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); }; } &&
28046 { ac_try
='test -s conftest.$ac_objext'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; }; then
28052 ac_cv_type_long
=yes
28054 echo "$as_me: failed program was:" >&5
28055 sed 's/^/| /' conftest.
$ac_ext >&5
28059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28061 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
28062 echo "${ECHO_T}$ac_cv_type_long" >&6
28064 echo "$as_me:$LINENO: checking size of long" >&5
28065 echo $ECHO_N "checking size of long... $ECHO_C" >&6
28066 if test "${ac_cv_sizeof_long+set}" = set; then
28067 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 if test "$ac_cv_type_long" = yes; then
28070 # The cast to unsigned long works around a bug in the HP C Compiler
28071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28073 # This bug is HP SR number 8606223364.
28074 if test "$cross_compiling" = yes; then
28075 # Depending upon the size, compute the lo and hi bounds.
28076 cat >conftest.
$ac_ext <<_ACEOF
28079 cat confdefs.h
>>conftest.
$ac_ext
28080 cat >>conftest.
$ac_ext <<_ACEOF
28081 /* end confdefs.h. */
28082 $ac_includes_default
28086 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
28093 rm -f conftest.
$ac_objext
28094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28095 (eval $ac_compile) 2>conftest.er1
28097 grep -v '^ *+' conftest.er1
>conftest.err
28099 cat conftest.err
>&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); } &&
28102 { ac_try
='test -z "$ac_c_werror_flag"
28103 || test ! -s conftest.err'
28104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105 (eval $ac_try) 2>&5
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); }; } &&
28109 { ac_try
='test -s conftest.$ac_objext'
28110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111 (eval $ac_try) 2>&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); }; }; then
28117 cat >conftest.
$ac_ext <<_ACEOF
28120 cat confdefs.h
>>conftest.
$ac_ext
28121 cat >>conftest.
$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 $ac_includes_default
28127 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28134 rm -f conftest.
$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28138 grep -v '^ *+' conftest.er1
>conftest.err
28140 cat conftest.err
>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try
='test -z "$ac_c_werror_flag"
28144 || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try
='test -s conftest.$ac_objext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 ac_hi
=$ac_mid; break
28158 echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.
$ac_ext >&5
28161 ac_lo
=`expr $ac_mid + 1`
28162 if test $ac_lo -le $ac_mid; then
28166 ac_mid
=`expr 2 '*' $ac_mid + 1`
28168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.
$ac_ext >&5
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180 $ac_includes_default
28184 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
28191 rm -f conftest.
$ac_objext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28193 (eval $ac_compile) 2>conftest.er1
28195 grep -v '^ *+' conftest.er1
>conftest.err
28197 cat conftest.err
>&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } &&
28200 { ac_try
='test -z "$ac_c_werror_flag"
28201 || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try
='test -s conftest.$ac_objext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28215 cat >conftest.
$ac_ext <<_ACEOF
28218 cat confdefs.h
>>conftest.
$ac_ext
28219 cat >>conftest.
$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221 $ac_includes_default
28225 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
28232 rm -f conftest.
$ac_objext
28233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28234 (eval $ac_compile) 2>conftest.er1
28236 grep -v '^ *+' conftest.er1
>conftest.err
28238 cat conftest.err
>&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); } &&
28241 { ac_try
='test -z "$ac_c_werror_flag"
28242 || test ! -s conftest.err'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; } &&
28248 { ac_try
='test -s conftest.$ac_objext'
28249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28250 (eval $ac_try) 2>&5
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); }; }; then
28254 ac_lo
=$ac_mid; break
28256 echo "$as_me: failed program was:" >&5
28257 sed 's/^/| /' conftest.
$ac_ext >&5
28259 ac_hi
=`expr '(' $ac_mid ')' - 1`
28260 if test $ac_mid -le $ac_hi; then
28264 ac_mid
=`expr 2 '*' $ac_mid`
28266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.
$ac_ext >&5
28274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28277 # Binary search between lo and hi bounds.
28278 while test "x$ac_lo" != "x$ac_hi"; do
28279 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28280 cat >conftest.
$ac_ext <<_ACEOF
28283 cat confdefs.h
>>conftest.
$ac_ext
28284 cat >>conftest.
$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286 $ac_includes_default
28290 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28297 rm -f conftest.
$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299 (eval $ac_compile) 2>conftest.er1
28301 grep -v '^ *+' conftest.er1
>conftest.err
28303 cat conftest.err
>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try
='test -z "$ac_c_werror_flag"
28307 || test ! -s conftest.err'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; } &&
28313 { ac_try
='test -s conftest.$ac_objext'
28314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315 (eval $ac_try) 2>&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); }; }; then
28321 echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.
$ac_ext >&5
28324 ac_lo
=`expr '(' $ac_mid ')' + 1`
28326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28329 ?
*) ac_cv_sizeof_long
=$ac_lo;;
28330 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28331 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28333 See \`config.log' for more details." >&5
28334 echo "$as_me: error: cannot compute sizeof (long), 77
28335 See \`config.log' for more details." >&2;}
28336 { (exit 1); exit 1; }; }; } ;;
28339 if test "$cross_compiling" = yes; then
28340 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28341 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28342 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28343 See \`config.log' for more details." >&5
28344 echo "$as_me: error: cannot run test program while cross compiling
28345 See \`config.log' for more details." >&2;}
28346 { (exit 1); exit 1; }; }; }
28348 cat >conftest.
$ac_ext <<_ACEOF
28351 cat confdefs.h
>>conftest.
$ac_ext
28352 cat >>conftest.
$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 $ac_includes_default
28355 long longval () { return (long) (sizeof (long)); }
28356 unsigned long ulongval () { return (long) (sizeof (long)); }
28358 #include <stdlib.h>
28363 FILE *f = fopen ("conftest.val", "w");
28366 if (((long) (sizeof (long))) < 0)
28368 long i = longval ();
28369 if (i != ((long) (sizeof (long))))
28371 fprintf (f, "%ld\n", i);
28375 unsigned long i = ulongval ();
28376 if (i != ((long) (sizeof (long))))
28378 fprintf (f, "%lu\n", i);
28380 exit (ferror (f) || fclose (f) != 0);
28386 rm -f conftest
$ac_exeext
28387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28388 (eval $ac_link) 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28397 ac_cv_sizeof_long
=`cat conftest.val`
28399 echo "$as_me: program exited with status $ac_status" >&5
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.
$ac_ext >&5
28403 ( exit $ac_status )
28404 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28405 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28406 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28407 See \`config.log' for more details." >&5
28408 echo "$as_me: error: cannot compute sizeof (long), 77
28409 See \`config.log' for more details." >&2;}
28410 { (exit 1); exit 1; }; }; }
28412 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28417 ac_cv_sizeof_long
=0
28420 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28421 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28422 cat >>confdefs.h
<<_ACEOF
28423 #define SIZEOF_LONG $ac_cv_sizeof_long
28427 echo "$as_me:$LINENO: checking for void*" >&5
28428 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28429 if test "${ac_cv_type_voidp+set}" = set; then
28430 echo $ECHO_N "(cached) $ECHO_C" >&6
28432 cat >conftest.
$ac_ext <<_ACEOF
28435 cat confdefs.h
>>conftest.
$ac_ext
28436 cat >>conftest.
$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 $ac_includes_default
28444 if (sizeof (void*))
28450 rm -f conftest.
$ac_objext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28452 (eval $ac_compile) 2>conftest.er1
28454 grep -v '^ *+' conftest.er1
>conftest.err
28456 cat conftest.err
>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try
='test -z "$ac_c_werror_flag"
28460 || test ! -s conftest.err'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; } &&
28466 { ac_try
='test -s conftest.$ac_objext'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; }; then
28472 ac_cv_type_voidp
=yes
28474 echo "$as_me: failed program was:" >&5
28475 sed 's/^/| /' conftest.
$ac_ext >&5
28477 ac_cv_type_voidp
=no
28479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28481 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28482 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28484 echo "$as_me:$LINENO: checking size of void*" >&5
28485 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28486 if test "${ac_cv_sizeof_voidp+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 if test "$ac_cv_type_voidp" = yes; then
28490 # The cast to unsigned long works around a bug in the HP C Compiler
28491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28493 # This bug is HP SR number 8606223364.
28494 if test "$cross_compiling" = yes; then
28495 # Depending upon the size, compute the lo and hi bounds.
28496 cat >conftest.
$ac_ext <<_ACEOF
28499 cat confdefs.h
>>conftest.
$ac_ext
28500 cat >>conftest.
$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502 $ac_includes_default
28506 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28513 rm -f conftest.
$ac_objext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28515 (eval $ac_compile) 2>conftest.er1
28517 grep -v '^ *+' conftest.er1
>conftest.err
28519 cat conftest.err
>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try
='test -z "$ac_c_werror_flag"
28523 || test ! -s conftest.err'
28524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525 (eval $ac_try) 2>&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); }; } &&
28529 { ac_try
='test -s conftest.$ac_objext'
28530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531 (eval $ac_try) 2>&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); }; }; then
28537 cat >conftest.
$ac_ext <<_ACEOF
28540 cat confdefs.h
>>conftest.
$ac_ext
28541 cat >>conftest.
$ac_ext <<_ACEOF
28542 /* end confdefs.h. */
28543 $ac_includes_default
28547 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28554 rm -f conftest.
$ac_objext
28555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28556 (eval $ac_compile) 2>conftest.er1
28558 grep -v '^ *+' conftest.er1
>conftest.err
28560 cat conftest.err
>&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } &&
28563 { ac_try
='test -z "$ac_c_werror_flag"
28564 || test ! -s conftest.err'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; } &&
28570 { ac_try
='test -s conftest.$ac_objext'
28571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28572 (eval $ac_try) 2>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); }; }; then
28576 ac_hi
=$ac_mid; break
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.
$ac_ext >&5
28581 ac_lo
=`expr $ac_mid + 1`
28582 if test $ac_lo -le $ac_mid; then
28586 ac_mid
=`expr 2 '*' $ac_mid + 1`
28588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.
$ac_ext >&5
28594 cat >conftest.
$ac_ext <<_ACEOF
28597 cat confdefs.h
>>conftest.
$ac_ext
28598 cat >>conftest.
$ac_ext <<_ACEOF
28599 /* end confdefs.h. */
28600 $ac_includes_default
28604 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28611 rm -f conftest.
$ac_objext
28612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28613 (eval $ac_compile) 2>conftest.er1
28615 grep -v '^ *+' conftest.er1
>conftest.err
28617 cat conftest.err
>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try
='test -z "$ac_c_werror_flag"
28621 || test ! -s conftest.err'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; } &&
28627 { ac_try
='test -s conftest.$ac_objext'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28635 cat >conftest.
$ac_ext <<_ACEOF
28638 cat confdefs.h
>>conftest.
$ac_ext
28639 cat >>conftest.
$ac_ext <<_ACEOF
28640 /* end confdefs.h. */
28641 $ac_includes_default
28645 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28652 rm -f conftest.
$ac_objext
28653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28654 (eval $ac_compile) 2>conftest.er1
28656 grep -v '^ *+' conftest.er1
>conftest.err
28658 cat conftest.err
>&5
28659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660 (exit $ac_status); } &&
28661 { ac_try
='test -z "$ac_c_werror_flag"
28662 || test ! -s conftest.err'
28663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664 (eval $ac_try) 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; } &&
28668 { ac_try
='test -s conftest.$ac_objext'
28669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28670 (eval $ac_try) 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; }; then
28674 ac_lo
=$ac_mid; break
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.
$ac_ext >&5
28679 ac_hi
=`expr '(' $ac_mid ')' - 1`
28680 if test $ac_mid -le $ac_hi; then
28684 ac_mid
=`expr 2 '*' $ac_mid`
28686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.
$ac_ext >&5
28694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28697 # Binary search between lo and hi bounds.
28698 while test "x$ac_lo" != "x$ac_hi"; do
28699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28700 cat >conftest.
$ac_ext <<_ACEOF
28703 cat confdefs.h
>>conftest.
$ac_ext
28704 cat >>conftest.
$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 $ac_includes_default
28710 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28717 rm -f conftest.
$ac_objext
28718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28719 (eval $ac_compile) 2>conftest.er1
28721 grep -v '^ *+' conftest.er1
>conftest.err
28723 cat conftest.err
>&5
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); } &&
28726 { ac_try
='test -z "$ac_c_werror_flag"
28727 || test ! -s conftest.err'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; } &&
28733 { ac_try
='test -s conftest.$ac_objext'
28734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28735 (eval $ac_try) 2>&5
28737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28738 (exit $ac_status); }; }; then
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.
$ac_ext >&5
28744 ac_lo
=`expr '(' $ac_mid ')' + 1`
28746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28749 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
28750 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28751 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28753 See \`config.log' for more details." >&5
28754 echo "$as_me: error: cannot compute sizeof (void*), 77
28755 See \`config.log' for more details." >&2;}
28756 { (exit 1); exit 1; }; }; } ;;
28759 if test "$cross_compiling" = yes; then
28760 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28761 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28762 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28763 See \`config.log' for more details." >&5
28764 echo "$as_me: error: cannot run test program while cross compiling
28765 See \`config.log' for more details." >&2;}
28766 { (exit 1); exit 1; }; }; }
28768 cat >conftest.
$ac_ext <<_ACEOF
28771 cat confdefs.h
>>conftest.
$ac_ext
28772 cat >>conftest.
$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28774 $ac_includes_default
28775 long longval () { return (long) (sizeof (void*)); }
28776 unsigned long ulongval () { return (long) (sizeof (void*)); }
28778 #include <stdlib.h>
28783 FILE *f = fopen ("conftest.val", "w");
28786 if (((long) (sizeof (void*))) < 0)
28788 long i = longval ();
28789 if (i != ((long) (sizeof (void*))))
28791 fprintf (f, "%ld\n", i);
28795 unsigned long i = ulongval ();
28796 if (i != ((long) (sizeof (void*))))
28798 fprintf (f, "%lu\n", i);
28800 exit (ferror (f) || fclose (f) != 0);
28806 rm -f conftest
$ac_exeext
28807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28808 (eval $ac_link) 2>&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; }; then
28817 ac_cv_sizeof_voidp
=`cat conftest.val`
28819 echo "$as_me: program exited with status $ac_status" >&5
28820 echo "$as_me: failed program was:" >&5
28821 sed 's/^/| /' conftest.
$ac_ext >&5
28823 ( exit $ac_status )
28824 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28825 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28826 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28827 See \`config.log' for more details." >&5
28828 echo "$as_me: error: cannot compute sizeof (void*), 77
28829 See \`config.log' for more details." >&2;}
28830 { (exit 1); exit 1; }; }; }
28832 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28837 ac_cv_sizeof_voidp
=0
28840 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28841 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
28842 cat >>confdefs.h
<<_ACEOF
28843 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
28847 ac_cv_char_data_model
=""
28848 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
28849 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
28850 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
28851 ac_cv_long_data_model
=""
28852 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
28853 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
28854 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
28855 echo "$as_me:$LINENO: checking data model" >&5
28856 echo $ECHO_N "checking data model... $ECHO_C" >&6
28857 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
28858 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
28859 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
28860 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
28861 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
28862 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
28863 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
28864 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
28865 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
28866 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
28867 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
28868 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
28869 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
28870 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
28871 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
28872 222/*|
333/*|
444/*|
666/*|
888/*) :
28873 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
28874 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
28876 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
28877 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
28881 if test "_$ac_cv_header_stdint_x" != "_" ; then
28882 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
28883 elif test "_$ac_cv_header_stdint_o" != "_" ; then
28884 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
28885 elif test "_$ac_cv_header_stdint_u" != "_" ; then
28886 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
28888 ac_cv_header_stdint
="stddef.h"
28891 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
28892 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
28893 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
28894 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
28895 unset ac_cv_type_int_least32_t
28896 unset ac_cv_type_int_fast32_t
28897 echo "$as_me:$LINENO: checking for int_least32_t" >&5
28898 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
28899 if test "${ac_cv_type_int_least32_t+set}" = set; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 cat >conftest.
$ac_ext <<_ACEOF
28905 cat confdefs.h
>>conftest.
$ac_ext
28906 cat >>conftest.
$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28908 #include <$ac_cv_header_stdint>
28913 if ((int_least32_t *) 0)
28915 if (sizeof (int_least32_t))
28921 rm -f conftest.
$ac_objext
28922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28923 (eval $ac_compile) 2>conftest.er1
28925 grep -v '^ *+' conftest.er1
>conftest.err
28927 cat conftest.err
>&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); } &&
28930 { ac_try
='test -z "$ac_c_werror_flag"
28931 || test ! -s conftest.err'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; } &&
28937 { ac_try
='test -s conftest.$ac_objext'
28938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28939 (eval $ac_try) 2>&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); }; }; then
28943 ac_cv_type_int_least32_t
=yes
28945 echo "$as_me: failed program was:" >&5
28946 sed 's/^/| /' conftest.
$ac_ext >&5
28948 ac_cv_type_int_least32_t
=no
28950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28952 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
28953 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
28955 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
28956 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
28957 if test "${ac_cv_type_int_fast32_t+set}" = set; then
28958 echo $ECHO_N "(cached) $ECHO_C" >&6
28960 cat >conftest.
$ac_ext <<_ACEOF
28963 cat confdefs.h
>>conftest.
$ac_ext
28964 cat >>conftest.
$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28966 #include<$ac_cv_header_stdint>
28971 if ((int_fast32_t *) 0)
28973 if (sizeof (int_fast32_t))
28979 rm -f conftest.
$ac_objext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28981 (eval $ac_compile) 2>conftest.er1
28983 grep -v '^ *+' conftest.er1
>conftest.err
28985 cat conftest.err
>&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try
='test -z "$ac_c_werror_flag"
28989 || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try
='test -s conftest.$ac_objext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_type_int_fast32_t
=yes
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.
$ac_ext >&5
29006 ac_cv_type_int_fast32_t
=no
29008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29010 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
29011 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
29013 echo "$as_me:$LINENO: checking for intmax_t" >&5
29014 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
29015 if test "${ac_cv_type_intmax_t+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29018 cat >conftest.
$ac_ext <<_ACEOF
29021 cat confdefs.h
>>conftest.
$ac_ext
29022 cat >>conftest.
$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024 #include <$ac_cv_header_stdint>
29029 if ((intmax_t *) 0)
29031 if (sizeof (intmax_t))
29037 rm -f conftest.
$ac_objext
29038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29039 (eval $ac_compile) 2>conftest.er1
29041 grep -v '^ *+' conftest.er1
>conftest.err
29043 cat conftest.err
>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); } &&
29046 { ac_try
='test -z "$ac_c_werror_flag"
29047 || test ! -s conftest.err'
29048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29049 (eval $ac_try) 2>&5
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); }; } &&
29053 { ac_try
='test -s conftest.$ac_objext'
29054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29055 (eval $ac_try) 2>&5
29057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29058 (exit $ac_status); }; }; then
29059 ac_cv_type_intmax_t
=yes
29061 echo "$as_me: failed program was:" >&5
29062 sed 's/^/| /' conftest.
$ac_ext >&5
29064 ac_cv_type_intmax_t
=no
29066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29068 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
29069 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
29072 fi # shortcircut to system "stdint.h"
29073 # ------------------ PREPARE VARIABLES ------------------------------
29074 if test "$GCC" = "yes" ; then
29075 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
29077 ac_cv_stdint_message
="using $CC"
29080 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
29081 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
29083 # ----------------- DONE inttypes.h checks START header -------------
29084 ac_config_commands
="$ac_config_commands $ac_stdint_h"
29089 # Check whether --with-glibj_zip or --without-glibj_zip was given.
29090 if test "${with_glibj_zip+set}" = set; then
29091 withval
="$with_glibj_zip"
29095 case "$with_glibj_zip" in
29097 use_glibj_zip
=false
29100 use_glibj_zip
=false
29103 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
29104 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
29105 { (exit 1); exit 1; }; }
29109 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
29115 if test x
$use_glibj_zip = xtrue
; then
29116 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
29117 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
29119 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
29120 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
29125 if test "x${TOOLSDIR}" != x
; then
29126 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
29129 if test "x$JAVAPREFIX" = x
; then
29130 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
29132 # Extract the first word of "$ac_prog", so it can be a program name with args.
29133 set dummy
$ac_prog; ac_word
=$2
29134 echo "$as_me:$LINENO: checking for $ac_word" >&5
29135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29136 if test "${ac_cv_prog_JAVA+set}" = set; then
29137 echo $ECHO_N "(cached) $ECHO_C" >&6
29139 if test -n "$JAVA"; then
29140 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29143 for as_dir
in $PATH
29146 test -z "$as_dir" && as_dir
=.
29147 for ac_exec_ext
in '' $ac_executable_extensions; do
29148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29149 ac_cv_prog_JAVA
="$ac_prog"
29150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29158 JAVA
=$ac_cv_prog_JAVA
29159 if test -n "$JAVA"; then
29160 echo "$as_me:$LINENO: result: $JAVA" >&5
29161 echo "${ECHO_T}$JAVA" >&6
29163 echo "$as_me:$LINENO: result: no" >&5
29164 echo "${ECHO_T}no" >&6
29167 test -n "$JAVA" && break
29171 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
29173 # Extract the first word of "$ac_prog", so it can be a program name with args.
29174 set dummy
$ac_prog; ac_word
=$2
29175 echo "$as_me:$LINENO: checking for $ac_word" >&5
29176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29177 if test "${ac_cv_prog_JAVA+set}" = set; then
29178 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 if test -n "$JAVA"; then
29181 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29184 for as_dir
in $PATH
29187 test -z "$as_dir" && as_dir
=.
29188 for ac_exec_ext
in '' $ac_executable_extensions; do
29189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29190 ac_cv_prog_JAVA
="$ac_prog"
29191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29199 JAVA
=$ac_cv_prog_JAVA
29200 if test -n "$JAVA"; then
29201 echo "$as_me:$LINENO: result: $JAVA" >&5
29202 echo "${ECHO_T}$JAVA" >&6
29204 echo "$as_me:$LINENO: result: no" >&5
29205 echo "${ECHO_T}no" >&6
29208 test -n "$JAVA" && break
29210 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
29213 test "x$JAVA" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
29214 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
29215 { (exit 1); exit 1; }; }
29217 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
29218 set dummy
uudecode$EXEEXT; ac_word
=$2
29219 echo "$as_me:$LINENO: checking for $ac_word" >&5
29220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29221 if test "${ac_cv_prog_uudecode+set}" = set; then
29222 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 if test -n "$uudecode"; then
29225 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
29227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29228 for as_dir
in $PATH
29231 test -z "$as_dir" && as_dir
=.
29232 for ac_exec_ext
in '' $ac_executable_extensions; do
29233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29234 ac_cv_prog_uudecode
="yes"
29235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29243 uudecode=$ac_cv_prog_uudecode
29244 if test -n "$uudecode"; then
29245 echo "$as_me:$LINENO: result: $uudecode" >&5
29246 echo "${ECHO_T}$uudecode" >&6
29248 echo "$as_me:$LINENO: result: no" >&5
29249 echo "${ECHO_T}no" >&6
29252 if test x
$uudecode = xyes
; then
29253 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
29254 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
29255 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 cat << \EOF
> Test.uue
29260 begin-base64
644 Test.class
29261 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
29262 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
29263 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
29264 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
29265 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
29266 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
29267 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
29270 if uudecode$EXEEXT Test.uue
; then
29271 ac_cv_prog_uudecode_base64
=yes
29273 echo "configure: 29273: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
29274 echo "configure: failed file was:" >&5
29276 ac_cv_prog_uudecode_base64
=no
29280 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
29281 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
29283 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29285 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
29286 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
29287 if test x
$ac_cv_prog_javac_works = xno
; then
29288 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
29289 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
29290 { (exit 1); exit 1; }; }
29292 if test x
$ac_cv_prog_javac_works = x
; then
29294 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
29295 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
29297 if test "x$JAVAPREFIX" = x
; then
29298 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
29300 # Extract the first word of "$ac_prog", so it can be a program name with args.
29301 set dummy
$ac_prog; ac_word
=$2
29302 echo "$as_me:$LINENO: checking for $ac_word" >&5
29303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29304 if test "${ac_cv_prog_JAVAC+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29307 if test -n "$JAVAC"; then
29308 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29311 for as_dir
in $PATH
29314 test -z "$as_dir" && as_dir
=.
29315 for ac_exec_ext
in '' $ac_executable_extensions; do
29316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29317 ac_cv_prog_JAVAC
="$ac_prog"
29318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29326 JAVAC
=$ac_cv_prog_JAVAC
29327 if test -n "$JAVAC"; then
29328 echo "$as_me:$LINENO: result: $JAVAC" >&5
29329 echo "${ECHO_T}$JAVAC" >&6
29331 echo "$as_me:$LINENO: result: no" >&5
29332 echo "${ECHO_T}no" >&6
29335 test -n "$JAVAC" && break
29339 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
29341 # Extract the first word of "$ac_prog", so it can be a program name with args.
29342 set dummy
$ac_prog; ac_word
=$2
29343 echo "$as_me:$LINENO: checking for $ac_word" >&5
29344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29345 if test "${ac_cv_prog_JAVAC+set}" = set; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29348 if test -n "$JAVAC"; then
29349 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29352 for as_dir
in $PATH
29355 test -z "$as_dir" && as_dir
=.
29356 for ac_exec_ext
in '' $ac_executable_extensions; do
29357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29358 ac_cv_prog_JAVAC
="$ac_prog"
29359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29367 JAVAC
=$ac_cv_prog_JAVAC
29368 if test -n "$JAVAC"; then
29369 echo "$as_me:$LINENO: result: $JAVAC" >&5
29370 echo "${ECHO_T}$JAVAC" >&6
29372 echo "$as_me:$LINENO: result: no" >&5
29373 echo "${ECHO_T}no" >&6
29376 test -n "$JAVAC" && break
29378 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
29381 test "x$JAVAC" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
29382 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
29383 { (exit 1); exit 1; }; }
29384 echo "$as_me:$LINENO: checking if $JAVAC is a version of gcj" >&5
29385 echo $ECHO_N "checking if $JAVAC is a version of gcj... $ECHO_C" >&6
29386 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 if $JAVAC --version |
grep gcj
> /dev
/null
; then
29391 ac_cv_prog_javac_is_gcj
=yes;
29392 JAVAC
="$JAVAC $GCJ_OPTS";
29395 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_is_gcj" >&5
29396 echo "${ECHO_T}$ac_cv_prog_javac_is_gcj" >&6
29397 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
29401 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
29403 GCJ_JAVAC_FALSE
='#'
29409 if test "$enable_java_maintainer_mode" = yes; then
29411 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
29412 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
29413 if test "${ac_cv_prog_javac_works+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29417 JAVA_TEST
=Object.java
29418 CLASS_TEST
=Object.class
29419 cat << \EOF
> $JAVA_TEST
29420 /* #line 29420 "configure" */
29423 public class Object
29425 static
<T
> void doStuff
()
29430 if test x
$JAVAC_IS_GCJ = xyes
; then
29431 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
29433 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; } >/dev
/null
2>&1; then
29441 ac_cv_prog_javac_works
=yes
29443 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29444 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29445 { (exit 1); exit 1; }; }
29446 echo "configure: failed program was:" >&5
29449 rm -f $JAVA_TEST $CLASS_TEST
29452 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
29453 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
29459 echo "$as_me:$LINENO: checking if $JAVA works" >&5
29460 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
29461 if test "${ac_cv_prog_java_works+set}" = set; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 JAVA_TEST
=Test.java
29466 CLASS_TEST
=Test.class
29468 cat << \EOF
> $JAVA_TEST
29469 /* [#]line 29469 "configure" */
29470 public class Test
{
29471 public static void main
(String args
[]) {
29475 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29476 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; } && test -s $CLASS_TEST; then
29484 echo "configure: failed program was:" >&5
29486 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29487 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29488 { (exit 1); exit 1; }; }
29491 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; } >/dev
/null
2>&1; then
29497 ac_cv_prog_java_works
=yes
29499 echo "configure: failed program was:" >&5
29501 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
29502 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
29503 { (exit 1); exit 1; }; }
29505 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
29508 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
29509 echo "${ECHO_T}$ac_cv_prog_java_works" >&6
29514 if test "x${COMPILE_GJDOC}" = xyes
; then
29516 echo "$as_me:$LINENO: checking for the ANTLR parser generator JAR file" >&5
29517 echo $ECHO_N "checking for the ANTLR parser generator JAR file... $ECHO_C" >&6
29518 if test -z "$ANTLR_JAR"; then
29519 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
29520 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
29522 if test -f "$antlr_lib_home/antlr.jar"; then
29523 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
29528 test -f $ANTLR_JAR ||
{ { echo "$as_me:$LINENO: error: specified ANTLR jar file $ANTLR_JAR not found." >&5
29529 echo "$as_me: error: specified ANTLR jar file $ANTLR_JAR not found." >&2;}
29530 { (exit 1); exit 1; }; } \
29531 && echo "$as_me:$LINENO: result: $ANTLR_JAR" >&5
29532 echo "${ECHO_T}$ANTLR_JAR" >&6
29535 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
&& test "x${enable_java_maintainer_mode}" = xyes
; then
29537 if test -n "$ac_tool_prefix"; then
29538 for ac_prog
in cantlr runantlr antlr
29540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29541 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
29542 echo "$as_me:$LINENO: checking for $ac_word" >&5
29543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29544 if test "${ac_cv_prog_ANTLR+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 if test -n "$ANTLR"; then
29548 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
29550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29551 for as_dir
in $PATH
29554 test -z "$as_dir" && as_dir
=.
29555 for ac_exec_ext
in '' $ac_executable_extensions; do
29556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29557 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
29558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29566 ANTLR
=$ac_cv_prog_ANTLR
29567 if test -n "$ANTLR"; then
29568 echo "$as_me:$LINENO: result: $ANTLR" >&5
29569 echo "${ECHO_T}$ANTLR" >&6
29571 echo "$as_me:$LINENO: result: no" >&5
29572 echo "${ECHO_T}no" >&6
29575 test -n "$ANTLR" && break
29578 if test -z "$ANTLR"; then
29580 for ac_prog
in cantlr runantlr antlr
29582 # Extract the first word of "$ac_prog", so it can be a program name with args.
29583 set dummy
$ac_prog; ac_word
=$2
29584 echo "$as_me:$LINENO: checking for $ac_word" >&5
29585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29586 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 if test -n "$ac_ct_ANTLR"; then
29590 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
29592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29593 for as_dir
in $PATH
29596 test -z "$as_dir" && as_dir
=.
29597 for ac_exec_ext
in '' $ac_executable_extensions; do
29598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29599 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
29600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29608 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
29609 if test -n "$ac_ct_ANTLR"; then
29610 echo "$as_me:$LINENO: result: $ac_ct_ANTLR" >&5
29611 echo "${ECHO_T}$ac_ct_ANTLR" >&6
29613 echo "$as_me:$LINENO: result: no" >&5
29614 echo "${ECHO_T}no" >&6
29617 test -n "$ac_ct_ANTLR" && break
29623 if test "x$ANTLR" = x
; then
29624 if test -z "$JAVA"; then
29625 { { echo "$as_me:$LINENO: error: Failed to find either an antlr binary or a suitable Java runtime for ANTLR." >&5
29626 echo "$as_me: error: Failed to find either an antlr binary or a suitable Java runtime for ANTLR." >&2;}
29627 { (exit 1); exit 1; }; }
29629 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
29633 echo "$as_me:$LINENO: checking for antlr 2.7.1 or better" >&5
29634 echo $ECHO_N "checking for antlr 2.7.1 or better... $ECHO_C" >&6
29635 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
29636 if test "$antlr_version_str"; then
29637 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
29638 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
29639 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
29640 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
29641 (test $antlr_version_major -gt 2 || \
29642 (test $antlr_version_major -eq 2 && \
29643 test $antlr_version_minor -gt 7) || \
29644 (test $antlr_version_major -eq 2 && \
29645 test $antlr_version_minor -eq 7 && \
29646 test $antlr_version_micro -ge 1))
29648 echo "$as_me:$LINENO: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
29649 echo "${ECHO_T}$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6
29656 # Check for javac if we need to build either the class library,
29657 # the examples or the tools
29658 if test "x${use_glibj_zip}" = xfalse || \
29659 test "x${EXAMPLESDIR}" != x || \
29660 test "x${TOOLSDIR}" != x
&& \
29661 test "x${build_class_files}" != xno
; then
29663 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
29664 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
29666 if test "x$JAVAPREFIX" = x
; then
29667 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
29669 # Extract the first word of "$ac_prog", so it can be a program name with args.
29670 set dummy
$ac_prog; ac_word
=$2
29671 echo "$as_me:$LINENO: checking for $ac_word" >&5
29672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29673 if test "${ac_cv_prog_JAVAC+set}" = set; then
29674 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 if test -n "$JAVAC"; then
29677 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29680 for as_dir
in $PATH
29683 test -z "$as_dir" && as_dir
=.
29684 for ac_exec_ext
in '' $ac_executable_extensions; do
29685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29686 ac_cv_prog_JAVAC
="$ac_prog"
29687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29695 JAVAC
=$ac_cv_prog_JAVAC
29696 if test -n "$JAVAC"; then
29697 echo "$as_me:$LINENO: result: $JAVAC" >&5
29698 echo "${ECHO_T}$JAVAC" >&6
29700 echo "$as_me:$LINENO: result: no" >&5
29701 echo "${ECHO_T}no" >&6
29704 test -n "$JAVAC" && break
29708 test "x$JAVAC" = x
&& for ac_prog
in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
29710 # Extract the first word of "$ac_prog", so it can be a program name with args.
29711 set dummy
$ac_prog; ac_word
=$2
29712 echo "$as_me:$LINENO: checking for $ac_word" >&5
29713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29714 if test "${ac_cv_prog_JAVAC+set}" = set; then
29715 echo $ECHO_N "(cached) $ECHO_C" >&6
29717 if test -n "$JAVAC"; then
29718 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29721 for as_dir
in $PATH
29724 test -z "$as_dir" && as_dir
=.
29725 for ac_exec_ext
in '' $ac_executable_extensions; do
29726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29727 ac_cv_prog_JAVAC
="$ac_prog"
29728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29736 JAVAC
=$ac_cv_prog_JAVAC
29737 if test -n "$JAVAC"; then
29738 echo "$as_me:$LINENO: result: $JAVAC" >&5
29739 echo "${ECHO_T}$JAVAC" >&6
29741 echo "$as_me:$LINENO: result: no" >&5
29742 echo "${ECHO_T}no" >&6
29745 test -n "$JAVAC" && break
29747 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
29750 test "x$JAVAC" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
29751 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
29752 { (exit 1); exit 1; }; }
29753 echo "$as_me:$LINENO: checking if $JAVAC is a version of gcj" >&5
29754 echo $ECHO_N "checking if $JAVAC is a version of gcj... $ECHO_C" >&6
29755 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 if $JAVAC --version |
grep gcj
> /dev
/null
; then
29760 ac_cv_prog_javac_is_gcj
=yes;
29761 JAVAC
="$JAVAC $GCJ_OPTS";
29764 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_is_gcj" >&5
29765 echo "${ECHO_T}$ac_cv_prog_javac_is_gcj" >&6
29766 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
29770 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
29772 GCJ_JAVAC_FALSE
='#'
29778 if test "$enable_java_maintainer_mode" = yes; then
29780 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
29781 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
29782 if test "${ac_cv_prog_javac_works+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29786 JAVA_TEST
=Object.java
29787 CLASS_TEST
=Object.class
29788 cat << \EOF
> $JAVA_TEST
29789 /* #line 29789 "configure" */
29792 public class Object
29794 static
<T
> void doStuff
()
29799 if test x
$JAVAC_IS_GCJ = xyes
; then
29800 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
29802 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } >/dev
/null
2>&1; then
29810 ac_cv_prog_javac_works
=yes
29812 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29813 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29814 { (exit 1); exit 1; }; }
29815 echo "configure: failed program was:" >&5
29818 rm -f $JAVA_TEST $CLASS_TEST
29821 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
29822 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
29827 JAVA_TEST
=Test.java
29828 CLASS_TEST
=Test.class
29829 cat << \EOF
> $JAVA_TEST
29830 /* #line 29830 "configure" */
29833 public static void main
(String args
)
29835 System.out.println
("Hello World");
29839 if test x
$JAVAC_IS_GCJ != xyes
; then
29840 echo "$as_me:$LINENO: checking whether javac supports -J" >&5
29841 echo $ECHO_N "checking whether javac supports -J... $ECHO_C" >&6
29842 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
29844 if test "x$javac_result" = "x0"; then
29845 echo "$as_me:$LINENO: result: yes" >&5
29846 echo "${ECHO_T}yes" >&6
29847 JAVAC_MEM_OPT
="-J-Xmx768M"
29849 echo "$as_me:$LINENO: result: no" >&5
29850 echo "${ECHO_T}no" >&6
29853 rm -f $JAVA_TEST $CLASS_TEST
29859 # Check whether --with-escher or --without-escher was given.
29860 if test "${with_escher+set}" = set; then
29861 withval
="$with_escher"
29864 case "$with_escher" in
29872 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
29873 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
29874 { (exit 1); exit 1; }; }
29878 PATH_TO_ESCHER
=$with_escher
29884 if test x
$use_escher = xtrue
; then
29886 USE_ESCHER_FALSE
='#'
29888 USE_ESCHER_TRUE
='#'
29894 # Check whether --enable-local-sockets or --disable-local-sockets was given.
29895 if test "${enable_local_sockets+set}" = set; then
29896 enableval
="$enable_local_sockets"
29897 case "${enableval}" in
29899 ENABLE_LOCAL_SOCKETS
=yes
29902 ENABLE_LOCAL_SOCKETS
=no
29906 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
29908 if test "${ac_cv_header_sys_un_h+set}" = set; then
29909 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29910 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29911 if test "${ac_cv_header_sys_un_h+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29914 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29917 # Is the header compilable?
29918 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
29919 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
29920 cat >conftest.
$ac_ext <<_ACEOF
29923 cat confdefs.h
>>conftest.
$ac_ext
29924 cat >>conftest.
$ac_ext <<_ACEOF
29925 /* end confdefs.h. */
29926 $ac_includes_default
29927 #include <sys/un.h>
29929 rm -f conftest.
$ac_objext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29931 (eval $ac_compile) 2>conftest.er1
29933 grep -v '^ *+' conftest.er1
>conftest.err
29935 cat conftest.err
>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } &&
29938 { ac_try
='test -z "$ac_c_werror_flag"
29939 || test ! -s conftest.err'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; } &&
29945 { ac_try
='test -s conftest.$ac_objext'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 ac_header_compiler
=yes
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.
$ac_ext >&5
29956 ac_header_compiler
=no
29958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29960 echo "${ECHO_T}$ac_header_compiler" >&6
29962 # Is the header present?
29963 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
29964 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
29965 cat >conftest.
$ac_ext <<_ACEOF
29968 cat confdefs.h
>>conftest.
$ac_ext
29969 cat >>conftest.
$ac_ext <<_ACEOF
29970 /* end confdefs.h. */
29971 #include <sys/un.h>
29973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29976 grep -v '^ *+' conftest.er1
>conftest.err
29978 cat conftest.err
>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } >/dev
/null
; then
29981 if test -s conftest.err
; then
29982 ac_cpp_err
=$ac_c_preproc_warn_flag
29983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29990 if test -z "$ac_cpp_err"; then
29991 ac_header_preproc
=yes
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.
$ac_ext >&5
29996 ac_header_preproc
=no
29998 rm -f conftest.err conftest.
$ac_ext
29999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30000 echo "${ECHO_T}$ac_header_preproc" >&6
30002 # So? What about this header?
30003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30005 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
30006 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30007 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
30008 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
30009 ac_header_preproc
=yes
30012 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
30013 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
30014 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
30015 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
30016 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
30017 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
30018 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
30019 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
30020 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
30021 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
30022 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
30023 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
30026 ## -------------------------------- ##
30027 ## Report this to classpath@gnu.org ##
30028 ## -------------------------------- ##
30031 sed "s/^/$as_me: WARNING: /" >&2
30034 echo "$as_me:$LINENO: checking for sys/un.h" >&5
30035 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
30036 if test "${ac_cv_header_sys_un_h+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 ac_cv_header_sys_un_h
=$ac_header_preproc
30041 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
30042 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
30053 for ac_func
in read write bind listen accept shutdown
30055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30056 echo "$as_me:$LINENO: checking for $ac_func" >&5
30057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30058 if eval "test \"\${$as_ac_var+set}\" = set"; then
30059 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 if test x
$gcc_no_link = xyes
; then
30062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30064 { (exit 1); exit 1; }; }
30066 cat >conftest.
$ac_ext <<_ACEOF
30069 cat confdefs.h
>>conftest.
$ac_ext
30070 cat >>conftest.
$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30074 #define $ac_func innocuous_$ac_func
30076 /* System header to define __stub macros and hopefully few prototypes,
30077 which can conflict with char $ac_func (); below.
30078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30079 <limits.h> exists even on freestanding compilers. */
30082 # include <limits.h>
30084 # include <assert.h>
30089 /* Override any gcc2 internal prototype to avoid an error. */
30094 /* We use char because int might match the return type of a gcc2
30095 builtin and then its argument prototype would still apply. */
30097 /* The GNU C library defines this for functions which it implements
30098 to always fail with ENOSYS. Some functions are actually named
30099 something starting with __ and the normal name is an alias. */
30100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30103 char (*f) () = $ac_func;
30112 return f != $ac_func;
30117 rm -f conftest.
$ac_objext conftest
$ac_exeext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30119 (eval $ac_link) 2>conftest.er1
30121 grep -v '^ *+' conftest.er1
>conftest.err
30123 cat conftest.err
>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } &&
30126 { ac_try
='test -z "$ac_c_werror_flag"
30127 || test ! -s conftest.err'
30128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30129 (eval $ac_try) 2>&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); }; } &&
30133 { ac_try
='test -s conftest$ac_exeext'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; }; then
30139 eval "$as_ac_var=yes"
30141 echo "$as_me: failed program was:" >&5
30142 sed 's/^/| /' conftest.
$ac_ext >&5
30144 eval "$as_ac_var=no"
30146 rm -f conftest.err conftest.
$ac_objext \
30147 conftest
$ac_exeext conftest.
$ac_ext
30149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30151 if test `eval echo '${'$as_ac_var'}'` = yes; then
30152 cat >>confdefs.h
<<_ACEOF
30153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30157 { { echo "$as_me:$LINENO: error: networking support not available" >&5
30158 echo "$as_me: error: networking support not available" >&2;}
30159 { (exit 1); exit 1; }; }
30164 cat >>confdefs.h
<<\_ACEOF
30165 #define ENABLE_LOCAL_SOCKETS 1
30171 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
30172 ENABLE_LOCAL_SOCKETS_TRUE
=
30173 ENABLE_LOCAL_SOCKETS_FALSE
='#'
30175 ENABLE_LOCAL_SOCKETS_TRUE
='#'
30176 ENABLE_LOCAL_SOCKETS_FALSE
=
30182 WANT_NATIVE_BIG_INTEGER
=false
30183 if test "x${COMPILE_GMP}" = xyes
; then
30184 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
30185 if test "x${ac_cv_header_gmp_h}" = xyes
; then
30186 WANT_NATIVE_BIG_INTEGER
=true
30188 cat >>confdefs.h
<<\_ACEOF
30189 #define WITH_GNU_MP 1
30202 if test "x${COMPILE_GMP}" = xyes
; then
30203 CREATE_GMPBI_LIBRARY_TRUE
=
30204 CREATE_GMPBI_LIBRARY_FALSE
='#'
30206 CREATE_GMPBI_LIBRARY_TRUE
='#'
30207 CREATE_GMPBI_LIBRARY_FALSE
=
30211 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/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-math/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
30214 if test "x${COMPILE_WRAPPERS}" = xyes
; then
30217 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
30220 ac_config_commands
="$ac_config_commands gappletviewer"
30222 ac_config_commands
="$ac_config_commands gjarsigner"
30224 ac_config_commands
="$ac_config_commands gkeytool"
30226 ac_config_commands
="$ac_config_commands gjar"
30228 ac_config_commands
="$ac_config_commands gnative2ascii"
30230 ac_config_commands
="$ac_config_commands gserialver"
30232 ac_config_commands
="$ac_config_commands grmiregistry"
30234 ac_config_commands
="$ac_config_commands gtnameserv"
30236 ac_config_commands
="$ac_config_commands gorbd"
30238 ac_config_commands
="$ac_config_commands grmid"
30240 ac_config_commands
="$ac_config_commands grmic"
30242 ac_config_commands
="$ac_config_commands gjavah"
30248 if test "x${COMPILE_GJDOC}" = xyes
30250 ac_config_files
="$ac_config_files tools/gjdoc"
30252 ac_config_commands
="$ac_config_commands gjdoc"
30256 ac_config_commands
="$ac_config_commands gen-classlist"
30258 ac_config_commands
="$ac_config_commands copy-vmresources"
30260 cat >confcache
<<\_ACEOF
30261 # This file is a shell script that caches the results of configure
30262 # tests run on this system so they can be shared between configure
30263 # scripts and configure runs, see configure's option --config-cache.
30264 # It is not useful on other systems. If it contains results you don't
30265 # want to keep, you may remove or edit it.
30267 # config.status only pays attention to the cache file if you give it
30268 # the --recheck option to rerun configure.
30270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30272 # following values.
30276 # The following way of writing the cache mishandles newlines in values,
30277 # but we know of no workaround that is simple, portable, and efficient.
30278 # So, don't put newlines in cache variables' values.
30279 # Ultrix sh set writes to stderr and can't be redirected directly,
30280 # and sets the high bit in the cache file unless we assign to the vars.
30283 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30285 # `set' does not quote correctly, so add quotes (double-quote
30286 # substitution turns \\\\ into \\, and sed turns \\ into \).
30289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30292 # `set' quotes correctly as required by POSIX, so do not add quotes.
30294 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30303 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30305 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
30306 if test -w $cache_file; then
30307 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30308 cat confcache
>$cache_file
30310 echo "not updating unwritable cache $cache_file"
30315 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30316 # Let make expand exec_prefix.
30317 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30319 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30320 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30321 # trailing colons and then remove the whole line if VPATH becomes empty
30322 # (actually we leave an empty line to preserve line numbers).
30323 if test "x$srcdir" = x.
; then
30324 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
30325 s/:*\$(srcdir):*/:/;
30326 s/:*\${srcdir}:*/:/;
30328 s/^\([^=]*=[ ]*\):*/\1/;
30334 DEFS
=-DHAVE_CONFIG_H
30338 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30339 # 1. Remove the extension, and $U if already installed.
30340 ac_i
=`echo "$ac_i" |
30341 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
30343 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
30344 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
30346 LIBOBJS
=$ac_libobjs
30348 LTLIBOBJS
=$ac_ltlibobjs
30351 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
30352 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
30353 Usually this means the macro was only invoked conditionally." >&5
30354 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
30355 Usually this means the macro was only invoked conditionally." >&2;}
30356 { (exit 1); exit 1; }; }
30358 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
30359 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
30360 Usually this means the macro was only invoked conditionally." >&5
30361 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
30362 Usually this means the macro was only invoked conditionally." >&2;}
30363 { (exit 1); exit 1; }; }
30365 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
30366 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_BINARIES\" was never defined.
30367 Usually this means the macro was only invoked conditionally." >&5
30368 echo "$as_me: error: conditional \"INSTALL_BINARIES\" was never defined.
30369 Usually this means the macro was only invoked conditionally." >&2;}
30370 { (exit 1); exit 1; }; }
30372 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
30373 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
30374 Usually this means the macro was only invoked conditionally." >&5
30375 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
30376 Usually this means the macro was only invoked conditionally." >&2;}
30377 { (exit 1); exit 1; }; }
30379 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
30380 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
30381 Usually this means the macro was only invoked conditionally." >&5
30382 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
30383 Usually this means the macro was only invoked conditionally." >&2;}
30384 { (exit 1); exit 1; }; }
30386 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
30387 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
30388 Usually this means the macro was only invoked conditionally." >&5
30389 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
30390 Usually this means the macro was only invoked conditionally." >&2;}
30391 { (exit 1); exit 1; }; }
30393 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
30394 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
30395 Usually this means the macro was only invoked conditionally." >&5
30396 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
30397 Usually this means the macro was only invoked conditionally." >&2;}
30398 { (exit 1); exit 1; }; }
30400 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
30401 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
30402 Usually this means the macro was only invoked conditionally." >&5
30403 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
30404 Usually this means the macro was only invoked conditionally." >&2;}
30405 { (exit 1); exit 1; }; }
30407 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
30408 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
30409 Usually this means the macro was only invoked conditionally." >&5
30410 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
30411 Usually this means the macro was only invoked conditionally." >&2;}
30412 { (exit 1); exit 1; }; }
30414 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30415 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30416 Usually this means the macro was only invoked conditionally." >&5
30417 echo "$as_me: error: conditional \"AMDEP\" was never defined.
30418 Usually this means the macro was only invoked conditionally." >&2;}
30419 { (exit 1); exit 1; }; }
30421 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30422 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30423 Usually this means the macro was only invoked conditionally." >&5
30424 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30425 Usually this means the macro was only invoked conditionally." >&2;}
30426 { (exit 1); exit 1; }; }
30428 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
30429 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
30430 Usually this means the macro was only invoked conditionally." >&5
30431 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
30432 Usually this means the macro was only invoked conditionally." >&2;}
30433 { (exit 1); exit 1; }; }
30435 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
30436 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
30437 Usually this means the macro was only invoked conditionally." >&5
30438 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
30439 Usually this means the macro was only invoked conditionally." >&2;}
30440 { (exit 1); exit 1; }; }
30442 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
30443 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
30444 Usually this means the macro was only invoked conditionally." >&5
30445 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
30446 Usually this means the macro was only invoked conditionally." >&2;}
30447 { (exit 1); exit 1; }; }
30449 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
30450 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
30451 Usually this means the macro was only invoked conditionally." >&5
30452 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
30453 Usually this means the macro was only invoked conditionally." >&2;}
30454 { (exit 1); exit 1; }; }
30456 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
30457 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
30458 Usually this means the macro was only invoked conditionally." >&5
30459 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
30460 Usually this means the macro was only invoked conditionally." >&2;}
30461 { (exit 1); exit 1; }; }
30463 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
30464 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GJDOC\" was never defined.
30465 Usually this means the macro was only invoked conditionally." >&5
30466 echo "$as_me: error: conditional \"CREATE_GJDOC\" was never defined.
30467 Usually this means the macro was only invoked conditionally." >&2;}
30468 { (exit 1); exit 1; }; }
30470 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
30471 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
30472 Usually this means the macro was only invoked conditionally." >&5
30473 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
30474 Usually this means the macro was only invoked conditionally." >&2;}
30475 { (exit 1); exit 1; }; }
30477 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
30478 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GJDOC_PARSER\" was never defined.
30479 Usually this means the macro was only invoked conditionally." >&5
30480 echo "$as_me: error: conditional \"CREATE_GJDOC_PARSER\" was never defined.
30481 Usually this means the macro was only invoked conditionally." >&2;}
30482 { (exit 1); exit 1; }; }
30484 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
30485 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
30486 Usually this means the macro was only invoked conditionally." >&5
30487 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
30488 Usually this means the macro was only invoked conditionally." >&2;}
30489 { (exit 1); exit 1; }; }
30491 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30492 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30493 Usually this means the macro was only invoked conditionally." >&5
30494 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30495 Usually this means the macro was only invoked conditionally." >&2;}
30496 { (exit 1); exit 1; }; }
30498 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30499 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30500 Usually this means the macro was only invoked conditionally." >&5
30501 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30502 Usually this means the macro was only invoked conditionally." >&2;}
30503 { (exit 1); exit 1; }; }
30505 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30506 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30507 Usually this means the macro was only invoked conditionally." >&5
30508 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30509 Usually this means the macro was only invoked conditionally." >&2;}
30510 { (exit 1); exit 1; }; }
30512 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
30513 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
30514 Usually this means the macro was only invoked conditionally." >&5
30515 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
30516 Usually this means the macro was only invoked conditionally." >&2;}
30517 { (exit 1); exit 1; }; }
30519 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
30520 { { echo "$as_me:$LINENO: error: conditional \"WITH_JAR\" was never defined.
30521 Usually this means the macro was only invoked conditionally." >&5
30522 echo "$as_me: error: conditional \"WITH_JAR\" was never defined.
30523 Usually this means the macro was only invoked conditionally." >&2;}
30524 { (exit 1); exit 1; }; }
30526 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
30527 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
30528 Usually this means the macro was only invoked conditionally." >&5
30529 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
30530 Usually this means the macro was only invoked conditionally." >&2;}
30531 { (exit 1); exit 1; }; }
30533 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
30534 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
30535 Usually this means the macro was only invoked conditionally." >&5
30536 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
30537 Usually this means the macro was only invoked conditionally." >&2;}
30538 { (exit 1); exit 1; }; }
30540 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
30541 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
30542 Usually this means the macro was only invoked conditionally." >&5
30543 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
30544 Usually this means the macro was only invoked conditionally." >&2;}
30545 { (exit 1); exit 1; }; }
30547 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
30548 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
30549 Usually this means the macro was only invoked conditionally." >&5
30550 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
30551 Usually this means the macro was only invoked conditionally." >&2;}
30552 { (exit 1); exit 1; }; }
30554 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
30555 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
30556 Usually this means the macro was only invoked conditionally." >&5
30557 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
30558 Usually this means the macro was only invoked conditionally." >&2;}
30559 { (exit 1); exit 1; }; }
30561 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
30562 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30563 Usually this means the macro was only invoked conditionally." >&5
30564 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30565 Usually this means the macro was only invoked conditionally." >&2;}
30566 { (exit 1); exit 1; }; }
30568 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
30569 { { echo "$as_me:$LINENO: error: conditional \"GCJ_JAVAC\" was never defined.
30570 Usually this means the macro was only invoked conditionally." >&5
30571 echo "$as_me: error: conditional \"GCJ_JAVAC\" was never defined.
30572 Usually this means the macro was only invoked conditionally." >&2;}
30573 { (exit 1); exit 1; }; }
30575 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
30576 { { echo "$as_me:$LINENO: error: conditional \"GCJ_JAVAC\" was never defined.
30577 Usually this means the macro was only invoked conditionally." >&5
30578 echo "$as_me: error: conditional \"GCJ_JAVAC\" was never defined.
30579 Usually this means the macro was only invoked conditionally." >&2;}
30580 { (exit 1); exit 1; }; }
30582 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
30583 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
30584 Usually this means the macro was only invoked conditionally." >&5
30585 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
30586 Usually this means the macro was only invoked conditionally." >&2;}
30587 { (exit 1); exit 1; }; }
30589 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
30590 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30591 Usually this means the macro was only invoked conditionally." >&5
30592 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30593 Usually this means the macro was only invoked conditionally." >&2;}
30594 { (exit 1); exit 1; }; }
30596 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
30597 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
30598 Usually this means the macro was only invoked conditionally." >&5
30599 echo "$as_me: error: conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
30600 Usually this means the macro was only invoked conditionally." >&2;}
30601 { (exit 1); exit 1; }; }
30604 : ${CONFIG_STATUS=./config.status}
30605 ac_clean_files_save
=$ac_clean_files
30606 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30607 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30608 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30609 cat >$CONFIG_STATUS <<_ACEOF
30611 # Generated by $as_me.
30612 # Run this file to recreate the current configuration.
30613 # Compiler output produced by configure, useful for debugging
30614 # configure, is in config.log if it exists.
30617 ac_cs_recheck=false
30619 SHELL=\${CONFIG_SHELL-$SHELL}
30622 cat >>$CONFIG_STATUS <<\_ACEOF
30623 ## --------------------- ##
30624 ## M4sh Initialization. ##
30625 ## --------------------- ##
30627 # Be Bourne compatible
30628 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30631 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30632 # is contrary to our usage. Disable this feature.
30633 alias -g '${1+"$@"}'='"$@"'
30634 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30637 DUALCASE
=1; export DUALCASE
# for MKS sh
30639 # Support unset when possible.
30640 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30647 # Work around bugs in pre-3.0 UWIN ksh.
30648 $as_unset ENV MAIL MAILPATH
30655 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30656 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30657 LC_TELEPHONE LC_TIME
30659 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30660 eval $as_var=C
; export $as_var
30666 # Required to use basename.
30667 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30673 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
30674 as_basename
=basename
30680 # Name of the executable.
30681 as_me
=`$as_basename "$0" ||
30682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30683 X"$0" : 'X\(//\)$' \| \
30684 X"$0" : 'X\(/\)$' \| \
30685 . : '\(.\)' 2>/dev/null ||
30687 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30688 /^X\/\(\/\/\)$/{ s//\1/; q; }
30689 /^X\/\(\/\).*/{ s//\1/; q; }
30693 # PATH needs CR, and LINENO needs CR and PATH.
30694 # Avoid depending upon Character Ranges.
30695 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30696 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30697 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30698 as_cr_digits
='0123456789'
30699 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30701 # The user is always right.
30702 if test "${PATH_SEPARATOR+set}" != set; then
30703 echo "#! /bin/sh" >conf$$.sh
30704 echo "exit 0" >>conf$$.sh
30706 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30715 as_lineno_1
=$LINENO
30716 as_lineno_2
=$LINENO
30717 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30718 test "x$as_lineno_1" != "x$as_lineno_2" &&
30719 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30720 # Find who we are. Look in the path if we contain no path at all
30723 *[\\/]* ) as_myself
=$0 ;;
30724 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30725 for as_dir
in $PATH
30728 test -z "$as_dir" && as_dir
=.
30729 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30734 # We did not find ourselves, most probably we were run as `sh COMMAND'
30735 # in which case we are not to be found in the path.
30736 if test "x$as_myself" = x
; then
30739 if test ! -f "$as_myself"; then
30740 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30741 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30742 { (exit 1); exit 1; }; }
30744 case $CONFIG_SHELL in
30746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30747 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30750 test -z "$as_dir" && as_dir
=.
30751 for as_base
in sh bash ksh sh5
; do
30754 if ("$as_dir/$as_base" -c '
30755 as_lineno_1=$LINENO
30756 as_lineno_2=$LINENO
30757 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30758 test "x$as_lineno_1" != "x$as_lineno_2" &&
30759 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
30760 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
30761 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
30762 CONFIG_SHELL
=$as_dir/$as_base
30763 export CONFIG_SHELL
30764 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30772 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30773 # uniformly replaced by the line number. The first 'sed' inserts a
30774 # line-number line before each line; the second 'sed' does the real
30775 # work. The second script uses 'N' to pair each line-number line
30776 # with the numbered line, and appends trailing '-' during
30777 # substitution so that $LINENO is not a special case at line end.
30778 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30779 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30780 sed '=' <$as_myself |
30785 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30788 s,^['$as_cr_digits']*\n,,
30789 ' >$as_me.lineno
&&
30790 chmod +x
$as_me.lineno ||
30791 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30792 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30793 { (exit 1); exit 1; }; }
30795 # Don't try to exec as it changes $[0], causing all sort of problems
30796 # (the dirname of $[0] is not the place where we might find the
30797 # original and so on. Autoconf is especially sensible to this).
30799 # Exit status is that of the last command.
30804 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30805 *c
*,-n*) ECHO_N
= ECHO_C
='
30807 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30808 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30811 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30817 rm -f conf$$ conf$$.exe conf$$.
file
30819 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30820 # We could just check for DJGPP; but this test a) works b) is more generic
30821 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30822 if test -f conf$$.exe
; then
30823 # Don't use ln at all; we don't have any links
30828 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30833 rm -f conf$$ conf$$.exe conf$$.
file
30835 if mkdir
-p .
2>/dev
/null
; then
30838 test -d .
/-p && rmdir .
/-p
30842 as_executable_p
="test -f"
30844 # Sed expression to map a string onto a valid CPP name.
30845 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30847 # Sed expression to map a string onto a valid variable name.
30848 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30852 # We need space, tab and new line, in precisely that order.
30862 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30863 # report actual input values of CONFIG_FILES etc. instead of their
30864 # values after options handling. Logging --version etc. is OK.
30868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30869 ## Running $as_me. ##
30874 This file was extended by GNU Classpath $as_me 0.98, which was
30875 generated by GNU Autoconf 2.59. Invocation command line was
30877 CONFIG_FILES = $CONFIG_FILES
30878 CONFIG_HEADERS = $CONFIG_HEADERS
30879 CONFIG_LINKS = $CONFIG_LINKS
30880 CONFIG_COMMANDS = $CONFIG_COMMANDS
30884 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30888 # Files that config.status was made for.
30889 if test -n "$ac_config_files"; then
30890 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30893 if test -n "$ac_config_headers"; then
30894 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30897 if test -n "$ac_config_links"; then
30898 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30901 if test -n "$ac_config_commands"; then
30902 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30905 cat >>$CONFIG_STATUS <<\_ACEOF
30908 \`$as_me' instantiates files from templates according to the
30909 current configuration.
30911 Usage: $0 [OPTIONS] [FILE]...
30913 -h, --help print this help, then exit
30914 -V, --version print version number, then exit
30915 -q, --quiet do not print progress messages
30916 -d, --debug don't remove temporary files
30917 --recheck update $as_me by reconfiguring in the same conditions
30918 --file=FILE[:TEMPLATE]
30919 instantiate the configuration file FILE
30920 --header=FILE[:TEMPLATE]
30921 instantiate the configuration header FILE
30923 Configuration files:
30926 Configuration headers:
30929 Configuration links:
30932 Configuration commands:
30935 Report bugs to <bug-autoconf@gnu.org>."
30938 cat >>$CONFIG_STATUS <<_ACEOF
30940 GNU Classpath config.status 0.98
30941 configured by $0, generated by GNU Autoconf 2.59,
30942 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30944 Copyright (C) 2003 Free Software Foundation, Inc.
30945 This config.status script is free software; the Free Software Foundation
30946 gives unlimited permission to copy, distribute and modify it."
30951 cat >>$CONFIG_STATUS <<\_ACEOF
30952 # If no file are specified by the user, then we need to provide default
30953 # value. By we need to know if files were specified by the user.
30959 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30960 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30968 *) # This is not an option, so the user has probably given explicit
30971 ac_need_defaults
=false
;;
30975 # Handling of the options.
30977 cat >>$CONFIG_STATUS <<\_ACEOF
30978 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30980 --version |
--vers* |
-V )
30981 echo "$ac_cs_version"; exit 0 ;;
30983 # Conflict between --help and --header
30984 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30985 Try \`$0 --help' for more information." >&5
30986 echo "$as_me: error: ambiguous option: $1
30987 Try \`$0 --help' for more information." >&2;}
30988 { (exit 1); exit 1; }; };;
30989 --help |
--hel |
-h )
30990 echo "$ac_cs_usage"; exit 0 ;;
30991 --debug |
--d* |
-d )
30993 --file |
--fil |
--fi |
--f )
30995 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30996 ac_need_defaults
=false
;;
30997 --header |
--heade |
--head |
--hea )
30999 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
31000 ac_need_defaults
=false
;;
31001 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
31002 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
31005 # This is an error.
31006 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
31007 Try \`$0 --help' for more information." >&5
31008 echo "$as_me: error: unrecognized option: $1
31009 Try \`$0 --help' for more information." >&2;}
31010 { (exit 1); exit 1; }; } ;;
31012 *) ac_config_targets
="$ac_config_targets $1" ;;
31018 ac_configure_extra_args
=
31020 if $ac_cs_silent; then
31022 ac_configure_extra_args
="$ac_configure_extra_args --silent"
31026 cat >>$CONFIG_STATUS <<_ACEOF
31027 if \$ac_cs_recheck; then
31028 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31029 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31034 cat >>$CONFIG_STATUS <<_ACEOF
31036 # INIT-COMMANDS section.
31043 with_multisubdir="$with_multisubdir"
31044 with_multisrctop="$with_multisrctop"
31045 with_target_subdir="$with_target_subdir"
31046 ac_configure_args="${multilib_arg} ${ac_configure_args}"
31047 multi_basedir="$multi_basedir"
31048 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
31050 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31053 # The HP-UX ksh and POSIX shell print the target directory to stdout
31054 # if CDPATH is set.
31055 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31057 sed_quote_subst='$sed_quote_subst'
31058 double_quote_subst='$double_quote_subst'
31059 delay_variable_subst='$delay_variable_subst'
31060 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
31061 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
31062 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
31063 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
31064 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
31065 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
31066 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
31067 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
31068 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
31069 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
31070 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
31071 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
31072 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
31073 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
31074 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
31075 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
31076 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
31077 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
31078 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
31079 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
31080 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
31081 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
31082 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
31083 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
31084 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
31085 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31086 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31087 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31088 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31089 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31090 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31091 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31092 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31093 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
31094 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
31095 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31096 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31097 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31098 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
31099 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31100 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
31101 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
31102 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
31103 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
31104 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
31105 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31106 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
31107 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
31108 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
31109 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
31110 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
31111 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
31112 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
31113 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
31114 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
31115 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
31116 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
31117 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
31118 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
31119 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31120 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
31121 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
31122 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31123 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31124 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
31125 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
31126 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31127 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31128 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
31129 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31130 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31131 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31132 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31133 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31134 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31135 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
31136 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31137 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31138 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31139 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
31140 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
31141 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
31142 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
31143 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
31144 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31145 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
31146 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
31147 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
31148 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
31149 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
31150 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31151 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31152 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31153 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31154 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
31155 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
31156 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31157 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
31158 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
31159 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31160 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31161 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
31162 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31163 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
31164 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31165 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31166 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31167 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31168 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
31169 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
31170 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31171 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31172 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
31173 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
31174 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
31175 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
31176 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
31177 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
31178 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
31179 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31180 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31181 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
31182 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
31183 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
31184 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31185 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31186 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31187 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31188 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31189 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31190 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31191 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31192 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31193 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31194 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31195 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31196 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31197 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31198 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31199 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31200 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31201 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31202 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31203 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31204 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31205 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31206 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31207 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31208 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31209 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31210 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31211 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31212 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31213 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31214 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31215 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31216 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31217 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31218 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31219 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31220 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31221 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31222 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31223 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31224 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31225 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31226 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31227 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31228 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31229 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31230 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31233 LTCFLAGS='$LTCFLAGS'
31234 compiler='$compiler_DEFAULT'
31236 # Quote evaled strings.
31248 deplibs_check_method \
31257 lt_cv_sys_global_symbol_pipe \
31258 lt_cv_sys_global_symbol_to_cdecl \
31259 lt_cv_sys_global_symbol_to_c_name_address \
31260 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
31263 lt_prog_compiler_no_builtin_flag \
31264 lt_prog_compiler_wl \
31265 lt_prog_compiler_pic \
31266 lt_prog_compiler_static \
31267 lt_cv_prog_compiler_c_o \
31275 export_dynamic_flag_spec \
31276 whole_archive_flag_spec \
31277 compiler_needs_object \
31279 allow_undefined_flag \
31280 no_undefined_flag \
31281 hardcode_libdir_flag_spec \
31282 hardcode_libdir_flag_spec_ld \
31283 hardcode_libdir_separator \
31288 variables_saved_for_relink \
31290 library_names_spec \
31295 compiler_lib_search_dirs \
31300 compiler_lib_search_path \
31303 lt_prog_compiler_no_builtin_flag_CXX \
31304 lt_prog_compiler_wl_CXX \
31305 lt_prog_compiler_pic_CXX \
31306 lt_prog_compiler_static_CXX \
31307 lt_cv_prog_compiler_c_o_CXX \
31308 export_dynamic_flag_spec_CXX \
31309 whole_archive_flag_spec_CXX \
31310 compiler_needs_object_CXX \
31312 allow_undefined_flag_CXX \
31313 no_undefined_flag_CXX \
31314 hardcode_libdir_flag_spec_CXX \
31315 hardcode_libdir_flag_spec_ld_CXX \
31316 hardcode_libdir_separator_CXX \
31317 fix_srcfile_path_CXX \
31318 exclude_expsyms_CXX \
31319 include_expsyms_CXX \
31320 file_list_spec_CXX \
31321 compiler_lib_search_dirs_CXX \
31322 predep_objects_CXX \
31323 postdep_objects_CXX \
31326 compiler_lib_search_path_CXX; do
31327 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31328 *[\\\\\\\`\\"\\\$]*)
31329 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
31332 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31337 # Double-quote double-evaled strings.
31338 for var in reload_cmds \
31339 old_postinstall_cmds \
31340 old_postuninstall_cmds \
31342 extract_expsyms_cmds \
31343 old_archive_from_new_cmds \
31344 old_archive_from_expsyms_cmds \
31346 archive_expsym_cmds \
31348 module_expsym_cmds \
31349 export_symbols_cmds \
31352 postuninstall_cmds \
31354 sys_lib_search_path_spec \
31355 sys_lib_dlsearch_path_spec \
31356 old_archive_cmds_CXX \
31357 old_archive_from_new_cmds_CXX \
31358 old_archive_from_expsyms_cmds_CXX \
31360 archive_expsym_cmds_CXX \
31362 module_expsym_cmds_CXX \
31363 export_symbols_cmds_CXX \
31364 prelink_cmds_CXX; do
31365 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31366 *[\\\\\\\`\\"\\\$]*)
31367 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
31370 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31375 # Fix-up fallback echo if it was mangled by the above quoting rules.
31377 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
31381 ac_aux_dir='$ac_aux_dir'
31382 xsi_shell='$xsi_shell'
31383 lt_shell_append='$lt_shell_append'
31385 # See if we are running on zsh, and set the options which allow our
31386 # commands through without removal of \ escapes INIT.
31387 if test -n "\${ZSH_VERSION+set}" ; then
31388 setopt NO_GLOB_SUBST
31394 TIMESTAMP='$TIMESTAMP'
31402 # variables for create stdint.h replacement
31405 ac_stdint_h="$ac_stdint_h"
31406 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
31407 ac_cv_stdint_message="$ac_cv_stdint_message"
31408 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
31409 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
31410 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
31411 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
31412 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
31413 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
31414 ac_cv_char_data_model="$ac_cv_char_data_model"
31415 ac_cv_long_data_model="$ac_cv_long_data_model"
31416 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
31417 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
31418 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
31425 cat >>$CONFIG_STATUS <<\_ACEOF
31426 for ac_config_target
in $ac_config_targets
31428 case "$ac_config_target" in
31429 # Handling of arguments.
31430 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
31431 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
31432 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
31433 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
31434 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
31435 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
31436 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
31437 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
31438 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
31439 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
31440 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
31441 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
31442 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
31443 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
31444 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
31445 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
31446 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
31447 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
31448 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
31449 "native/jni/java-math/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
31450 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
31451 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
31452 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
31453 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
31454 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
31455 "native/jni/gstreamer-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
31456 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
31457 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
31458 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
31459 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
31460 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
31461 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
31462 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
31463 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
31464 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
31465 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
31466 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
31467 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
31468 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
31469 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
31470 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
31471 "scripts/check_jni_methods.sh" ) CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
31472 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
31473 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
31474 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
31475 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
31476 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
31477 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
31478 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
31479 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
31480 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
31481 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
31482 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
31483 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
31484 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
31485 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
31486 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
31487 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
31488 "tools/gjdoc" ) CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
31489 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
31490 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
31491 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
31492 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
31493 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
31494 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
31495 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
31496 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
31497 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
31498 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
31499 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
31500 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
31501 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
31502 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
31503 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
31504 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
31505 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
31506 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
31507 "gjdoc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
31508 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
31509 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
31510 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
31511 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31512 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31513 { (exit 1); exit 1; }; };;
31517 # If the user did not use the arguments to specify the items to instantiate,
31518 # then the envvar interface is used. Set only those that are not.
31519 # We use the long form for the default assignment because of an extremely
31520 # bizarre bug on SunOS 4.1.3.
31521 if $ac_need_defaults; then
31522 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
31523 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
31524 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
31525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
31528 # Have a temporary directory for convenience. Make it in the build tree
31529 # simply because there is no reason to put it here, and in addition,
31530 # creating and moving files from /tmp can sometimes cause problems.
31531 # Create a temporary directory, and hook for its removal unless debugging.
31534 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
31535 trap '{ (exit 1); exit 1; }' 1 2 13 15
31538 # Create a (secure) tmp directory for tmp files.
31541 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
31542 test -n "$tmp" && test -d "$tmp"
31545 tmp
=.
/confstat$$
-$RANDOM
31546 (umask 077 && mkdir
$tmp)
31549 echo "$me: cannot create a temporary directory in ." >&2
31550 { (exit 1); exit 1; }
31555 cat >>$CONFIG_STATUS <<_ACEOF
31558 # CONFIG_FILES section.
31561 # No need to generate the scripts if there are no CONFIG_FILES.
31562 # This happens for instance when ./config.status config.h
31563 if test -n "\$CONFIG_FILES"; then
31564 # Protect against being on the right side of a sed subst in config.status.
31565 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
31566 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
31567 s,@SHELL@,$SHELL,;t t
31568 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
31569 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
31570 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
31571 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
31572 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
31573 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
31574 s,@exec_prefix@,$exec_prefix,;t t
31575 s,@prefix@,$prefix,;t t
31576 s,@program_transform_name@,$program_transform_name,;t t
31577 s,@bindir@,$bindir,;t t
31578 s,@sbindir@,$sbindir,;t t
31579 s,@libexecdir@,$libexecdir,;t t
31580 s,@datadir@,$datadir,;t t
31581 s,@sysconfdir@,$sysconfdir,;t t
31582 s,@sharedstatedir@,$sharedstatedir,;t t
31583 s,@localstatedir@,$localstatedir,;t t
31584 s,@libdir@,$libdir,;t t
31585 s,@includedir@,$includedir,;t t
31586 s,@oldincludedir@,$oldincludedir,;t t
31587 s,@infodir@,$infodir,;t t
31588 s,@mandir@,$mandir,;t t
31589 s,@build_alias@,$build_alias,;t t
31590 s,@host_alias@,$host_alias,;t t
31591 s,@target_alias@,$target_alias,;t t
31592 s,@DEFS@,$DEFS,;t t
31593 s,@ECHO_C@,$ECHO_C,;t t
31594 s,@ECHO_N@,$ECHO_N,;t t
31595 s,@ECHO_T@,$ECHO_T,;t t
31596 s,@LIBS@,$LIBS,;t t
31597 s,@build@,$build,;t t
31598 s,@build_cpu@,$build_cpu,;t t
31599 s,@build_vendor@,$build_vendor,;t t
31600 s,@build_os@,$build_os,;t t
31601 s,@host@,$host,;t t
31602 s,@host_cpu@,$host_cpu,;t t
31603 s,@host_vendor@,$host_vendor,;t t
31604 s,@host_os@,$host_os,;t t
31605 s,@target@,$target,;t t
31606 s,@target_cpu@,$target_cpu,;t t
31607 s,@target_vendor@,$target_vendor,;t t
31608 s,@target_os@,$target_os,;t t
31609 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
31610 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
31611 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
31612 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
31613 s,@multi_basedir@,$multi_basedir,;t t
31614 s,@INSTALL_BINARIES_TRUE@,$INSTALL_BINARIES_TRUE,;t t
31615 s,@INSTALL_BINARIES_FALSE@,$INSTALL_BINARIES_FALSE,;t t
31616 s,@LIBVERSION@,$LIBVERSION,;t t
31617 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
31618 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
31619 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
31620 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
31621 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
31622 s,@CYGPATH_W@,$CYGPATH_W,;t t
31623 s,@PACKAGE@,$PACKAGE,;t t
31624 s,@VERSION@,$VERSION,;t t
31625 s,@ACLOCAL@,$ACLOCAL,;t t
31626 s,@AUTOCONF@,$AUTOCONF,;t t
31627 s,@AUTOMAKE@,$AUTOMAKE,;t t
31628 s,@AUTOHEADER@,$AUTOHEADER,;t t
31629 s,@MAKEINFO@,$MAKEINFO,;t t
31630 s,@install_sh@,$install_sh,;t t
31631 s,@STRIP@,$STRIP,;t t
31632 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31633 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
31634 s,@mkdir_p@,$mkdir_p,;t t
31636 s,@SET_MAKE@,$SET_MAKE,;t t
31637 s,@am__leading_dot@,$am__leading_dot,;t t
31638 s,@AMTAR@,$AMTAR,;t t
31639 s,@am__tar@,$am__tar,;t t
31640 s,@am__untar@,$am__untar,;t t
31641 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
31642 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
31643 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
31644 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
31645 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
31646 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
31647 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
31648 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
31649 s,@CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@,$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE,;t t
31650 s,@CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@,$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE,;t t
31651 s,@default_toolkit@,$default_toolkit,;t t
31652 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
31653 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
31655 s,@CFLAGS@,$CFLAGS,;t t
31656 s,@LDFLAGS@,$LDFLAGS,;t t
31657 s,@CPPFLAGS@,$CPPFLAGS,;t t
31658 s,@ac_ct_CC@,$ac_ct_CC,;t t
31659 s,@EXEEXT@,$EXEEXT,;t t
31660 s,@OBJEXT@,$OBJEXT,;t t
31661 s,@DEPDIR@,$DEPDIR,;t t
31662 s,@am__include@,$am__include,;t t
31663 s,@am__quote@,$am__quote,;t t
31664 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
31665 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
31666 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
31667 s,@CCDEPMODE@,$CCDEPMODE,;t t
31668 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
31669 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
31671 s,@EGREP@,$EGREP,;t t
31672 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
31673 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
31674 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
31675 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
31676 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
31677 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
31678 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
31679 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
31680 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
31681 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
31682 s,@CREATE_GJDOC_TRUE@,$CREATE_GJDOC_TRUE,;t t
31683 s,@CREATE_GJDOC_FALSE@,$CREATE_GJDOC_FALSE,;t t
31684 s,@toolexeclibdir@,$toolexeclibdir,;t t
31685 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
31686 s,@glibjdir@,$glibjdir,;t t
31687 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
31688 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
31689 s,@CREATE_GJDOC_PARSER_TRUE@,$CREATE_GJDOC_PARSER_TRUE,;t t
31690 s,@CREATE_GJDOC_PARSER_FALSE@,$CREATE_GJDOC_PARSER_FALSE,;t t
31691 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
31692 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
31693 s,@LN_S@,$LN_S,;t t
31694 s,@LIBTOOL@,$LIBTOOL,;t t
31696 s,@FGREP@,$FGREP,;t t
31697 s,@GREP@,$GREP,;t t
31699 s,@DUMPBIN@,$DUMPBIN,;t t
31700 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
31702 s,@OBJDUMP@,$OBJDUMP,;t t
31703 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
31705 s,@ac_ct_AR@,$ac_ct_AR,;t t
31706 s,@RANLIB@,$RANLIB,;t t
31707 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31708 s,@lt_ECHO@,$lt_ECHO,;t t
31709 s,@DSYMUTIL@,$DSYMUTIL,;t t
31710 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
31711 s,@NMEDIT@,$NMEDIT,;t t
31712 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
31713 s,@LIPO@,$LIPO,;t t
31714 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
31715 s,@OTOOL@,$OTOOL,;t t
31716 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
31717 s,@OTOOL64@,$OTOOL64,;t t
31718 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
31720 s,@CXXFLAGS@,$CXXFLAGS,;t t
31721 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31722 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
31723 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
31724 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
31725 s,@CXXCPP@,$CXXCPP,;t t
31726 s,@PERL@,$PERL,;t t
31727 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
31728 s,@LIBMAGIC@,$LIBMAGIC,;t t
31729 s,@LIBICONV@,$LIBICONV,;t t
31730 s,@LTLIBICONV@,$LTLIBICONV,;t t
31731 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
31732 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
31733 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
31734 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
31735 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
31736 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
31737 s,@XML_LIBS@,$XML_LIBS,;t t
31738 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
31739 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
31740 s,@X_CFLAGS@,$X_CFLAGS,;t t
31741 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
31742 s,@X_LIBS@,$X_LIBS,;t t
31743 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
31744 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
31745 s,@GTK_LIBS@,$GTK_LIBS,;t t
31746 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
31747 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
31748 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
31749 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
31750 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
31751 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
31752 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
31753 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
31754 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
31755 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
31756 s,@GDK_LIBS@,$GDK_LIBS,;t t
31757 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
31758 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
31759 s,@GSTREAMER_BASE_CFLAGS@,$GSTREAMER_BASE_CFLAGS,;t t
31760 s,@GSTREAMER_BASE_LIBS@,$GSTREAMER_BASE_LIBS,;t t
31761 s,@GSTREAMER_PLUGINS_BASE_CFLAGS@,$GSTREAMER_PLUGINS_BASE_CFLAGS,;t t
31762 s,@GSTREAMER_PLUGINS_BASE_LIBS@,$GSTREAMER_PLUGINS_BASE_LIBS,;t t
31763 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
31764 s,@GSTREAMER_FILE_READER@,$GSTREAMER_FILE_READER,;t t
31765 s,@GSTREAMER_MIXER_PROVIDER@,$GSTREAMER_MIXER_PROVIDER,;t t
31766 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
31767 s,@QT_LIBS@,$QT_LIBS,;t t
31769 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
31770 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
31771 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
31772 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
31773 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
31774 s,@GMP_CFLAGS@,$GMP_CFLAGS,;t t
31775 s,@GMP_LIBS@,$GMP_LIBS,;t t
31776 s,@USER_JAVAH@,$USER_JAVAH,;t t
31777 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
31778 s,@vm_classes@,$vm_classes,;t t
31779 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
31780 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
31781 s,@MAINT@,$MAINT,;t t
31782 s,@LIBDEBUG@,$LIBDEBUG,;t t
31783 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
31784 s,@ECJ_JAR@,$ECJ_JAR,;t t
31785 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
31786 s,@REMOVE@,$REMOVE,;t t
31787 s,@MKDIR@,$MKDIR,;t t
31789 s,@DATE@,$DATE,;t t
31790 s,@FIND@,$FIND,;t t
31793 s,@WITH_JAR_TRUE@,$WITH_JAR_TRUE,;t t
31794 s,@WITH_JAR_FALSE@,$WITH_JAR_FALSE,;t t
31795 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
31796 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
31797 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
31798 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
31799 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
31800 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
31801 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
31802 s,@TOOLSDIR@,$TOOLSDIR,;t t
31803 s,@GJDOC@,$GJDOC,;t t
31804 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
31805 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
31807 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
31808 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
31809 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
31810 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
31811 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
31812 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
31813 s,@JAVA@,$JAVA,;t t
31814 s,@uudecode@,$uudecode,;t t
31815 s,@JAVAC@,$JAVAC,;t t
31816 s,@JAVAC_IS_GCJ@,$JAVAC_IS_GCJ,;t t
31817 s,@GCJ_JAVAC_TRUE@,$GCJ_JAVAC_TRUE,;t t
31818 s,@GCJ_JAVAC_FALSE@,$GCJ_JAVAC_FALSE,;t t
31819 s,@ANTLR_JAR@,$ANTLR_JAR,;t t
31820 s,@ANTLR@,$ANTLR,;t t
31821 s,@ac_ct_ANTLR@,$ac_ct_ANTLR,;t t
31822 s,@JAVAC_MEM_OPT@,$JAVAC_MEM_OPT,;t t
31823 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
31824 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
31825 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
31826 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
31827 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
31828 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
31829 s,@WANT_NATIVE_BIG_INTEGER@,$WANT_NATIVE_BIG_INTEGER,;t t
31830 s,@CREATE_GMPBI_LIBRARY_TRUE@,$CREATE_GMPBI_LIBRARY_TRUE,;t t
31831 s,@CREATE_GMPBI_LIBRARY_FALSE@,$CREATE_GMPBI_LIBRARY_FALSE,;t t
31832 s,@LIBOBJS@,$LIBOBJS,;t t
31833 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31838 cat >>$CONFIG_STATUS <<\_ACEOF
31839 # Split the substitutions into bite-sized pieces for seds with
31840 # small command number limits, like on Digital OSF/1 and HP-UX.
31841 ac_max_sed_lines
=48
31842 ac_sed_frag
=1 # Number of current file.
31843 ac_beg
=1 # First line for current file.
31844 ac_end
=$ac_max_sed_lines # Line after last line for current file.
31847 while $ac_more_lines; do
31848 if test $ac_beg -gt 1; then
31849 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31851 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31853 if test ! -s $tmp/subs.frag
; then
31854 ac_more_lines
=false
31856 # The purpose of the label and of the branching condition is to
31857 # speed up the sed processing (if there are no `@' at all, there
31858 # is no need to browse any of the substitutions).
31859 # These are the two extra sed commands mentioned above.
31861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
31862 if test -z "$ac_sed_cmds"; then
31863 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
31865 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31867 ac_sed_frag
=`expr $ac_sed_frag + 1`
31869 ac_end
=`expr $ac_end + $ac_max_sed_lines`
31872 if test -z "$ac_sed_cmds"; then
31875 fi # test -n "$CONFIG_FILES"
31878 cat >>$CONFIG_STATUS <<\_ACEOF
31879 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
31880 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31882 - |
*:- |
*:-:* ) # input from stdin
31884 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31885 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31886 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31887 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31888 * ) ac_file_in
=$ac_file.
in ;;
31891 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31892 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31894 X"$ac_file" : 'X\(//\)[^/]' \| \
31895 X"$ac_file" : 'X\(//\)$' \| \
31896 X"$ac_file" : 'X\(/\)' \| \
31897 . : '\(.\)' 2>/dev/null ||
31899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31901 /^X\(\/\/\)$/{ s//\1/; q; }
31902 /^X\(\/\).*/{ s//\1/; q; }
31904 { if $as_mkdir_p; then
31909 while test ! -d "$as_dir"; do
31910 as_dirs
="$as_dir $as_dirs"
31911 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31913 X"$as_dir" : 'X\(//\)[^/]' \| \
31914 X"$as_dir" : 'X\(//\)$' \| \
31915 X"$as_dir" : 'X\(/\)' \| \
31916 . : '\(.\)' 2>/dev/null ||
31918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31920 /^X\(\/\/\)$/{ s//\1/; q; }
31921 /^X\(\/\).*/{ s//\1/; q; }
31924 test ! -n "$as_dirs" || mkdir
$as_dirs
31925 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31927 { (exit 1); exit 1; }; }; }
31931 if test "$ac_dir" != .
; then
31932 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31933 # A "../" for each directory in $ac_dir_suffix.
31934 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31936 ac_dir_suffix
= ac_top_builddir
=
31940 .
) # No --srcdir option. We are building in place.
31942 if test -z "$ac_top_builddir"; then
31945 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31947 [\\/]* | ?
:[\\/]* ) # Absolute path.
31948 ac_srcdir
=$srcdir$ac_dir_suffix;
31949 ac_top_srcdir
=$srcdir ;;
31950 *) # Relative path.
31951 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31952 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31955 # Do not use `cd foo && pwd` to compute absolute paths, because
31956 # the directories may not exist.
31958 .
) ac_abs_builddir
="$ac_dir";;
31961 .
) ac_abs_builddir
=`pwd`;;
31962 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31963 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31966 case $ac_abs_builddir in
31967 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31969 case ${ac_top_builddir}.
in
31970 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31971 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31972 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31975 case $ac_abs_builddir in
31976 .
) ac_abs_srcdir
=$ac_srcdir;;
31979 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31980 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31981 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31984 case $ac_abs_builddir in
31985 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31987 case $ac_top_srcdir in
31988 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31989 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31990 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31996 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31997 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
32000 if test x
"$ac_file" != x-
; then
32001 { echo "$as_me:$LINENO: creating $ac_file" >&5
32002 echo "$as_me: creating $ac_file" >&6;}
32005 # Let's still pretend it is `configure' which instantiates (i.e., don't
32006 # use $as_me), people would be surprised to read:
32007 # /* config.h. Generated by config.status. */
32008 if test x
"$ac_file" = x-
; then
32011 configure_input
="$ac_file. "
32013 configure_input
=$configure_input"Generated from `echo $ac_file_in |
32014 sed 's,.*/,,'` by configure."
32016 # First look for the input files in the build tree, otherwise in the
32018 ac_file_inputs
=`IFS=:
32019 for f in $ac_file_in; do
32021 -) echo $tmp/stdin ;;
32023 # Absolute (can't be DOS-style, as IFS=:)
32024 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32025 echo "$as_me: error: cannot find input file: $f" >&2;}
32026 { (exit 1); exit 1; }; }
32029 if test -f "$f"; then
32032 elif test -f "$srcdir/$f"; then
32037 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32038 echo "$as_me: error: cannot find input file: $f" >&2;}
32039 { (exit 1); exit 1; }; }
32042 done` ||
{ (exit 1); exit 1; }
32044 cat >>$CONFIG_STATUS <<_ACEOF
32048 cat >>$CONFIG_STATUS <<\_ACEOF
32050 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
32051 s
,@configure_input@
,$configure_input,;t t
32052 s
,@srcdir@
,$ac_srcdir,;t t
32053 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
32054 s
,@top_srcdir@
,$ac_top_srcdir,;t t
32055 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
32056 s
,@builddir@
,$ac_builddir,;t t
32057 s
,@abs_builddir@
,$ac_abs_builddir,;t t
32058 s
,@top_builddir@
,$ac_top_builddir,;t t
32059 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
32060 s
,@INSTALL@
,$ac_INSTALL,;t t
32061 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
32063 if test x"$ac_file" != x-; then
32064 mv $tmp/out $ac_file
32072 cat >>$CONFIG_STATUS <<\_ACEOF
32075 # CONFIG_HEADER section.
32078 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
32079 # NAME is the cpp macro being defined and VALUE is the value it is being given.
32081 # ac_d sets the value in "#define NAME VALUE" lines.
32082 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
32083 ac_dB
='[ ].*$,\1#\2'
32086 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
32087 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
32088 ac_uB
='$,\1#\2define\3'
32092 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
32093 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32095 - |
*:- |
*:-:* ) # input from stdin
32097 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32098 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32099 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32100 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32101 * ) ac_file_in
=$ac_file.
in ;;
32104 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
32105 echo "$as_me: creating $ac_file" >&6;}
32107 # First look for the input files in the build tree, otherwise in the
32109 ac_file_inputs
=`IFS=:
32110 for f in $ac_file_in; do
32112 -) echo $tmp/stdin ;;
32114 # Absolute (can't be DOS-style, as IFS=:)
32115 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32116 echo "$as_me: error: cannot find input file: $f" >&2;}
32117 { (exit 1); exit 1; }; }
32118 # Do quote $f, to prevent DOS paths from being IFS'd.
32121 if test -f "$f"; then
32124 elif test -f "$srcdir/$f"; then
32129 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32130 echo "$as_me: error: cannot find input file: $f" >&2;}
32131 { (exit 1); exit 1; }; }
32134 done` ||
{ (exit 1); exit 1; }
32135 # Remove the trailing spaces.
32136 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
32140 # Transform confdefs.h into two sed scripts, `conftest.defines' and
32141 # `conftest.undefs', that substitutes the proper values into
32142 # config.h.in to produce config.h. The first handles `#define'
32143 # templates, and the second `#undef' templates.
32144 # And first: Protect against being on the right side of a sed subst in
32145 # config.status. Protect against being in an unquoted here document
32146 # in config.status.
32147 rm -f conftest.defines conftest.undefs
32148 # Using a here document instead of a string reduces the quoting nightmare.
32149 # Putting comments in sed scripts is not portable.
32151 # `end' is used to avoid that the second main sed command (meant for
32152 # 0-ary CPP macros) applies to n-ary macro definitions.
32153 # See the Autoconf documentation for `clear'.
32154 cat >confdef2sed.
sed <<\_ACEOF
32159 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
32161 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
32164 # If some macros were called several times there might be several times
32165 # the same #defines, which is useless. Nevertheless, we may not want to
32166 # sort them, since we want the *last* AC-DEFINE to be honored.
32167 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
32168 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
32169 rm -f confdef2sed.sed
32171 # This sed command replaces #undef with comments. This is necessary, for
32172 # example, in the case of _POSIX_SOURCE, which is predefined and required
32173 # on some systems where configure will not decide to define it.
32174 cat >>conftest.undefs <<\_ACEOF
32175 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
32178 # Break up conftest.defines because some shells have a limit on the size
32179 # of here documents, and old seds have small limits too (100 cmds).
32180 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
32181 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
32182 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
32183 echo ' :' >>$CONFIG_STATUS
32184 rm -f conftest.tail
32185 while grep . conftest.defines >/dev/null
32187 # Write a limited-size here document to $tmp/defines.sed.
32188 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
32189 # Speed up: don't consider the non `#define' lines.
32190 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
32191 # Work around the forget-to-reset-the-flag bug.
32192 echo 't clr' >>$CONFIG_STATUS
32193 echo ': clr' >>$CONFIG_STATUS
32194 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
32196 sed -f $tmp/defines.sed $tmp/in >$tmp/out
32198 mv $tmp/out $tmp/in
32200 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
32201 rm -f conftest.defines
32202 mv conftest.
tail conftest.defines
32204 rm -f conftest.defines
32205 echo ' fi # grep' >>$CONFIG_STATUS
32206 echo >>$CONFIG_STATUS
32208 # Break up conftest.undefs because some shells have a limit on the size
32209 # of here documents, and old seds have small limits too (100 cmds).
32210 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
32211 rm -f conftest.
tail
32212 while grep . conftest.undefs
>/dev
/null
32214 # Write a limited-size here document to $tmp/undefs.sed.
32215 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
32216 # Speed up: don't consider the non
`#undef'
32217 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
32218 # Work around the forget-to-reset-the-flag bug.
32219 echo 't clr' >>$CONFIG_STATUS
32220 echo ': clr' >>$CONFIG_STATUS
32221 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
32223 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
32225 mv $tmp/out $tmp/in
32227 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
32228 rm -f conftest.undefs
32229 mv conftest.tail conftest.undefs
32231 rm -f conftest.undefs
32233 cat >>$CONFIG_STATUS <<\_ACEOF
32234 # Let's still pretend it is `configure
' which instantiates (i.e., don't
32235 # use $as_me), people would be surprised to read:
32236 # /* config.h. Generated by config.status. */
32237 if test x
"$ac_file" = x-
; then
32238 echo "/* Generated by configure. */" >$tmp/config.h
32240 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
32242 cat $tmp/in >>$tmp/config.h
32244 if test x
"$ac_file" != x-
; then
32245 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
32246 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32247 echo "$as_me: $ac_file is unchanged" >&6;}
32249 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
32250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32251 X"$ac_file" : 'X\(//\)[^/]' \| \
32252 X"$ac_file" : 'X\(//\)$' \| \
32253 X"$ac_file" : 'X\(/\)' \| \
32254 . : '\(.\)' 2>/dev/null ||
32256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32258 /^X\(\/\/\)$/{ s//\1/; q; }
32259 /^X\(\/\).*/{ s//\1/; q; }
32261 { if $as_mkdir_p; then
32266 while test ! -d "$as_dir"; do
32267 as_dirs
="$as_dir $as_dirs"
32268 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32270 X"$as_dir" : 'X\(//\)[^/]' \| \
32271 X"$as_dir" : 'X\(//\)$' \| \
32272 X"$as_dir" : 'X\(/\)' \| \
32273 . : '\(.\)' 2>/dev/null ||
32275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32277 /^X\(\/\/\)$/{ s//\1/; q; }
32278 /^X\(\/\).*/{ s//\1/; q; }
32281 test ! -n "$as_dirs" || mkdir
$as_dirs
32282 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32283 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32284 { (exit 1); exit 1; }; }; }
32287 mv $tmp/config.h
$ac_file
32291 rm -f $tmp/config.h
32293 # Compute $ac_file's index in $config_headers.
32295 for _am_header
in $config_headers :; do
32296 case $_am_header in
32297 $ac_file |
$ac_file:* )
32300 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
32303 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
32304 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32305 X$ac_file : 'X\(//\)[^/]' \| \
32306 X$ac_file : 'X\(//\)$' \| \
32307 X$ac_file : 'X\(/\)' \| \
32308 . : '\(.\)' 2>/dev/null ||
32310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32312 /^X\(\/\/\)$/{ s//\1/; q; }
32313 /^X\(\/\).*/{ s//\1/; q; }
32314 s/.*/./; q'`/stamp-h
$_am_stamp_count
32317 cat >>$CONFIG_STATUS <<\_ACEOF
32320 # CONFIG_LINKS section.
32323 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
32324 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
32325 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32327 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
32328 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
32330 if test ! -r $srcdir/$ac_source; then
32331 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
32332 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
32333 { (exit 1); exit 1; }; }
32337 # Make relative symlinks.
32338 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
32339 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32340 X"$ac_dest" : 'X\(//\)[^/]' \| \
32341 X"$ac_dest" : 'X\(//\)$' \| \
32342 X"$ac_dest" : 'X\(/\)' \| \
32343 . : '\(.\)' 2>/dev/null ||
32345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32346 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32347 /^X\(\/\/\)$/{ s//\1/; q; }
32348 /^X\(\/\).*/{ s//\1/; q; }
32350 { if $as_mkdir_p; then
32351 mkdir
-p "$ac_dest_dir"
32353 as_dir
="$ac_dest_dir"
32355 while test ! -d "$as_dir"; do
32356 as_dirs
="$as_dir $as_dirs"
32357 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32359 X"$as_dir" : 'X\(//\)[^/]' \| \
32360 X"$as_dir" : 'X\(//\)$' \| \
32361 X"$as_dir" : 'X\(/\)' \| \
32362 . : '\(.\)' 2>/dev/null ||
32364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32365 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32366 /^X\(\/\/\)$/{ s//\1/; q; }
32367 /^X\(\/\).*/{ s//\1/; q; }
32370 test ! -n "$as_dirs" || mkdir
$as_dirs
32371 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
32372 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
32373 { (exit 1); exit 1; }; }; }
32377 if test "$ac_dest_dir" != .
; then
32378 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
32379 # A "../" for each directory in $ac_dir_suffix.
32380 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32382 ac_dir_suffix
= ac_top_builddir
=
32386 .
) # No --srcdir option. We are building in place.
32388 if test -z "$ac_top_builddir"; then
32391 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
32393 [\\/]* | ?
:[\\/]* ) # Absolute path.
32394 ac_srcdir
=$srcdir$ac_dir_suffix;
32395 ac_top_srcdir
=$srcdir ;;
32396 *) # Relative path.
32397 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
32398 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
32401 # Do not use `cd foo && pwd` to compute absolute paths, because
32402 # the directories may not exist.
32404 .
) ac_abs_builddir
="$ac_dest_dir";;
32406 case "$ac_dest_dir" in
32407 .
) ac_abs_builddir
=`pwd`;;
32408 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
32409 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
32412 case $ac_abs_builddir in
32413 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32415 case ${ac_top_builddir}.
in
32416 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
32417 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32418 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
32421 case $ac_abs_builddir in
32422 .
) ac_abs_srcdir
=$ac_srcdir;;
32425 .
) ac_abs_srcdir
=$ac_abs_builddir;;
32426 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
32427 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
32430 case $ac_abs_builddir in
32431 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
32433 case $ac_top_srcdir in
32434 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
32435 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
32436 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
32442 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
32443 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
32446 # Try a symlink, then a hard link, then a copy.
32447 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
32448 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
32449 cp -p $srcdir/$ac_source $ac_dest ||
32450 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
32451 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
32452 { (exit 1); exit 1; }; }
32455 cat >>$CONFIG_STATUS <<\_ACEOF
32458 # CONFIG_COMMANDS section.
32460 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
32461 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
32462 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32463 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
32464 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32465 X"$ac_dest" : 'X\(//\)[^/]' \| \
32466 X"$ac_dest" : 'X\(//\)$' \| \
32467 X"$ac_dest" : 'X\(/\)' \| \
32468 . : '\(.\)' 2>/dev/null ||
32470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32472 /^X\(\/\/\)$/{ s//\1/; q; }
32473 /^X\(\/\).*/{ s//\1/; q; }
32475 { if $as_mkdir_p; then
32480 while test ! -d "$as_dir"; do
32481 as_dirs
="$as_dir $as_dirs"
32482 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32484 X"$as_dir" : 'X\(//\)[^/]' \| \
32485 X"$as_dir" : 'X\(//\)$' \| \
32486 X"$as_dir" : 'X\(/\)' \| \
32487 . : '\(.\)' 2>/dev/null ||
32489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32491 /^X\(\/\/\)$/{ s//\1/; q; }
32492 /^X\(\/\).*/{ s//\1/; q; }
32495 test ! -n "$as_dirs" || mkdir
$as_dirs
32496 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32498 { (exit 1); exit 1; }; }; }
32502 if test "$ac_dir" != .
; then
32503 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32504 # A "../" for each directory in $ac_dir_suffix.
32505 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32507 ac_dir_suffix
= ac_top_builddir
=
32511 .
) # No --srcdir option. We are building in place.
32513 if test -z "$ac_top_builddir"; then
32516 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
32518 [\\/]* | ?
:[\\/]* ) # Absolute path.
32519 ac_srcdir
=$srcdir$ac_dir_suffix;
32520 ac_top_srcdir
=$srcdir ;;
32521 *) # Relative path.
32522 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
32523 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
32526 # Do not use `cd foo && pwd` to compute absolute paths, because
32527 # the directories may not exist.
32529 .
) ac_abs_builddir
="$ac_dir";;
32532 .
) ac_abs_builddir
=`pwd`;;
32533 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
32534 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
32537 case $ac_abs_builddir in
32538 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32540 case ${ac_top_builddir}.
in
32541 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
32542 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32543 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
32546 case $ac_abs_builddir in
32547 .
) ac_abs_srcdir
=$ac_srcdir;;
32550 .
) ac_abs_srcdir
=$ac_abs_builddir;;
32551 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
32552 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
32555 case $ac_abs_builddir in
32556 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
32558 case $ac_top_srcdir in
32559 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
32560 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
32561 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
32566 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
32567 echo "$as_me: executing $ac_dest commands" >&6;}
32570 # Only add multilib support code if we just rebuilt the top-level
32572 case " $CONFIG_FILES " in
32574 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
32577 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
32578 # Strip MF so we end up with the name of the file.
32579 mf
=`echo "$mf" | sed -e 's/:.*$//'`
32580 # Check whether this is an Automake generated Makefile or not.
32581 # We used to match only the files named `Makefile.in', but
32582 # some people rename them; so instead we look at the file content.
32583 # Grep'ing the first line is not enough: some people post-process
32584 # each Makefile.in and add a new line on top of each file to say so.
32585 # So let's grep whole file.
32586 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
32587 dirpart
=`(dirname "$mf") 2>/dev/null ||
32588 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32589 X"$mf" : 'X\(//\)[^/]' \| \
32590 X"$mf" : 'X\(//\)$' \| \
32591 X"$mf" : 'X\(/\)' \| \
32592 . : '\(.\)' 2>/dev/null ||
32594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32595 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32596 /^X\(\/\/\)$/{ s//\1/; q; }
32597 /^X\(\/\).*/{ s//\1/; q; }
32602 # Extract the definition of DEPDIR, am__include, and am__quote
32603 # from the Makefile without running `make'.
32604 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
32605 test -z "$DEPDIR" && continue
32606 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
32607 test -z "am__include" && continue
32608 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
32609 # When using ansi2knr, U may be empty or an underscore; expand it
32610 U
=`sed -n 's/^U = //p' < "$mf"`
32611 # Find all dependency output files, they are included files with
32612 # $(DEPDIR) in their names. We invoke sed twice because it is the
32613 # simplest approach to changing $(DEPDIR) to its actual value in the
32615 for file in `sed -n "
32616 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32617 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32618 # Make sure the directory exists.
32619 test -f "$dirpart/$file" && continue
32620 fdir
=`(dirname "$file") 2>/dev/null ||
32621 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32622 X"$file" : 'X\(//\)[^/]' \| \
32623 X"$file" : 'X\(//\)$' \| \
32624 X"$file" : 'X\(/\)' \| \
32625 . : '\(.\)' 2>/dev/null ||
32627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32629 /^X\(\/\/\)$/{ s//\1/; q; }
32630 /^X\(\/\).*/{ s//\1/; q; }
32632 { if $as_mkdir_p; then
32633 mkdir
-p $dirpart/$fdir
32635 as_dir
=$dirpart/$fdir
32637 while test ! -d "$as_dir"; do
32638 as_dirs
="$as_dir $as_dirs"
32639 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32641 X"$as_dir" : 'X\(//\)[^/]' \| \
32642 X"$as_dir" : 'X\(//\)$' \| \
32643 X"$as_dir" : 'X\(/\)' \| \
32644 . : '\(.\)' 2>/dev/null ||
32646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32648 /^X\(\/\/\)$/{ s//\1/; q; }
32649 /^X\(\/\).*/{ s//\1/; q; }
32652 test ! -n "$as_dirs" || mkdir
$as_dirs
32653 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32654 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32655 { (exit 1); exit 1; }; }; }
32657 # echo "creating $dirpart/$file"
32658 echo '# dummy' > "$dirpart/$file"
32664 # See if we are running on zsh, and set the options which allow our
32665 # commands through without removal of \ escapes.
32666 if test -n "${ZSH_VERSION+set}" ; then
32667 setopt NO_GLOB_SUBST
32670 cfgfile
="${ofile}T"
32671 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32674 cat <<_LT_EOF >> "$cfgfile"
32677 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32678 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
32679 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32680 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32682 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32683 # 2006, 2007, 2008 Free Software Foundation, Inc.
32684 # Written by Gordon Matzigkeit, 1996
32686 # This file is part of GNU Libtool.
32688 # GNU Libtool is free software; you can redistribute it and/or
32689 # modify it under the terms of the GNU General Public License as
32690 # published by the Free Software Foundation; either version 2 of
32691 # the License, or (at your option) any later version.
32693 # As a special exception to the GNU General Public License,
32694 # if you distribute this file as part of a program or library that
32695 # is built using GNU Libtool, you may include this file under the
32696 # same distribution terms that you use for the rest of that program.
32698 # GNU Libtool is distributed in the hope that it will be useful,
32699 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32700 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32701 # GNU General Public License for more details.
32703 # You should have received a copy of the GNU General Public License
32704 # along with GNU Libtool; see the file COPYING. If not, a copy
32705 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
32706 # obtained by writing to the Free Software Foundation, Inc.,
32707 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32710 # The names of the tagged configurations supported by this script.
32711 available_tags="CXX "
32713 # ### BEGIN LIBTOOL CONFIG
32715 # Whether or not to build static libraries.
32716 build_old_libs=$enable_static
32718 # Which release of libtool.m4 was used?
32719 macro_version=$macro_version
32720 macro_revision=$macro_revision
32722 # Whether or not to build shared libraries.
32723 build_libtool_libs=$enable_shared
32725 # What type of objects to build.
32728 # Whether or not to optimize for fast installation.
32729 fast_install=$enable_fast_install
32732 host_alias=$host_alias
32736 # The build system.
32737 build_alias=$build_alias
32741 # A sed program that does not truncate output.
32744 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32745 Xsed="\$SED -e 1s/^X//"
32747 # A grep program that handles long lines.
32753 # A literal string matcher.
32756 # A BSD- or MS-compatible name lister.
32759 # Whether we need soft or hard links.
32762 # What is the maximum length of a command?
32763 max_cmd_len=$max_cmd_len
32765 # Object file suffix (normally "o").
32768 # Executable file suffix (normally "").
32771 # whether the shell understands "unset".
32774 # turn spaces into newlines.
32777 # turn newlines into spaces.
32780 # How to create reloadable object files.
32781 reload_flag=$lt_reload_flag
32782 reload_cmds=$lt_reload_cmds
32784 # An object symbol dumper.
32785 OBJDUMP=$lt_OBJDUMP
32787 # Method to check whether dependent libraries are shared objects.
32788 deplibs_check_method=$lt_deplibs_check_method
32790 # Command to use when deplibs_check_method == "file_magic".
32791 file_magic_cmd=$lt_file_magic_cmd
32795 AR_FLAGS=$lt_AR_FLAGS
32797 # A symbol stripping program.
32800 # Commands used to install an old-style archive.
32802 old_postinstall_cmds=$lt_old_postinstall_cmds
32803 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32808 # LTCC compiler flags.
32809 LTCFLAGS=$lt_CFLAGS
32811 # Take the output of nm and produce a listing of raw symbols and C names.
32812 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32814 # Transform the output of nm in a proper C declaration.
32815 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32817 # Transform the output of nm in a C name address pair.
32818 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32820 # Transform the output of nm in a C name address pair when lib prefix is needed.
32821 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
32823 # The name of the directory that contains temporary libtool files.
32826 # Shell to use when invoking shell scripts.
32829 # An echo program that does not interpret backslashes.
32832 # Used to examine libraries when file_magic_cmd begins with "file".
32833 MAGIC_CMD=$MAGIC_CMD
32835 # Must we lock files when doing compilation?
32836 need_locks=$lt_need_locks
32838 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
32839 DSYMUTIL=$lt_DSYMUTIL
32841 # Tool to change global to local symbols on Mac OS X.
32844 # Tool to manipulate fat objects and archives on Mac OS X.
32847 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
32850 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
32851 OTOOL64=$lt_OTOOL64
32853 # Old archive suffix (normally "a").
32856 # Shared library suffix (normally ".so").
32857 shrext_cmds=$lt_shrext_cmds
32859 # The commands to extract the exported symbol list from a shared archive.
32860 extract_expsyms_cmds=$lt_extract_expsyms_cmds
32862 # Variables whose values should be saved in libtool wrapper scripts and
32863 # restored at link time.
32864 variables_saved_for_relink=$lt_variables_saved_for_relink
32866 # Do we need the "lib" prefix for modules?
32867 need_lib_prefix=$need_lib_prefix
32869 # Do we need a version for libraries?
32870 need_version=$need_version
32872 # Library versioning type.
32873 version_type=$version_type
32875 # Shared library runtime path variable.
32876 runpath_var=$runpath_var
32878 # Shared library path variable.
32879 shlibpath_var=$shlibpath_var
32881 # Is shlibpath searched before the hard-coded library search path?
32882 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32884 # Format of library name prefix.
32885 libname_spec=$lt_libname_spec
32887 # List of archive names. First name is the real one, the rest are links.
32888 # The last name is the one that the linker finds with -lNAME
32889 library_names_spec=$lt_library_names_spec
32891 # The coded name of the library, if different from the real name.
32892 soname_spec=$lt_soname_spec
32894 # Command to use after installation of a shared archive.
32895 postinstall_cmds=$lt_postinstall_cmds
32897 # Command to use after uninstallation of a shared archive.
32898 postuninstall_cmds=$lt_postuninstall_cmds
32900 # Commands used to finish a libtool library installation in a directory.
32901 finish_cmds=$lt_finish_cmds
32903 # As "finish_cmds", except a single script fragment to be evaled but
32905 finish_eval=$lt_finish_eval
32907 # Whether we should hardcode library paths into libraries.
32908 hardcode_into_libs=$hardcode_into_libs
32910 # Compile-time system search path for libraries.
32911 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32913 # Run-time system search path for libraries.
32914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32916 # Whether dlopen is supported.
32917 dlopen_support=$enable_dlopen
32919 # Whether dlopen of programs is supported.
32920 dlopen_self=$enable_dlopen_self
32922 # Whether dlopen of statically linked programs is supported.
32923 dlopen_self_static=$enable_dlopen_self_static
32925 # Commands to strip libraries.
32926 old_striplib=$lt_old_striplib
32927 striplib=$lt_striplib
32930 # The linker used to build libraries.
32933 # Commands used to build an old-style archive.
32934 old_archive_cmds=$lt_old_archive_cmds
32936 # A language specific compiler.
32939 # Is the compiler the GNU compiler?
32942 # Compiler flag to turn off builtin functions.
32943 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32945 # How to pass a linker flag through the compiler.
32946 wl=$lt_lt_prog_compiler_wl
32948 # Additional compiler flags for building library objects.
32949 pic_flag=$lt_lt_prog_compiler_pic
32951 # Compiler flag to prevent dynamic linking.
32952 link_static_flag=$lt_lt_prog_compiler_static
32954 # Does compiler simultaneously support -c and -o options?
32955 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32957 # Whether or not to add -lc for building shared libraries.
32958 build_libtool_need_lc=$archive_cmds_need_lc
32960 # Whether or not to disallow shared libs when runtime libs are static.
32961 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32963 # Compiler flag to allow reflexive dlopens.
32964 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32966 # Compiler flag to generate shared objects directly from archives.
32967 whole_archive_flag_spec=$lt_whole_archive_flag_spec
32969 # Whether the compiler copes with passing no objects directly.
32970 compiler_needs_object=$lt_compiler_needs_object
32972 # Create an old-style archive from a shared archive.
32973 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32975 # Create a temporary old-style archive to link instead of a shared archive.
32976 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32978 # Commands used to build a shared archive.
32979 archive_cmds=$lt_archive_cmds
32980 archive_expsym_cmds=$lt_archive_expsym_cmds
32982 # Commands used to build a loadable module if different from building
32983 # a shared archive.
32984 module_cmds=$lt_module_cmds
32985 module_expsym_cmds=$lt_module_expsym_cmds
32987 # Whether we are building with GNU ld or not.
32988 with_gnu_ld=$lt_with_gnu_ld
32990 # Flag that allows shared libraries with undefined symbols to be built.
32991 allow_undefined_flag=$lt_allow_undefined_flag
32993 # Flag that enforces no undefined symbols.
32994 no_undefined_flag=$lt_no_undefined_flag
32996 # Flag to hardcode \$libdir into a binary during linking.
32997 # This must work even if \$libdir does not exist
32998 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33000 # If ld is used when linking, flag to hardcode \$libdir into a binary
33001 # during linking. This must work even if \$libdir does not exist.
33002 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33004 # Whether we need a single "-rpath" flag with a separated argument.
33005 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33007 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33008 # DIR into the resulting binary.
33009 hardcode_direct=$hardcode_direct
33011 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33012 # DIR into the resulting binary and the resulting library dependency is
33013 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33014 # library is relocated.
33015 hardcode_direct_absolute=$hardcode_direct_absolute
33017 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33018 # into the resulting binary.
33019 hardcode_minus_L=$hardcode_minus_L
33021 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33022 # into the resulting binary.
33023 hardcode_shlibpath_var=$hardcode_shlibpath_var
33025 # Set to "yes" if building a shared library automatically hardcodes DIR
33026 # into the library and all subsequent libraries and executables linked
33028 hardcode_automatic=$hardcode_automatic
33030 # Set to yes if linker adds runtime paths of dependent libraries
33031 # to runtime path list.
33032 inherit_rpath=$inherit_rpath
33034 # Whether libtool must link a program against all its dependency libraries.
33035 link_all_deplibs=$link_all_deplibs
33037 # Fix the shell variable \$srcfile for the compiler.
33038 fix_srcfile_path=$lt_fix_srcfile_path
33040 # Set to "yes" if exported symbols are required.
33041 always_export_symbols=$always_export_symbols
33043 # The commands to list exported symbols.
33044 export_symbols_cmds=$lt_export_symbols_cmds
33046 # Symbols that should not be listed in the preloaded symbols.
33047 exclude_expsyms=$lt_exclude_expsyms
33049 # Symbols that must always be exported.
33050 include_expsyms=$lt_include_expsyms
33052 # Commands necessary for linking programs (against libraries) with templates.
33053 prelink_cmds=$lt_prelink_cmds
33055 # Specify filename containing input files.
33056 file_list_spec=$lt_file_list_spec
33058 # How to hardcode a shared library path into an executable.
33059 hardcode_action=$hardcode_action
33061 # The directories searched by this compiler when creating a shared library.
33062 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33064 # Dependencies to place before and after the objects being linked to
33065 # create a shared library.
33066 predep_objects=$lt_predep_objects
33067 postdep_objects=$lt_postdep_objects
33068 predeps=$lt_predeps
33069 postdeps=$lt_postdeps
33071 # The library search path used internally by the compiler when linking
33072 # a shared library.
33073 compiler_lib_search_path=$lt_compiler_lib_search_path
33075 # ### END LIBTOOL CONFIG
33081 cat <<\_LT_EOF
>> "$cfgfile"
33082 # AIX sometimes has problems with the GCC collect2 program. For some
33083 # reason, if we set the COLLECT_NAMES environment variable, the problems
33084 # vanish in a puff of smoke.
33085 if test "X${COLLECT_NAMES+set}" != Xset
; then
33087 export COLLECT_NAMES
33094 ltmain
="$ac_aux_dir/ltmain.sh"
33097 # We use sed instead of cat because bash on DJGPP gets confused if
33098 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33099 # text mode, it properly converts lines to CR/LF. This bash problem
33100 # is reportedly fixed, but why not run on old versions too?
33101 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33102 ||
(rm -f "$cfgfile"; exit 1)
33106 cat << \_LT_EOF
>> "$cfgfile"
33108 # func_dirname file append nondir_replacement
33109 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33110 # otherwise set result to NONDIR_REPLACEMENT.
33114 */*) func_dirname_result
="${1%/*}${2}" ;;
33115 * ) func_dirname_result
="${3}" ;;
33119 # func_basename file
33122 func_basename_result
="${1##*/}"
33125 # func_dirname_and_basename file append nondir_replacement
33126 # perform func_basename and func_dirname in a single function
33128 # dirname: Compute the dirname of FILE. If nonempty,
33129 # add APPEND to the result, otherwise set result
33130 # to NONDIR_REPLACEMENT.
33131 # value returned in "$func_dirname_result"
33132 # basename: Compute filename of FILE.
33133 # value retuned in "$func_basename_result"
33134 # Implementation must be kept synchronized with func_dirname
33135 # and func_basename. For efficiency, we do not delegate to
33136 # those functions but instead duplicate the functionality here.
33137 func_dirname_and_basename
()
33140 */*) func_dirname_result
="${1%/*}${2}" ;;
33141 * ) func_dirname_result
="${3}" ;;
33143 func_basename_result
="${1##*/}"
33146 # func_stripname prefix suffix name
33147 # strip PREFIX and SUFFIX off of NAME.
33148 # PREFIX and SUFFIX must not contain globbing or regex special
33149 # characters, hashes, percent signs, but SUFFIX may contain a leading
33150 # dot (in which case that matches only a dot).
33153 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33154 # positional parameters, so assign one to ordinary parameter first.
33155 func_stripname_result
=${3}
33156 func_stripname_result
=${func_stripname_result#"${1}"}
33157 func_stripname_result
=${func_stripname_result%"${2}"}
33163 func_opt_split_opt
=${1%%=*}
33164 func_opt_split_arg
=${1#*=}
33171 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33172 *) func_lo2o_result
=${1} ;;
33176 # func_xform libobj-or-source
33179 func_xform_result
=${1%.*}.lo
33182 # func_arith arithmetic-term...
33185 func_arith_result
=$
(( $
* ))
33189 # STRING may not start with a hyphen.
33192 func_len_result
=${#1}
33197 *) # Bourne compatible functions.
33198 cat << \_LT_EOF
>> "$cfgfile"
33200 # func_dirname file append nondir_replacement
33201 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33202 # otherwise set result to NONDIR_REPLACEMENT.
33205 # Extract subdirectory from the argument.
33206 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33207 if test "X$func_dirname_result" = "X${1}"; then
33208 func_dirname_result
="${3}"
33210 func_dirname_result
="$func_dirname_result${2}"
33214 # func_basename file
33217 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
33221 # func_stripname prefix suffix name
33222 # strip PREFIX and SUFFIX off of NAME.
33223 # PREFIX and SUFFIX must not contain globbing or regex special
33224 # characters, hashes, percent signs, but SUFFIX may contain a leading
33225 # dot (in which case that matches only a dot).
33226 # func_strip_suffix prefix name
33230 .
*) func_stripname_result
=`$ECHO "X${3}" \
33231 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33232 *) func_stripname_result
=`$ECHO "X${3}" \
33233 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33238 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33239 my_sed_long_arg
='1s/^-[^=]*=//'
33244 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33245 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33251 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33254 # func_xform libobj-or-source
33257 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33260 # func_arith arithmetic-term...
33263 func_arith_result
=`expr "$@"`
33267 # STRING may not start with a hyphen.
33270 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33276 case $lt_shell_append in
33278 cat << \_LT_EOF
>> "$cfgfile"
33280 # func_append var value
33281 # Append VALUE to the end of shell variable VAR.
33289 cat << \_LT_EOF
>> "$cfgfile"
33291 # func_append var value
33292 # Append VALUE to the end of shell variable VAR.
33303 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33304 ||
(rm -f "$cfgfile"; exit 1)
33306 mv -f "$cfgfile" "$ofile" ||
33307 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33311 cat <<_LT_EOF >> "$ofile"
33313 # ### BEGIN LIBTOOL TAG CONFIG: CXX
33315 # The linker used to build libraries.
33318 # Commands used to build an old-style archive.
33319 old_archive_cmds=$lt_old_archive_cmds_CXX
33321 # A language specific compiler.
33322 CC=$lt_compiler_CXX
33324 # Is the compiler the GNU compiler?
33327 # Compiler flag to turn off builtin functions.
33328 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33330 # How to pass a linker flag through the compiler.
33331 wl=$lt_lt_prog_compiler_wl_CXX
33333 # Additional compiler flags for building library objects.
33334 pic_flag=$lt_lt_prog_compiler_pic_CXX
33336 # Compiler flag to prevent dynamic linking.
33337 link_static_flag=$lt_lt_prog_compiler_static_CXX
33339 # Does compiler simultaneously support -c and -o options?
33340 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33342 # Whether or not to add -lc for building shared libraries.
33343 build_libtool_need_lc=$archive_cmds_need_lc_CXX
33345 # Whether or not to disallow shared libs when runtime libs are static.
33346 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33348 # Compiler flag to allow reflexive dlopens.
33349 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33351 # Compiler flag to generate shared objects directly from archives.
33352 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33354 # Whether the compiler copes with passing no objects directly.
33355 compiler_needs_object=$lt_compiler_needs_object_CXX
33357 # Create an old-style archive from a shared archive.
33358 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33360 # Create a temporary old-style archive to link instead of a shared archive.
33361 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33363 # Commands used to build a shared archive.
33364 archive_cmds=$lt_archive_cmds_CXX
33365 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33367 # Commands used to build a loadable module if different from building
33368 # a shared archive.
33369 module_cmds=$lt_module_cmds_CXX
33370 module_expsym_cmds=$lt_module_expsym_cmds_CXX
33372 # Whether we are building with GNU ld or not.
33373 with_gnu_ld=$lt_with_gnu_ld_CXX
33375 # Flag that allows shared libraries with undefined symbols to be built.
33376 allow_undefined_flag=$lt_allow_undefined_flag_CXX
33378 # Flag that enforces no undefined symbols.
33379 no_undefined_flag=$lt_no_undefined_flag_CXX
33381 # Flag to hardcode \$libdir into a binary during linking.
33382 # This must work even if \$libdir does not exist
33383 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33385 # If ld is used when linking, flag to hardcode \$libdir into a binary
33386 # during linking. This must work even if \$libdir does not exist.
33387 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33389 # Whether we need a single "-rpath" flag with a separated argument.
33390 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33392 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33393 # DIR into the resulting binary.
33394 hardcode_direct=$hardcode_direct_CXX
33396 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33397 # DIR into the resulting binary and the resulting library dependency is
33398 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33399 # library is relocated.
33400 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33402 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33403 # into the resulting binary.
33404 hardcode_minus_L=$hardcode_minus_L_CXX
33406 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33407 # into the resulting binary.
33408 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33410 # Set to "yes" if building a shared library automatically hardcodes DIR
33411 # into the library and all subsequent libraries and executables linked
33413 hardcode_automatic=$hardcode_automatic_CXX
33415 # Set to yes if linker adds runtime paths of dependent libraries
33416 # to runtime path list.
33417 inherit_rpath=$inherit_rpath_CXX
33419 # Whether libtool must link a program against all its dependency libraries.
33420 link_all_deplibs=$link_all_deplibs_CXX
33422 # Fix the shell variable \$srcfile for the compiler.
33423 fix_srcfile_path=$lt_fix_srcfile_path_CXX
33425 # Set to "yes" if exported symbols are required.
33426 always_export_symbols=$always_export_symbols_CXX
33428 # The commands to list exported symbols.
33429 export_symbols_cmds=$lt_export_symbols_cmds_CXX
33431 # Symbols that should not be listed in the preloaded symbols.
33432 exclude_expsyms=$lt_exclude_expsyms_CXX
33434 # Symbols that must always be exported.
33435 include_expsyms=$lt_include_expsyms_CXX
33437 # Commands necessary for linking programs (against libraries) with templates.
33438 prelink_cmds=$lt_prelink_cmds_CXX
33440 # Specify filename containing input files.
33441 file_list_spec=$lt_file_list_spec_CXX
33443 # How to hardcode a shared library path into an executable.
33444 hardcode_action=$hardcode_action_CXX
33446 # The directories searched by this compiler when creating a shared library.
33447 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
33449 # Dependencies to place before and after the objects being linked to
33450 # create a shared library.
33451 predep_objects=$lt_predep_objects_CXX
33452 postdep_objects=$lt_postdep_objects_CXX
33453 predeps=$lt_predeps_CXX
33454 postdeps=$lt_postdeps_CXX
33456 # The library search path used internally by the compiler when linking
33457 # a shared library.
33458 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
33460 # ### END LIBTOOL TAG CONFIG: CXX
33464 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
33466 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
33467 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
33468 ac_stdint
=$tmp/_stdint.h
33470 echo "#ifndef" $_ac_stdint_h >$ac_stdint
33471 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
33472 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
33473 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
33474 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
33475 if test "_$ac_cv_header_stdint_t" != "_" ; then
33476 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
33477 echo "#include <stdint.h>" >>$ac_stdint
33478 echo "#endif" >>$ac_stdint
33479 echo "#endif" >>$ac_stdint
33482 cat >>$ac_stdint <<STDINT_EOF
33484 /* ................... shortcircuit part ........................... */
33486 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
33487 #include <stdint.h>
33489 #include <stddef.h>
33491 /* .................... configured part ............................ */
33495 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
33496 if test "_$ac_cv_header_stdint_x" != "_" ; then
33497 ac_header
="$ac_cv_header_stdint_x"
33498 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
33500 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
33503 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
33504 if test "_$ac_cv_header_stdint_o" != "_" ; then
33505 ac_header
="$ac_cv_header_stdint_o"
33506 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
33508 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
33511 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
33512 if test "_$ac_cv_header_stdint_u" != "_" ; then
33513 ac_header
="$ac_cv_header_stdint_u"
33514 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
33516 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
33519 echo "" >>$ac_stdint
33521 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
33522 echo "#include <$ac_header>" >>$ac_stdint
33523 echo "" >>$ac_stdint
33526 echo "/* which 64bit typedef has been found */" >>$ac_stdint
33527 if test "$ac_cv_type_uint64_t" = "yes" ; then
33528 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
33530 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
33532 if test "$ac_cv_type_u_int64_t" = "yes" ; then
33533 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
33535 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
33537 echo "" >>$ac_stdint
33539 echo "/* which type model has been detected */" >>$ac_stdint
33540 if test "_$ac_cv_char_data_model" != "_" ; then
33541 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
33542 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
33544 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
33545 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
33547 echo "" >>$ac_stdint
33549 echo "/* whether int_least types were detected */" >>$ac_stdint
33550 if test "$ac_cv_type_int_least32_t" = "yes"; then
33551 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
33553 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
33555 echo "/* whether int_fast types were detected */" >>$ac_stdint
33556 if test "$ac_cv_type_int_fast32_t" = "yes"; then
33557 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
33559 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
33561 echo "/* whether intmax_t type was detected */" >>$ac_stdint
33562 if test "$ac_cv_type_intmax_t" = "yes"; then
33563 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
33565 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
33567 echo "" >>$ac_stdint
33569 cat >>$ac_stdint <<STDINT_EOF
33570 /* .................... detections part ............................ */
33572 /* whether we need to define bitspecific types from compiler base types */
33573 #ifndef _STDINT_HEADER_INTPTR
33574 #ifndef _STDINT_HEADER_UINT32
33575 #ifndef _STDINT_HEADER_U_INT32
33576 #define _STDINT_NEED_INT_MODEL_T
33578 #define _STDINT_HAVE_U_INT_TYPES
33583 #ifdef _STDINT_HAVE_U_INT_TYPES
33584 #undef _STDINT_NEED_INT_MODEL_T
33587 #ifdef _STDINT_CHAR_MODEL
33588 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
33589 #ifndef _STDINT_BYTE_MODEL
33590 #define _STDINT_BYTE_MODEL 12
33595 #ifndef _STDINT_HAVE_INT_LEAST32_T
33596 #define _STDINT_NEED_INT_LEAST_T
33599 #ifndef _STDINT_HAVE_INT_FAST32_T
33600 #define _STDINT_NEED_INT_FAST_T
33603 #ifndef _STDINT_HEADER_INTPTR
33604 #define _STDINT_NEED_INTPTR_T
33605 #ifndef _STDINT_HAVE_INTMAX_T
33606 #define _STDINT_NEED_INTMAX_T
33611 /* .................... definition part ............................ */
33613 /* some system headers have good uint64_t */
33614 #ifndef _HAVE_UINT64_T
33615 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
33616 #define _HAVE_UINT64_T
33617 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
33618 #define _HAVE_UINT64_T
33619 typedef u_int64_t uint64_t;
33623 #ifndef _HAVE_UINT64_T
33624 /* .. here are some common heuristics using compiler runtime specifics */
33625 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
33626 #define _HAVE_UINT64_T
33627 #define _HAVE_LONGLONG_UINT64_T
33628 typedef long long int64_t;
33629 typedef unsigned long long uint64_t;
33631 #elif !defined __STRICT_ANSI__
33632 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
33633 #define _HAVE_UINT64_T
33634 typedef __int64 int64_t;
33635 typedef unsigned __int64 uint64_t;
33637 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
33638 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
33639 #if !defined _NO_LONGLONG
33640 #define _HAVE_UINT64_T
33641 #define _HAVE_LONGLONG_UINT64_T
33642 typedef long long int64_t;
33643 typedef unsigned long long uint64_t;
33646 #elif defined __alpha || (defined __mips && defined _ABIN32)
33647 #if !defined _NO_LONGLONG
33648 typedef long int64_t;
33649 typedef unsigned long uint64_t;
33651 /* compiler/cpu type to define int64_t */
33656 #if defined _STDINT_HAVE_U_INT_TYPES
33657 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
33658 typedef u_int8_t uint8_t;
33659 typedef u_int16_t uint16_t;
33660 typedef u_int32_t uint32_t;
33662 /* glibc compatibility */
33663 #ifndef __int8_t_defined
33664 #define __int8_t_defined
33668 #ifdef _STDINT_NEED_INT_MODEL_T
33669 /* we must guess all the basic types. Apart from byte-adressable system, */
33670 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
33671 /* (btw, those nibble-addressable systems are way off, or so we assume) */
33674 #if defined _STDINT_BYTE_MODEL
33675 #if _STDINT_LONG_MODEL+0 == 242
33676 /* 2:4:2 = IP16 = a normal 16-bit system */
33677 typedef unsigned char uint8_t;
33678 typedef unsigned short uint16_t;
33679 typedef unsigned long uint32_t;
33680 #ifndef __int8_t_defined
33681 #define __int8_t_defined
33682 typedef char int8_t;
33683 typedef short int16_t;
33684 typedef long int32_t;
33686 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
33687 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
33688 /* 4:4:4 = ILP32 = a normal 32-bit system */
33689 typedef unsigned char uint8_t;
33690 typedef unsigned short uint16_t;
33691 typedef unsigned int uint32_t;
33692 #ifndef __int8_t_defined
33693 #define __int8_t_defined
33694 typedef char int8_t;
33695 typedef short int16_t;
33696 typedef int int32_t;
33698 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
33699 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
33700 /* 4:8:8 = LP64 = a normal 64-bit system */
33701 typedef unsigned char uint8_t;
33702 typedef unsigned short uint16_t;
33703 typedef unsigned int uint32_t;
33704 #ifndef __int8_t_defined
33705 #define __int8_t_defined
33706 typedef char int8_t;
33707 typedef short int16_t;
33708 typedef int int32_t;
33710 /* this system has a "long" of 64bit */
33711 #ifndef _HAVE_UINT64_T
33712 #define _HAVE_UINT64_T
33713 typedef unsigned long uint64_t;
33714 typedef long int64_t;
33716 #elif _STDINT_LONG_MODEL+0 == 448
33717 /* LLP64 a 64-bit system derived from a 32-bit system */
33718 typedef unsigned char uint8_t;
33719 typedef unsigned short uint16_t;
33720 typedef unsigned int uint32_t;
33721 #ifndef __int8_t_defined
33722 #define __int8_t_defined
33723 typedef char int8_t;
33724 typedef short int16_t;
33725 typedef int int32_t;
33727 /* assuming the system has a "long long" */
33728 #ifndef _HAVE_UINT64_T
33729 #define _HAVE_UINT64_T
33730 #define _HAVE_LONGLONG_UINT64_T
33731 typedef unsigned long long uint64_t;
33732 typedef long long int64_t;
33735 #define _STDINT_NO_INT32_T
33738 #define _STDINT_NO_INT8_T
33739 #define _STDINT_NO_INT32_T
33744 * quote from SunOS-5.8 sys/inttypes.h:
33745 * Use at your own risk. As of February 1996, the committee is squarely
33746 * behind the fixed sized types; the "least" and "fast" types are still being
33747 * discussed. The probability that the "fast" types may be removed before
33748 * the standard is finalized is high enough that they are not currently
33752 #if defined _STDINT_NEED_INT_LEAST_T
33753 typedef int8_t int_least8_t;
33754 typedef int16_t int_least16_t;
33755 typedef int32_t int_least32_t;
33756 #ifdef _HAVE_UINT64_T
33757 typedef int64_t int_least64_t;
33760 typedef uint8_t uint_least8_t;
33761 typedef uint16_t uint_least16_t;
33762 typedef uint32_t uint_least32_t;
33763 #ifdef _HAVE_UINT64_T
33764 typedef uint64_t uint_least64_t;
33769 #if defined _STDINT_NEED_INT_FAST_T
33770 typedef int8_t int_fast8_t;
33771 typedef int int_fast16_t;
33772 typedef int32_t int_fast32_t;
33773 #ifdef _HAVE_UINT64_T
33774 typedef int64_t int_fast64_t;
33777 typedef uint8_t uint_fast8_t;
33778 typedef unsigned uint_fast16_t;
33779 typedef uint32_t uint_fast32_t;
33780 #ifdef _HAVE_UINT64_T
33781 typedef uint64_t uint_fast64_t;
33786 #ifdef _STDINT_NEED_INTMAX_T
33787 #ifdef _HAVE_UINT64_T
33788 typedef int64_t intmax_t;
33789 typedef uint64_t uintmax_t;
33791 typedef long intmax_t;
33792 typedef unsigned long uintmax_t;
33796 #ifdef _STDINT_NEED_INTPTR_T
33797 #ifndef __intptr_t_defined
33798 #define __intptr_t_defined
33799 /* we encourage using "long" to store pointer values, never use "int" ! */
33800 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
33801 typedef unsigned int uintptr_t;
33802 typedef int intptr_t;
33803 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
33804 typedef unsigned long uintptr_t;
33805 typedef long intptr_t;
33806 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
33807 typedef uint64_t uintptr_t;
33808 typedef int64_t intptr_t;
33809 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
33810 typedef unsigned long uintptr_t;
33811 typedef long intptr_t;
33816 /* The ISO C99 standard specifies that in C++ implementations these
33817 should only be defined if explicitly requested. */
33818 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
33822 # define INT8_C(c) c
33823 # define INT16_C(c) c
33824 # define INT32_C(c) c
33825 # ifdef _HAVE_LONGLONG_UINT64_T
33826 # define INT64_C(c) c ## L
33828 # define INT64_C(c) c ## LL
33832 # define UINT8_C(c) c ## U
33833 # define UINT16_C(c) c ## U
33834 # define UINT32_C(c) c ## U
33835 # ifdef _HAVE_LONGLONG_UINT64_T
33836 # define UINT64_C(c) c ## UL
33838 # define UINT64_C(c) c ## ULL
33841 /* Maximal type. */
33842 # ifdef _HAVE_LONGLONG_UINT64_T
33843 # define INTMAX_C(c) c ## L
33844 # define UINTMAX_C(c) c ## UL
33846 # define INTMAX_C(c) c ## LL
33847 # define UINTMAX_C(c) c ## ULL
33850 /* literalnumbers */
33854 /* These limits are merily those of a two complement byte-oriented system */
33856 /* Minimum of signed integral types. */
33858 # define INT8_MIN (-128)
33861 # define INT16_MIN (-32767-1)
33864 # define INT32_MIN (-2147483647-1)
33867 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
33870 /* Maximum of signed integral types. */
33872 # define INT8_MAX (127)
33875 # define INT16_MAX (32767)
33878 # define INT32_MAX (2147483647)
33881 # define INT64_MAX (__INT64_C(9223372036854775807))
33884 /* Maximum of unsigned integral types. */
33886 # define UINT8_MAX (255)
33889 # define UINT16_MAX (65535)
33892 # define UINT32_MAX (4294967295U)
33895 # define UINT64_MAX (__UINT64_C(18446744073709551615))
33898 /* Minimum of signed integral types having a minimum size. */
33899 # define INT_LEAST8_MIN INT8_MIN
33900 # define INT_LEAST16_MIN INT16_MIN
33901 # define INT_LEAST32_MIN INT32_MIN
33902 # define INT_LEAST64_MIN INT64_MIN
33903 /* Maximum of signed integral types having a minimum size. */
33904 # define INT_LEAST8_MAX INT8_MAX
33905 # define INT_LEAST16_MAX INT16_MAX
33906 # define INT_LEAST32_MAX INT32_MAX
33907 # define INT_LEAST64_MAX INT64_MAX
33909 /* Maximum of unsigned integral types having a minimum size. */
33910 # define UINT_LEAST8_MAX UINT8_MAX
33911 # define UINT_LEAST16_MAX UINT16_MAX
33912 # define UINT_LEAST32_MAX UINT32_MAX
33913 # define UINT_LEAST64_MAX UINT64_MAX
33922 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
33923 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
33924 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
33926 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
33927 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33928 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
33929 X"$ac_stdint_h" : 'X\(//\)$' \| \
33930 X"$ac_stdint_h" : 'X\(/\)' \| \
33931 . : '\(.\)' 2>/dev/null ||
33932 echo X"$ac_stdint_h" |
33933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33935 /^X\(\/\/\)$/{ s//\1/; q; }
33936 /^X\(\/\).*/{ s//\1/; q; }
33938 { if $as_mkdir_p; then
33943 while test ! -d "$as_dir"; do
33944 as_dirs
="$as_dir $as_dirs"
33945 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
33946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33947 X"$as_dir" : 'X\(//\)[^/]' \| \
33948 X"$as_dir" : 'X\(//\)$' \| \
33949 X"$as_dir" : 'X\(/\)' \| \
33950 . : '\(.\)' 2>/dev/null ||
33952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33954 /^X\(\/\/\)$/{ s//\1/; q; }
33955 /^X\(\/\).*/{ s//\1/; q; }
33958 test ! -n "$as_dirs" || mkdir
$as_dirs
33959 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33960 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33961 { (exit 1); exit 1; }; }; }
33964 mv $ac_stdint $ac_stdint_h
33967 gappletviewer
) chmod 755 tools
/gappletviewer
;;
33968 gjarsigner
) chmod 755 tools
/gjarsigner
;;
33969 gkeytool
) chmod 755 tools
/gkeytool
;;
33970 gjar
) chmod 755 tools
/gjar
;;
33971 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
33972 gserialver
) chmod 755 tools
/gserialver
;;
33973 grmiregistry
) chmod 755 tools
/grmiregistry
;;
33974 gtnameserv
) chmod 755 tools
/gtnameserv
;;
33975 gorbd
) chmod 755 tools
/gorbd
;;
33976 grmid
) chmod 755 tools
/grmid
;;
33977 grmic
) chmod 755 tools
/grmic
;;
33978 gjavah
) chmod 755 tools
/gjavah
;;
33979 gjdoc
) chmod 755 tools
/gjdoc
;;
33980 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
33981 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
33986 cat >>$CONFIG_STATUS <<\_ACEOF
33988 { (exit 0); exit 0; }
33990 chmod +x
$CONFIG_STATUS
33991 ac_clean_files
=$ac_clean_files_save
33994 # configure is writing to config.log, and then calls config.status.
33995 # config.status does its own redirection, appending to config.log.
33996 # Unfortunately, on DOS this fails, as config.log is still kept open
33997 # by configure, so config.status won't be able to write to it; its
33998 # output is simply discarded. So we exec the FD to /dev/null,
33999 # effectively closing config.log, so it can be properly (re)opened and
34000 # appended to by config.status. When coming back to configure, we
34001 # need to make the FD available again.
34002 if test "$no_create" != yes; then
34004 ac_config_status_args
=
34005 test "$silent" = yes &&
34006 ac_config_status_args
="$ac_config_status_args --quiet"
34008 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34010 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34011 # would make configure fail if this is the last instruction.
34012 $ac_cs_success ||
{ (exit 1); exit 1; }
34016 # Create standard.omit based on decisions we just made.
34017 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
34018 if test x
$use_escher != xtrue
; then
34019 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit