2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.98-pre.
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-pre'
422 PACKAGE_STRING
='GNU Classpath 0.98-pre'
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 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-pre 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-pre:";;
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-pre
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-pre, 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"
1795 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1808 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1811 CLASSPATH_CONVENIENCE="-no-undefined"
1815 am__api_version="1.9"
1816 # Find a good install program. We prefer a C program (faster),
1817 # so one script is as good as another. But avoid the broken or
1818 # incompatible versions:
1819 # SysV /etc/install, /usr/sbin/install
1820 # SunOS /usr/etc/install
1821 # IRIX /sbin/install
1823 # AmigaOS /C/install, which installs bootblocks on floppy discs
1824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1827 # OS/2's system install, which has a completely different semantic
1828 # ./install, which can be erroneously created by make from ./install.sh.
1829 # Reject install programs that cannot install multiple files.
1830 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1831 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1832 if test -z "$INSTALL"; then
1833 if test "${ac_cv_path_install+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 # Account for people who put trailing slashes in PATH elements.
1843 ./ | .// | /cC/* | \
1844 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1845 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1848 # OSF1 and SCO ODT 3.0 have their own names for install.
1849 # Don't use installbsd from OSF since it installs stuff as root
1851 for ac_prog in ginstall scoinst install; do
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1854 if test $ac_prog = install &&
1855 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1856 # AIX install. It has an incompatible calling convention.
1858 elif test $ac_prog = install &&
1859 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1860 # program-specific install script used by HP pwplus--don't use.
1863 rm -rf conftest.one conftest.two conftest.dir
1864 echo one > conftest.one
1865 echo two > conftest.two
1867 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1868 test -s conftest.one && test -s conftest.two &&
1869 test -s conftest.dir/conftest.one &&
1870 test -s conftest.dir/conftest.two
1872 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1883 rm -rf conftest.one conftest.two conftest.dir
1886 if test "${ac_cv_path_install+set}" = set; then
1887 INSTALL=$ac_cv_path_install
1889 # As a last resort, use the slow shell script. Don't cache a
1890 # value for INSTALL within a source directory, because that will
1891 # break other packages using the cache if that directory is
1892 # removed, or if the value is a relative name.
1893 INSTALL=$ac_install_sh
1896 echo "$as_me:$LINENO: result: $INSTALL" >&5
1897 echo "${ECHO_T}$INSTALL" >&6
1899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1900 # It thinks the first close brace ends the variable substitution.
1901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1907 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1908 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1911 echo timestamp > conftest.file
1912 # Do `set' in a subshell so we don't clobber the current shell
's
1913 # arguments. Must try -L first in case configure is actually a
1914 # symlink; some systems play weird games with the mod time of symlinks
1915 # (eg FreeBSD returns the mod time of the symlink's containing
1918 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1919 if test "$*" = "X"; then
1921 set X
`ls -t $srcdir/configure conftest.file`
1924 if test "$*" != "X $srcdir/configure conftest.file" \
1925 && test "$*" != "X conftest.file $srcdir/configure"; then
1927 # If neither matched, then we have a broken ls. This can happen
1928 # if, for instance, CONFIG_SHELL is bash and it inherits a
1929 # broken ls alias from the environment. This has actually
1930 # happened. Such a system could not be considered "sane".
1931 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1932 alias in your environment" >&5
1933 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1934 alias in your environment" >&2;}
1935 { (exit 1); exit 1; }; }
1938 test "$2" = conftest.
file
1944 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1945 Check your system clock" >&5
1946 echo "$as_me: error: newly created file is older than distributed files!
1947 Check your system clock" >&2;}
1948 { (exit 1); exit 1; }; }
1950 echo "$as_me:$LINENO: result: yes" >&5
1951 echo "${ECHO_T}yes" >&6
1952 test "$program_prefix" != NONE
&&
1953 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1954 # Use a double $ so make ignores it.
1955 test "$program_suffix" != NONE
&&
1956 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1957 # Double any \ or $. echo might interpret backslashes.
1958 # By default was `s,x,x', remove it if useless.
1959 cat <<\_ACEOF
>conftest.
sed
1960 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1962 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1965 # expand $ac_aux_dir to an absolute path
1966 am_aux_dir
=`cd $ac_aux_dir && pwd`
1968 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1969 # Use eval to expand $SHELL
1970 if eval "$MISSING --run true"; then
1971 am_missing_run
="$MISSING --run "
1974 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1975 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1978 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1979 # We used to keeping the `.' as first argument, in order to
1980 # allow $(mkdir_p) to be used without argument. As in
1981 # $(mkdir_p) $(somedir)
1982 # where $(somedir) is conditionally defined. However this is wrong
1984 # 1. if the package is installed by a user who cannot write `.'
1985 # make install will fail,
1986 # 2. the above comment should most certainly read
1987 # $(mkdir_p) $(DESTDIR)$(somedir)
1988 # so it does not work when $(somedir) is undefined and
1989 # $(DESTDIR) is not.
1990 # To support the latter case, we have to write
1991 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1992 # so the `.' trick is pointless.
1993 mkdir_p
='mkdir -p --'
1995 # On NextStep and OpenStep, the `mkdir' command does not
1996 # recognize any option. It will interpret all options as
1997 # directories to create, and then abort because `.' already
1999 for d
in .
/-p .
/--version;
2001 test -d $d && rmdir $d
2003 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2004 if test -f "$ac_aux_dir/mkinstalldirs"; then
2005 mkdir_p
='$(mkinstalldirs)'
2007 mkdir_p
='$(install_sh) -d'
2011 for ac_prog
in gawk mawk nawk
awk
2013 # Extract the first word of "$ac_prog", so it can be a program name with args.
2014 set dummy
$ac_prog; ac_word
=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_AWK+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$AWK"; then
2021 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_AWK
="$ac_prog"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$AWK"; then
2041 echo "$as_me:$LINENO: result: $AWK" >&5
2042 echo "${ECHO_T}$AWK" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2048 test -n "$AWK" && break
2051 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2052 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2053 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2054 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 cat >conftest.
make <<\_ACEOF
2059 @
echo 'ac_maketemp="$(MAKE)"'
2061 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2062 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2063 if test -n "$ac_maketemp"; then
2064 eval ac_cv_prog_make_
${ac_make}_set
=yes
2066 eval ac_cv_prog_make_
${ac_make}_set
=no
2070 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2071 echo "$as_me:$LINENO: result: yes" >&5
2072 echo "${ECHO_T}yes" >&6
2075 echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6
2077 SET_MAKE
="MAKE=${MAKE-make}"
2080 rm -rf .tst
2>/dev
/null
2081 mkdir .tst
2>/dev
/null
2082 if test -d .tst
; then
2087 rmdir .tst
2>/dev
/null
2089 # test to see if srcdir already configured
2090 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2091 test -f $srcdir/config.status
; then
2092 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2093 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2094 { (exit 1); exit 1; }; }
2097 # test whether we have cygpath
2098 if test -z "$CYGPATH_W"; then
2099 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2100 CYGPATH_W
='cygpath -w'
2107 # Define the identity of the package.
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE "$PACKAGE"
2117 cat >>confdefs.h
<<_ACEOF
2118 #define VERSION "$VERSION"
2121 # Some tools Automake needs.
2123 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2126 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2129 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2132 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2135 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2137 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2139 # Installed binaries are usually stripped using `strip' when the user
2140 # run `make install-strip'. However `strip' might not be the right
2141 # tool to use in cross-compilation environments, therefore Automake
2142 # will honor the `STRIP' environment variable to overrule this program.
2143 if test "$cross_compiling" != no
; then
2144 if test -n "$ac_tool_prefix"; then
2145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2146 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2147 echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2149 if test "${ac_cv_prog_STRIP+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 if test -n "$STRIP"; then
2153 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2162 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 STRIP
=$ac_cv_prog_STRIP
2172 if test -n "$STRIP"; then
2173 echo "$as_me:$LINENO: result: $STRIP" >&5
2174 echo "${ECHO_T}$STRIP" >&6
2176 echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6
2181 if test -z "$ac_cv_prog_STRIP"; then
2183 # Extract the first word of "strip", so it can be a program name with args.
2184 set dummy strip
; ac_word
=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$ac_ct_STRIP"; then
2191 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_ac_ct_STRIP
="strip"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2210 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2211 if test -n "$ac_ct_STRIP"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2213 echo "${ECHO_T}$ac_ct_STRIP" >&6
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2221 STRIP
="$ac_cv_prog_STRIP"
2225 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2227 # We need awk for the "check" target. The system "awk" is bad on
2229 # Always define AMTAR for backward compatibility.
2231 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2234 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2235 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2236 # Loop over all known methods to create a tar archive until one works.
2237 _am_tools
='gnutar plaintar pax cpio none'
2238 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2239 # Do not fold the above two line into one, because Tru64 sh and
2240 # Solaris sh will not grok spaces in the rhs of `-'.
2241 for _am_tool
in $_am_tools
2245 for _am_tar
in tar gnutar gtar
;
2247 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2248 ($_am_tar --version) >&5 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } && break
2253 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2254 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2255 am__untar
="$_am_tar -xf -"
2258 # Must skip GNU tar: if it does not support --format= it doesn't create
2259 # ustar tarball either.
2260 (tar --version) >/dev
/null
2>&1 && continue
2261 am__tar
='tar chf - "$$tardir"'
2262 am__tar_
='tar chf - "$tardir"'
2263 am__untar
='tar xf -'
2266 am__tar
='pax -L -x ustar -w "$$tardir"'
2267 am__tar_
='pax -L -x ustar -w "$tardir"'
2271 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2272 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2273 am__untar
='cpio -i -H ustar -d'
2282 # If the value was cached, stop now. We just wanted to have am__tar
2283 # and am__untar set.
2284 test -n "${am_cv_prog_tar_ustar}" && break
2286 # tar/untar a dummy directory, and stop if the command works
2289 echo GrepMe
> conftest.dir
/file
2290 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2291 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }
2296 if test -s conftest.
tar; then
2297 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2298 ($am__untar <conftest.
tar) >&5 2>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }
2302 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2307 if test "${am_cv_prog_tar_ustar+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 am_cv_prog_tar_ustar
=$_am_tool
2313 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2314 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2320 ac_config_headers
="$ac_config_headers include/config.h"
2326 # Check whether --enable-collections or --disable-collections was given.
2327 if test "${enable_collections+set}" = set; then
2328 enableval
="$enable_collections"
2329 case x
"${enableval}" in
2330 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2331 xno
) COMPILE_COLLECTIONS
=no
;;
2332 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2333 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2336 COMPILE_COLLECTIONS
=no
2340 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2341 CREATE_COLLECTIONS_TRUE
=
2342 CREATE_COLLECTIONS_FALSE
='#'
2344 CREATE_COLLECTIONS_TRUE
='#'
2345 CREATE_COLLECTIONS_FALSE
=
2349 # Check whether --enable-jni or --disable-jni was given.
2350 if test "${enable_jni+set}" = set; then
2351 enableval
="$enable_jni"
2352 case "${enableval}" in
2353 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2354 no
) COMPILE_JNI
=no
;;
2355 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2362 if test "x${COMPILE_JNI}" = xyes
; then
2363 CREATE_JNI_LIBRARIES_TRUE
=
2364 CREATE_JNI_LIBRARIES_FALSE
='#'
2366 CREATE_JNI_LIBRARIES_TRUE
='#'
2367 CREATE_JNI_LIBRARIES_FALSE
=
2371 # Check whether --enable-core-jni or --disable-core-jni was given.
2372 if test "${enable_core_jni+set}" = set; then
2373 enableval
="$enable_core_jni"
2374 case "${enableval}" in
2375 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2376 no
) COMPILE_CORE_JNI
=no
;;
2377 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2380 COMPILE_CORE_JNI
=yes
2384 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2385 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2386 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2388 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2389 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2393 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2394 if test "${enable_default_preferences_peer+set}" = set; then
2395 enableval
="$enable_default_preferences_peer"
2396 case "${enableval}" in
2397 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2398 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2399 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2400 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2401 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2402 { (exit 1); exit 1; }; } ;;
2403 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2406 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2409 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2410 if test "${enable_gconf_peer+set}" = set; then
2411 enableval
="$enable_gconf_peer"
2412 case "${enableval}" in
2413 yes) COMPILE_GCONF_PEER
=yes ;;
2414 no
) COMPILE_GCONF_PEER
=no
;;
2415 *) COMPILE_GCONF_PEER
=yes ;;
2418 COMPILE_GCONF_PEER
=yes
2422 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2423 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2424 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2426 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2427 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2431 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2432 if test "${enable_gconf_peers+set}" = set; then
2433 enableval
="$enable_gconf_peers"
2434 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2435 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2436 { (exit 1); exit 1; }; }
2439 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2440 if test "${enable_gstreamer_peer+set}" = set; then
2441 enableval
="$enable_gstreamer_peer"
2442 case "${enableval}" in
2443 yes) COMPILE_GSTREAMER_PEER
=yes ;;
2444 no
) COMPILE_GSTREAMER_PEER
=no
;;
2445 *) COMPILE_GSTREAMER_PEER
=default
;;
2448 COMPILE_GSTREAMER_PEER
=default
2452 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
2453 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
2454 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
2456 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
2457 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
2461 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2462 if test "${enable_gstreamer_peers+set}" = set; then
2463 enableval
="$enable_gstreamer_peers"
2464 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2465 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2466 { (exit 1); exit 1; }; }
2469 # Check whether --enable-Werror or --disable-Werror was given.
2470 if test "${enable_Werror+set}" = set; then
2471 enableval
="$enable_Werror"
2472 case "${enableval}" in
2473 yes) ENABLE_WERROR
=yes ;;
2474 no
) ENABLE_WERROR
=no
;;
2475 *) ENABLE_WERROR
=default
;;
2478 ENABLE_WERROR
=default
2481 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2482 if test "${enable_default_toolkit+set}" = set; then
2483 enableval
="$enable_default_toolkit"
2486 default_toolkit
=$enable_default_toolkit
2487 if test "$default_toolkit" = ""; then
2488 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2492 # Check whether --enable-xmlj or --disable-xmlj was given.
2493 if test "${enable_xmlj+set}" = set; then
2494 enableval
="$enable_xmlj"
2495 case "${enableval}" in
2496 yes) COMPILE_XMLJ
=yes ;;
2497 no
) COMPILE_XMLJ
=no
;;
2498 *) COMPILE_XMLJ
=no
;;
2505 if test "x${COMPILE_XMLJ}" = xyes
; then
2506 CREATE_XMLJ_LIBRARY_TRUE
=
2507 CREATE_XMLJ_LIBRARY_FALSE
='#'
2509 CREATE_XMLJ_LIBRARY_TRUE
='#'
2510 CREATE_XMLJ_LIBRARY_FALSE
=
2514 DEPDIR
="${am__leading_dot}deps"
2516 ac_config_commands
="$ac_config_commands depfiles"
2519 am_make
=${MAKE-make}
2520 cat > confinc
<< 'END'
2525 # If we don't find an include directive, just comment out the code.
2526 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2527 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2531 # First try GNU make style include.
2532 echo "include confinc" > confmf
2533 # We grep out `Entering directory' and `Leaving directory'
2534 # messages which can occur if `w' ends up in MAKEFLAGS.
2535 # In particular we don't look at `^make:' because GNU make might
2536 # be invoked under some other name (usually "gmake"), in which
2537 # case it prints its new name instead of `make'.
2538 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2543 # Now try BSD make style include.
2544 if test "$am__include" = "#"; then
2545 echo '.include "confinc"' > confmf
2546 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2547 am__include
=.include
2554 echo "$as_me:$LINENO: result: $_am_result" >&5
2555 echo "${ECHO_T}$_am_result" >&6
2556 rm -f confinc confmf
2558 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2559 if test "${enable_dependency_tracking+set}" = set; then
2560 enableval
="$enable_dependency_tracking"
2563 if test "x$enable_dependency_tracking" != xno
; then
2564 am_depcomp
="$ac_aux_dir/depcomp"
2569 if test "x$enable_dependency_tracking" != xno; then
2580 ac_cpp
='$CPP $CPPFLAGS'
2581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2584 if test -n "$ac_tool_prefix"; then
2585 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2586 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2587 echo "$as_me:$LINENO: checking for $ac_word" >&5
2588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2589 if test "${ac_cv_prog_CC+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 if test -n "$CC"; then
2593 ac_cv_prog_CC
="$CC" # Let the user override the test.
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test -n "$CC"; then
2613 echo "$as_me:$LINENO: result: $CC" >&5
2614 echo "${ECHO_T}$CC" >&6
2616 echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6
2621 if test -z "$ac_cv_prog_CC"; then
2623 # Extract the first word of "gcc", so it can be a program name with args.
2624 set dummy gcc
; ac_word
=$2
2625 echo "$as_me:$LINENO: checking for $ac_word" >&5
2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 if test -n "$ac_ct_CC"; then
2631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2640 ac_cv_prog_ac_ct_CC
="gcc"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2650 if test -n "$ac_ct_CC"; then
2651 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2652 echo "${ECHO_T}$ac_ct_CC" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2663 if test -z "$CC"; then
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2666 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2667 echo "$as_me:$LINENO: checking for $ac_word" >&5
2668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2669 if test "${ac_cv_prog_CC+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC
="$CC" # Let the user override the test.
2675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir
=.
2680 for ac_exec_ext
in '' $ac_executable_extensions; do
2681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2701 if test -z "$ac_cv_prog_CC"; then
2703 # Extract the first word of "cc", so it can be a program name with args.
2704 set dummy cc
; ac_word
=$2
2705 echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2707 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 if test -n "$ac_ct_CC"; then
2711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2720 ac_cv_prog_ac_ct_CC
="cc"
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2730 if test -n "$ac_ct_CC"; then
2731 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2732 echo "${ECHO_T}$ac_ct_CC" >&6
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2744 if test -z "$CC"; then
2745 # Extract the first word of "cc", so it can be a program name with args.
2746 set dummy cc
; ac_word
=$2
2747 echo "$as_me:$LINENO: checking for $ac_word" >&5
2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2749 if test "${ac_cv_prog_CC+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 if test -n "$CC"; then
2753 ac_cv_prog_CC
="$CC" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2764 ac_prog_rejected
=yes
2768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2774 if test $ac_prog_rejected = yes; then
2775 # We found a bogon in the path, so make sure we never use it.
2776 set dummy
$ac_cv_prog_CC
2778 if test $# != 0; then
2779 # We chose a different compiler from the bogus one.
2780 # However, it has the same basename, so the bogon will be chosen
2781 # first if we set CC to just the basename; use the full file name.
2783 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2789 if test -n "$CC"; then
2790 echo "$as_me:$LINENO: result: $CC" >&5
2791 echo "${ECHO_T}$CC" >&6
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2798 if test -z "$CC"; then
2799 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2803 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2804 echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2806 if test "${ac_cv_prog_CC+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC
="$CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 if test -n "$CC"; then
2830 echo "$as_me:$LINENO: result: $CC" >&5
2831 echo "${ECHO_T}$CC" >&6
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2837 test -n "$CC" && break
2840 if test -z "$CC"; then
2844 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy
$ac_prog; ac_word
=$2
2846 echo "$as_me:$LINENO: checking for $ac_word" >&5
2847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2849 echo $ECHO_N "(cached) $ECHO_C" >&6
2851 if test -n "$ac_ct_CC"; then
2852 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir
=.
2859 for ac_exec_ext
in '' $ac_executable_extensions; do
2860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_ac_ct_CC
="$ac_prog"
2862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2873 echo "${ECHO_T}$ac_ct_CC" >&6
2875 echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6
2879 test -n "$ac_ct_CC" && break
2888 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2889 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&2;}
2894 { (exit 1); exit 1; }; }; }
2896 # Provide some information about the compiler.
2897 echo "$as_me:$LINENO:" \
2898 "checking for C compiler version" >&5
2899 ac_compiler
=`set X $ac_compile; echo $2`
2900 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2901 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }
2905 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2906 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }
2910 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2911 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }
2916 cat >conftest.
$ac_ext <<_ACEOF
2919 cat confdefs.h
>>conftest.
$ac_ext
2920 cat >>conftest.
$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2933 (eval $ac_link) 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; then
2942 if test x
$gcc_no_link = xyes
; then
2943 # Setting cross_compile will disable run tests; it will
2944 # also disable AC_CHECK_FILE but that's generally
2945 # correct if we can't link.
2949 cat >conftest.
$ac_ext <<_ACEOF
2952 cat confdefs.h
>>conftest.
$ac_ext
2953 cat >>conftest.
$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 ac_clean_files_save
=$ac_clean_files
2965 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2966 # Try to create an executable without -o first, disregard a.out.
2967 # It will help us diagnose broken compilers, and finding out an intuition
2969 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2970 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2971 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2972 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2973 (eval $ac_link_default) 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; then
2977 # Find the output, starting from the most likely. This scheme is
2978 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2981 # Be careful to initialize this variable, since it used to be cached.
2982 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2984 # b.out is created by i960 compilers.
2985 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2987 test -f "$ac_file" ||
continue
2989 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2992 # This is the source file.
2995 # We found the default executable, but exeext='' is most
2999 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3000 # FIXME: I believe we export ac_cv_exeext for Libtool,
3001 # but it would be cool to find out if it's true. Does anybody
3002 # maintain Libtool? --akim.
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.
$ac_ext >&5
3013 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3014 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3016 See \`config.log' for more details." >&5
3017 echo "$as_me: error: C compiler cannot create executables
3018 See \`config.log' for more details." >&2;}
3019 { (exit 77); exit 77; }; }; }
3022 ac_exeext
=$ac_cv_exeext
3023 echo "$as_me:$LINENO: result: $ac_file" >&5
3024 echo "${ECHO_T}$ac_file" >&6
3026 # Check the compiler produces executables we can run. If not, either
3027 # the compiler is broken, or we cross compile.
3028 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3031 # If not cross compiling, check that we can run a simple program.
3032 if test "$cross_compiling" != yes; then
3033 if { ac_try
='./$ac_file'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; }; then
3041 if test "$cross_compiling" = maybe
; then
3044 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3045 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3047 If you meant to cross compile, use \`--host'.
3048 See \`config.log' for more details." >&5
3049 echo "$as_me: error: cannot run C compiled programs.
3050 If you meant to cross compile, use \`--host'.
3051 See \`config.log' for more details." >&2;}
3052 { (exit 1); exit 1; }; }; }
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3059 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3060 ac_clean_files
=$ac_clean_files_save
3061 # Check the compiler produces executables we can run. If not, either
3062 # the compiler is broken, or we cross compile.
3063 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3064 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3065 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3066 echo "${ECHO_T}$cross_compiling" >&6
3068 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3069 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3071 (eval $ac_link) 2>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }; then
3075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3077 # work properly (i.e., refer to `conftest.exe'), while it won't with
3079 for ac_file
in conftest.exe conftest conftest.
*; do
3080 test -f "$ac_file" ||
continue
3082 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3083 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3091 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3093 See \`config.log' for more details." >&5
3094 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3095 See \`config.log' for more details." >&2;}
3096 { (exit 1); exit 1; }; }; }
3099 rm -f conftest
$ac_cv_exeext
3100 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3101 echo "${ECHO_T}$ac_cv_exeext" >&6
3103 rm -f conftest.
$ac_ext
3104 EXEEXT
=$ac_cv_exeext
3107 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3108 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3109 if test "${ac_cv_objext+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 cat >conftest.
$ac_ext <<_ACEOF
3115 cat confdefs.h
>>conftest.
$ac_ext
3116 cat >>conftest.
$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3127 rm -f conftest.o conftest.obj
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; then
3133 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3135 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3136 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.
$ac_ext >&5
3144 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3145 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3146 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3147 See \`config.log' for more details." >&5
3148 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3149 See \`config.log' for more details." >&2;}
3150 { (exit 1); exit 1; }; }; }
3153 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3155 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3156 echo "${ECHO_T}$ac_cv_objext" >&6
3157 OBJEXT
=$ac_cv_objext
3159 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3160 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3161 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 cat >conftest.
$ac_ext <<_ACEOF
3167 cat confdefs.h
>>conftest.
$ac_ext
3168 cat >>conftest.
$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3182 rm -f conftest.
$ac_objext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3184 (eval $ac_compile) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1
>conftest.err
3188 cat conftest.err
>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } &&
3191 { ac_try
='test -z "$ac_c_werror_flag"
3192 || test ! -s conftest.err'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; } &&
3198 { ac_try
='test -s conftest.$ac_objext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.
$ac_ext >&5
3211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3212 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3215 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3216 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3217 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3218 ac_test_CFLAGS
=${CFLAGS+set}
3219 ac_save_CFLAGS
=$CFLAGS
3221 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3222 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3223 if test "${ac_cv_prog_cc_g+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 cat >conftest.
$ac_ext <<_ACEOF
3229 cat confdefs.h
>>conftest.
$ac_ext
3230 cat >>conftest.
$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3241 rm -f conftest.
$ac_objext
3242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3243 (eval $ac_compile) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1
>conftest.err
3247 cat conftest.err
>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try
='test -z "$ac_c_werror_flag"
3251 || test ! -s conftest.err'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; } &&
3257 { ac_try
='test -s conftest.$ac_objext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.
$ac_ext >&5
3270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3272 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3273 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3274 if test "$ac_test_CFLAGS" = set; then
3275 CFLAGS
=$ac_save_CFLAGS
3276 elif test $ac_cv_prog_cc_g = yes; then
3277 if test "$GCC" = yes; then
3283 if test "$GCC" = yes; then
3289 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3290 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3291 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 ac_cv_prog_cc_stdc
=no
3296 cat >conftest.
$ac_ext <<_ACEOF
3299 cat confdefs.h
>>conftest.
$ac_ext
3300 cat >>conftest.
$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3304 #include <sys/types.h>
3305 #include <sys/stat.h>
3306 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3307 struct buf { int x; };
3308 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3309 static char *e (p, i)
3315 static char *f (char * (*g) (char **, int), char **p, ...)
3320 s = g (p, va_arg (v,int));
3325 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3326 function prototypes and stuff, but not '\xHH' hex character constants.
3327 These don't provoke an error unfortunately, instead are silently treated
3328 as 'x'. The following induces an error, until -std1 is added to get
3329 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3330 array size at least. It's necessary to write '\x00'==0 to get something
3331 that's true only with -std1. */
3332 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3334 int test (int i, double x);
3335 struct s1 {int (*f) (int a);};
3336 struct s2 {int (*f) (double a);};
3337 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3343 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3348 # Don't try gcc -ansi; that turns off useful extensions and
3349 # breaks some systems' header files.
3350 # AIX -qlanglvl=ansi
3351 # Ultrix and OSF/1 -std1
3352 # HP-UX 10.20 and later -Ae
3353 # HP-UX older versions -Aa -D_HPUX_SOURCE
3354 # SVR4 -Xc -D__EXTENSIONS__
3355 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3357 CC
="$ac_save_CC $ac_arg"
3358 rm -f conftest.
$ac_objext
3359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3360 (eval $ac_compile) 2>conftest.er1
3362 grep -v '^ *+' conftest.er1
>conftest.err
3364 cat conftest.err
>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } &&
3367 { ac_try
='test -z "$ac_c_werror_flag"
3368 || test ! -s conftest.err'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; } &&
3374 { ac_try
='test -s conftest.$ac_objext'
3375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; }; then
3380 ac_cv_prog_cc_stdc
=$ac_arg
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.
$ac_ext >&5
3387 rm -f conftest.err conftest.
$ac_objext
3389 rm -f conftest.
$ac_ext conftest.
$ac_objext
3394 case "x$ac_cv_prog_cc_stdc" in
3396 echo "$as_me:$LINENO: result: none needed" >&5
3397 echo "${ECHO_T}none needed" >&6 ;;
3399 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3400 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3401 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3404 # Some people use a C++ compiler to compile C. Since we use `exit',
3405 # in C++ we need to declare it. In case someone uses the same compiler
3406 # for both compiling C and C++ we need to have the C++ compiler decide
3407 # the declaration of exit, since it's the most demanding environment.
3408 cat >conftest.
$ac_ext <<_ACEOF
3413 rm -f conftest.
$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3417 grep -v '^ *+' conftest.er1
>conftest.err
3419 cat conftest.err
>&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try
='test -z "$ac_c_werror_flag"
3423 || test ! -s conftest.err'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; } &&
3429 { ac_try
='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 for ac_declaration
in \
3437 'extern "C" void std::exit (int) throw (); using std::exit;' \
3438 'extern "C" void std::exit (int); using std::exit;' \
3439 'extern "C" void exit (int) throw ();' \
3440 'extern "C" void exit (int);' \
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3459 rm -f conftest.
$ac_objext
3460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3461 (eval $ac_compile) 2>conftest.er1
3463 grep -v '^ *+' conftest.er1
>conftest.err
3465 cat conftest.err
>&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } &&
3468 { ac_try
='test -z "$ac_c_werror_flag"
3469 || test ! -s conftest.err'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; } &&
3475 { ac_try
='test -s conftest.$ac_objext'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; }; then
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.
$ac_ext >&5
3488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3489 cat >conftest.
$ac_ext <<_ACEOF
3492 cat confdefs.h
>>conftest.
$ac_ext
3493 cat >>conftest.
$ac_ext <<_ACEOF
3494 /* end confdefs.h. */
3504 rm -f conftest.
$ac_objext
3505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3506 (eval $ac_compile) 2>conftest.er1
3508 grep -v '^ *+' conftest.er1
>conftest.err
3510 cat conftest.err
>&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } &&
3513 { ac_try
='test -z "$ac_c_werror_flag"
3514 || test ! -s conftest.err'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; } &&
3520 { ac_try
='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.
$ac_ext >&5
3532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3535 if test -n "$ac_declaration"; then
3536 echo '#ifdef __cplusplus' >>confdefs.h
3537 echo $ac_declaration >>confdefs.h
3538 echo '#endif' >>confdefs.h
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.
$ac_ext >&5
3546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3548 ac_cpp
='$CPP $CPPFLAGS'
3549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3553 depcc
="$CC" am_compiler_list
=
3555 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3556 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3557 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3561 # We make a subdir and do the tests there. Otherwise we can end up
3562 # making bogus files that we don't know about and never remove. For
3563 # instance it was reported that on HP-UX the gcc test will end up
3564 # making a dummy file named `D' -- because `-MD' means `put the output
3567 # Copy depcomp to subdir because otherwise we won't find it if we're
3568 # using a relative directory.
3569 cp "$am_depcomp" conftest.dir
3571 # We will build objects and dependencies in a subdirectory because
3572 # it helps to detect inapplicable dependency modes. For instance
3573 # both Tru64's cc and ICC support -MD to output dependencies as a
3574 # side effect of compilation, but ICC will put the dependencies in
3575 # the current directory while Tru64 will put them in the object
3579 am_cv_CC_dependencies_compiler_type
=none
3580 if test "$am_compiler_list" = ""; then
3581 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3583 for depmode
in $am_compiler_list; do
3584 # Setup a source with many dependencies, because some compilers
3585 # like to wrap large dependency lists on column 80 (with \), and
3586 # we should not choose a depcomp mode which is confused by this.
3588 # We need to recreate these files for each test, as the compiler may
3589 # overwrite some of them when testing with obscure command lines.
3590 # This happens at least with the AIX C compiler.
3592 for i
in 1 2 3 4 5 6; do
3593 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3594 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3595 # Solaris 8's {/usr,}/bin/sh.
3596 touch sub
/conftst
$i.h
3598 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3602 # after this tag, mechanisms are not by side-effect, so they'll
3603 # only be used when explicitly requested
3604 if test "x$enable_dependency_tracking" = xyes
; then
3612 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3613 # mode. It turns out that the SunPro C++ compiler does not properly
3614 # handle `-M -o', and we need to detect this.
3615 if depmode
=$depmode \
3616 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3617 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3618 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3619 >/dev
/null
2>conftest.err
&&
3620 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3621 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3622 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3623 # icc doesn't choke on unknown options, it will just issue warnings
3624 # or remarks (even with -Werror). So we grep stderr for any message
3625 # that says an option was ignored or not supported.
3626 # When given -MP, icc 7.0 and 7.1 complain thusly:
3627 # icc: Command line warning: ignoring option '-M'; no argument required
3628 # The diagnosis changed in icc 8.0:
3629 # icc: Command line remark: option '-MP' not supported
3630 if (grep 'ignoring option' conftest.err ||
3631 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3632 am_cv_CC_dependencies_compiler_type
=$depmode
3641 am_cv_CC_dependencies_compiler_type
=none
3645 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3646 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3647 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3652 test "x$enable_dependency_tracking" != xno \
3653 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3655 am__fastdepCC_FALSE
='#'
3657 am__fastdepCC_TRUE
='#'
3658 am__fastdepCC_FALSE
=
3664 ac_cpp
='$CPP $CPPFLAGS'
3665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3668 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3669 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3670 # On Suns, sometimes $CPP names a directory.
3671 if test -n "$CPP" && test -d "$CPP"; then
3674 if test -z "$CPP"; then
3675 if test "${ac_cv_prog_CPP+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 # Double quotes because CPP needs to be expanded
3679 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3682 for ac_c_preproc_warn_flag
in '' yes
3684 # Use a header file that comes with gcc, so configuring glibc
3685 # with a fresh cross-compiler works.
3686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3687 # <limits.h> exists even on freestanding compilers.
3688 # On the NeXT, cc -E runs the code through the compiler's parser,
3689 # not just through cpp. "Syntax error" is here to catch this case.
3690 cat >conftest.
$ac_ext <<_ACEOF
3693 cat confdefs.h
>>conftest.
$ac_ext
3694 cat >>conftest.
$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3697 # include <limits.h>
3699 # include <assert.h>
3703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3706 grep -v '^ *+' conftest.er1
>conftest.err
3708 cat conftest.err
>&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } >/dev
/null
; then
3711 if test -s conftest.err
; then
3712 ac_cpp_err
=$ac_c_preproc_warn_flag
3713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3720 if test -z "$ac_cpp_err"; then
3723 echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.
$ac_ext >&5
3726 # Broken: fails on valid input.
3729 rm -f conftest.err conftest.
$ac_ext
3731 # OK, works on sane cases. Now check whether non-existent headers
3732 # can be detected and how.
3733 cat >conftest.
$ac_ext <<_ACEOF
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3739 #include <ac_nonexistent.h>
3741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3744 grep -v '^ *+' conftest.er1
>conftest.err
3746 cat conftest.err
>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } >/dev
/null
; then
3749 if test -s conftest.err
; then
3750 ac_cpp_err
=$ac_c_preproc_warn_flag
3751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3758 if test -z "$ac_cpp_err"; then
3759 # Broken: success on invalid input.
3762 echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.
$ac_ext >&5
3765 # Passes both tests.
3769 rm -f conftest.err conftest.
$ac_ext
3772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3773 rm -f conftest.err conftest.
$ac_ext
3774 if $ac_preproc_ok; then
3786 echo "$as_me:$LINENO: result: $CPP" >&5
3787 echo "${ECHO_T}$CPP" >&6
3789 for ac_c_preproc_warn_flag
in '' yes
3791 # Use a header file that comes with gcc, so configuring glibc
3792 # with a fresh cross-compiler works.
3793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3794 # <limits.h> exists even on freestanding compilers.
3795 # On the NeXT, cc -E runs the code through the compiler's parser,
3796 # not just through cpp. "Syntax error" is here to catch this case.
3797 cat >conftest.
$ac_ext <<_ACEOF
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3804 # include <limits.h>
3806 # include <assert.h>
3810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3813 grep -v '^ *+' conftest.er1
>conftest.err
3815 cat conftest.err
>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev
/null
; then
3818 if test -s conftest.err
; then
3819 ac_cpp_err
=$ac_c_preproc_warn_flag
3820 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3827 if test -z "$ac_cpp_err"; then
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.
$ac_ext >&5
3833 # Broken: fails on valid input.
3836 rm -f conftest.err conftest.
$ac_ext
3838 # OK, works on sane cases. Now check whether non-existent headers
3839 # can be detected and how.
3840 cat >conftest.
$ac_ext <<_ACEOF
3843 cat confdefs.h
>>conftest.
$ac_ext
3844 cat >>conftest.
$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3846 #include <ac_nonexistent.h>
3848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } >/dev
/null
; then
3856 if test -s conftest.err
; then
3857 ac_cpp_err
=$ac_c_preproc_warn_flag
3858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3865 if test -z "$ac_cpp_err"; then
3866 # Broken: success on invalid input.
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3872 # Passes both tests.
3876 rm -f conftest.err conftest.
$ac_ext
3879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3880 rm -f conftest.err conftest.
$ac_ext
3881 if $ac_preproc_ok; then
3884 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3885 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3887 See \`config.log' for more details." >&5
3888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3889 See \`config.log' for more details." >&2;}
3890 { (exit 1); exit 1; }; }; }
3894 ac_cpp
='$CPP $CPPFLAGS'
3895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3900 echo "$as_me:$LINENO: checking for egrep" >&5
3901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3902 if test "${ac_cv_prog_egrep+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3906 then ac_cv_prog_egrep
='grep -E'
3907 else ac_cv_prog_egrep
='egrep'
3910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3912 EGREP
=$ac_cv_prog_egrep
3915 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3916 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3917 if test "${ac_cv_header_stdc+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 cat >conftest.
$ac_ext <<_ACEOF
3923 cat confdefs.h
>>conftest.
$ac_ext
3924 cat >>conftest.
$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3939 rm -f conftest.
$ac_objext
3940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3941 (eval $ac_compile) 2>conftest.er1
3943 grep -v '^ *+' conftest.er1
>conftest.err
3945 cat conftest.err
>&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); } &&
3948 { ac_try
='test -z "$ac_c_werror_flag"
3949 || test ! -s conftest.err'
3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; } &&
3955 { ac_try
='test -s conftest.$ac_objext'
3956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); }; }; then
3961 ac_cv_header_stdc
=yes
3963 echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.
$ac_ext >&5
3966 ac_cv_header_stdc
=no
3968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3970 if test $ac_cv_header_stdc = yes; then
3971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3972 cat >conftest.
$ac_ext <<_ACEOF
3975 cat confdefs.h
>>conftest.
$ac_ext
3976 cat >>conftest.
$ac_ext <<_ACEOF
3977 /* end confdefs.h. */
3981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3982 $EGREP "memchr" >/dev
/null
2>&1; then
3985 ac_cv_header_stdc
=no
3991 if test $ac_cv_header_stdc = yes; then
3992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3993 cat >conftest.
$ac_ext <<_ACEOF
3996 cat confdefs.h
>>conftest.
$ac_ext
3997 cat >>conftest.
$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4003 $EGREP "free" >/dev
/null
2>&1; then
4006 ac_cv_header_stdc
=no
4012 if test $ac_cv_header_stdc = yes; then
4013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4014 if test "$cross_compiling" = yes; then
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4024 #if ((' ' & 0x0FF) == 0x020)
4025 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4026 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4028 # define ISLOWER(c) \
4029 (('a' <= (c) && (c) <= 'i') \
4030 || ('j' <= (c) && (c) <= 'r') \
4031 || ('s' <= (c) && (c) <= 'z'))
4032 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4035 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4040 for (i = 0; i < 256; i++)
4041 if (XOR (islower (i), ISLOWER (i))
4042 || toupper (i) != TOUPPER (i))
4047 rm -f conftest
$ac_exeext
4048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4049 (eval $ac_link) 2>&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4060 echo "$as_me: program exited with status $ac_status" >&5
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.
$ac_ext >&5
4065 ac_cv_header_stdc
=no
4067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4071 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4072 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4073 if test $ac_cv_header_stdc = yes; then
4075 cat >>confdefs.h
<<\_ACEOF
4076 #define STDC_HEADERS 1
4081 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4091 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4092 inttypes.h stdint.h unistd.h
4094 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4095 echo "$as_me:$LINENO: checking for $ac_header" >&5
4096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 $ac_includes_default
4108 #include <$ac_header>
4110 rm -f conftest.
$ac_objext
4111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112 (eval $ac_compile) 2>conftest.er1
4114 grep -v '^ *+' conftest.er1
>conftest.err
4116 cat conftest.err
>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } &&
4119 { ac_try
='test -z "$ac_c_werror_flag"
4120 || test ! -s conftest.err'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; } &&
4126 { ac_try
='test -s conftest.$ac_objext'
4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; }; then
4132 eval "$as_ac_Header=yes"
4134 echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.
$ac_ext >&5
4137 eval "$as_ac_Header=no"
4139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4144 cat >>confdefs.h
<<_ACEOF
4145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4153 # Check whether --enable-alsa or --disable-alsa was given.
4154 if test "${enable_alsa+set}" = set; then
4155 enableval
="$enable_alsa"
4156 case "${enableval}" in
4157 yes) COMPILE_ALSA
=yes ;;
4158 no
) COMPILE_ALSA
=no
;;
4159 *) COMPILE_ALSA
=yes ;;
4163 for ac_header
in alsa
/asoundlib.h
4165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4167 echo "$as_me:$LINENO: checking for $ac_header" >&5
4168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4175 # Is the header compilable?
4176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4178 cat >conftest.
$ac_ext <<_ACEOF
4181 cat confdefs.h
>>conftest.
$ac_ext
4182 cat >>conftest.
$ac_ext <<_ACEOF
4183 /* end confdefs.h. */
4184 $ac_includes_default
4185 #include <$ac_header>
4187 rm -f conftest.
$ac_objext
4188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4189 (eval $ac_compile) 2>conftest.er1
4191 grep -v '^ *+' conftest.er1
>conftest.err
4193 cat conftest.err
>&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } &&
4196 { ac_try
='test -z "$ac_c_werror_flag"
4197 || test ! -s conftest.err'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try
='test -s conftest.$ac_objext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_header_compiler
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_header_compiler
=no
4216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4218 echo "${ECHO_T}$ac_header_compiler" >&6
4220 # Is the header present?
4221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4223 cat >conftest.
$ac_ext <<_ACEOF
4226 cat confdefs.h
>>conftest.
$ac_ext
4227 cat >>conftest.
$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4229 #include <$ac_header>
4231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4234 grep -v '^ *+' conftest.er1
>conftest.err
4236 cat conftest.err
>&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } >/dev
/null
; then
4239 if test -s conftest.err
; then
4240 ac_cpp_err
=$ac_c_preproc_warn_flag
4241 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4248 if test -z "$ac_cpp_err"; then
4249 ac_header_preproc
=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4254 ac_header_preproc
=no
4256 rm -f conftest.err conftest.
$ac_ext
4257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4258 echo "${ECHO_T}$ac_header_preproc" >&6
4260 # So? What about this header?
4261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4267 ac_header_preproc
=yes
4270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4284 ## -------------------------------- ##
4285 ## Report this to classpath@gnu.org ##
4286 ## -------------------------------- ##
4289 sed "s/^/$as_me: WARNING: /" >&2
4292 echo "$as_me:$LINENO: checking for $ac_header" >&5
4293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 eval "$as_ac_Header=\$ac_header_preproc"
4299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4304 cat >>confdefs.h
<<_ACEOF
4305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4307 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4308 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4309 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 ac_check_lib_save_LIBS
=$LIBS
4313 LIBS
="-lasound $LIBS"
4314 if test x
$gcc_no_link = xyes
; then
4315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4317 { (exit 1); exit 1; }; }
4319 cat >conftest.
$ac_ext <<_ACEOF
4322 cat confdefs.h
>>conftest.
$ac_ext
4323 cat >>conftest.
$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4326 /* Override any gcc2 internal prototype to avoid an error. */
4330 /* We use char because int might match the return type of a gcc2
4331 builtin and then its argument prototype would still apply. */
4332 char snd_seq_open ();
4341 rm -f conftest.
$ac_objext conftest
$ac_exeext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4343 (eval $ac_link) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } &&
4350 { ac_try
='test -z "$ac_c_werror_flag"
4351 || test ! -s conftest.err'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; } &&
4357 { ac_try
='test -s conftest$ac_exeext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_cv_lib_asound_snd_seq_open
=yes
4365 echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.
$ac_ext >&5
4368 ac_cv_lib_asound_snd_seq_open
=no
4370 rm -f conftest.err conftest.
$ac_objext \
4371 conftest
$ac_exeext conftest.
$ac_ext
4372 LIBS
=$ac_check_lib_save_LIBS
4374 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4375 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4376 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4391 if test "x${COMPILE_ALSA}" = xyes
; then
4392 CREATE_ALSA_LIBRARIES_TRUE
=
4393 CREATE_ALSA_LIBRARIES_FALSE
='#'
4395 CREATE_ALSA_LIBRARIES_TRUE
='#'
4396 CREATE_ALSA_LIBRARIES_FALSE
=
4400 # Check whether --enable-dssi or --disable-dssi was given.
4401 if test "${enable_dssi+set}" = set; then
4402 enableval
="$enable_dssi"
4403 case "${enableval}" in
4404 yes) COMPILE_DSSI
=yes ;;
4405 no
) COMPILE_DSSI
=no
;;
4406 *) COMPILE_DSSI
=yes ;;
4411 for ac_header
in dssi.h
4413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4415 echo "$as_me:$LINENO: checking for $ac_header" >&5
4416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4423 # Is the header compilable?
4424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4426 cat >conftest.
$ac_ext <<_ACEOF
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4432 $ac_includes_default
4433 #include <$ac_header>
4435 rm -f conftest.
$ac_objext
4436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4437 (eval $ac_compile) 2>conftest.er1
4439 grep -v '^ *+' conftest.er1
>conftest.err
4441 cat conftest.err
>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } &&
4444 { ac_try
='test -z "$ac_c_werror_flag"
4445 || test ! -s conftest.err'
4446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); }; } &&
4451 { ac_try
='test -s conftest.$ac_objext'
4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; }; then
4457 ac_header_compiler
=yes
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.
$ac_ext >&5
4462 ac_header_compiler
=no
4464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4466 echo "${ECHO_T}$ac_header_compiler" >&6
4468 # Is the header present?
4469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4471 cat >conftest.
$ac_ext <<_ACEOF
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 #include <$ac_header>
4479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4482 grep -v '^ *+' conftest.er1
>conftest.err
4484 cat conftest.err
>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } >/dev
/null
; then
4487 if test -s conftest.err
; then
4488 ac_cpp_err
=$ac_c_preproc_warn_flag
4489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4496 if test -z "$ac_cpp_err"; then
4497 ac_header_preproc
=yes
4499 echo "$as_me: failed program was:" >&5
4500 sed 's/^/| /' conftest.
$ac_ext >&5
4502 ac_header_preproc
=no
4504 rm -f conftest.err conftest.
$ac_ext
4505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4506 echo "${ECHO_T}$ac_header_preproc" >&6
4508 # So? What about this header?
4509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4515 ac_header_preproc
=yes
4518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4532 ## -------------------------------- ##
4533 ## Report this to classpath@gnu.org ##
4534 ## -------------------------------- ##
4537 sed "s/^/$as_me: WARNING: /" >&2
4540 echo "$as_me:$LINENO: checking for $ac_header" >&5
4541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 eval "$as_ac_Header=\$ac_header_preproc"
4547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4552 cat >>confdefs.h
<<_ACEOF
4553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4557 for ac_header
in jack
/jack.h
4559 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4561 echo "$as_me:$LINENO: checking for $ac_header" >&5
4562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4569 # Is the header compilable?
4570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4572 cat >conftest.
$ac_ext <<_ACEOF
4575 cat confdefs.h
>>conftest.
$ac_ext
4576 cat >>conftest.
$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4578 $ac_includes_default
4579 #include <$ac_header>
4581 rm -f conftest.
$ac_objext
4582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4583 (eval $ac_compile) 2>conftest.er1
4585 grep -v '^ *+' conftest.er1
>conftest.err
4587 cat conftest.err
>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } &&
4590 { ac_try
='test -z "$ac_c_werror_flag"
4591 || test ! -s conftest.err'
4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; } &&
4597 { ac_try
='test -s conftest.$ac_objext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_header_compiler
=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.
$ac_ext >&5
4608 ac_header_compiler
=no
4610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4612 echo "${ECHO_T}$ac_header_compiler" >&6
4614 # Is the header present?
4615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4617 cat >conftest.
$ac_ext <<_ACEOF
4620 cat confdefs.h
>>conftest.
$ac_ext
4621 cat >>conftest.
$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4623 #include <$ac_header>
4625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } >/dev
/null
; then
4633 if test -s conftest.err
; then
4634 ac_cpp_err
=$ac_c_preproc_warn_flag
4635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4642 if test -z "$ac_cpp_err"; then
4643 ac_header_preproc
=yes
4645 echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.
$ac_ext >&5
4648 ac_header_preproc
=no
4650 rm -f conftest.err conftest.
$ac_ext
4651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4652 echo "${ECHO_T}$ac_header_preproc" >&6
4654 # So? What about this header?
4655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4661 ac_header_preproc
=yes
4664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4678 ## -------------------------------- ##
4679 ## Report this to classpath@gnu.org ##
4680 ## -------------------------------- ##
4683 sed "s/^/$as_me: WARNING: /" >&2
4686 echo "$as_me:$LINENO: checking for $ac_header" >&5
4687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 eval "$as_ac_Header=\$ac_header_preproc"
4693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4698 cat >>confdefs.h
<<_ACEOF
4699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4713 if test "x${COMPILE_DSSI}" = xyes
; then
4714 CREATE_DSSI_LIBRARIES_TRUE
=
4715 CREATE_DSSI_LIBRARIES_FALSE
='#'
4717 CREATE_DSSI_LIBRARIES_TRUE
='#'
4718 CREATE_DSSI_LIBRARIES_FALSE
=
4722 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4723 if test "${enable_gtk_peer+set}" = set; then
4724 enableval
="$enable_gtk_peer"
4725 case "${enableval}" in
4726 yes) COMPILE_GTK_PEER
=yes ;;
4727 no
) COMPILE_GTK_PEER
=no
;;
4728 *) COMPILE_GTK_PEER
=yes ;;
4731 COMPILE_GTK_PEER
=yes
4735 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4736 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4737 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4739 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4740 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4744 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4745 if test "${enable_gtk_peers+set}" = set; then
4746 enableval
="$enable_gtk_peers"
4747 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4748 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4749 { (exit 1); exit 1; }; }
4752 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4753 if test "${enable_qt_peer+set}" = set; then
4754 enableval
="$enable_qt_peer"
4755 case "${enableval}" in
4756 yes) COMPILE_QT_PEER
=yes ;;
4757 no
) COMPILE_QT_PEER
=no
;;
4758 *) COMPILE_QT_PEER
=yes ;;
4765 if test "x${COMPILE_QT_PEER}" = xyes
; then
4766 CREATE_QT_PEER_LIBRARIES_TRUE
=
4767 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4769 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4770 CREATE_QT_PEER_LIBRARIES_FALSE
=
4774 # Check whether --enable-plugin or --disable-plugin was given.
4775 if test "${enable_plugin+set}" = set; then
4776 enableval
="$enable_plugin"
4777 case "${enableval}" in
4778 yes) COMPILE_PLUGIN
=yes ;;
4779 no
) COMPILE_PLUGIN
=no
;;
4780 *) COMPILE_PLUGIN
=yes ;;
4787 if test "x${COMPILE_PLUGIN}" = xyes
; then
4789 CREATE_PLUGIN_FALSE
='#'
4791 CREATE_PLUGIN_TRUE
='#'
4792 CREATE_PLUGIN_FALSE
=
4796 # Check whether --enable-gmp or --disable-gmp was given.
4797 if test "${enable_gmp+set}" = set; then
4798 enableval
="$enable_gmp"
4799 case "${enableval}" in
4800 yes|true
) COMPILE_GMP
=yes ;;
4801 no|false
) COMPILE_GMP
=no
;;
4802 *) COMPILE_GMP
=yes ;;
4808 # Check whether --enable-gjdoc or --disable-gjdoc was given.
4809 if test "${enable_gjdoc+set}" = set; then
4810 enableval
="$enable_gjdoc"
4811 case "${enableval}" in
4812 yes) COMPILE_GJDOC
=yes ;;
4813 no
) COMPILE_GJDOC
=no
;;
4814 *) COMPILE_GJDOC
=yes ;;
4821 if test "x${COMPILE_GJDOC}" = xyes
; then
4823 CREATE_GJDOC_FALSE
='#'
4825 CREATE_GJDOC_TRUE
='#'
4831 multi_os_directory
=`$CC -print-multi-os-directory`
4832 case $multi_os_directory in
4833 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4834 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4840 # Check whether --with-native-libdir or --without-native-libdir was given.
4841 if test "${with_native_libdir+set}" = set; then
4842 withval
="$with_native_libdir"
4844 nativeexeclibdir
=${withval}
4848 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
4855 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4856 if test "${with_glibj_dir+set}" = set; then
4857 withval="$with_glibj_dir"
4863 glibjdir='${datadir}/${PACKAGE}'
4870 # Check whether --with-antlr-jar or --without-antlr-jar was given.
4871 if test "${with_antlr_jar+set}" = set; then
4872 withval="$with_antlr_jar"
4878 ANTLR_JAR="$ANTLR_JAR"
4882 echo "$as_me:$LINENO: checking whether to regenerate the headers" >&5
4883 echo $ECHO_N "checking whether to regenerate the headers... $ECHO_C" >&6
4884 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4885 if test "${enable_regen_headers+set}" = set; then
4886 enableval="$enable_regen_headers"
4887 case "${enableval}" in
4888 yes) REGENERATE_JNI_HEADERS=yes ;;
4889 no) REGENERATE_JNI_HEADERS=no ;;
4890 *) REGENERATE_JNI_HEADERS=yes ;;
4893 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
4894 REGENERATE_JNI_HEADERS=no ;
4896 REGENERATE_JNI_HEADERS=yes ;
4899 echo "$as_me:$LINENO: result: ${REGENERATE_JNI_HEADERS}" >&5
4900 echo "${ECHO_T}${REGENERATE_JNI_HEADERS}" >&6
4903 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4904 CREATE_JNI_HEADERS_TRUE=
4905 CREATE_JNI_HEADERS_FALSE='#'
4907 CREATE_JNI_HEADERS_TRUE='#'
4908 CREATE_JNI_HEADERS_FALSE=
4912 echo "$as_me:$LINENO: checking whether to regenerate the GJDoc parser" >&5
4913 echo $ECHO_N "checking whether to regenerate the GJDoc parser... $ECHO_C" >&6
4914 # Check whether --enable-regen-gjdoc-parser or --disable-regen-gjdoc-parser was given.
4915 if test "${enable_regen_gjdoc_parser+set}" = set; then
4916 enableval="$enable_regen_gjdoc_parser"
4917 case "${enableval}" in
4918 yes) REGENERATE_GJDOC_PARSER=yes ;;
4919 no) REGENERATE_GJDOC_PARSER=no ;;
4920 *) REGENERATE_GJDOC_PARSER=yes ;;
4923 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
4924 REGENERATE_GJDOC_PARSER=no ;
4926 REGENERATE_GJDOC_PARSER=yes ;
4929 echo "$as_me:$LINENO: result: ${REGENERATE_GJDOC_PARSER}" >&5
4930 echo "${ECHO_T}${REGENERATE_GJDOC_PARSER}" >&6
4933 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
4934 CREATE_GJDOC_PARSER_TRUE=
4935 CREATE_GJDOC_PARSER_FALSE='#'
4937 CREATE_GJDOC_PARSER_TRUE='#'
4938 CREATE_GJDOC_PARSER_FALSE=
4942 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4943 if test "${enable_tool_wrappers+set}" = set; then
4944 enableval="$enable_tool_wrappers"
4945 case x"${enableval}" in
4947 COMPILE_WRAPPERS=yes;
4949 for ac_header in ltdl.h
4951 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4953 echo "$as_me:$LINENO: checking for $ac_header" >&5
4954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4961 # Is the header compilable?
4962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4964 cat >conftest.$ac_ext <<_ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4970 $ac_includes_default
4971 #include <$ac_header>
4973 rm -f conftest.$ac_objext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4975 (eval $ac_compile) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 { ac_try='test -z "$ac_c_werror_flag"
4983 || test ! -s conftest.err'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; } &&
4989 { ac_try='test -s conftest.$ac_objext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 ac_header_compiler=yes
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5000 ac_header_compiler=no
5002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5004 echo "${ECHO_T}$ac_header_compiler" >&6
5006 # Is the header present?
5007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5015 #include <$ac_header>
5017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5020 grep -v '^ *+' conftest.er1 >conftest.err
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } >/dev/null; then
5025 if test -s conftest.err; then
5026 ac_cpp_err=$ac_c_preproc_warn_flag
5027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5034 if test -z "$ac_cpp_err"; then
5035 ac_header_preproc=yes
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.$ac_ext >&5
5040 ac_header_preproc=no
5042 rm -f conftest.err conftest.$ac_ext
5043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5044 echo "${ECHO_T}$ac_header_preproc" >&6
5046 # So? What about this header?
5047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5053 ac_header_preproc=yes
5056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5070 ## -------------------------------- ##
5071 ## Report this to classpath@gnu.org ##
5072 ## -------------------------------- ##
5075 sed "s/^/$as_me: WARNING: /" >&2
5078 echo "$as_me:$LINENO: checking for $ac_header" >&5
5079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 eval "$as_ac_Header=\$ac_header_preproc"
5085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5090 cat >>confdefs.h <<_ACEOF
5091 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5095 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
5096 echo "$as_me: error: cannot find ltdl.h" >&2;}
5097 { (exit 1); exit 1; }; }
5103 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
5104 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
5105 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 ac_check_lib_save_LIBS=$LIBS
5110 if test x$gcc_no_link = xyes; then
5111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5113 { (exit 1); exit 1; }; }
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5122 /* Override any gcc2 internal prototype to avoid an error. */
5126 /* We use char because int might match the return type of a gcc2
5127 builtin and then its argument prototype would still apply. */
5137 rm -f conftest.$ac_objext conftest$ac_exeext
5138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5139 (eval $ac_link) 2>conftest.er1
5141 grep -v '^ *+' conftest.er1 >conftest.err
5143 cat conftest.err >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } &&
5146 { ac_try='test -z "$ac_c_werror_flag"
5147 || test ! -s conftest.err'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; } &&
5153 { ac_try='test -s conftest$ac_exeext'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; }; then
5159 ac_cv_lib_ltdl_lt_dlopen=yes
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.$ac_ext >&5
5164 ac_cv_lib_ltdl_lt_dlopen=no
5166 rm -f conftest.err conftest.$ac_objext \
5167 conftest$ac_exeext conftest.$ac_ext
5168 LIBS=$ac_check_lib_save_LIBS
5170 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5171 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5172 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5173 cat >>confdefs.h <<_ACEOF
5174 #define HAVE_LIBLTDL 1
5180 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5181 echo "$as_me: error: cannot find libltdl" >&2;}
5182 { (exit 1); exit 1; }; }
5186 xno) COMPILE_WRAPPERS=no ;;
5187 x) COMPILE_WRAPPERS=yes ;;
5188 *) COMPILE_WRAPPERS=yes ;;
5195 if test "x${COMPILE_WRAPPERS}" = xyes; then
5196 CREATE_WRAPPERS_TRUE=
5197 CREATE_WRAPPERS_FALSE='#'
5199 CREATE_WRAPPERS_TRUE='#'
5200 CREATE_WRAPPERS_FALSE=
5204 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5205 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5207 if test "$LN_S" = "ln -s"; then
5208 echo "$as_me:$LINENO: result: yes" >&5
5209 echo "${ECHO_T}yes" >&6
5211 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5212 echo "${ECHO_T}no, using $LN_S" >&6
5215 # Find a good install program. We prefer a C program (faster),
5216 # so one script is as good as another. But avoid the broken or
5217 # incompatible versions:
5218 # SysV /etc/install, /usr/sbin/install
5219 # SunOS /usr/etc/install
5220 # IRIX /sbin/install
5222 # AmigaOS /C/install, which installs bootblocks on floppy discs
5223 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5224 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5225 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5226 # OS/2's system install, which has a completely different semantic
5227 # ./install, which can be erroneously created by make from ./install.sh.
5228 # Reject install programs that cannot install multiple files.
5229 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5230 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5231 if test -z "$INSTALL"; then
5232 if test "${ac_cv_path_install+set}" = set; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 # Account for people who put trailing slashes in PATH elements.
5242 ./ | .// | /cC/* | \
5243 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5244 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5247 # OSF1 and SCO ODT 3.0 have their own names for install.
5248 # Don't use installbsd from OSF since it installs stuff as root
5250 for ac_prog in ginstall scoinst install; do
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5253 if test $ac_prog = install &&
5254 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5255 # AIX install. It has an incompatible calling convention.
5257 elif test $ac_prog = install &&
5258 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5259 # program-specific install script used by HP pwplus--don't use.
5262 rm -rf conftest.one conftest.two conftest.dir
5263 echo one > conftest.one
5264 echo two > conftest.two
5266 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5267 test -s conftest.one && test -s conftest.two &&
5268 test -s conftest.dir/conftest.one &&
5269 test -s conftest.dir/conftest.two
5271 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5282 rm -rf conftest.one conftest.two conftest.dir
5285 if test "${ac_cv_path_install+set}" = set; then
5286 INSTALL=$ac_cv_path_install
5288 # As a last resort, use the slow shell script. Don't cache a
5289 # value for INSTALL within a source directory, because that will
5290 # break other packages using the cache if that directory is
5291 # removed, or if the value is a relative name.
5292 INSTALL=$ac_install_sh
5295 echo "$as_me:$LINENO: result: $INSTALL" >&5
5296 echo "${ECHO_T}$INSTALL" >&6
5298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5299 # It thinks the first close brace ends the variable substitution.
5300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5308 # Check whether --enable-static or --disable-static was given.
5309 if test "${enable_static+set}" = set; then
5310 enableval="$enable_static"
5311 p=${PACKAGE-default}
5313 yes) enable_static=yes ;;
5314 no) enable_static=no ;;
5317 # Look at the argument we got. We use all the common list separators.
5318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5319 for pkg in $enableval; do
5321 if test "X$pkg" = "X$p"; then
5341 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5342 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5347 macro_version='2.2.6'
5348 macro_revision='1.3012'
5362 ltmain="$ac_aux_dir/ltmain.sh"
5364 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5365 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5366 if test "${lt_cv_path_SED+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 # Loop through the user's path and test for sed and gsed.
5370 # Then use that list of sed's as ones to test for truncation.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for lt_ac_prog in sed gsed; do
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5379 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5387 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5388 # along with /bin/sed that truncates output.
5389 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5390 test ! -f $lt_ac_sed && continue
5391 cat /dev/null > conftest.in
5393 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5394 # Check for GNU sed and select it if it is found.
5395 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5396 lt_cv_path_SED=$lt_ac_sed
5400 cat conftest.in conftest.in >conftest.tmp
5401 mv conftest.tmp conftest.in
5402 cp conftest.in conftest.nl
5404 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5405 cmp -s conftest.out conftest.nl || break
5406 # 10000 chars as input seems more than enough
5407 test $lt_ac_count -gt 10 && break
5408 lt_ac_count=`expr $lt_ac_count + 1`
5409 if test $lt_ac_count -gt $lt_ac_max; then
5410 lt_ac_max=$lt_ac_count
5411 lt_cv_path_SED=$lt_ac_sed
5420 echo "$as_me:$LINENO: result: $SED" >&5
5421 echo "${ECHO_T}$SED" >&6
5423 test -z "$SED" && SED=sed
5424 Xsed="$SED -e 1s/^X//"
5436 echo "$as_me:$LINENO: checking for fgrep" >&5
5437 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5438 if test "${ac_cv_prog_fgrep+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5442 then ac_cv_prog_fgrep='grep -F'
5443 else ac_cv_prog_fgrep='fgrep'
5446 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5447 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5448 FGREP=$ac_cv_prog_fgrep
5451 test -z "$GREP" && GREP=grep
5471 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5472 if test "${with_gnu_ld+set}" = set; then
5473 withval="$with_gnu_ld"
5474 test "$withval" = no || with_gnu_ld=yes
5479 if test "$GCC" = yes; then
5480 # Check if gcc -print-prog-name=ld gives a path.
5481 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5482 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5485 # gcc leaves a trailing carriage return which upsets mingw
5486 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5488 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5491 # Accept absolute paths.
5493 re_direlt='/[^/][^/]*/\.\./'
5494 # Canonicalize the pathname of ld
5495 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5496 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5497 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5499 test -z "$LD" && LD="$ac_prog"
5502 # If it fails, then pretend we aren't using GCC.
5506 # If it is relative, then search for the first ld in PATH.
5510 elif test "$with_gnu_ld" = yes; then
5511 echo "$as_me:$LINENO: checking for GNU ld" >&5
5512 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5514 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5515 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5517 if test "${lt_cv_path_LD+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 if test -z "$LD"; then
5521 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5522 for ac_dir in $PATH; do
5524 test -z "$ac_dir" && ac_dir=.
5525 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5526 lt_cv_path_LD="$ac_dir/$ac_prog"
5527 # Check to see if the program is GNU ld. I'd rather use --version,
5528 # but apparently some variants of GNU ld only accept -v.
5529 # Break only if it was the GNU/non-GNU ld that we prefer.
5530 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5531 *GNU* | *'with BFD'*)
5532 test "$with_gnu_ld" != no && break
5535 test "$with_gnu_ld" != yes && break
5542 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5547 if test -n "$LD"; then
5548 echo "$as_me:$LINENO: result: $LD" >&5
5549 echo "${ECHO_T}$LD" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5554 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5555 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5556 { (exit 1); exit 1; }; }
5557 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5558 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5559 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5563 case `$LD -v 2>&1 </dev
/null
` in
5564 *GNU* | *'with BFD'*)
5565 lt_cv_prog_gnu_ld=yes
5568 lt_cv_prog_gnu_ld=no
5572 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5573 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5574 with_gnu_ld=$lt_cv_prog_gnu_ld
5584 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5585 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5586 if test "${lt_cv_path_NM+set}" = set; then
5587 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 if test -n "$NM"; then
5590 # Let the user override the test.
5593 lt_nm_to_check="${ac_tool_prefix}nm"
5594 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5595 lt_nm_to_check="$lt_nm_to_check nm"
5597 for lt_tmp_nm in $lt_nm_to_check; do
5598 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5599 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5601 test -z "$ac_dir" && ac_dir=.
5602 tmp_nm="$ac_dir/$lt_tmp_nm"
5603 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5604 # Check to see if the nm accepts a BSD-compat flag.
5605 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5606 # nm: unknown option "B" ignored
5607 # Tru64's nm complains that
/dev
/null is an invalid object
file
5608 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5609 */dev
/null
* |
*'Invalid file or object type'*)
5610 lt_cv_path_NM
="$tmp_nm -B"
5614 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5616 lt_cv_path_NM
="$tmp_nm -p"
5620 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5621 continue # so that we can try to find one that supports BSD flags
5630 : ${lt_cv_path_NM=no}
5633 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5634 echo "${ECHO_T}$lt_cv_path_NM" >&6
5635 if test "$lt_cv_path_NM" != "no"; then
5638 # Didn't find any BSD compatible name lister, look for dumpbin.
5639 if test -n "$ac_tool_prefix"; then
5640 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5643 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5644 echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5646 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 if test -n "$DUMPBIN"; then
5650 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_exec_ext
in '' $ac_executable_extensions; do
5658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 DUMPBIN
=$ac_cv_prog_DUMPBIN
5669 if test -n "$DUMPBIN"; then
5670 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5671 echo "${ECHO_T}$DUMPBIN" >&6
5673 echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6
5677 test -n "$DUMPBIN" && break
5680 if test -z "$DUMPBIN"; then
5681 ac_ct_DUMPBIN
=$DUMPBIN
5682 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_prog; ac_word
=$2
5686 echo "$as_me:$LINENO: checking for $ac_word" >&5
5687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5688 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 if test -n "$ac_ct_DUMPBIN"; then
5692 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5711 if test -n "$ac_ct_DUMPBIN"; then
5712 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5713 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5719 test -n "$ac_ct_DUMPBIN" && break
5721 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5723 DUMPBIN
=$ac_ct_DUMPBIN
5727 if test "$DUMPBIN" != ":"; then
5731 test -z "$NM" && NM
=nm
5738 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5739 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5740 if test "${lt_cv_nm_interface+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 lt_cv_nm_interface
="BSD nm"
5744 echo "int some_variable = 0;" > conftest.
$ac_ext
5745 (eval echo "\"\$as_me:5745: $ac_compile\"" >&5)
5746 (eval "$ac_compile" 2>conftest.err
)
5747 cat conftest.err
>&5
5748 (eval echo "\"\$as_me:5748: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5749 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5750 cat conftest.err
>&5
5751 (eval echo "\"\$as_me:5751: output\"" >&5)
5752 cat conftest.out
>&5
5753 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5754 lt_cv_nm_interface
="MS dumpbin"
5758 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5759 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5761 # find the maximum length of command line arguments
5762 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5763 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5764 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 # On DJGPP, this test can blow up pretty badly due to problems in libc
5773 # (any single argument exceeding 2000 bytes causes a buffer overrun
5774 # during glob expansion). Even if it were fixed, the result of this
5775 # check would be larger than it should be.
5776 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5780 # Under GNU Hurd, this test is not required because there is
5781 # no limit to the length of command line arguments.
5782 # Libtool will interpret -1 as no limit whatsoever
5783 lt_cv_sys_max_cmd_len
=-1;
5786 cygwin
* | mingw
* | cegcc
*)
5787 # On Win9x/ME, this test blows up -- it succeeds, but takes
5788 # about 5 minutes as the teststring grows exponentially.
5789 # Worse, since 9x/ME are not pre-emptively multitasking,
5790 # you end up with a "frozen" computer, even though with patience
5791 # the test eventually succeeds (with a max line length of 256k).
5792 # Instead, let's just punt: use the minimum linelength reported by
5793 # all of the supported platforms: 8192 (on NT/2K/XP).
5794 lt_cv_sys_max_cmd_len
=8192;
5798 # On AmigaOS with pdksh, this test takes hours, literally.
5799 # So we just punt and use a minimum line length of 8192.
5800 lt_cv_sys_max_cmd_len
=8192;
5803 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5804 # This has been around since 386BSD, at least. Likely further.
5805 if test -x /sbin
/sysctl
; then
5806 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5807 elif test -x /usr
/sbin
/sysctl
; then
5808 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5810 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5812 # And add a safety zone
5813 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5814 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5818 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5819 lt_cv_sys_max_cmd_len
=196608
5823 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5824 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5825 # nice to cause kernel panics so lets avoid the loop below.
5826 # First set a reasonable default.
5827 lt_cv_sys_max_cmd_len
=16384
5829 if test -x /sbin
/sysconfig
; then
5830 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5831 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5836 lt_cv_sys_max_cmd_len
=102400
5838 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5839 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5840 if test -n "$kargmax"; then
5841 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5843 lt_cv_sys_max_cmd_len
=32768
5847 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5848 if test -n "$lt_cv_sys_max_cmd_len"; then
5849 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5850 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5852 # Make teststring a little bigger before we do anything with it.
5853 # a 1K string should be a reasonable start.
5854 for i
in 1 2 3 4 5 6 7 8 ; do
5855 teststring
=$teststring$teststring
5857 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5858 # If test is not a shell built-in, we'll probably end up computing a
5859 # maximum length that is only half of the actual maximum length, but
5861 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5862 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5863 test $i != 17 # 1/2 MB should be enough
5866 teststring
=$teststring$teststring
5868 # Only check the string length outside the loop.
5869 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5871 # Add a significant safety factor because C++ compilers can tack on
5872 # massive amounts of additional arguments before passing them to the
5873 # linker. It appears as though 1/2 is a usable value.
5874 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5881 if test -n $lt_cv_sys_max_cmd_len ; then
5882 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5883 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5885 echo "$as_me:$LINENO: result: none" >&5
5886 echo "${ECHO_T}none" >&6
5888 max_cmd_len
=$lt_cv_sys_max_cmd_len
5899 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5900 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5901 # Try some XSI features
5904 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5906 && eval 'test $(( 1 + 1 )) -eq 2 \
5907 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5909 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5910 echo "${ECHO_T}$xsi_shell" >&6
5913 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5914 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5916 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5918 && lt_shell_append=yes
5919 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5920 echo "${ECHO_T}$lt_shell_append" >&6
5923 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5933 # test EBCDIC or ASCII
5934 case `echo X|tr X '\101'` in
5935 A) # ASCII based system
5936 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5937 lt_SP2NL='tr \040 \012'
5938 lt_NL2SP='tr \015\012 \040\040'
5940 *) # EBCDIC based system
5941 lt_SP2NL='tr \100 \n'
5942 lt_NL2SP='tr \r\n \100\100'
5954 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5955 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5956 if test "${lt_cv_ld_reload_flag+set}" = set; then
5957 echo $ECHO_N "(cached
) $ECHO_C" >&6
5959 lt_cv_ld_reload_flag='-r'
5961 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5962 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5963 reload_flag=$lt_cv_ld_reload_flag
5964 case $reload_flag in
5966 *) reload_flag=" $reload_flag" ;;
5968 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5971 if test "$GCC" = yes; then
5972 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5974 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5990 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5991 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5992 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5993 echo $ECHO_N "(cached
) $ECHO_C" >&6
5995 if test -n "$OBJDUMP"; then
5996 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6006 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6014 OBJDUMP=$ac_cv_prog_OBJDUMP
6015 if test -n "$OBJDUMP"; then
6016 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6017 echo "${ECHO_T}$OBJDUMP" >&6
6019 echo "$as_me:$LINENO: result
: no
" >&5
6020 echo "${ECHO_T}no
" >&6
6024 if test -z "$ac_cv_prog_OBJDUMP"; then
6025 ac_ct_OBJDUMP=$OBJDUMP
6026 # Extract the first word of "objdump
", so it can be a program name with args.
6027 set dummy objdump; ac_word=$2
6028 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6030 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6031 echo $ECHO_N "(cached
) $ECHO_C" >&6
6033 if test -n "$ac_ct_OBJDUMP"; then
6034 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6050 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
6053 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6054 if test -n "$ac_ct_OBJDUMP"; then
6055 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6056 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6058 echo "$as_me:$LINENO: result
: no
" >&5
6059 echo "${ECHO_T}no
" >&6
6062 OBJDUMP=$ac_ct_OBJDUMP
6064 OBJDUMP="$ac_cv_prog_OBJDUMP"
6067 test -z "$OBJDUMP" && OBJDUMP=objdump
6077 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6078 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6079 if test "${lt_cv_deplibs_check_method+set}" = set; then
6080 echo $ECHO_N "(cached
) $ECHO_C" >&6
6082 lt_cv_file_magic_cmd='$MAGIC_CMD'
6083 lt_cv_file_magic_test_file=
6084 lt_cv_deplibs_check_method='unknown'
6085 # Need to set the preceding variable on all platforms that support
6086 # interlibrary dependencies.
6087 # 'none' -- dependencies not supported.
6088 # `unknown' -- same as none, but documents that we really don't know.
6089 # 'pass_all' -- all dependencies passed with no checks.
6090 # 'test_compile' -- check by making test program.
6091 # 'file_magic [[regex]]' -- check by looking for files in library path
6092 # which responds to the $file_magic_cmd with a given extended regex.
6093 # If you have `file' or equivalent on your system and you're not sure
6094 # whether `pass_all' will *always* work, you probably want this one.
6098 lt_cv_deplibs_check_method=pass_all
6102 lt_cv_deplibs_check_method=pass_all
6106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6107 lt_cv_file_magic_cmd='/usr/bin/file -L'
6108 lt_cv_file_magic_test_file=/shlib/libc.so
6112 # func_win32_libid is a shell function defined in ltmain.sh
6113 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6114 lt_cv_file_magic_cmd='func_win32_libid'
6118 # Base MSYS/MinGW do not provide the 'file' command needed by
6119 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6120 # unless we find 'file', for example because we are cross-compiling.
6121 if ( file / ) >/dev/null 2>&1; then
6122 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6123 lt_cv_file_magic_cmd='func_win32_libid'
6125 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6126 lt_cv_file_magic_cmd='$OBJDUMP -f'
6131 # use the weaker test based on 'objdump'. See mingw*.
6132 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6133 lt_cv_file_magic_cmd='$OBJDUMP -f'
6136 darwin* | rhapsody*)
6137 lt_cv_deplibs_check_method=pass_all
6140 freebsd* | dragonfly*)
6141 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6144 # Not sure whether the presence of OpenBSD here was a mistake.
6145 # Let's accept both of them until this is cleared up.
6146 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6147 lt_cv_file_magic_cmd=/usr/bin/file
6148 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6152 lt_cv_deplibs_check_method=pass_all
6157 lt_cv_deplibs_check_method=pass_all
6160 hpux10.20* | hpux11*)
6161 lt_cv_file_magic_cmd=/usr/bin/file
6164 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6165 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6168 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]'
6169 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6173 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6179 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6183 irix5* | irix6* | nonstopux*)
6185 *-32|*"-32 ") libmagic=32-bit;;
6186 *-n32|*"-n32 ") libmagic=N32;;
6187 *-64|*"-64 ") libmagic=64-bit;;
6188 *) libmagic=never-match;;
6190 lt_cv_deplibs_check_method=pass_all
6193 # This must be Linux ELF.
6194 linux* | k*bsd*-gnu)
6195 lt_cv_deplibs_check_method=pass_all
6199 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6202 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6208 lt_cv_file_magic_cmd=/usr/bin/file
6209 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6213 lt_cv_deplibs_check_method=pass_all
6217 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6224 osf3* | osf4* | osf5*)
6225 lt_cv_deplibs_check_method=pass_all
6229 lt_cv_deplibs_check_method=pass_all
6233 lt_cv_deplibs_check_method=pass_all
6236 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6237 lt_cv_deplibs_check_method=pass_all
6241 case $host_vendor in
6243 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]'
6244 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6247 lt_cv_deplibs_check_method=pass_all
6250 lt_cv_file_magic_cmd='/bin/file'
6251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6254 lt_cv_file_magic_cmd='/bin/file'
6255 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6256 lt_cv_file_magic_test_file=/lib/libc.so
6259 lt_cv_deplibs_check_method=pass_all
6262 lt_cv_deplibs_check_method=pass_all
6268 lt_cv_deplibs_check_method=pass_all
6273 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6274 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6275 file_magic_cmd=$lt_cv_file_magic_cmd
6276 deplibs_check_method=$lt_cv_deplibs_check_method
6277 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6290 if test -n "$ac_tool_prefix"; then
6291 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6292 set dummy ${ac_tool_prefix}ar; ac_word=$2
6293 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6294 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6295 if test "${ac_cv_prog_AR+set}" = set; then
6296 echo $ECHO_N "(cached
) $ECHO_C" >&6
6298 if test -n "$AR"; then
6299 ac_cv_prog_AR="$AR" # Let the user override the test.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_AR="${ac_tool_prefix}ar"
6309 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6318 if test -n "$AR"; then
6319 echo "$as_me:$LINENO: result
: $AR" >&5
6320 echo "${ECHO_T}$AR" >&6
6322 echo "$as_me:$LINENO: result
: no
" >&5
6323 echo "${ECHO_T}no
" >&6
6327 if test -z "$ac_cv_prog_AR"; then
6329 # Extract the first word of "ar", so it can be a program name with args.
6330 set dummy ar; ac_word=$2
6331 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6332 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6333 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6334 echo $ECHO_N "(cached
) $ECHO_C" >&6
6336 if test -n "$ac_ct_AR"; then
6337 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346 ac_cv_prog_ac_ct_AR="ar"
6347 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6353 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6356 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6357 if test -n "$ac_ct_AR"; then
6358 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6359 echo "${ECHO_T}$ac_ct_AR" >&6
6361 echo "$as_me:$LINENO: result
: no
" >&5
6362 echo "${ECHO_T}no
" >&6
6370 test -z "$AR" && AR=ar
6371 test -z "$AR_FLAGS" && AR_FLAGS=cru
6383 if test -n "$ac_tool_prefix"; then
6384 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6385 set dummy ${ac_tool_prefix}strip; ac_word=$2
6386 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6388 if test "${ac_cv_prog_STRIP+set}" = set; then
6389 echo $ECHO_N "(cached
) $ECHO_C" >&6
6391 if test -n "$STRIP"; then
6392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 STRIP=$ac_cv_prog_STRIP
6411 if test -n "$STRIP"; then
6412 echo "$as_me:$LINENO: result
: $STRIP" >&5
6413 echo "${ECHO_T}$STRIP" >&6
6415 echo "$as_me:$LINENO: result
: no
" >&5
6416 echo "${ECHO_T}no
" >&6
6420 if test -z "$ac_cv_prog_STRIP"; then
6422 # Extract the first word of "strip
", so it can be a program name with args.
6423 set dummy strip; ac_word=$2
6424 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6425 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6426 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6427 echo $ECHO_N "(cached
) $ECHO_C" >&6
6429 if test -n "$ac_ct_STRIP"; then
6430 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_prog_ac_ct_STRIP="strip
"
6440 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6449 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6450 if test -n "$ac_ct_STRIP"; then
6451 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6452 echo "${ECHO_T}$ac_ct_STRIP" >&6
6454 echo "$as_me:$LINENO: result
: no
" >&5
6455 echo "${ECHO_T}no
" >&6
6460 STRIP="$ac_cv_prog_STRIP"
6463 test -z "$STRIP" && STRIP=:
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6473 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6474 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6475 if test "${ac_cv_prog_RANLIB+set}" = set; then
6476 echo $ECHO_N "(cached
) $ECHO_C" >&6
6478 if test -n "$RANLIB"; then
6479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6489 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6497 RANLIB=$ac_cv_prog_RANLIB
6498 if test -n "$RANLIB"; then
6499 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6500 echo "${ECHO_T}$RANLIB" >&6
6502 echo "$as_me:$LINENO: result
: no
" >&5
6503 echo "${ECHO_T}no
" >&6
6507 if test -z "$ac_cv_prog_RANLIB"; then
6508 ac_ct_RANLIB=$RANLIB
6509 # Extract the first word of "ranlib
", so it can be a program name with args.
6510 set dummy ranlib; ac_word=$2
6511 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6512 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6513 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6514 echo $ECHO_N "(cached
) $ECHO_C" >&6
6516 if test -n "$ac_ct_RANLIB"; then
6517 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6526 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6527 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6533 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6536 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6537 if test -n "$ac_ct_RANLIB"; then
6538 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6539 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6541 echo "$as_me:$LINENO: result
: no
" >&5
6542 echo "${ECHO_T}no
" >&6
6545 RANLIB=$ac_ct_RANLIB
6547 RANLIB="$ac_cv_prog_RANLIB"
6550 test -z "$RANLIB" && RANLIB=:
6557 # Determine commands to create old-style static archives.
6558 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6559 old_postinstall_cmds='chmod 644 $oldlib'
6560 old_postuninstall_cmds=
6562 if test -n "$RANLIB"; then
6565 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6568 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6571 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6607 # If no C compiler was specified, use CC.
6610 # If no C compiler flags were specified, use CFLAGS.
6611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6613 # Allow CC to be a program name with arguments.
6617 # Check for command to grab the raw symbol name followed by C symbol from nm.
6618 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6619 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6620 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6621 echo $ECHO_N "(cached
) $ECHO_C" >&6
6624 # These are sane defaults that work on at least a few old systems.
6625 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6627 # Character class describing NM global symbol codes.
6628 symcode='[BCDEGRST]'
6630 # Regexp to match symbols that can be accessed directly from C.
6631 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6633 # Define system-specific variables.
6638 cygwin* | mingw* | pw32* | cegcc*)
6639 symcode='[ABCDGISTW]'
6642 if test "$host_cpu" = ia64; then
6643 symcode='[ABCDEGRST]'
6647 symcode='[BCDEGRST]'
6650 symcode='[BCDEGQRST]'
6661 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6669 # If we're using GNU nm, then use its standard symbol codes.
6670 case `$NM -V 2>&1` in
6671 *GNU* | *'with BFD'*)
6672 symcode='[ABCDGIRSTW]' ;;
6675 # Transform an extracted symbol line into a proper C declaration.
6676 # Some systems (esp. on ia64) link data and code symbols differently,
6677 # so use this general approach.
6678 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6680 # Transform an extracted symbol line into symbol name and symbol address
6681 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6682 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'"
6684 # Handle CRLF in mingw tool chain
6688 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6692 # Try without a prefix underscore, then with it.
6693 for ac_symprfx in "" "_
"; do
6695 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6696 symxfrm="\\1 $ac_symprfx\\2 \\2"
6698 # Write the raw and C identifiers.
6699 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6700 # Fake it for dumpbin and say T for any non-static function
6701 # and D for any global variable.
6702 # Also find C++ and __fastcall symbols from MSVC++,
6703 # which start with @ or ?.
6704 lt_cv_sys_global_symbol_pipe="$AWK '"\
6705 " {last_section=section; section=\$ 3};"\
6706 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6707 " \$ 0!~/External *\|/{next};"\
6708 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6709 " {if(hide[section]) next};"\
6710 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6711 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6712 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6713 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6714 " ' prfx
=^
$ac_symprfx"
6716 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6719 # Check to see that the pipe works correctly.
6723 cat > conftest.$ac_ext <<_LT_EOF
6728 void nm_test_func(void);
6729 void nm_test_func(void){}
6733 int main(){nm_test_var='a';nm_test_func();return(0);}
6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6737 (eval $ac_compile) 2>&5
6739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6740 (exit $ac_status); }; then
6741 # Now try to grab the symbols.
6743 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6744 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6747 (exit $ac_status); } && test -s "$nlist"; then
6748 # Try sorting and uniquifying the output.
6749 if sort "$nlist" | uniq > "$nlist"T; then
6750 mv -f "$nlist"T "$nlist"
6755 # Make sure that we snagged all the symbols we need.
6756 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6757 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6758 cat <<_LT_EOF > conftest.$ac_ext
6764 # Now generate the symbol file.
6765 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6767 cat <<_LT_EOF >> conftest.$ac_ext
6769 /* The mapping between symbol names and symbols. */
6774 lt__PROGRAM__LTX_preloaded_symbols[] =
6776 { "@PROGRAM@
", (void *) 0 },
6778 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6779 cat <<\_LT_EOF >> conftest.$ac_ext
6783 /* This works around a problem in FreeBSD linker */
6784 #ifdef FREEBSD_WORKAROUND
6785 static const void *lt_preloaded_setup() {
6786 return lt__PROGRAM__LTX_preloaded_symbols;
6794 # Now try linking the two files.
6795 mv conftest.$ac_objext conftstm.$ac_objext
6796 lt_save_LIBS="$LIBS"
6797 lt_save_CFLAGS="$CFLAGS"
6798 LIBS="conftstm.
$ac_objext"
6799 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6801 (eval $ac_link) 2>&5
6803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6804 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6807 LIBS="$lt_save_LIBS"
6808 CFLAGS="$lt_save_CFLAGS"
6810 echo "cannot
find nm_test_func
in $nlist" >&5
6813 echo "cannot
find nm_test_var
in $nlist" >&5
6816 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6819 echo "$progname: failed program was
:" >&5
6820 cat conftest.$ac_ext >&5
6822 rm -rf conftest* conftst*
6824 # Do not use the global_symbol_pipe unless it works.
6825 if test "$pipe_works" = yes; then
6828 lt_cv_sys_global_symbol_pipe=
6834 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6835 lt_cv_sys_global_symbol_to_cdecl=
6837 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6838 echo "$as_me:$LINENO: result
: failed
" >&5
6839 echo "${ECHO_T}failed
" >&6
6841 echo "$as_me:$LINENO: result
: ok
" >&5
6842 echo "${ECHO_T}ok
" >&6
6866 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6867 if test "${enable_libtool_lock+set}" = set; then
6868 enableval="$enable_libtool_lock"
6871 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6873 # Some flags need to be propagated to the compiler or linker for good
6877 # Find out which ABI we are using.
6878 echo 'int i;' > conftest.$ac_ext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6880 (eval $ac_compile) 2>&5
6882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6883 (exit $ac_status); }; then
6884 case `/usr/bin/file conftest.$ac_objext` in
6896 # Find out which ABI we are using.
6897 echo '#line 6897 "configure
"' > conftest.$ac_ext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>&5
6901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6902 (exit $ac_status); }; then
6903 if test "$lt_cv_prog_gnu_ld" = yes; then
6904 case `/usr/bin/file conftest.$ac_objext` in
6906 LD="${LD-ld} -melf32bsmip"
6909 LD="${LD-ld} -melf32bmipn32"
6912 LD="${LD-ld} -melf64bmip"
6916 case `/usr/bin/file conftest.$ac_objext` in
6932 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6933 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6934 # Find out which ABI we are using.
6935 echo 'int i;' > conftest.$ac_ext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6937 (eval $ac_compile) 2>&5
6939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6940 (exit $ac_status); }; then
6941 case `/usr/bin/file conftest.o` in
6944 x86_64-*kfreebsd*-gnu)
6945 LD="${LD-ld} -m elf_i386_fbsd
"
6948 LD="${LD-ld} -m elf_i386
"
6950 ppc64-*linux*|powerpc64-*linux*)
6951 LD="${LD-ld} -m elf32ppclinux
"
6954 LD="${LD-ld} -m elf_s390
"
6957 LD="${LD-ld} -m elf32_sparc
"
6963 x86_64-*kfreebsd*-gnu)
6964 LD="${LD-ld} -m elf_x86_64_fbsd
"
6967 LD="${LD-ld} -m elf_x86_64
"
6969 ppc*-*linux*|powerpc*-*linux*)
6970 LD="${LD-ld} -m elf64ppc
"
6972 s390*-*linux*|s390*-*tpf*)
6973 LD="${LD-ld} -m elf64_s390
"
6976 LD="${LD-ld} -m elf64_sparc
"
6986 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6987 SAVE_CFLAGS="$CFLAGS"
6988 CFLAGS="$CFLAGS -belf"
6989 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6990 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6991 if test "${lt_cv_cc_needs_belf+set}" = set; then
6992 echo $ECHO_N "(cached
) $ECHO_C" >&6
6995 ac_cpp='$CPP $CPPFLAGS'
6996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7000 if test x$gcc_no_link = xyes; then
7001 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7002 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7003 { (exit 1); exit 1; }; }
7005 cat >conftest.$ac_ext <<_ACEOF
7008 cat confdefs.h >>conftest.$ac_ext
7009 cat >>conftest.$ac_ext <<_ACEOF
7010 /* end confdefs.h. */
7020 rm -f conftest.$ac_objext conftest$ac_exeext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7022 (eval $ac_link) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1 >conftest.err
7026 cat conftest.err >&5
7027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try='test -z "$ac_c_werror_flag"
7030 || test ! -s conftest.err'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7035 (exit $ac_status); }; } &&
7036 { ac_try='test -s conftest$ac_exeext'
7037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7041 (exit $ac_status); }; }; then
7042 lt_cv_cc_needs_belf=yes
7044 echo "$as_me: failed program was
:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5
7047 lt_cv_cc_needs_belf=no
7049 rm -f conftest.err conftest.$ac_objext \
7050 conftest$ac_exeext conftest.$ac_ext
7052 ac_cpp='$CPP $CPPFLAGS'
7053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7058 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7059 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7060 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7061 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7062 CFLAGS="$SAVE_CFLAGS"
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069 (eval $ac_compile) 2>&5
7071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7072 (exit $ac_status); }; then
7073 case `/usr/bin/file conftest.o` in
7075 case $lt_cv_prog_gnu_ld in
7076 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7078 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7090 need_locks="$enable_libtool_lock"
7094 rhapsody* | darwin*)
7095 if test -n "$ac_tool_prefix"; then
7096 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7097 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7098 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7099 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7100 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7101 echo $ECHO_N "(cached
) $ECHO_C" >&6
7103 if test -n "$DSYMUTIL"; then
7104 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7113 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7114 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7122 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7123 if test -n "$DSYMUTIL"; then
7124 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7125 echo "${ECHO_T}$DSYMUTIL" >&6
7127 echo "$as_me:$LINENO: result
: no
" >&5
7128 echo "${ECHO_T}no
" >&6
7132 if test -z "$ac_cv_prog_DSYMUTIL"; then
7133 ac_ct_DSYMUTIL=$DSYMUTIL
7134 # Extract the first word of "dsymutil
", so it can be a program name with args.
7135 set dummy dsymutil; ac_word=$2
7136 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7137 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7138 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7139 echo $ECHO_N "(cached
) $ECHO_C" >&6
7141 if test -n "$ac_ct_DSYMUTIL"; then
7142 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7152 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7158 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7161 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7162 if test -n "$ac_ct_DSYMUTIL"; then
7163 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7164 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7166 echo "$as_me:$LINENO: result
: no
" >&5
7167 echo "${ECHO_T}no
" >&6
7170 DSYMUTIL=$ac_ct_DSYMUTIL
7172 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7175 if test -n "$ac_tool_prefix"; then
7176 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7180 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7181 echo $ECHO_N "(cached
) $ECHO_C" >&6
7183 if test -n "$NMEDIT"; then
7184 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7202 NMEDIT=$ac_cv_prog_NMEDIT
7203 if test -n "$NMEDIT"; then
7204 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7205 echo "${ECHO_T}$NMEDIT" >&6
7207 echo "$as_me:$LINENO: result
: no
" >&5
7208 echo "${ECHO_T}no
" >&6
7212 if test -z "$ac_cv_prog_NMEDIT"; then
7213 ac_ct_NMEDIT=$NMEDIT
7214 # Extract the first word of "nmedit
", so it can be a program name with args.
7215 set dummy nmedit; ac_word=$2
7216 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7218 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7219 echo $ECHO_N "(cached
) $ECHO_C" >&6
7221 if test -n "$ac_ct_NMEDIT"; then
7222 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7238 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7241 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7242 if test -n "$ac_ct_NMEDIT"; then
7243 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7244 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7246 echo "$as_me:$LINENO: result
: no
" >&5
7247 echo "${ECHO_T}no
" >&6
7250 NMEDIT=$ac_ct_NMEDIT
7252 NMEDIT="$ac_cv_prog_NMEDIT"
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7258 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7259 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7260 if test "${ac_cv_prog_LIPO+set}" = set; then
7261 echo $ECHO_N "(cached
) $ECHO_C" >&6
7263 if test -n "$LIPO"; then
7264 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7274 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7282 LIPO=$ac_cv_prog_LIPO
7283 if test -n "$LIPO"; then
7284 echo "$as_me:$LINENO: result
: $LIPO" >&5
7285 echo "${ECHO_T}$LIPO" >&6
7287 echo "$as_me:$LINENO: result
: no
" >&5
7288 echo "${ECHO_T}no
" >&6
7292 if test -z "$ac_cv_prog_LIPO"; then
7294 # Extract the first word of "lipo
", so it can be a program name with args.
7295 set dummy lipo; ac_word=$2
7296 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7297 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7298 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7299 echo $ECHO_N "(cached
) $ECHO_C" >&6
7301 if test -n "$ac_ct_LIPO"; then
7302 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_ac_ct_LIPO="lipo
"
7312 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7318 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7321 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7322 if test -n "$ac_ct_LIPO"; then
7323 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7324 echo "${ECHO_T}$ac_ct_LIPO" >&6
7326 echo "$as_me:$LINENO: result
: no
" >&5
7327 echo "${ECHO_T}no
" >&6
7332 LIPO="$ac_cv_prog_LIPO"
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}otool; ac_word=$2
7338 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7339 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7340 if test "${ac_cv_prog_OTOOL+set}" = set; then
7341 echo $ECHO_N "(cached
) $ECHO_C" >&6
7343 if test -n "$OTOOL"; then
7344 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7354 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7362 OTOOL=$ac_cv_prog_OTOOL
7363 if test -n "$OTOOL"; then
7364 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7365 echo "${ECHO_T}$OTOOL" >&6
7367 echo "$as_me:$LINENO: result
: no
" >&5
7368 echo "${ECHO_T}no
" >&6
7372 if test -z "$ac_cv_prog_OTOOL"; then
7374 # Extract the first word of "otool
", so it can be a program name with args.
7375 set dummy otool; ac_word=$2
7376 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7377 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7378 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7379 echo $ECHO_N "(cached
) $ECHO_C" >&6
7381 if test -n "$ac_ct_OTOOL"; then
7382 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_ac_ct_OTOOL="otool
"
7392 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7398 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7401 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7402 if test -n "$ac_ct_OTOOL"; then
7403 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7404 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7406 echo "$as_me:$LINENO: result
: no
" >&5
7407 echo "${ECHO_T}no
" >&6
7412 OTOOL="$ac_cv_prog_OTOOL"
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7418 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7419 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7420 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7421 echo $ECHO_N "(cached
) $ECHO_C" >&6
7423 if test -n "$OTOOL64"; then
7424 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7434 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7442 OTOOL64=$ac_cv_prog_OTOOL64
7443 if test -n "$OTOOL64"; then
7444 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7445 echo "${ECHO_T}$OTOOL64" >&6
7447 echo "$as_me:$LINENO: result
: no
" >&5
7448 echo "${ECHO_T}no
" >&6
7452 if test -z "$ac_cv_prog_OTOOL64"; then
7453 ac_ct_OTOOL64=$OTOOL64
7454 # Extract the first word of "otool64
", so it can be a program name with args.
7455 set dummy otool64; ac_word=$2
7456 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7457 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7458 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7459 echo $ECHO_N "(cached
) $ECHO_C" >&6
7461 if test -n "$ac_ct_OTOOL64"; then
7462 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7472 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7478 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7481 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7482 if test -n "$ac_ct_OTOOL64"; then
7483 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7484 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7486 echo "$as_me:$LINENO: result
: no
" >&5
7487 echo "${ECHO_T}no
" >&6
7490 OTOOL64=$ac_ct_OTOOL64
7492 OTOOL64="$ac_cv_prog_OTOOL64"
7521 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7522 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7523 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7524 echo $ECHO_N "(cached
) $ECHO_C" >&6
7526 lt_cv_apple_cc_single_mod=no
7527 if test -z "${LT_MULTI_MODULE}"; then
7528 # By default we will add the -single_module flag. You can override
7529 # by either setting the environment variable LT_MULTI_MODULE
7530 # non-empty at configure time, or by adding -multi_module to the
7532 rm -rf libconftest.dylib*
7533 echo "int foo
(void
){return 1;}" > conftest.c
7534 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7535 -dynamiclib -Wl,-single_module conftest.c
" >&5
7536 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7537 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7539 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7540 lt_cv_apple_cc_single_mod=yes
7542 cat conftest.err >&5
7544 rm -rf libconftest.dylib*
7548 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7549 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7550 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7551 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7552 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7553 echo $ECHO_N "(cached
) $ECHO_C" >&6
7555 lt_cv_ld_exported_symbols_list=no
7556 save_LDFLAGS=$LDFLAGS
7557 echo "_main
" > conftest.sym
7558 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7559 if test x$gcc_no_link = xyes; then
7560 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7561 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7562 { (exit 1); exit 1; }; }
7564 cat >conftest.$ac_ext <<_ACEOF
7567 cat confdefs.h >>conftest.$ac_ext
7568 cat >>conftest.$ac_ext <<_ACEOF
7569 /* end confdefs.h. */
7579 rm -f conftest.$ac_objext conftest$ac_exeext
7580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7581 (eval $ac_link) 2>conftest.er1
7583 grep -v '^ *+' conftest.er1 >conftest.err
7585 cat conftest.err >&5
7586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7587 (exit $ac_status); } &&
7588 { ac_try='test -z "$ac_c_werror_flag"
7589 || test ! -s conftest.err'
7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7594 (exit $ac_status); }; } &&
7595 { ac_try='test -s conftest$ac_exeext'
7596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7600 (exit $ac_status); }; }; then
7601 lt_cv_ld_exported_symbols_list=yes
7603 echo "$as_me: failed program was
:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 lt_cv_ld_exported_symbols_list=no
7608 rm -f conftest.err conftest.$ac_objext \
7609 conftest$ac_exeext conftest.$ac_ext
7610 LDFLAGS="$save_LDFLAGS"
7613 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7614 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7616 rhapsody* | darwin1.[012])
7617 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7619 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7620 darwin*) # darwin 5.x on
7621 # if running on 10.5 or later, the deployment target defaults
7622 # to the OS version, if on x86, and 10.4, the deployment
7623 # target defaults to 10.4. Don't you love it?
7624 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7625 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7626 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7628 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7630 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7634 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7635 _lt_dar_single_mod='$single_module'
7637 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7638 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7640 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7642 if test "$DSYMUTIL" != ":"; then
7643 _lt_dsymutil='~$DSYMUTIL $lib || :'
7651 for ac_header in dlfcn.h
7653 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7654 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7655 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7656 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7657 echo $ECHO_N "(cached
) $ECHO_C" >&6
7659 cat >conftest.$ac_ext <<_ACEOF
7662 cat confdefs.h >>conftest.$ac_ext
7663 cat >>conftest.$ac_ext <<_ACEOF
7664 /* end confdefs.h. */
7665 $ac_includes_default
7667 #include <$ac_header>
7669 rm -f conftest.$ac_objext
7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7671 (eval $ac_compile) 2>conftest.er1
7673 grep -v '^ *+' conftest.er1 >conftest.err
7675 cat conftest.err >&5
7676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7677 (exit $ac_status); } &&
7678 { ac_try='test -z "$ac_c_werror_flag"
7679 || test ! -s conftest.err'
7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7684 (exit $ac_status); }; } &&
7685 { ac_try='test -s conftest.$ac_objext'
7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7690 (exit $ac_status); }; }; then
7691 eval "$as_ac_Header=yes"
7693 echo "$as_me: failed program was
:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7696 eval "$as_ac_Header=no
"
7698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7700 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7703 cat >>confdefs.h <<_ACEOF
7704 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7723 # Check whether --enable-shared or --disable-shared was given.
7724 if test "${enable_shared+set}" = set; then
7725 enableval="$enable_shared"
7726 p=${PACKAGE-default}
7728 yes) enable_shared=yes ;;
7729 no) enable_shared=no ;;
7732 # Look at the argument we got. We use all the common list separators.
7733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7734 for pkg in $enableval; do
7736 if test "X
$pkg" = "X
$p"; then
7756 # Check whether --with-pic or --without-pic was given.
7757 if test "${with_pic+set}" = set; then
7764 test -z "$pic_mode" && pic_mode=default
7772 # Check whether --enable-fast-install or --disable-fast-install was given.
7773 if test "${enable_fast_install+set}" = set; then
7774 enableval="$enable_fast_install"
7775 p=${PACKAGE-default}
7777 yes) enable_fast_install=yes ;;
7778 no) enable_fast_install=no ;;
7780 enable_fast_install=no
7781 # Look at the argument we got. We use all the common list separators.
7782 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7783 for pkg in $enableval; do
7785 if test "X
$pkg" = "X
$p"; then
7786 enable_fast_install=yes
7793 enable_fast_install=yes
7805 # This can be used to rebuild libtool when needed
7806 LIBTOOL_DEPS="$ltmain"
7808 # Always use our own libtool.
7809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7835 test -z "$LN_S" && LN_S="ln -s"
7850 if test -n "${ZSH_VERSION+set}" ; then
7851 setopt NO_GLOB_SUBST
7854 echo "$as_me:$LINENO: checking
for objdir
" >&5
7855 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7856 if test "${lt_cv_objdir+set}" = set; then
7857 echo $ECHO_N "(cached
) $ECHO_C" >&6
7859 rm -f .libs 2>/dev/null
7860 mkdir .libs 2>/dev/null
7861 if test -d .libs; then
7864 # MS-DOS does not allow filenames that begin with a dot.
7867 rmdir .libs 2>/dev/null
7869 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7870 echo "${ECHO_T}$lt_cv_objdir" >&6
7871 objdir=$lt_cv_objdir
7877 cat >>confdefs.h <<_ACEOF
7878 #define LT_OBJDIR "$lt_cv_objdir/"
7899 # AIX sometimes has problems with the GCC collect2 program. For some
7900 # reason, if we set the COLLECT_NAMES environment variable, the problems
7901 # vanish in a puff of smoke.
7902 if test "X
${COLLECT_NAMES+set}" != Xset; then
7904 export COLLECT_NAMES
7909 # Sed substitution that helps us do robust quoting. It backslashifies
7910 # metacharacters that are still active within double-quoted strings.
7911 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7913 # Same as above, but do not quote variable references.
7914 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7916 # Sed substitution to delay expansion of an escaped shell variable in a
7917 # double_quote_subst'ed string.
7918 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7920 # Sed substitution to delay expansion of an escaped single quote.
7921 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7923 # Sed substitution to avoid accidental globbing in evaled expressions
7924 no_glob_subst
='s/\*/\\\*/g'
7928 can_build_shared
=yes
7930 # All known linkers require a `.a' archive for static linking (except MSVC,
7931 # which needs '.lib').
7934 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7937 old_CFLAGS
="$CFLAGS"
7939 # Set sane defaults for various variables
7940 test -z "$CC" && CC
=cc
7941 test -z "$LTCC" && LTCC
=$CC
7942 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7943 test -z "$LD" && LD
=ld
7944 test -z "$ac_objext" && ac_objext
=o
7946 for cc_temp
in $compiler""; do
7948 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7949 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7954 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7957 # Only perform the check for file, if the check method requires it
7958 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7959 case $deplibs_check_method in
7961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7962 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7963 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7972 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7973 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7974 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7975 for ac_dir
in $ac_dummy; do
7977 test -z "$ac_dir" && ac_dir
=.
7978 if test -f $ac_dir/${ac_tool_prefix}file; then
7979 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7980 if test -n "$file_magic_test_file"; then
7981 case $deplibs_check_method in
7983 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7984 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7985 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7986 $EGREP "$file_magic_regex" > /dev
/null
; then
7991 *** Warning: the command libtool uses to detect shared libraries,
7992 *** $file_magic_cmd, produces output that libtool cannot recognize.
7993 *** The result is that libtool may fail to recognize shared libraries
7994 *** as such. This will affect the creation of libtool libraries that
7995 *** depend on shared libraries, but programs linked with such libtool
7996 *** libraries will work regardless of this problem. Nevertheless, you
7997 *** may want to report the problem to your system manager and/or to
7998 *** bug-libtool@gnu.org
8008 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8013 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8014 if test -n "$MAGIC_CMD"; then
8015 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8016 echo "${ECHO_T}$MAGIC_CMD" >&6
8018 echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6
8026 if test -z "$lt_cv_path_MAGIC_CMD"; then
8027 if test -n "$ac_tool_prefix"; then
8028 echo "$as_me:$LINENO: checking for file" >&5
8029 echo $ECHO_N "checking for file... $ECHO_C" >&6
8030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8038 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8039 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8040 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8041 for ac_dir
in $ac_dummy; do
8043 test -z "$ac_dir" && ac_dir
=.
8044 if test -f $ac_dir/file; then
8045 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8046 if test -n "$file_magic_test_file"; then
8047 case $deplibs_check_method in
8049 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8050 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8051 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8052 $EGREP "$file_magic_regex" > /dev
/null
; then
8057 *** Warning: the command libtool uses to detect shared libraries,
8058 *** $file_magic_cmd, produces output that libtool cannot recognize.
8059 *** The result is that libtool may fail to recognize shared libraries
8060 *** as such. This will affect the creation of libtool libraries that
8061 *** depend on shared libraries, but programs linked with such libtool
8062 *** libraries will work regardless of this problem. Nevertheless, you
8063 *** may want to report the problem to your system manager and/or to
8064 *** bug-libtool@gnu.org
8074 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8079 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8080 if test -n "$MAGIC_CMD"; then
8081 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8082 echo "${ECHO_T}$MAGIC_CMD" >&6
8084 echo "$as_me:$LINENO: result: no" >&5
8085 echo "${ECHO_T}no" >&6
8098 # Use C for the default configuration in the libtool script
8102 ac_cpp
='$CPP $CPPFLAGS'
8103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8108 # Source file extension for C test sources.
8111 # Object file extension for compiled C test sources.
8115 # Code to be used in simple compile tests
8116 lt_simple_compile_test_code
="int some_variable = 0;"
8118 # Code to be used in simple link tests
8119 lt_simple_link_test_code
='int main(){return(0);}'
8127 # If no C compiler was specified, use CC.
8130 # If no C compiler flags were specified, use CFLAGS.
8131 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8133 # Allow CC to be a program name with arguments.
8136 # Save the default compiler, since it gets overwritten when the other
8137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8138 compiler_DEFAULT
=$CC
8140 # save warnings/boilerplate of simple test code
8141 ac_outfile
=conftest.
$ac_objext
8142 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8143 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8144 _lt_compiler_boilerplate
=`cat conftest.err`
8147 ac_outfile
=conftest.
$ac_objext
8148 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8149 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8150 _lt_linker_boilerplate
=`cat conftest.err`
8155 ## There is no encapsulation within the following macros, do not change
8156 ## the running order or otherwise move them around unless you know exactly
8157 ## what you are doing...
8158 if test -n "$compiler"; then
8160 lt_prog_compiler_no_builtin_flag
=
8162 if test "$GCC" = yes; then
8163 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8165 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 lt_cv_prog_compiler_rtti_exceptions
=no
8171 ac_outfile
=conftest.
$ac_objext
8172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8173 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8174 # Insert the option either (1) after the last *FLAGS variable, or
8175 # (2) before a word containing "conftest.", or (3) at the end.
8176 # Note that $ac_compile itself does not contain backslashes and begins
8177 # with a dollar sign (not a hyphen), so the echo should work correctly.
8178 # The option is referenced via a variable to avoid confusing sed.
8179 lt_compile
=`echo "$ac_compile" | $SED \
8180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8182 -e 's:$: $lt_compiler_flag:'`
8183 (eval echo "\"\$as_me:8183: $lt_compile\"" >&5)
8184 (eval "$lt_compile" 2>conftest.err
)
8186 cat conftest.err
>&5
8187 echo "$as_me:8187: \$? = $ac_status" >&5
8188 if (exit $ac_status) && test -s "$ac_outfile"; then
8189 # The compiler can only warn and ignore the option if not recognized
8190 # So say no if there are warnings other than the usual output.
8191 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8193 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8194 lt_cv_prog_compiler_rtti_exceptions
=yes
8200 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8201 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8203 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8204 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8216 lt_prog_compiler_wl
=
8217 lt_prog_compiler_pic
=
8218 lt_prog_compiler_static
=
8220 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8221 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8223 if test "$GCC" = yes; then
8224 lt_prog_compiler_wl
='-Wl,'
8225 lt_prog_compiler_static
='-static'
8229 # All AIX code is PIC.
8230 if test "$host_cpu" = ia64
; then
8231 # AIX 5 now supports IA64 processor
8232 lt_prog_compiler_static
='-Bstatic'
8239 # see comment about AmigaOS4 .so support
8240 lt_prog_compiler_pic
='-fPIC'
8243 # FIXME: we need at least 68020 code to build shared libraries, but
8244 # adding the `-m68020' flag to GCC prevents building anything better,
8246 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8251 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8252 # PIC is the default for these OSes.
8255 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8256 # This hack is so that the source file can tell whether it is being
8257 # built for inclusion in a dll (and should export symbols for example).
8258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8259 # (--disable-auto-import) libraries
8260 lt_prog_compiler_pic
='-DDLL_EXPORT'
8263 darwin
* | rhapsody
*)
8264 # PIC is the default on this platform
8265 # Common symbols not allowed in MH_DYLIB files
8266 lt_prog_compiler_pic
='-fno-common'
8270 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8271 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8272 # sets the default TLS model and affects inlining.
8278 lt_prog_compiler_pic
='-fPIC'
8284 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8285 # Instead, we relocate shared libraries at runtime.
8289 # Just because we use GCC doesn't mean we suddenly get shared libraries
8290 # on systems that don't support them.
8291 lt_prog_compiler_can_build_shared
=no
8296 # QNX uses GNU C++, but need to define -shared option too, otherwise
8298 lt_prog_compiler_pic
='-fPIC -shared'
8302 if test -d /usr
/nec
; then
8303 lt_prog_compiler_pic
=-Kconform_pic
8308 lt_prog_compiler_pic
='-fPIC'
8312 # PORTME Check for flag to pass linker flags through the system compiler.
8315 lt_prog_compiler_wl
='-Wl,'
8316 if test "$host_cpu" = ia64
; then
8317 # AIX 5 now supports IA64 processor
8318 lt_prog_compiler_static
='-Bstatic'
8320 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8324 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8325 # This hack is so that the source file can tell whether it is being
8326 # built for inclusion in a dll (and should export symbols for example).
8327 lt_prog_compiler_pic
='-DDLL_EXPORT'
8330 hpux9
* | hpux10
* | hpux11
*)
8331 lt_prog_compiler_wl
='-Wl,'
8332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8339 lt_prog_compiler_pic
='+Z'
8342 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8343 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8346 irix5
* | irix6
* | nonstopux
*)
8347 lt_prog_compiler_wl
='-Wl,'
8348 # PIC (with -KPIC) is the default.
8349 lt_prog_compiler_static
='-non_shared'
8352 linux
* | k
*bsd
*-gnu)
8353 case $cc_basename in
8354 # old Intel for x86_64 which still supported -KPIC.
8356 lt_prog_compiler_wl
='-Wl,'
8357 lt_prog_compiler_pic
='-KPIC'
8358 lt_prog_compiler_static
='-static'
8360 # icc used to be incompatible with GCC.
8361 # ICC 10 doesn't accept -KPIC any more.
8363 lt_prog_compiler_wl
='-Wl,'
8364 lt_prog_compiler_pic
='-fPIC'
8365 lt_prog_compiler_static
='-static'
8367 # Lahey Fortran 8.1.
8369 lt_prog_compiler_wl
='-Wl,'
8370 lt_prog_compiler_pic
='--shared'
8371 lt_prog_compiler_static
='--static'
8373 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8374 # Portland Group compilers (*not* the Pentium gcc compiler,
8375 # which looks to be a dead project)
8376 lt_prog_compiler_wl
='-Wl,'
8377 lt_prog_compiler_pic
='-fpic'
8378 lt_prog_compiler_static
='-Bstatic'
8381 lt_prog_compiler_wl
='-Wl,'
8382 # All Alpha code is PIC.
8383 lt_prog_compiler_static
='-non_shared'
8386 # IBM XL C 8.0/Fortran 10.1 on PPC
8387 lt_prog_compiler_wl
='-Wl,'
8388 lt_prog_compiler_pic
='-qpic'
8389 lt_prog_compiler_static
='-qstaticlink'
8392 case `$CC -V 2>&1 | sed 5q` in
8395 lt_prog_compiler_pic
='-KPIC'
8396 lt_prog_compiler_static
='-Bstatic'
8397 lt_prog_compiler_wl
='-Wl,'
8400 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8401 lt_prog_compiler_pic
='-KPIC'
8402 lt_prog_compiler_static
='-Bstatic'
8403 lt_prog_compiler_wl
=''
8411 lt_prog_compiler_pic
='-KPIC'
8412 lt_prog_compiler_static
='-Bstatic'
8416 # QNX uses GNU C++, but need to define -shared option too, otherwise
8418 lt_prog_compiler_pic
='-fPIC -shared'
8421 osf3
* | osf4
* | osf5
*)
8422 lt_prog_compiler_wl
='-Wl,'
8423 # All OSF/1 code is PIC.
8424 lt_prog_compiler_static
='-non_shared'
8428 lt_prog_compiler_static
='-non_shared'
8432 lt_prog_compiler_pic
='-KPIC'
8433 lt_prog_compiler_static
='-Bstatic'
8434 case $cc_basename in
8436 lt_prog_compiler_wl
='-Qoption ld ';;
8438 lt_prog_compiler_wl
='-Wl,';;
8443 lt_prog_compiler_wl
='-Qoption ld '
8444 lt_prog_compiler_pic
='-PIC'
8445 lt_prog_compiler_static
='-Bstatic'
8448 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8449 lt_prog_compiler_wl
='-Wl,'
8450 lt_prog_compiler_pic
='-KPIC'
8451 lt_prog_compiler_static
='-Bstatic'
8455 if test -d /usr
/nec
;then
8456 lt_prog_compiler_pic
='-Kconform_pic'
8457 lt_prog_compiler_static
='-Bstatic'
8461 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8462 lt_prog_compiler_wl
='-Wl,'
8463 lt_prog_compiler_pic
='-KPIC'
8464 lt_prog_compiler_static
='-Bstatic'
8468 lt_prog_compiler_wl
='-Wl,'
8469 lt_prog_compiler_can_build_shared
=no
8473 lt_prog_compiler_pic
='-pic'
8474 lt_prog_compiler_static
='-Bstatic'
8478 lt_prog_compiler_can_build_shared
=no
8484 # For platforms which do not support PIC, -DPIC is meaningless:
8486 lt_prog_compiler_pic
=
8489 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8492 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8493 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8501 # Check to make sure the PIC flag actually works.
8503 if test -n "$lt_prog_compiler_pic"; then
8504 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8505 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8506 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 lt_cv_prog_compiler_pic_works
=no
8510 ac_outfile
=conftest.
$ac_objext
8511 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8512 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8513 # Insert the option either (1) after the last *FLAGS variable, or
8514 # (2) before a word containing "conftest.", or (3) at the end.
8515 # Note that $ac_compile itself does not contain backslashes and begins
8516 # with a dollar sign (not a hyphen), so the echo should work correctly.
8517 # The option is referenced via a variable to avoid confusing sed.
8518 lt_compile
=`echo "$ac_compile" | $SED \
8519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521 -e 's:$: $lt_compiler_flag:'`
8522 (eval echo "\"\$as_me:8522: $lt_compile\"" >&5)
8523 (eval "$lt_compile" 2>conftest.err
)
8525 cat conftest.err
>&5
8526 echo "$as_me:8526: \$? = $ac_status" >&5
8527 if (exit $ac_status) && test -s "$ac_outfile"; then
8528 # The compiler can only warn and ignore the option if not recognized
8529 # So say no if there are warnings other than the usual output.
8530 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8532 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8533 lt_cv_prog_compiler_pic_works
=yes
8539 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8540 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8542 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8543 case $lt_prog_compiler_pic in
8545 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8548 lt_prog_compiler_pic
=
8549 lt_prog_compiler_can_build_shared
=no
8560 # Check to make sure the static flag actually works.
8562 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8563 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8564 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8565 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 lt_cv_prog_compiler_static_works
=no
8569 save_LDFLAGS
="$LDFLAGS"
8570 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8571 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8572 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8573 # The linker can only warn and ignore the option if not recognized
8574 # So say no if there are warnings
8575 if test -s conftest.err
; then
8576 # Append any errors to the config.log.
8577 cat conftest.err
1>&5
8578 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8579 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8580 if diff conftest.exp conftest.er2
>/dev
/null
; then
8581 lt_cv_prog_compiler_static_works
=yes
8584 lt_cv_prog_compiler_static_works
=yes
8588 LDFLAGS
="$save_LDFLAGS"
8591 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8592 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8594 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8597 lt_prog_compiler_static
=
8606 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8607 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8608 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 lt_cv_prog_compiler_c_o
=no
8612 $RM -r conftest
2>/dev
/null
8616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8618 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8619 # Insert the option either (1) after the last *FLAGS variable, or
8620 # (2) before a word containing "conftest.", or (3) at the end.
8621 # Note that $ac_compile itself does not contain backslashes and begins
8622 # with a dollar sign (not a hyphen), so the echo should work correctly.
8623 lt_compile
=`echo "$ac_compile" | $SED \
8624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8626 -e 's:$: $lt_compiler_flag:'`
8627 (eval echo "\"\$as_me:8627: $lt_compile\"" >&5)
8628 (eval "$lt_compile" 2>out
/conftest.err
)
8630 cat out
/conftest.err
>&5
8631 echo "$as_me:8631: \$? = $ac_status" >&5
8632 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8634 # The compiler can only warn and ignore the option if not recognized
8635 # So say no if there are warnings
8636 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8637 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8638 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8639 lt_cv_prog_compiler_c_o
=yes
8644 # SGI C++ compiler will create directory out/ii_files/ for
8645 # template instantiation
8646 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8647 $RM out
/* && rmdir out
8653 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8654 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8661 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8662 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8663 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 lt_cv_prog_compiler_c_o
=no
8667 $RM -r conftest
2>/dev
/null
8671 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8673 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8674 # Insert the option either (1) after the last *FLAGS variable, or
8675 # (2) before a word containing "conftest.", or (3) at the end.
8676 # Note that $ac_compile itself does not contain backslashes and begins
8677 # with a dollar sign (not a hyphen), so the echo should work correctly.
8678 lt_compile
=`echo "$ac_compile" | $SED \
8679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8681 -e 's:$: $lt_compiler_flag:'`
8682 (eval echo "\"\$as_me:8682: $lt_compile\"" >&5)
8683 (eval "$lt_compile" 2>out
/conftest.err
)
8685 cat out
/conftest.err
>&5
8686 echo "$as_me:8686: \$? = $ac_status" >&5
8687 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8689 # The compiler can only warn and ignore the option if not recognized
8690 # So say no if there are warnings
8691 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8692 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8693 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8694 lt_cv_prog_compiler_c_o
=yes
8699 # SGI C++ compiler will create directory out/ii_files/ for
8700 # template instantiation
8701 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8702 $RM out
/* && rmdir out
8708 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8709 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8714 hard_links
="nottested"
8715 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8716 # do not overwrite the value of need_locks provided by the user
8717 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8718 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8721 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8723 ln conftest.a conftest.b
2>&5 || hard_links
=no
8724 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8725 echo "$as_me:$LINENO: result: $hard_links" >&5
8726 echo "${ECHO_T}$hard_links" >&6
8727 if test "$hard_links" = no
; then
8728 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8729 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8741 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8742 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8745 allow_undefined_flag
=
8746 always_export_symbols
=no
8748 archive_expsym_cmds
=
8749 compiler_needs_object
=no
8750 enable_shared_with_static_runtimes
=no
8751 export_dynamic_flag_spec
=
8752 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8753 hardcode_automatic
=no
8755 hardcode_direct_absolute
=no
8756 hardcode_libdir_flag_spec
=
8757 hardcode_libdir_flag_spec_ld
=
8758 hardcode_libdir_separator
=
8760 hardcode_shlibpath_var
=unsupported
8762 link_all_deplibs
=unknown
8765 old_archive_from_new_cmds
=
8766 old_archive_from_expsyms_cmds
=
8767 thread_safe_flag_spec
=
8768 whole_archive_flag_spec
=
8769 # include_expsyms should be a list of space-separated symbols to be *always*
8770 # included in the symbol list
8772 # exclude_expsyms can be an extended regexp of symbols to exclude
8773 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8774 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8775 # as well as any symbol that contains `d'.
8776 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8777 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8778 # platforms (ab)use it in PIC code, but their linkers get confused if
8779 # the symbol is explicitly referenced. Since portable code cannot
8780 # rely on this symbol name, it's probably fine to never include it in
8781 # preloaded symbol tables.
8782 # Exclude shared library initialization/finalization symbols.
8783 extract_expsyms_cmds
=
8786 cygwin
* | mingw
* | pw32
* | cegcc
*)
8787 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8788 # When not using gcc, we currently assume that we are using
8789 # Microsoft Visual C++.
8790 if test "$GCC" != yes; then
8795 # we just hope/assume this is gcc and not c89 (= MSVC++)
8804 if test "$with_gnu_ld" = yes; then
8805 # If archive_cmds runs LD, not CC, wlarc should be empty
8808 # Set some defaults for GNU ld with shared library support. These
8809 # are reset later if shared libraries are not supported. Putting them
8810 # here allows them to be overridden if necessary.
8811 runpath_var
=LD_RUN_PATH
8812 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8813 export_dynamic_flag_spec
='${wl}--export-dynamic'
8814 # ancient GNU ld didn't support --whole-archive et. al.
8815 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8816 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8818 whole_archive_flag_spec
=
8820 supports_anon_versioning
=no
8821 case `$LD -v 2>&1` in
8822 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8823 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8824 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8825 *\
2.11.
*) ;; # other 2.11 versions
8826 *) supports_anon_versioning
=yes ;;
8829 # See if GNU ld supports shared libraries.
8832 # On AIX/PPC, the GNU linker is very broken
8833 if test "$host_cpu" != ia64
; then
8837 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8838 *** to be unable to reliably create shared libraries on AIX.
8839 *** Therefore, libtool is disabling shared libraries support. If you
8840 *** really care for shared libraries, you may want to modify your PATH
8841 *** so that a non-GNU linker is found, and then restart.
8850 # see comment about AmigaOS4 .so support
8851 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8852 archive_expsym_cmds
=''
8855 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)'
8856 hardcode_libdir_flag_spec
='-L$libdir'
8857 hardcode_minus_L
=yes
8863 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8864 allow_undefined_flag
=unsupported
8865 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8866 # support --undefined. This deserves some investigation. FIXME
8867 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8873 cygwin
* | mingw
* | pw32
* | cegcc
*)
8874 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8875 # as there is no search path for DLLs.
8876 hardcode_libdir_flag_spec
='-L$libdir'
8877 allow_undefined_flag
=unsupported
8878 always_export_symbols
=no
8879 enable_shared_with_static_runtimes
=yes
8880 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8882 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8883 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8884 # If the export-symbols file already is a .def file (1st line
8885 # is EXPORTS), use it as is; otherwise, prepend...
8886 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8887 cp $export_symbols $output_objdir/$soname.def;
8889 echo EXPORTS > $output_objdir/$soname.def;
8890 cat $export_symbols >> $output_objdir/$soname.def;
8892 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8900 hardcode_shlibpath_var
=no
8901 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8902 export_dynamic_flag_spec
='${wl}-E'
8903 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8904 # Instead, shared libraries are loaded at an image base (0x10000000 by
8905 # default) and relocated if they conflict, which is a slow very memory
8906 # consuming and fragmenting process. To avoid this, we pick a random,
8907 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8908 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8909 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8910 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'
8913 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8915 if test "$host_os" = linux-dietlibc
; then
8916 case $cc_basename in
8917 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8920 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8921 && test "$tmp_diet" = no
8924 tmp_sharedflag
='-shared'
8925 case $cc_basename,$host_cpu in
8926 pgcc
*) # Portland Group C compiler
8927 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'
8928 tmp_addflag
=' $pic_flag'
8930 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8931 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'
8932 tmp_addflag
=' $pic_flag -Mnomain' ;;
8933 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8934 tmp_addflag
=' -i_dynamic' ;;
8935 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8936 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8937 ifc
* | ifort
*) # Intel Fortran compiler
8938 tmp_addflag
=' -nofor_main' ;;
8939 lf95
*) # Lahey Fortran 8.1
8940 whole_archive_flag_spec
=
8941 tmp_sharedflag
='--shared' ;;
8942 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8943 tmp_sharedflag
='-qmkshrobj'
8946 case `$CC -V 2>&1 | sed 5q` in
8947 *Sun\ C
*) # Sun C 5.9
8948 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'
8949 compiler_needs_object
=yes
8950 tmp_sharedflag
='-G' ;;
8951 *Sun\ F
*) # Sun Fortran 8.3
8952 tmp_sharedflag
='-G' ;;
8954 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8956 if test "x$supports_anon_versioning" = xyes
; then
8957 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8958 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8959 echo "local: *; };" >> $output_objdir/$libname.ver~
8960 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8963 case $cc_basename in
8965 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8966 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8967 hardcode_libdir_flag_spec
=
8968 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8969 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8970 if test "x$supports_anon_versioning" = xyes
; then
8971 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8972 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8973 echo "local: *; };" >> $output_objdir/$libname.ver~
8974 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8984 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8985 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8988 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8994 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8998 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8999 *** create shared libraries on Solaris systems. Therefore, libtool
9000 *** is disabling shared libraries support. We urge you to upgrade GNU
9001 *** binutils to release 2.9.1 or newer. Another option is to modify
9002 *** your PATH or compiler configuration so that the native linker is
9003 *** used, and then restart.
9006 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9014 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9015 case `$LD -v 2>&1` in
9016 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9020 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9021 *** reliably create shared libraries on SCO systems. Therefore, libtool
9022 *** is disabling shared libraries support. We urge you to upgrade GNU
9023 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9024 *** your PATH or compiler configuration so that the native linker is
9025 *** used, and then restart.
9030 # For security reasons, it is highly recommended that you always
9031 # use absolute paths for naming shared libraries, and exclude the
9032 # DT_RUNPATH tag from executables and libraries. But doing so
9033 # requires that you compile everything twice, which is a pain.
9034 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9035 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9036 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9046 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9049 hardcode_shlibpath_var
=no
9053 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9054 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9055 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9062 if test "$ld_shlibs" = no
; then
9064 hardcode_libdir_flag_spec
=
9065 export_dynamic_flag_spec
=
9066 whole_archive_flag_spec
=
9069 # PORTME fill in a description of your system's linker (not GNU ld)
9072 allow_undefined_flag
=unsupported
9073 always_export_symbols
=yes
9074 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'
9075 # Note: this linker hardcodes the directories in LIBPATH if there
9076 # are no directories specified by -L.
9077 hardcode_minus_L
=yes
9078 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9079 # Neither direct hardcoding nor static linking is supported with a
9081 hardcode_direct
=unsupported
9086 if test "$host_cpu" = ia64
; then
9087 # On IA64, the linker does run time linking by default, so we don't
9088 # have to do anything special.
9089 aix_use_runtimelinking
=no
9090 exp_sym_flag
='-Bexport'
9093 # If we're using GNU nm, then we don't want the "-C" option.
9094 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9095 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9096 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'
9098 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'
9100 aix_use_runtimelinking
=no
9102 # Test if we are trying to use run time linking or normal
9103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9104 # need to do runtime linking.
9105 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9106 for ld_flag
in $LDFLAGS; do
9107 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9108 aix_use_runtimelinking
=yes
9115 exp_sym_flag
='-bexport'
9116 no_entry_flag
='-bnoentry'
9119 # When large executables or shared objects are built, AIX ld can
9120 # have problems creating the table of contents. If linking a library
9121 # or program results in "error TOC overflow" add -mminimal-toc to
9122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9127 hardcode_direct_absolute
=yes
9128 hardcode_libdir_separator
=':'
9129 link_all_deplibs
=yes
9130 file_list_spec
='${wl}-f,'
9132 if test "$GCC" = yes; then
9133 case $host_os in aix4.
[012]|aix4.
[012].
*)
9134 # We only want to do this on AIX 4.2 and lower, the check
9135 # below for broken collect2 doesn't work under 4.3+
9136 collect2name
=`${CC} -print-prog-name=collect2`
9137 if test -f "$collect2name" &&
9138 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9140 # We have reworked collect2
9143 # We have old collect2
9144 hardcode_direct
=unsupported
9145 # It fails to find uninstalled libraries when the uninstalled
9146 # path is not listed in the libpath. Setting hardcode_minus_L
9147 # to unsupported forces relinking
9148 hardcode_minus_L
=yes
9149 hardcode_libdir_flag_spec
='-L$libdir'
9150 hardcode_libdir_separator
=
9154 shared_flag
='-shared'
9155 if test "$aix_use_runtimelinking" = yes; then
9156 shared_flag
="$shared_flag "'${wl}-G'
9160 if test "$host_cpu" = ia64
; then
9161 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9162 # chokes on -Wl,-G. The following line is correct:
9165 if test "$aix_use_runtimelinking" = yes; then
9166 shared_flag
='${wl}-G'
9168 shared_flag
='${wl}-bM:SRE'
9173 export_dynamic_flag_spec
='${wl}-bexpall'
9174 # It seems that -bexpall does not export symbols beginning with
9175 # underscore (_), so it is better to generate a list of symbols to export.
9176 always_export_symbols
=yes
9177 if test "$aix_use_runtimelinking" = yes; then
9178 # Warning - without using the other runtime loading flags (-brtl),
9179 # -berok will link without error, but may produce a broken library.
9180 allow_undefined_flag
='-berok'
9181 # Determine the default libpath from the value encoded in an
9183 if test x
$gcc_no_link = xyes
; then
9184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9186 { (exit 1); exit 1; }; }
9188 cat >conftest.
$ac_ext <<_ACEOF
9191 cat confdefs.h
>>conftest.
$ac_ext
9192 cat >>conftest.
$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9203 rm -f conftest.
$ac_objext conftest
$ac_exeext
9204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9205 (eval $ac_link) 2>conftest.er1
9207 grep -v '^ *+' conftest.er1
>conftest.err
9209 cat conftest.err
>&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } &&
9212 { ac_try
='test -z "$ac_c_werror_flag"
9213 || test ! -s conftest.err'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; } &&
9219 { ac_try
='test -s conftest$ac_exeext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then
9226 lt_aix_libpath_sed
='
9227 /Import File Strings/,/^$/ {
9233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9234 # Check for a 64-bit object if we didn't find anything.
9235 if test -z "$aix_libpath"; then
9236 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.
$ac_ext >&5
9243 rm -f conftest.err conftest.
$ac_objext \
9244 conftest
$ac_exeext conftest.
$ac_ext
9245 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9247 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9248 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"
9250 if test "$host_cpu" = ia64
; then
9251 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9252 allow_undefined_flag
="-z nodefs"
9253 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"
9255 # Determine the default libpath from the value encoded in an
9257 if test x
$gcc_no_link = xyes
; then
9258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9260 { (exit 1); exit 1; }; }
9262 cat >conftest.
$ac_ext <<_ACEOF
9265 cat confdefs.h
>>conftest.
$ac_ext
9266 cat >>conftest.
$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9277 rm -f conftest.
$ac_objext conftest
$ac_exeext
9278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9279 (eval $ac_link) 2>conftest.er1
9281 grep -v '^ *+' conftest.er1
>conftest.err
9283 cat conftest.err
>&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); } &&
9286 { ac_try
='test -z "$ac_c_werror_flag"
9287 || test ! -s conftest.err'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; } &&
9293 { ac_try
='test -s conftest$ac_exeext'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9300 lt_aix_libpath_sed
='
9301 /Import File Strings/,/^$/ {
9307 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9308 # Check for a 64-bit object if we didn't find anything.
9309 if test -z "$aix_libpath"; then
9310 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9313 echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.
$ac_ext >&5
9317 rm -f conftest.err conftest.
$ac_objext \
9318 conftest
$ac_exeext conftest.
$ac_ext
9319 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9321 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9322 # Warning - without using the other run time loading flags,
9323 # -berok will link without error, but may produce a broken library.
9324 no_undefined_flag
=' ${wl}-bernotok'
9325 allow_undefined_flag
=' ${wl}-berok'
9326 # Exported symbols can be pulled into shared objects from archives
9327 whole_archive_flag_spec
='$convenience'
9328 archive_cmds_need_lc
=yes
9329 # This is similar to how AIX traditionally builds its shared libraries.
9330 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'
9338 # see comment about AmigaOS4 .so support
9339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds
=''
9343 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)'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_minus_L
=yes
9351 export_dynamic_flag_spec
=-rdynamic
9354 cygwin
* | mingw
* | pw32
* | cegcc
*)
9355 # When not using gcc, we currently assume that we are using
9356 # Microsoft Visual C++.
9357 # hardcode_libdir_flag_spec is actually meaningless, as there is
9358 # no search path for DLLs.
9359 hardcode_libdir_flag_spec
=' '
9360 allow_undefined_flag
=unsupported
9361 # Tell ltmain to make .lib files, not .a files.
9363 # Tell ltmain to make .dll files, not .so files.
9365 # FIXME: Setting linknames here is a bad hack.
9366 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9367 # The linker will automatically build a .lib file if we build a DLL.
9368 old_archive_from_new_cmds
='true'
9369 # FIXME: Should let the user specify the lib program.
9370 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9371 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9372 enable_shared_with_static_runtimes
=yes
9375 darwin
* | rhapsody
*)
9378 archive_cmds_need_lc
=no
9380 hardcode_automatic
=yes
9381 hardcode_shlibpath_var
=unsupported
9382 whole_archive_flag_spec
=''
9383 link_all_deplibs
=yes
9384 allow_undefined_flag
="$_lt_dar_allow_undefined"
9385 case $cc_basename in
9386 ifort
*) _lt_dar_can_shared
=yes ;;
9387 *) _lt_dar_can_shared
=$GCC ;;
9389 if test "$_lt_dar_can_shared" = "yes"; then
9390 output_verbose_link_cmd
=echo
9391 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9392 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9393 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}"
9394 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}"
9403 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9404 hardcode_libdir_flag_spec
='-L$libdir'
9405 hardcode_shlibpath_var
=no
9412 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9413 # support. Future versions do this automatically, but an explicit c++rt0.o
9414 # does not break anything, and helps significantly (at the cost of a little
9417 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9418 hardcode_libdir_flag_spec
='-R$libdir'
9420 hardcode_shlibpath_var
=no
9423 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9425 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9427 hardcode_minus_L
=yes
9428 hardcode_shlibpath_var
=no
9431 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9432 freebsd
* | dragonfly
*)
9433 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9434 hardcode_libdir_flag_spec
='-R$libdir'
9436 hardcode_shlibpath_var
=no
9440 if test "$GCC" = yes; then
9441 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'
9443 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'
9445 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9446 hardcode_libdir_separator
=:
9449 # hardcode_minus_L: Not really in the search PATH,
9450 # but as the default location of the library.
9451 hardcode_minus_L
=yes
9452 export_dynamic_flag_spec
='${wl}-E'
9456 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9457 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9461 if test "$with_gnu_ld" = no
; then
9462 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9463 hardcode_libdir_flag_spec_ld
='+b $libdir'
9464 hardcode_libdir_separator
=:
9466 hardcode_direct_absolute
=yes
9467 export_dynamic_flag_spec
='${wl}-E'
9468 # hardcode_minus_L: Not really in the search PATH,
9469 # but as the default location of the library.
9470 hardcode_minus_L
=yes
9475 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9478 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9481 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9490 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9500 if test "$with_gnu_ld" = no
; then
9501 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9502 hardcode_libdir_separator
=:
9507 hardcode_shlibpath_var
=no
9511 hardcode_direct_absolute
=yes
9512 export_dynamic_flag_spec
='${wl}-E'
9514 # hardcode_minus_L: Not really in the search PATH,
9515 # but as the default location of the library.
9516 hardcode_minus_L
=yes
9522 irix5
* | irix6
* | nonstopux
*)
9523 if test "$GCC" = yes; then
9524 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'
9525 # Try to use the -exported_symbol ld option, if it does not
9526 # work, assume that -exports_file does not work either and
9527 # implicitly export all symbols.
9528 save_LDFLAGS
="$LDFLAGS"
9529 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9530 if test x
$gcc_no_link = xyes
; then
9531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9533 { (exit 1); exit 1; }; }
9535 cat >conftest.
$ac_ext <<_ACEOF
9538 rm -f conftest.
$ac_objext conftest
$ac_exeext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9540 (eval $ac_link) 2>conftest.er1
9542 grep -v '^ *+' conftest.er1
>conftest.err
9544 cat conftest.err
>&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try
='test -z "$ac_c_werror_flag"
9548 || test ! -s conftest.err'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; } &&
9554 { ac_try
='test -s conftest$ac_exeext'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; }; then
9560 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'
9563 echo "$as_me: failed program was:" >&5
9564 sed 's/^/| /' conftest.
$ac_ext >&5
9567 rm -f conftest.err conftest.
$ac_objext \
9568 conftest
$ac_exeext conftest.
$ac_ext
9569 LDFLAGS
="$save_LDFLAGS"
9571 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'
9572 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'
9574 archive_cmds_need_lc
='no'
9575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9576 hardcode_libdir_separator
=:
9578 link_all_deplibs
=yes
9582 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9583 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9585 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9587 hardcode_libdir_flag_spec
='-R$libdir'
9589 hardcode_shlibpath_var
=no
9593 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9596 hardcode_libdir_separator
=:
9597 hardcode_shlibpath_var
=no
9604 if test -f /usr
/libexec
/ld.so
; then
9606 hardcode_shlibpath_var
=no
9607 hardcode_direct_absolute
=yes
9608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9609 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9610 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9611 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9612 export_dynamic_flag_spec
='${wl}-E'
9615 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9616 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_libdir_flag_spec
='-R$libdir'
9620 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9621 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9631 hardcode_libdir_flag_spec
='-L$libdir'
9632 hardcode_minus_L
=yes
9633 allow_undefined_flag
=unsupported
9634 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'
9635 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9639 if test "$GCC" = yes; then
9640 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9641 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'
9643 allow_undefined_flag
=' -expect_unresolved \*'
9644 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'
9646 archive_cmds_need_lc
='no'
9647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9648 hardcode_libdir_separator
=:
9651 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9652 if test "$GCC" = yes; then
9653 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9654 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'
9655 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9657 allow_undefined_flag
=' -expect_unresolved \*'
9658 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'
9659 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~
9660 $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'
9662 # Both c and cxx compiler support -rpath directly
9663 hardcode_libdir_flag_spec
='-rpath $libdir'
9665 archive_cmds_need_lc
='no'
9666 hardcode_libdir_separator
=:
9670 no_undefined_flag
=' -z defs'
9671 if test "$GCC" = yes; then
9673 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9675 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9677 case `$CC -V 2>&1` in
9680 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9681 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9682 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9686 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9688 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9692 hardcode_libdir_flag_spec
='-R$libdir'
9693 hardcode_shlibpath_var
=no
9695 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9697 # The compiler driver will combine and reorder linker options,
9698 # but understands `-z linker_flag'. GCC discards it without `$wl',
9699 # but is careful enough not to reorder.
9700 # Supported since Solaris 2.6 (maybe 2.5.1?)
9701 if test "$GCC" = yes; then
9702 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9704 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9708 link_all_deplibs
=yes
9712 if test "x$host_vendor" = xsequent
; then
9713 # Use $CC to link under sequent, because it throws in some extra .o
9714 # files that make .init and .fini sections work.
9715 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_libdir_flag_spec
='-L$libdir'
9721 hardcode_minus_L
=yes
9722 hardcode_shlibpath_var
=no
9726 case $host_vendor in
9728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9729 hardcode_direct
=yes # is this really true???
9732 ## LD is ld it makes a PLAMLIB
9733 ## CC just makes a GrossModule.
9734 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9735 reload_cmds
='$CC -r -o $output$reload_objs'
9739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9743 runpath_var
='LD_RUN_PATH'
9744 hardcode_shlibpath_var
=no
9748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9749 hardcode_shlibpath_var
=no
9750 export_dynamic_flag_spec
='-Bexport'
9754 if test -d /usr
/nec
; then
9755 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_shlibpath_var
=no
9757 runpath_var
=LD_RUN_PATH
9758 hardcode_runpath_var
=yes
9763 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9764 no_undefined_flag
='${wl}-z,text'
9765 archive_cmds_need_lc
=no
9766 hardcode_shlibpath_var
=no
9767 runpath_var
='LD_RUN_PATH'
9769 if test "$GCC" = yes; then
9770 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9778 sysv5
* | sco3.2v5
* | sco5v6
*)
9779 # Note: We can NOT use -z defs as we might desire, because we do not
9780 # link with -lc, and that would cause any symbols used from libc to
9781 # always be unresolved, which means just about no library would
9782 # ever link correctly. If we're not using GNU ld we use -z text
9783 # though, which does catch some bad symbols but isn't as heavy-handed
9785 no_undefined_flag
='${wl}-z,text'
9786 allow_undefined_flag
='${wl}-z,nodefs'
9787 archive_cmds_need_lc
=no
9788 hardcode_shlibpath_var
=no
9789 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9790 hardcode_libdir_separator
=':'
9791 link_all_deplibs
=yes
9792 export_dynamic_flag_spec
='${wl}-Bexport'
9793 runpath_var
='LD_RUN_PATH'
9795 if test "$GCC" = yes; then
9796 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9805 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9806 hardcode_libdir_flag_spec
='-L$libdir'
9807 hardcode_shlibpath_var
=no
9815 if test x
$host_vendor = xsni
; then
9817 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9818 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9824 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9825 echo "${ECHO_T}$ld_shlibs" >&6
9826 test "$ld_shlibs" = no
&& can_build_shared
=no
9828 with_gnu_ld
=$with_gnu_ld
9845 # Do we need to explicitly link libc?
9847 case "x$archive_cmds_need_lc" in
9849 # Assume -lc should be added
9850 archive_cmds_need_lc
=yes
9852 if test "$enable_shared" = yes && test "$GCC" = yes; then
9853 case $archive_cmds in
9855 # FIXME: we may have to deal with multi-command sequences.
9858 # Test whether the compiler implicitly links with -lc since on some
9859 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9860 # to ld, don't add -lc before -lgcc.
9861 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9862 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9867 (eval $ac_compile) 2>&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } 2>conftest.err
; then
9873 libobjs
=conftest.
$ac_objext
9875 wl
=$lt_prog_compiler_wl
9876 pic_flag
=$lt_prog_compiler_pic
9882 lt_save_allow_undefined_flag
=$allow_undefined_flag
9883 allow_undefined_flag
=
9884 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9885 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }
9890 archive_cmds_need_lc
=no
9892 archive_cmds_need_lc
=yes
9894 allow_undefined_flag
=$lt_save_allow_undefined_flag
9896 cat conftest.err
1>&5
9899 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9900 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10063 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10064 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10066 if test "$GCC" = yes; then
10068 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10069 *) lt_awk_arg
="/^libraries:/" ;;
10071 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10072 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10073 # if the path contains ";" then we assume it to be the separator
10074 # otherwise default to the standard path separator (i.e. ":") - it is
10075 # assumed that no part of a normal pathname contains ";" but that should
10076 # okay in the real world where ";" in dirpaths is itself problematic.
10077 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10079 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10081 # Ok, now we have the path, separated by spaces, we can step through it
10082 # and add multilib dir if necessary.
10083 lt_tmp_lt_search_path_spec
=
10084 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10085 for lt_sys_path
in $lt_search_path_spec; do
10086 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10087 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10089 test -d "$lt_sys_path" && \
10090 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10093 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10094 BEGIN {RS=" "; FS="/|\n";} {
10097 for (lt_i = NF; lt_i > 0; lt_i--) {
10098 if ($lt_i != "" && $lt_i != ".") {
10099 if ($lt_i == "..") {
10102 if (lt_count == 0) {
10103 lt_foo="/" $lt_i lt_foo;
10110 if (lt_foo != "") { lt_freq[lt_foo]++; }
10111 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10113 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10115 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10117 library_names_spec
=
10118 libname_spec
='lib$name'
10122 postuninstall_cmds
=
10126 shlibpath_overrides_runpath
=unknown
10128 dynamic_linker
="$host_os ld.so"
10129 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10130 need_lib_prefix
=unknown
10131 hardcode_into_libs
=no
10133 # when you set need_version to no, make sure it does not cause -set_version
10134 # flags to be left without arguments
10135 need_version
=unknown
10140 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10141 shlibpath_var
=LIBPATH
10143 # AIX 3 has no versioning support, so we append a major version to the name.
10144 soname_spec
='${libname}${release}${shared_ext}$major'
10151 hardcode_into_libs
=yes
10152 if test "$host_cpu" = ia64
; then
10153 # AIX 5 supports IA64
10154 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10155 shlibpath_var
=LD_LIBRARY_PATH
10157 # With GCC up to 2.95.x, collect2 would create an import file
10158 # for dependence libraries. The import file would start with
10159 # the line `#! .'. This would cause the generated library to
10160 # depend on `.', always an invalid library. This was fixed in
10161 # development snapshots of GCC prior to 3.0.
10163 aix4 | aix4.
[01] | aix4.
[01].
*)
10164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10166 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10169 can_build_shared
=no
10173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10174 # soname into executable. Probably we can add versioning support to
10175 # collect2, so additional links can be useful in future.
10176 if test "$aix_use_runtimelinking" = yes; then
10177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10178 # instead of lib<name>.a to let people know that these are not
10179 # typical AIX shared libraries.
10180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10182 # We preserve .a as extension for shared libraries through AIX4.2
10183 # and later when we are not doing run time linking.
10184 library_names_spec
='${libname}${release}.a $libname.a'
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10187 shlibpath_var
=LIBPATH
10194 # Since July 2007 AmigaOS4 officially supports .so libraries.
10195 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10199 library_names_spec
='$libname.ixlibrary $libname.a'
10200 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10201 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'
10207 library_names_spec
='${libname}${shared_ext}'
10208 dynamic_linker
="$host_os ld.so"
10209 shlibpath_var
=LIBRARY_PATH
10215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 soname_spec
='${libname}${release}${shared_ext}$major'
10217 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10220 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10221 # the default ld.so.conf also contains /usr/contrib/lib and
10222 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10223 # libtool to hard-code these into programs
10226 cygwin
* | mingw
* | pw32
* | cegcc
*)
10227 version_type
=windows
10232 case $GCC,$host_os in
10233 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10234 library_names_spec
='$libname.dll.a'
10235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10236 postinstall_cmds
='base_file=`basename \${file}`~
10237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10238 dldir=$destdir/`dirname \$dlpath`~
10239 test -d \$dldir || mkdir -p \$dldir~
10240 $install_prog $dir/$dlname \$dldir/$dlname~
10241 chmod a+x \$dldir/$dlname~
10242 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10243 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10245 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10246 dlpath=$dir/\$dldll~
10248 shlibpath_overrides_runpath
=yes
10252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10253 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10254 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10257 # MinGW DLLs use traditional 'lib' prefix
10258 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10259 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10260 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10261 # It is most probably a Windows format PATH printed by
10262 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10263 # path with ; separators, and with drive letters. We can handle the
10264 # drive letters (cygwin fileutils understands them), so leave them,
10265 # especially as we might pass files found there to a mingw objdump,
10266 # which wouldn't understand a cygwinified path. Ahh.
10267 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10269 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10273 # pw32 DLLs use 'pw' prefix rather than 'lib'
10274 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10280 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10283 dynamic_linker
='Win32 ld.exe'
10284 # FIXME: first we should search . and the directory the executable is in
10288 darwin
* | rhapsody
*)
10289 dynamic_linker
="$host_os dyld"
10290 version_type
=darwin
10293 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10294 soname_spec
='${libname}${release}${major}$shared_ext'
10295 shlibpath_overrides_runpath
=yes
10296 shlibpath_var
=DYLD_LIBRARY_PATH
10297 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10299 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10300 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 shlibpath_var
=LD_LIBRARY_PATH
10316 freebsd
* | dragonfly
*)
10317 # DragonFly does not have aout. When/if they implement a new
10318 # versioning mechanism, adjust this.
10319 if test -x /usr
/bin
/objformat
; then
10320 objformat
=`/usr/bin/objformat`
10323 freebsd
[123]*) objformat
=aout
;;
10324 *) objformat
=elf
;;
10327 version_type
=freebsd-
$objformat
10328 case $version_type in
10330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10335 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10339 shlibpath_var
=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath
=yes
10344 freebsd3.
[01]* | freebsdelf3.
[01]*)
10345 shlibpath_overrides_runpath
=yes
10346 hardcode_into_libs
=yes
10348 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10349 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10350 shlibpath_overrides_runpath
=no
10351 hardcode_into_libs
=yes
10353 *) # from 4.6 on, and DragonFly
10354 shlibpath_overrides_runpath
=yes
10355 hardcode_into_libs
=yes
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 hardcode_into_libs
=yes
10370 hpux9
* | hpux10
* | hpux11
*)
10371 # Give a soname corresponding to the major version so that dld.sl refuses to
10372 # link against other versions.
10379 hardcode_into_libs
=yes
10380 dynamic_linker
="$host_os dld.so"
10381 shlibpath_var
=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10384 soname_spec
='${libname}${release}${shared_ext}$major'
10385 if test "X$HPUX_IA64_MODE" = X32
; then
10386 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10388 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10390 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10394 hardcode_into_libs
=yes
10395 dynamic_linker
="$host_os dld.sl"
10396 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10397 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec
='${libname}${release}${shared_ext}$major'
10400 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10401 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10405 dynamic_linker
="$host_os dld.sl"
10406 shlibpath_var
=SHLIB_PATH
10407 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10412 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10413 postinstall_cmds
='chmod 555 $lib'
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10421 soname_spec
='${libname}${release}${shared_ext}$major'
10422 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10423 shlibpath_var
=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath
=no
10425 hardcode_into_libs
=yes
10428 irix5
* | irix6
* | nonstopux
*)
10430 nonstopux
*) version_type
=nonstopux
;;
10432 if test "$lt_cv_prog_gnu_ld" = yes; then
10440 soname_spec
='${libname}${release}${shared_ext}$major'
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10443 irix5
* | nonstopux
*)
10444 libsuff
= shlibsuff
=
10447 case $LD in # libtool.m4 will add one of these switches to LD
10448 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10449 libsuff
= shlibsuff
= libmagic
=32-bit;;
10450 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10451 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10452 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10453 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10454 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10458 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10459 shlibpath_overrides_runpath
=no
10460 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10461 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10462 hardcode_into_libs
=yes
10465 # No shared lib support for Linux oldld, aout, or coff.
10466 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10470 # This must be Linux ELF.
10471 linux
* | k
*bsd
*-gnu)
10475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 soname_spec
='${libname}${release}${shared_ext}$major'
10477 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10478 shlibpath_var
=LD_LIBRARY_PATH
10479 shlibpath_overrides_runpath
=no
10480 # Some binutils ld are patched to set DT_RUNPATH
10481 save_LDFLAGS
=$LDFLAGS
10482 save_libdir
=$libdir
10483 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10484 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10485 if test x
$gcc_no_link = xyes
; then
10486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10488 { (exit 1); exit 1; }; }
10490 cat >conftest.
$ac_ext <<_ACEOF
10493 cat confdefs.h
>>conftest.
$ac_ext
10494 cat >>conftest.
$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10505 rm -f conftest.
$ac_objext conftest
$ac_exeext
10506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10507 (eval $ac_link) 2>conftest.er1
10509 grep -v '^ *+' conftest.er1
>conftest.err
10511 cat conftest.err
>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); } &&
10514 { ac_try
='test -z "$ac_c_werror_flag"
10515 || test ! -s conftest.err'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; } &&
10521 { ac_try
='test -s conftest$ac_exeext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10528 shlibpath_overrides_runpath
=yes
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.
$ac_ext >&5
10536 rm -f conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LDFLAGS
=$save_LDFLAGS
10539 libdir
=$save_libdir
10541 # This implies no fast_install, which is unacceptable.
10542 # Some rework will be needed to allow for fast_install
10543 # before this can be enabled.
10544 hardcode_into_libs
=yes
10546 # Append ld.so.conf contents to the search path
10547 if test -f /etc
/ld.so.conf
; then
10548 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' ' '`
10549 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10552 # We used to test for /lib/ld.so.1 and disable shared libraries on
10553 # powerpc, because MkLinux only supported shared libraries with the
10554 # GNU dynamic linker. Since this was broken with cross compilers,
10555 # most powerpc-linux boxes support dynamic linking these days and
10556 # people can always --disable-shared, the test was removed, and we
10557 # assume the GNU/Linux dynamic linker is in use.
10558 dynamic_linker
='GNU/Linux ld.so'
10565 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10567 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10568 dynamic_linker
='NetBSD (a.out) ld.so'
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 dynamic_linker
='NetBSD ld.elf_so'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 shlibpath_overrides_runpath
=yes
10576 hardcode_into_libs
=yes
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 soname_spec
='${libname}${release}${shared_ext}$major'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=no
10594 hardcode_into_libs
=yes
10595 dynamic_linker
='ldqnx.so'
10600 sys_lib_dlsearch_path_spec
="/usr/lib"
10602 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10604 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10605 *) need_version
=no
;;
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10612 openbsd2.
[89] | openbsd2.
[89].
*)
10613 shlibpath_overrides_runpath
=no
10616 shlibpath_overrides_runpath
=yes
10620 shlibpath_overrides_runpath
=yes
10625 libname_spec
='$name'
10628 library_names_spec
='$libname${shared_ext} $libname.a'
10629 dynamic_linker
='OS/2 ld.exe'
10630 shlibpath_var
=LIBPATH
10633 osf3
* | osf4
* | osf5
*)
10637 soname_spec
='${libname}${release}${shared_ext}$major'
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 shlibpath_var
=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10641 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 shlibpath_var
=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath
=yes
10656 hardcode_into_libs
=yes
10657 # ldd complains unless libraries are executable
10658 postinstall_cmds
='chmod +x $lib'
10663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10664 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10665 shlibpath_var
=LD_LIBRARY_PATH
10666 shlibpath_overrides_runpath
=yes
10667 if test "$with_gnu_ld" = yes; then
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec
='${libname}${release}${shared_ext}$major'
10677 shlibpath_var
=LD_LIBRARY_PATH
10678 case $host_vendor in
10680 shlibpath_overrides_runpath
=no
10682 runpath_var
=LD_RUN_PATH
10690 shlibpath_overrides_runpath
=no
10691 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10697 if test -d /usr
/nec
;then
10699 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10700 soname_spec
='$libname${shared_ext}.$major'
10701 shlibpath_var
=LD_LIBRARY_PATH
10705 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10706 version_type
=freebsd-elf
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10710 soname_spec
='${libname}${release}${shared_ext}$major'
10711 shlibpath_var
=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath
=yes
10713 hardcode_into_libs
=yes
10714 if test "$with_gnu_ld" = yes; then
10715 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10717 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10720 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10724 sys_lib_dlsearch_path_spec
='/usr/lib'
10728 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 shlibpath_var
=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath
=no
10735 hardcode_into_libs
=yes
10740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741 soname_spec
='${libname}${release}${shared_ext}$major'
10742 shlibpath_var
=LD_LIBRARY_PATH
10749 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10750 echo "${ECHO_T}$dynamic_linker" >&6
10751 test "$dynamic_linker" = no
&& can_build_shared
=no
10753 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10754 if test "$GCC" = yes; then
10755 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10758 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10759 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10761 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10762 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10851 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10852 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10854 if test -n "$hardcode_libdir_flag_spec" ||
10855 test -n "$runpath_var" ||
10856 test "X$hardcode_automatic" = "Xyes" ; then
10858 # We can hardcode non-existent directories.
10859 if test "$hardcode_direct" != no
&&
10860 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10861 # have to relink, otherwise we might link with an installed library
10862 # when we should be linking with a yet-to-be-installed one
10863 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10864 test "$hardcode_minus_L" != no
; then
10865 # Linking always hardcodes the temporary library directory.
10866 hardcode_action
=relink
10868 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10869 hardcode_action
=immediate
10872 # We cannot hardcode anything, or else we can only hardcode existing
10874 hardcode_action
=unsupported
10876 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10877 echo "${ECHO_T}$hardcode_action" >&6
10879 if test "$hardcode_action" = relink ||
10880 test "$inherit_rpath" = yes; then
10881 # Fast installation is not supported
10882 enable_fast_install
=no
10883 elif test "$shlibpath_overrides_runpath" = yes ||
10884 test "$enable_shared" = no
; then
10885 # Fast installation is not necessary
10886 enable_fast_install
=needless
10894 if test "x$enable_dlopen" != xyes
; then
10895 enable_dlopen
=unknown
10896 enable_dlopen_self
=unknown
10897 enable_dlopen_self_static
=unknown
10904 lt_cv_dlopen
="load_add_on"
10906 lt_cv_dlopen_self
=yes
10909 mingw
* | pw32
* | cegcc
*)
10910 lt_cv_dlopen
="LoadLibrary"
10915 lt_cv_dlopen
="dlopen"
10920 # if libdl is installed we need to link against it
10921 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10922 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10923 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10928 if test x
$gcc_no_link = xyes
; then
10929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10931 { (exit 1); exit 1; }; }
10933 cat >conftest.
$ac_ext <<_ACEOF
10936 cat confdefs.h
>>conftest.
$ac_ext
10937 cat >>conftest.
$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10940 /* Override any gcc2 internal prototype to avoid an error. */
10944 /* We use char because int might match the return type of a gcc2
10945 builtin and then its argument prototype would still apply. */
10955 rm -f conftest.
$ac_objext conftest
$ac_exeext
10956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10957 (eval $ac_link) 2>conftest.er1
10959 grep -v '^ *+' conftest.er1
>conftest.err
10961 cat conftest.err
>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } &&
10964 { ac_try
='test -z "$ac_c_werror_flag"
10965 || test ! -s conftest.err'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; } &&
10971 { ac_try
='test -s conftest$ac_exeext'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; }; then
10977 ac_cv_lib_dl_dlopen
=yes
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.
$ac_ext >&5
10982 ac_cv_lib_dl_dlopen
=no
10984 rm -f conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10989 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10990 if test $ac_cv_lib_dl_dlopen = yes; then
10991 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10994 lt_cv_dlopen
="dyld"
10996 lt_cv_dlopen_self
=yes
11003 echo "$as_me:$LINENO: checking for shl_load" >&5
11004 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11005 if test "${ac_cv_func_shl_load+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 if test x
$gcc_no_link = xyes
; then
11009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11011 { (exit 1); exit 1; }; }
11013 cat >conftest.
$ac_ext <<_ACEOF
11016 cat confdefs.h
>>conftest.
$ac_ext
11017 cat >>conftest.
$ac_ext <<_ACEOF
11018 /* end confdefs.h. */
11019 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11021 #define shl_load innocuous_shl_load
11023 /* System header to define __stub macros and hopefully few prototypes,
11024 which can conflict with char shl_load (); below.
11025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11026 <limits.h> exists even on freestanding compilers. */
11029 # include <limits.h>
11031 # include <assert.h>
11036 /* Override any gcc2 internal prototype to avoid an error. */
11041 /* We use char because int might match the return type of a gcc2
11042 builtin and then its argument prototype would still apply. */
11044 /* The GNU C library defines this for functions which it implements
11045 to always fail with ENOSYS. Some functions are actually named
11046 something starting with __ and the normal name is an alias. */
11047 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11050 char (*f) () = shl_load;
11059 return f != shl_load;
11064 rm -f conftest.
$ac_objext conftest
$ac_exeext
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>conftest.er1
11068 grep -v '^ *+' conftest.er1
>conftest.err
11070 cat conftest.err
>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try
='test -z "$ac_c_werror_flag"
11074 || test ! -s conftest.err'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; } &&
11080 { ac_try
='test -s conftest$ac_exeext'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; }; then
11086 ac_cv_func_shl_load
=yes
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.
$ac_ext >&5
11091 ac_cv_func_shl_load
=no
11093 rm -f conftest.err conftest.
$ac_objext \
11094 conftest
$ac_exeext conftest.
$ac_ext
11096 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11097 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11098 if test $ac_cv_func_shl_load = yes; then
11099 lt_cv_dlopen
="shl_load"
11101 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11102 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11103 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_check_lib_save_LIBS
=$LIBS
11108 if test x
$gcc_no_link = xyes
; then
11109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11111 { (exit 1); exit 1; }; }
11113 cat >conftest.
$ac_ext <<_ACEOF
11116 cat confdefs.h
>>conftest.
$ac_ext
11117 cat >>conftest.
$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11120 /* Override any gcc2 internal prototype to avoid an error. */
11124 /* We use char because int might match the return type of a gcc2
11125 builtin and then its argument prototype would still apply. */
11135 rm -f conftest.
$ac_objext conftest
$ac_exeext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11137 (eval $ac_link) 2>conftest.er1
11139 grep -v '^ *+' conftest.er1
>conftest.err
11141 cat conftest.err
>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try
='test -z "$ac_c_werror_flag"
11145 || test ! -s conftest.err'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; } &&
11151 { ac_try
='test -s conftest$ac_exeext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 ac_cv_lib_dld_shl_load
=yes
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.
$ac_ext >&5
11162 ac_cv_lib_dld_shl_load
=no
11164 rm -f conftest.err conftest.
$ac_objext \
11165 conftest
$ac_exeext conftest.
$ac_ext
11166 LIBS
=$ac_check_lib_save_LIBS
11168 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11169 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11170 if test $ac_cv_lib_dld_shl_load = yes; then
11171 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11173 echo "$as_me:$LINENO: checking for dlopen" >&5
11174 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11175 if test "${ac_cv_func_dlopen+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 if test x
$gcc_no_link = xyes
; then
11179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11181 { (exit 1); exit 1; }; }
11183 cat >conftest.
$ac_ext <<_ACEOF
11186 cat confdefs.h
>>conftest.
$ac_ext
11187 cat >>conftest.
$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11189 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11191 #define dlopen innocuous_dlopen
11193 /* System header to define __stub macros and hopefully few prototypes,
11194 which can conflict with char dlopen (); below.
11195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11196 <limits.h> exists even on freestanding compilers. */
11199 # include <limits.h>
11201 # include <assert.h>
11206 /* Override any gcc2 internal prototype to avoid an error. */
11211 /* We use char because int might match the return type of a gcc2
11212 builtin and then its argument prototype would still apply. */
11214 /* The GNU C library defines this for functions which it implements
11215 to always fail with ENOSYS. Some functions are actually named
11216 something starting with __ and the normal name is an alias. */
11217 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11220 char (*f) () = dlopen;
11229 return f != dlopen;
11234 rm -f conftest.
$ac_objext conftest
$ac_exeext
11235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11236 (eval $ac_link) 2>conftest.er1
11238 grep -v '^ *+' conftest.er1
>conftest.err
11240 cat conftest.err
>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } &&
11243 { ac_try
='test -z "$ac_c_werror_flag"
11244 || test ! -s conftest.err'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; } &&
11250 { ac_try
='test -s conftest$ac_exeext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_cv_func_dlopen
=yes
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.
$ac_ext >&5
11261 ac_cv_func_dlopen
=no
11263 rm -f conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11266 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11267 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11268 if test $ac_cv_func_dlopen = yes; then
11269 lt_cv_dlopen
="dlopen"
11271 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11272 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11273 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 ac_check_lib_save_LIBS
=$LIBS
11278 if test x
$gcc_no_link = xyes
; then
11279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11281 { (exit 1); exit 1; }; }
11283 cat >conftest.
$ac_ext <<_ACEOF
11286 cat confdefs.h
>>conftest.
$ac_ext
11287 cat >>conftest.
$ac_ext <<_ACEOF
11288 /* end confdefs.h. */
11290 /* Override any gcc2 internal prototype to avoid an error. */
11294 /* We use char because int might match the return type of a gcc2
11295 builtin and then its argument prototype would still apply. */
11305 rm -f conftest.
$ac_objext conftest
$ac_exeext
11306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11307 (eval $ac_link) 2>conftest.er1
11309 grep -v '^ *+' conftest.er1
>conftest.err
11311 cat conftest.err
>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); } &&
11314 { ac_try
='test -z "$ac_c_werror_flag"
11315 || test ! -s conftest.err'
11316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11317 (eval $ac_try) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; } &&
11321 { ac_try
='test -s conftest$ac_exeext'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; }; then
11327 ac_cv_lib_dl_dlopen
=yes
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.
$ac_ext >&5
11332 ac_cv_lib_dl_dlopen
=no
11334 rm -f conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 LIBS
=$ac_check_lib_save_LIBS
11338 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11339 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11340 if test $ac_cv_lib_dl_dlopen = yes; then
11341 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11343 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11344 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11345 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 ac_check_lib_save_LIBS
=$LIBS
11349 LIBS
="-lsvld $LIBS"
11350 if test x
$gcc_no_link = xyes
; then
11351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11353 { (exit 1); exit 1; }; }
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11362 /* Override any gcc2 internal prototype to avoid an error. */
11366 /* We use char because int might match the return type of a gcc2
11367 builtin and then its argument prototype would still apply. */
11377 rm -f conftest.
$ac_objext conftest
$ac_exeext
11378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11379 (eval $ac_link) 2>conftest.er1
11381 grep -v '^ *+' conftest.er1
>conftest.err
11383 cat conftest.err
>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try
='test -z "$ac_c_werror_flag"
11387 || test ! -s conftest.err'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; } &&
11393 { ac_try
='test -s conftest$ac_exeext'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; }; then
11399 ac_cv_lib_svld_dlopen
=yes
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.
$ac_ext >&5
11404 ac_cv_lib_svld_dlopen
=no
11406 rm -f conftest.err conftest.
$ac_objext \
11407 conftest
$ac_exeext conftest.
$ac_ext
11408 LIBS
=$ac_check_lib_save_LIBS
11410 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11411 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11412 if test $ac_cv_lib_svld_dlopen = yes; then
11413 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11415 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11416 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11417 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 ac_check_lib_save_LIBS
=$LIBS
11422 if test x
$gcc_no_link = xyes
; then
11423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11425 { (exit 1); exit 1; }; }
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 /* Override any gcc2 internal prototype to avoid an error. */
11438 /* We use char because int might match the return type of a gcc2
11439 builtin and then its argument prototype would still apply. */
11449 rm -f conftest.
$ac_objext conftest
$ac_exeext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11451 (eval $ac_link) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try
='test -z "$ac_c_werror_flag"
11459 || test ! -s conftest.err'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; } &&
11465 { ac_try
='test -s conftest$ac_exeext'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; }; then
11471 ac_cv_lib_dld_dld_link
=yes
11473 echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.
$ac_ext >&5
11476 ac_cv_lib_dld_dld_link
=no
11478 rm -f conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_lib_save_LIBS
11482 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11483 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11484 if test $ac_cv_lib_dld_dld_link = yes; then
11485 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11506 if test "x$lt_cv_dlopen" != xno
; then
11512 case $lt_cv_dlopen in
11514 save_CPPFLAGS
="$CPPFLAGS"
11515 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11517 save_LDFLAGS
="$LDFLAGS"
11518 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11521 LIBS
="$lt_cv_dlopen_libs $LIBS"
11523 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11524 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11525 if test "${lt_cv_dlopen_self+set}" = set; then
11526 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 if test "$cross_compiling" = yes; then :
11529 lt_cv_dlopen_self
=cross
11531 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11532 lt_status
=$lt_dlunknown
11533 cat > conftest.
$ac_ext <<_LT_EOF
11534 #line 11534 "configure"
11535 #include "confdefs.h"
11544 # define LT_DLGLOBAL RTLD_GLOBAL
11547 # define LT_DLGLOBAL DL_GLOBAL
11549 # define LT_DLGLOBAL 0
11553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11554 find out it does not work in some platform. */
11555 #ifndef LT_DLLAZY_OR_NOW
11557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11560 # define LT_DLLAZY_OR_NOW DL_LAZY
11563 # define LT_DLLAZY_OR_NOW RTLD_NOW
11566 # define LT_DLLAZY_OR_NOW DL_NOW
11568 # define LT_DLLAZY_OR_NOW 0
11575 void fnord() { int i=42;}
11578 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11579 int status = $lt_dlunknown;
11583 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11584 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11585 /* dlclose (self); */
11593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11594 (eval $ac_link) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11598 (.
/conftest
; exit; ) >&5 2>/dev
/null
11600 case x
$lt_status in
11601 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11602 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11603 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11606 # compilation failed
11607 lt_cv_dlopen_self
=no
11614 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11615 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11617 if test "x$lt_cv_dlopen_self" = xyes
; then
11618 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11619 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11620 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11621 if test "${lt_cv_dlopen_self_static+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 if test "$cross_compiling" = yes; then :
11625 lt_cv_dlopen_self_static
=cross
11627 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11628 lt_status
=$lt_dlunknown
11629 cat > conftest.
$ac_ext <<_LT_EOF
11630 #line 11630 "configure"
11631 #include "confdefs.h"
11640 # define LT_DLGLOBAL RTLD_GLOBAL
11643 # define LT_DLGLOBAL DL_GLOBAL
11645 # define LT_DLGLOBAL 0
11649 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11650 find out it does not work in some platform. */
11651 #ifndef LT_DLLAZY_OR_NOW
11653 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11656 # define LT_DLLAZY_OR_NOW DL_LAZY
11659 # define LT_DLLAZY_OR_NOW RTLD_NOW
11662 # define LT_DLLAZY_OR_NOW DL_NOW
11664 # define LT_DLLAZY_OR_NOW 0
11671 void fnord() { int i=42;}
11674 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11675 int status = $lt_dlunknown;
11679 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11680 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 /* dlclose (self); */
11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11694 (.
/conftest
; exit; ) >&5 2>/dev
/null
11696 case x
$lt_status in
11697 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11698 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11699 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11702 # compilation failed
11703 lt_cv_dlopen_self_static
=no
11710 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11711 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11714 CPPFLAGS
="$save_CPPFLAGS"
11715 LDFLAGS
="$save_LDFLAGS"
11720 case $lt_cv_dlopen_self in
11721 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11722 *) enable_dlopen_self
=unknown
;;
11725 case $lt_cv_dlopen_self_static in
11726 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11727 *) enable_dlopen_self_static
=unknown
;;
11749 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11750 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11751 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11752 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11753 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11754 echo "$as_me:$LINENO: result: yes" >&5
11755 echo "${ECHO_T}yes" >&6
11757 # FIXME - insert some real tests, host_os isn't really good enough
11760 if test -n "$STRIP" ; then
11761 striplib
="$STRIP -x"
11762 old_striplib
="$STRIP -S"
11763 echo "$as_me:$LINENO: result: yes" >&5
11764 echo "${ECHO_T}yes" >&6
11766 echo "$as_me:$LINENO: result: no" >&5
11767 echo "${ECHO_T}no" >&6
11771 echo "$as_me:$LINENO: result: no" >&5
11772 echo "${ECHO_T}no" >&6
11788 # Report which library types will actually be built
11789 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11790 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11791 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11792 echo "${ECHO_T}$can_build_shared" >&6
11794 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11795 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11796 test "$can_build_shared" = "no" && enable_shared
=no
11798 # On AIX, shared libraries and static libraries use the same namespace, and
11799 # are all built from PIC.
11802 test "$enable_shared" = yes && enable_static
=no
11803 if test -n "$RANLIB"; then
11804 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11805 postinstall_cmds
='$RANLIB $lib'
11810 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11811 test "$enable_shared" = yes && enable_static
=no
11815 echo "$as_me:$LINENO: result: $enable_shared" >&5
11816 echo "${ECHO_T}$enable_shared" >&6
11818 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11819 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11820 # Make sure either enable_shared or enable_static is yes.
11821 test "$enable_shared" = yes || enable_static
=yes
11822 echo "$as_me:$LINENO: result: $enable_static" >&5
11823 echo "${ECHO_T}$enable_static" >&6
11830 ac_cpp
='$CPP $CPPFLAGS'
11831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11849 ac_config_commands
="$ac_config_commands libtool"
11854 # Only expand once:
11857 for ac_prog
in gawk mawk nawk
awk
11859 # Extract the first word of "$ac_prog", so it can be a program name with args.
11860 set dummy
$ac_prog; ac_word
=$2
11861 echo "$as_me:$LINENO: checking for $ac_word" >&5
11862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11863 if test "${ac_cv_prog_AWK+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 if test -n "$AWK"; then
11867 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11870 for as_dir
in $PATH
11873 test -z "$as_dir" && as_dir
=.
11874 for ac_exec_ext
in '' $ac_executable_extensions; do
11875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11876 ac_cv_prog_AWK
="$ac_prog"
11877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 AWK
=$ac_cv_prog_AWK
11886 if test -n "$AWK"; then
11887 echo "$as_me:$LINENO: result: $AWK" >&5
11888 echo "${ECHO_T}$AWK" >&6
11890 echo "$as_me:$LINENO: result: no" >&5
11891 echo "${ECHO_T}no" >&6
11894 test -n "$AWK" && break
11898 ac_cpp
='$CPP $CPPFLAGS'
11899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11902 if test -n "$ac_tool_prefix"; then
11903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11904 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11905 echo "$as_me:$LINENO: checking for $ac_word" >&5
11906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11907 if test "${ac_cv_prog_CC+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 if test -n "$CC"; then
11911 ac_cv_prog_CC
="$CC" # Let the user override the test.
11913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11914 for as_dir
in $PATH
11917 test -z "$as_dir" && as_dir
=.
11918 for ac_exec_ext
in '' $ac_executable_extensions; do
11919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11920 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11930 if test -n "$CC"; then
11931 echo "$as_me:$LINENO: result: $CC" >&5
11932 echo "${ECHO_T}$CC" >&6
11934 echo "$as_me:$LINENO: result: no" >&5
11935 echo "${ECHO_T}no" >&6
11939 if test -z "$ac_cv_prog_CC"; then
11941 # Extract the first word of "gcc", so it can be a program name with args.
11942 set dummy gcc
; ac_word
=$2
11943 echo "$as_me:$LINENO: checking for $ac_word" >&5
11944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11945 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 if test -n "$ac_ct_CC"; then
11949 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11952 for as_dir
in $PATH
11955 test -z "$as_dir" && as_dir
=.
11956 for ac_exec_ext
in '' $ac_executable_extensions; do
11957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11958 ac_cv_prog_ac_ct_CC
="gcc"
11959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11968 if test -n "$ac_ct_CC"; then
11969 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11970 echo "${ECHO_T}$ac_ct_CC" >&6
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11978 CC
="$ac_cv_prog_CC"
11981 if test -z "$CC"; then
11982 if test -n "$ac_tool_prefix"; then
11983 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11984 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_CC+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 if test -n "$CC"; then
11991 ac_cv_prog_CC
="$CC" # Let the user override the test.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12010 if test -n "$CC"; then
12011 echo "$as_me:$LINENO: result: $CC" >&5
12012 echo "${ECHO_T}$CC" >&6
12014 echo "$as_me:$LINENO: result: no" >&5
12015 echo "${ECHO_T}no" >&6
12019 if test -z "$ac_cv_prog_CC"; then
12021 # Extract the first word of "cc", so it can be a program name with args.
12022 set dummy cc
; ac_word
=$2
12023 echo "$as_me:$LINENO: checking for $ac_word" >&5
12024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 if test -n "$ac_ct_CC"; then
12029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12032 for as_dir
in $PATH
12035 test -z "$as_dir" && as_dir
=.
12036 for ac_exec_ext
in '' $ac_executable_extensions; do
12037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12038 ac_cv_prog_ac_ct_CC
="cc"
12039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12048 if test -n "$ac_ct_CC"; then
12049 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12050 echo "${ECHO_T}$ac_ct_CC" >&6
12052 echo "$as_me:$LINENO: result: no" >&5
12053 echo "${ECHO_T}no" >&6
12058 CC
="$ac_cv_prog_CC"
12062 if test -z "$CC"; then
12063 # Extract the first word of "cc", so it can be a program name with args.
12064 set dummy cc
; ac_word
=$2
12065 echo "$as_me:$LINENO: checking for $ac_word" >&5
12066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12067 if test "${ac_cv_prog_CC+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 if test -n "$CC"; then
12071 ac_cv_prog_CC
="$CC" # Let the user override the test.
12073 ac_prog_rejected
=no
12074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12075 for as_dir
in $PATH
12078 test -z "$as_dir" && as_dir
=.
12079 for ac_exec_ext
in '' $ac_executable_extensions; do
12080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12082 ac_prog_rejected
=yes
12086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12092 if test $ac_prog_rejected = yes; then
12093 # We found a bogon in the path, so make sure we never use it.
12094 set dummy
$ac_cv_prog_CC
12096 if test $# != 0; then
12097 # We chose a different compiler from the bogus one.
12098 # However, it has the same basename, so the bogon will be chosen
12099 # first if we set CC to just the basename; use the full file name.
12101 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12107 if test -n "$CC"; then
12108 echo "$as_me:$LINENO: result: $CC" >&5
12109 echo "${ECHO_T}$CC" >&6
12111 echo "$as_me:$LINENO: result: no" >&5
12112 echo "${ECHO_T}no" >&6
12116 if test -z "$CC"; then
12117 if test -n "$ac_tool_prefix"; then
12120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12121 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12122 echo "$as_me:$LINENO: checking for $ac_word" >&5
12123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12124 if test "${ac_cv_prog_CC+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 if test -n "$CC"; then
12128 ac_cv_prog_CC
="$CC" # Let the user override the test.
12130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12131 for as_dir
in $PATH
12134 test -z "$as_dir" && as_dir
=.
12135 for ac_exec_ext
in '' $ac_executable_extensions; do
12136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12137 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12147 if test -n "$CC"; then
12148 echo "$as_me:$LINENO: result: $CC" >&5
12149 echo "${ECHO_T}$CC" >&6
12151 echo "$as_me:$LINENO: result: no" >&5
12152 echo "${ECHO_T}no" >&6
12155 test -n "$CC" && break
12158 if test -z "$CC"; then
12162 # Extract the first word of "$ac_prog", so it can be a program name with args.
12163 set dummy
$ac_prog; ac_word
=$2
12164 echo "$as_me:$LINENO: checking for $ac_word" >&5
12165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12166 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 if test -n "$ac_ct_CC"; then
12170 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12173 for as_dir
in $PATH
12176 test -z "$as_dir" && as_dir
=.
12177 for ac_exec_ext
in '' $ac_executable_extensions; do
12178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12179 ac_cv_prog_ac_ct_CC
="$ac_prog"
12180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12188 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12189 if test -n "$ac_ct_CC"; then
12190 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12191 echo "${ECHO_T}$ac_ct_CC" >&6
12193 echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6
12197 test -n "$ac_ct_CC" && break
12206 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12207 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12208 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12209 See \`config.log' for more details." >&5
12210 echo "$as_me: error: no acceptable C compiler found in \$PATH
12211 See \`config.log' for more details." >&2;}
12212 { (exit 1); exit 1; }; }; }
12214 # Provide some information about the compiler.
12215 echo "$as_me:$LINENO:" \
12216 "checking for C compiler version" >&5
12217 ac_compiler
=`set X $ac_compile; echo $2`
12218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12219 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }
12223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12224 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }
12228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12229 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }
12234 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12235 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12236 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12257 rm -f conftest.
$ac_objext
12258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12259 (eval $ac_compile) 2>conftest.er1
12261 grep -v '^ *+' conftest.er1
>conftest.err
12263 cat conftest.err
>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try
='test -z "$ac_c_werror_flag"
12267 || test ! -s conftest.err'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; } &&
12273 { ac_try
='test -s conftest.$ac_objext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12279 ac_compiler_gnu
=yes
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.
$ac_ext >&5
12286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12287 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12290 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12291 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12292 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12293 ac_test_CFLAGS
=${CFLAGS+set}
12294 ac_save_CFLAGS
=$CFLAGS
12296 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12298 if test "${ac_cv_prog_cc_g+set}" = set; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 cat >conftest.
$ac_ext <<_ACEOF
12304 cat confdefs.h
>>conftest.
$ac_ext
12305 cat >>conftest.
$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12316 rm -f conftest.
$ac_objext
12317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12318 (eval $ac_compile) 2>conftest.er1
12320 grep -v '^ *+' conftest.er1
>conftest.err
12322 cat conftest.err
>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } &&
12325 { ac_try
='test -z "$ac_c_werror_flag"
12326 || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try
='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cc_g
=yes
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.
$ac_ext >&5
12345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12349 if test "$ac_test_CFLAGS" = set; then
12350 CFLAGS
=$ac_save_CFLAGS
12351 elif test $ac_cv_prog_cc_g = yes; then
12352 if test "$GCC" = yes; then
12358 if test "$GCC" = yes; then
12364 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12365 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12366 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 ac_cv_prog_cc_stdc
=no
12371 cat >conftest.
$ac_ext <<_ACEOF
12374 cat confdefs.h
>>conftest.
$ac_ext
12375 cat >>conftest.
$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 #include <stdarg.h>
12379 #include <sys/types.h>
12380 #include <sys/stat.h>
12381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12382 struct buf { int x; };
12383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12384 static char *e (p, i)
12390 static char *f (char * (*g) (char **, int), char **p, ...)
12395 s = g (p, va_arg (v,int));
12400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12401 function prototypes and stuff, but not '\xHH' hex character constants.
12402 These don't provoke an error unfortunately, instead are silently treated
12403 as 'x'. The following induces an error, until -std1 is added to get
12404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12405 array size at least. It's necessary to write '\x00'==0 to get something
12406 that's true only with -std1. */
12407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12409 int test (int i, double x);
12410 struct s1 {int (*f) (int a);};
12411 struct s2 {int (*f) (double a);};
12412 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12423 # Don't try gcc -ansi; that turns off useful extensions and
12424 # breaks some systems' header files.
12425 # AIX -qlanglvl=ansi
12426 # Ultrix and OSF/1 -std1
12427 # HP-UX 10.20 and later -Ae
12428 # HP-UX older versions -Aa -D_HPUX_SOURCE
12429 # SVR4 -Xc -D__EXTENSIONS__
12430 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12432 CC
="$ac_save_CC $ac_arg"
12433 rm -f conftest.
$ac_objext
12434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12435 (eval $ac_compile) 2>conftest.er1
12437 grep -v '^ *+' conftest.er1
>conftest.err
12439 cat conftest.err
>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } &&
12442 { ac_try
='test -z "$ac_c_werror_flag"
12443 || test ! -s conftest.err'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; } &&
12449 { ac_try
='test -s conftest.$ac_objext'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 ac_cv_prog_cc_stdc
=$ac_arg
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.
$ac_ext >&5
12462 rm -f conftest.err conftest.
$ac_objext
12464 rm -f conftest.
$ac_ext conftest.
$ac_objext
12469 case "x$ac_cv_prog_cc_stdc" in
12471 echo "$as_me:$LINENO: result: none needed" >&5
12472 echo "${ECHO_T}none needed" >&6 ;;
12474 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12475 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12476 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12479 # Some people use a C++ compiler to compile C. Since we use `exit',
12480 # in C++ we need to declare it. In case someone uses the same compiler
12481 # for both compiling C and C++ we need to have the C++ compiler decide
12482 # the declaration of exit, since it's the most demanding environment.
12483 cat >conftest.
$ac_ext <<_ACEOF
12484 #ifndef __cplusplus
12488 rm -f conftest.
$ac_objext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try
='test -z "$ac_c_werror_flag"
12498 || test ! -s conftest.err'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try
='test -s conftest.$ac_objext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
12510 for ac_declaration
in \
12512 'extern "C" void std::exit (int) throw (); using std::exit;' \
12513 'extern "C" void std::exit (int); using std::exit;' \
12514 'extern "C" void exit (int) throw ();' \
12515 'extern "C" void exit (int);' \
12518 cat >conftest.
$ac_ext <<_ACEOF
12521 cat confdefs.h
>>conftest.
$ac_ext
12522 cat >>conftest.
$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12525 #include <stdlib.h>
12534 rm -f conftest.
$ac_objext
12535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12536 (eval $ac_compile) 2>conftest.er1
12538 grep -v '^ *+' conftest.er1
>conftest.err
12540 cat conftest.err
>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); } &&
12543 { ac_try
='test -z "$ac_c_werror_flag"
12544 || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try
='test -s conftest.$ac_objext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.
$ac_ext >&5
12563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12564 cat >conftest.
$ac_ext <<_ACEOF
12567 cat confdefs.h
>>conftest.
$ac_ext
12568 cat >>conftest.
$ac_ext <<_ACEOF
12569 /* end confdefs.h. */
12579 rm -f conftest.
$ac_objext
12580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12581 (eval $ac_compile) 2>conftest.er1
12583 grep -v '^ *+' conftest.er1
>conftest.err
12585 cat conftest.err
>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try
='test -z "$ac_c_werror_flag"
12589 || test ! -s conftest.err'
12590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 (eval $ac_try) 2>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; } &&
12595 { ac_try
='test -s conftest.$ac_objext'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; }; then
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.
$ac_ext >&5
12607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12610 if test -n "$ac_declaration"; then
12611 echo '#ifdef __cplusplus' >>confdefs.h
12612 echo $ac_declaration >>confdefs.h
12613 echo '#endif' >>confdefs.h
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.
$ac_ext >&5
12621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12623 ac_cpp
='$CPP $CPPFLAGS'
12624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12628 depcc
="$CC" am_compiler_list
=
12630 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12631 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12632 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12636 # We make a subdir and do the tests there. Otherwise we can end up
12637 # making bogus files that we don't know about and never remove. For
12638 # instance it was reported that on HP-UX the gcc test will end up
12639 # making a dummy file named `D' -- because `-MD' means `put the output
12642 # Copy depcomp to subdir because otherwise we won't find it if we're
12643 # using a relative directory.
12644 cp "$am_depcomp" conftest.dir
12646 # We will build objects and dependencies in a subdirectory because
12647 # it helps to detect inapplicable dependency modes. For instance
12648 # both Tru64's cc and ICC support -MD to output dependencies as a
12649 # side effect of compilation, but ICC will put the dependencies in
12650 # the current directory while Tru64 will put them in the object
12654 am_cv_CC_dependencies_compiler_type
=none
12655 if test "$am_compiler_list" = ""; then
12656 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12658 for depmode
in $am_compiler_list; do
12659 # Setup a source with many dependencies, because some compilers
12660 # like to wrap large dependency lists on column 80 (with \), and
12661 # we should not choose a depcomp mode which is confused by this.
12663 # We need to recreate these files for each test, as the compiler may
12664 # overwrite some of them when testing with obscure command lines.
12665 # This happens at least with the AIX C compiler.
12667 for i
in 1 2 3 4 5 6; do
12668 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12669 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12670 # Solaris 8's {/usr,}/bin/sh.
12671 touch sub
/conftst
$i.h
12673 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12677 # after this tag, mechanisms are not by side-effect, so they'll
12678 # only be used when explicitly requested
12679 if test "x$enable_dependency_tracking" = xyes
; then
12687 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12688 # mode. It turns out that the SunPro C++ compiler does not properly
12689 # handle `-M -o', and we need to detect this.
12690 if depmode
=$depmode \
12691 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12692 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12693 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12694 >/dev
/null
2>conftest.err
&&
12695 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12696 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12697 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12698 # icc doesn't choke on unknown options, it will just issue warnings
12699 # or remarks (even with -Werror). So we grep stderr for any message
12700 # that says an option was ignored or not supported.
12701 # When given -MP, icc 7.0 and 7.1 complain thusly:
12702 # icc: Command line warning: ignoring option '-M'; no argument required
12703 # The diagnosis changed in icc 8.0:
12704 # icc: Command line remark: option '-MP' not supported
12705 if (grep 'ignoring option' conftest.err ||
12706 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12707 am_cv_CC_dependencies_compiler_type
=$depmode
12714 rm -rf conftest.dir
12716 am_cv_CC_dependencies_compiler_type
=none
12720 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12721 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
12722 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12727 test "x$enable_dependency_tracking" != xno \
12728 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12729 am__fastdepCC_TRUE
=
12730 am__fastdepCC_FALSE
='#'
12732 am__fastdepCC_TRUE
='#'
12733 am__fastdepCC_FALSE
=
12737 if test "x$CC" != xcc
; then
12738 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
12739 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
12741 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
12742 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
12744 set dummy
$CC; ac_cc
=`echo $2 |
12745 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12746 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 cat >conftest.
$ac_ext <<_ACEOF
12752 cat confdefs.h
>>conftest.
$ac_ext
12753 cat >>conftest.
$ac_ext <<_ACEOF
12754 /* end confdefs.h. */
12764 # Make sure it works both with $CC and with simple cc.
12765 # We do the test twice because some compilers refuse to overwrite an
12766 # existing .o file with -o, though they will create one.
12767 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12768 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } &&
12773 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); };
12779 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12780 if test "x$CC" != xcc
; then
12781 # Test first that cc exists at all.
12782 if { ac_try
='cc -c conftest.$ac_ext >&5'
12783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12784 (eval $ac_try) 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; }; then
12788 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12789 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 test -f conftest.
$ac_objext && { (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); };
12803 # cc exists but doesn't like -o.
12804 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12809 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12814 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
12815 echo "$as_me:$LINENO: result: yes" >&5
12816 echo "${ECHO_T}yes" >&6
12818 echo "$as_me:$LINENO: result: no" >&5
12819 echo "${ECHO_T}no" >&6
12821 cat >>confdefs.h
<<\_ACEOF
12822 #define NO_MINUS_C_MINUS_O 1
12827 # FIXME: we rely on the cache variable name because
12828 # there is no other way.
12830 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12831 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12832 # Losing compiler, so override with the script.
12833 # FIXME: It is wrong to rewrite CC.
12834 # But if we don't then we get into trouble of one sort or another.
12835 # A longer-term fix would be to have automake use am__CC in this case,
12836 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12837 CC
="$am_aux_dir/compile $CC"
12841 ac_cpp
='$CPP $CPPFLAGS'
12842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12845 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12846 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12847 # On Suns, sometimes $CPP names a directory.
12848 if test -n "$CPP" && test -d "$CPP"; then
12851 if test -z "$CPP"; then
12852 if test "${ac_cv_prog_CPP+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 # Double quotes because CPP needs to be expanded
12856 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12858 ac_preproc_ok
=false
12859 for ac_c_preproc_warn_flag
in '' yes
12861 # Use a header file that comes with gcc, so configuring glibc
12862 # with a fresh cross-compiler works.
12863 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12864 # <limits.h> exists even on freestanding compilers.
12865 # On the NeXT, cc -E runs the code through the compiler's parser,
12866 # not just through cpp. "Syntax error" is here to catch this case.
12867 cat >conftest.
$ac_ext <<_ACEOF
12870 cat confdefs.h
>>conftest.
$ac_ext
12871 cat >>conftest.
$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12874 # include <limits.h>
12876 # include <assert.h>
12880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12883 grep -v '^ *+' conftest.er1
>conftest.err
12885 cat conftest.err
>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } >/dev
/null
; then
12888 if test -s conftest.err
; then
12889 ac_cpp_err
=$ac_c_preproc_warn_flag
12890 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12897 if test -z "$ac_cpp_err"; then
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.
$ac_ext >&5
12903 # Broken: fails on valid input.
12906 rm -f conftest.err conftest.
$ac_ext
12908 # OK, works on sane cases. Now check whether non-existent headers
12909 # can be detected and how.
12910 cat >conftest.
$ac_ext <<_ACEOF
12913 cat confdefs.h
>>conftest.
$ac_ext
12914 cat >>conftest.
$ac_ext <<_ACEOF
12915 /* end confdefs.h. */
12916 #include <ac_nonexistent.h>
12918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12921 grep -v '^ *+' conftest.er1
>conftest.err
12923 cat conftest.err
>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); } >/dev
/null
; then
12926 if test -s conftest.err
; then
12927 ac_cpp_err
=$ac_c_preproc_warn_flag
12928 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12935 if test -z "$ac_cpp_err"; then
12936 # Broken: success on invalid input.
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12942 # Passes both tests.
12946 rm -f conftest.err conftest.
$ac_ext
12949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12950 rm -f conftest.err conftest.
$ac_ext
12951 if $ac_preproc_ok; then
12956 ac_cv_prog_CPP
=$CPP
12959 CPP
=$ac_cv_prog_CPP
12961 ac_cv_prog_CPP
=$CPP
12963 echo "$as_me:$LINENO: result: $CPP" >&5
12964 echo "${ECHO_T}$CPP" >&6
12965 ac_preproc_ok
=false
12966 for ac_c_preproc_warn_flag
in '' yes
12968 # Use a header file that comes with gcc, so configuring glibc
12969 # with a fresh cross-compiler works.
12970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12971 # <limits.h> exists even on freestanding compilers.
12972 # On the NeXT, cc -E runs the code through the compiler's parser,
12973 # not just through cpp. "Syntax error" is here to catch this case.
12974 cat >conftest.
$ac_ext <<_ACEOF
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12981 # include <limits.h>
12983 # include <assert.h>
12987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12990 grep -v '^ *+' conftest.er1
>conftest.err
12992 cat conftest.err
>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } >/dev
/null
; then
12995 if test -s conftest.err
; then
12996 ac_cpp_err
=$ac_c_preproc_warn_flag
12997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13004 if test -z "$ac_cpp_err"; then
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.
$ac_ext >&5
13010 # Broken: fails on valid input.
13013 rm -f conftest.err conftest.
$ac_ext
13015 # OK, works on sane cases. Now check whether non-existent headers
13016 # can be detected and how.
13017 cat >conftest.
$ac_ext <<_ACEOF
13020 cat confdefs.h
>>conftest.
$ac_ext
13021 cat >>conftest.
$ac_ext <<_ACEOF
13022 /* end confdefs.h. */
13023 #include <ac_nonexistent.h>
13025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13028 grep -v '^ *+' conftest.er1
>conftest.err
13030 cat conftest.err
>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); } >/dev
/null
; then
13033 if test -s conftest.err
; then
13034 ac_cpp_err
=$ac_c_preproc_warn_flag
13035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13042 if test -z "$ac_cpp_err"; then
13043 # Broken: success on invalid input.
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 # Passes both tests.
13053 rm -f conftest.err conftest.
$ac_ext
13056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13057 rm -f conftest.err conftest.
$ac_ext
13058 if $ac_preproc_ok; then
13061 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13062 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13063 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13064 See \`config.log' for more details." >&5
13065 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13066 See \`config.log' for more details." >&2;}
13067 { (exit 1); exit 1; }; }; }
13071 ac_cpp
='$CPP $CPPFLAGS'
13072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13077 ac_cpp
='$CXXCPP $CPPFLAGS'
13078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13081 if test -n "$ac_tool_prefix"; then
13082 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13085 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13086 echo "$as_me:$LINENO: checking for $ac_word" >&5
13087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13088 if test "${ac_cv_prog_CXX+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 if test -n "$CXX"; then
13092 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13095 for as_dir
in $PATH
13098 test -z "$as_dir" && as_dir
=.
13099 for ac_exec_ext
in '' $ac_executable_extensions; do
13100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13101 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 CXX
=$ac_cv_prog_CXX
13111 if test -n "$CXX"; then
13112 echo "$as_me:$LINENO: result: $CXX" >&5
13113 echo "${ECHO_T}$CXX" >&6
13115 echo "$as_me:$LINENO: result: no" >&5
13116 echo "${ECHO_T}no" >&6
13119 test -n "$CXX" && break
13122 if test -z "$CXX"; then
13124 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13126 # Extract the first word of "$ac_prog", so it can be a program name with args.
13127 set dummy
$ac_prog; ac_word
=$2
13128 echo "$as_me:$LINENO: checking for $ac_word" >&5
13129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13130 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 if test -n "$ac_ct_CXX"; then
13134 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13137 for as_dir
in $PATH
13140 test -z "$as_dir" && as_dir
=.
13141 for ac_exec_ext
in '' $ac_executable_extensions; do
13142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13143 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13152 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13153 if test -n "$ac_ct_CXX"; then
13154 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13155 echo "${ECHO_T}$ac_ct_CXX" >&6
13157 echo "$as_me:$LINENO: result: no" >&5
13158 echo "${ECHO_T}no" >&6
13161 test -n "$ac_ct_CXX" && break
13163 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13169 # Provide some information about the compiler.
13170 echo "$as_me:$LINENO:" \
13171 "checking for C++ compiler version" >&5
13172 ac_compiler
=`set X $ac_compile; echo $2`
13173 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13174 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }
13178 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13179 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }
13183 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13184 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }
13189 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13190 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13191 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_cxx_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try
='test -s conftest.$ac_objext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_compiler_gnu
=yes
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.
$ac_ext >&5
13241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13242 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13245 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13246 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13247 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13248 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13249 ac_save_CXXFLAGS
=$CXXFLAGS
13251 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13252 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13253 if test "${ac_cv_prog_cxx_g+set}" = set; then
13254 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 cat >conftest.
$ac_ext <<_ACEOF
13259 cat confdefs.h
>>conftest.
$ac_ext
13260 cat >>conftest.
$ac_ext <<_ACEOF
13261 /* end confdefs.h. */
13271 rm -f conftest.
$ac_objext
13272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13273 (eval $ac_compile) 2>conftest.er1
13275 grep -v '^ *+' conftest.er1
>conftest.err
13277 cat conftest.err
>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } &&
13280 { ac_try
='test -z "$ac_cxx_werror_flag"
13281 || test ! -s conftest.err'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; } &&
13287 { ac_try
='test -s conftest.$ac_objext'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; }; then
13293 ac_cv_prog_cxx_g
=yes
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.
$ac_ext >&5
13298 ac_cv_prog_cxx_g
=no
13300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13302 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13303 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13304 if test "$ac_test_CXXFLAGS" = set; then
13305 CXXFLAGS
=$ac_save_CXXFLAGS
13306 elif test $ac_cv_prog_cxx_g = yes; then
13307 if test "$GXX" = yes; then
13313 if test "$GXX" = yes; then
13319 for ac_declaration
in \
13321 'extern "C" void std::exit (int) throw (); using std::exit;' \
13322 'extern "C" void std::exit (int); using std::exit;' \
13323 'extern "C" void exit (int) throw ();' \
13324 'extern "C" void exit (int);' \
13327 cat >conftest.
$ac_ext <<_ACEOF
13330 cat confdefs.h
>>conftest.
$ac_ext
13331 cat >>conftest.
$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13334 #include <stdlib.h>
13343 rm -f conftest.
$ac_objext
13344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13345 (eval $ac_compile) 2>conftest.er1
13347 grep -v '^ *+' conftest.er1
>conftest.err
13349 cat conftest.err
>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } &&
13352 { ac_try
='test -z "$ac_cxx_werror_flag"
13353 || test ! -s conftest.err'
13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355 (eval $ac_try) 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; } &&
13359 { ac_try
='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.
$ac_ext >&5
13372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13373 cat >conftest.
$ac_ext <<_ACEOF
13376 cat confdefs.h
>>conftest.
$ac_ext
13377 cat >>conftest.
$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13388 rm -f conftest.
$ac_objext
13389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13390 (eval $ac_compile) 2>conftest.er1
13392 grep -v '^ *+' conftest.er1
>conftest.err
13394 cat conftest.err
>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } &&
13397 { ac_try
='test -z "$ac_cxx_werror_flag"
13398 || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try
='test -s conftest.$ac_objext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.
$ac_ext >&5
13416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13419 if test -n "$ac_declaration"; then
13420 echo '#ifdef __cplusplus' >>confdefs.h
13421 echo $ac_declaration >>confdefs.h
13422 echo '#endif' >>confdefs.h
13426 ac_cpp
='$CPP $CPPFLAGS'
13427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13431 depcc
="$CXX" am_compiler_list
=
13433 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13434 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13435 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13439 # We make a subdir and do the tests there. Otherwise we can end up
13440 # making bogus files that we don't know about and never remove. For
13441 # instance it was reported that on HP-UX the gcc test will end up
13442 # making a dummy file named `D' -- because `-MD' means `put the output
13445 # Copy depcomp to subdir because otherwise we won't find it if we're
13446 # using a relative directory.
13447 cp "$am_depcomp" conftest.dir
13449 # We will build objects and dependencies in a subdirectory because
13450 # it helps to detect inapplicable dependency modes. For instance
13451 # both Tru64's cc and ICC support -MD to output dependencies as a
13452 # side effect of compilation, but ICC will put the dependencies in
13453 # the current directory while Tru64 will put them in the object
13457 am_cv_CXX_dependencies_compiler_type
=none
13458 if test "$am_compiler_list" = ""; then
13459 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13461 for depmode
in $am_compiler_list; do
13462 # Setup a source with many dependencies, because some compilers
13463 # like to wrap large dependency lists on column 80 (with \), and
13464 # we should not choose a depcomp mode which is confused by this.
13466 # We need to recreate these files for each test, as the compiler may
13467 # overwrite some of them when testing with obscure command lines.
13468 # This happens at least with the AIX C compiler.
13470 for i
in 1 2 3 4 5 6; do
13471 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13472 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13473 # Solaris 8's {/usr,}/bin/sh.
13474 touch sub
/conftst
$i.h
13476 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13480 # after this tag, mechanisms are not by side-effect, so they'll
13481 # only be used when explicitly requested
13482 if test "x$enable_dependency_tracking" = xyes
; then
13490 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13491 # mode. It turns out that the SunPro C++ compiler does not properly
13492 # handle `-M -o', and we need to detect this.
13493 if depmode
=$depmode \
13494 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13495 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13496 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13497 >/dev
/null
2>conftest.err
&&
13498 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13499 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13500 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13501 # icc doesn't choke on unknown options, it will just issue warnings
13502 # or remarks (even with -Werror). So we grep stderr for any message
13503 # that says an option was ignored or not supported.
13504 # When given -MP, icc 7.0 and 7.1 complain thusly:
13505 # icc: Command line warning: ignoring option '-M'; no argument required
13506 # The diagnosis changed in icc 8.0:
13507 # icc: Command line remark: option '-MP' not supported
13508 if (grep 'ignoring option' conftest.err ||
13509 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13510 am_cv_CXX_dependencies_compiler_type
=$depmode
13517 rm -rf conftest.dir
13519 am_cv_CXX_dependencies_compiler_type
=none
13523 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13524 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13525 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13530 test "x$enable_dependency_tracking" != xno \
13531 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13532 am__fastdepCXX_TRUE
=
13533 am__fastdepCXX_FALSE
='#'
13535 am__fastdepCXX_TRUE
='#'
13536 am__fastdepCXX_FALSE
=
13542 ac_cpp
='$CXXCPP $CPPFLAGS'
13543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13546 if test -n "$ac_tool_prefix"; then
13547 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13550 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13551 echo "$as_me:$LINENO: checking for $ac_word" >&5
13552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13553 if test "${ac_cv_prog_CXX+set}" = set; then
13554 echo $ECHO_N "(cached) $ECHO_C" >&6
13556 if test -n "$CXX"; then
13557 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13560 for as_dir
in $PATH
13563 test -z "$as_dir" && as_dir
=.
13564 for ac_exec_ext
in '' $ac_executable_extensions; do
13565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13566 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13575 CXX
=$ac_cv_prog_CXX
13576 if test -n "$CXX"; then
13577 echo "$as_me:$LINENO: result: $CXX" >&5
13578 echo "${ECHO_T}$CXX" >&6
13580 echo "$as_me:$LINENO: result: no" >&5
13581 echo "${ECHO_T}no" >&6
13584 test -n "$CXX" && break
13587 if test -z "$CXX"; then
13589 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13591 # Extract the first word of "$ac_prog", so it can be a program name with args.
13592 set dummy
$ac_prog; ac_word
=$2
13593 echo "$as_me:$LINENO: checking for $ac_word" >&5
13594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 if test -n "$ac_ct_CXX"; then
13599 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13602 for as_dir
in $PATH
13605 test -z "$as_dir" && as_dir
=.
13606 for ac_exec_ext
in '' $ac_executable_extensions; do
13607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13608 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13617 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13618 if test -n "$ac_ct_CXX"; then
13619 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13620 echo "${ECHO_T}$ac_ct_CXX" >&6
13622 echo "$as_me:$LINENO: result: no" >&5
13623 echo "${ECHO_T}no" >&6
13626 test -n "$ac_ct_CXX" && break
13628 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13634 # Provide some information about the compiler.
13635 echo "$as_me:$LINENO:" \
13636 "checking for C++ compiler version" >&5
13637 ac_compiler
=`set X $ac_compile; echo $2`
13638 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13639 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }
13643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13644 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }
13648 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13649 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); }
13654 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13655 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13656 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 cat >conftest.
$ac_ext <<_ACEOF
13662 cat confdefs.h
>>conftest.
$ac_ext
13663 cat >>conftest.
$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13677 rm -f conftest.
$ac_objext
13678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13679 (eval $ac_compile) 2>conftest.er1
13681 grep -v '^ *+' conftest.er1
>conftest.err
13683 cat conftest.err
>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } &&
13686 { ac_try
='test -z "$ac_cxx_werror_flag"
13687 || test ! -s conftest.err'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; } &&
13693 { ac_try
='test -s conftest.$ac_objext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_compiler_gnu
=yes
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.
$ac_ext >&5
13706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13707 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13710 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13711 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13712 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13713 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13714 ac_save_CXXFLAGS
=$CXXFLAGS
13716 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13717 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13718 if test "${ac_cv_prog_cxx_g+set}" = set; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13736 rm -f conftest.
$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } &&
13745 { ac_try
='test -z "$ac_cxx_werror_flag"
13746 || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 ac_cv_prog_cxx_g
=yes
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 ac_cv_prog_cxx_g
=no
13765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13767 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13768 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13769 if test "$ac_test_CXXFLAGS" = set; then
13770 CXXFLAGS
=$ac_save_CXXFLAGS
13771 elif test $ac_cv_prog_cxx_g = yes; then
13772 if test "$GXX" = yes; then
13778 if test "$GXX" = yes; then
13784 for ac_declaration
in \
13786 'extern "C" void std::exit (int) throw (); using std::exit;' \
13787 'extern "C" void std::exit (int); using std::exit;' \
13788 'extern "C" void exit (int) throw ();' \
13789 'extern "C" void exit (int);' \
13792 cat >conftest.
$ac_ext <<_ACEOF
13795 cat confdefs.h
>>conftest.
$ac_ext
13796 cat >>conftest.
$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13799 #include <stdlib.h>
13808 rm -f conftest.
$ac_objext
13809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13810 (eval $ac_compile) 2>conftest.er1
13812 grep -v '^ *+' conftest.er1
>conftest.err
13814 cat conftest.err
>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } &&
13817 { ac_try
='test -z "$ac_cxx_werror_flag"
13818 || test ! -s conftest.err'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; } &&
13824 { ac_try
='test -s conftest.$ac_objext'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; }; then
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.
$ac_ext >&5
13837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13838 cat >conftest.
$ac_ext <<_ACEOF
13841 cat confdefs.h
>>conftest.
$ac_ext
13842 cat >>conftest.
$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13853 rm -f conftest.
$ac_objext
13854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13855 (eval $ac_compile) 2>conftest.er1
13857 grep -v '^ *+' conftest.er1
>conftest.err
13859 cat conftest.err
>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } &&
13862 { ac_try
='test -z "$ac_cxx_werror_flag"
13863 || test ! -s conftest.err'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; } &&
13869 { ac_try
='test -s conftest.$ac_objext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.
$ac_ext >&5
13881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13884 if test -n "$ac_declaration"; then
13885 echo '#ifdef __cplusplus' >>confdefs.h
13886 echo $ac_declaration >>confdefs.h
13887 echo '#endif' >>confdefs.h
13891 ac_cpp
='$CPP $CPPFLAGS'
13892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13896 depcc
="$CXX" am_compiler_list
=
13898 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13899 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13900 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13904 # We make a subdir and do the tests there. Otherwise we can end up
13905 # making bogus files that we don't know about and never remove. For
13906 # instance it was reported that on HP-UX the gcc test will end up
13907 # making a dummy file named `D' -- because `-MD' means `put the output
13910 # Copy depcomp to subdir because otherwise we won't find it if we're
13911 # using a relative directory.
13912 cp "$am_depcomp" conftest.dir
13914 # We will build objects and dependencies in a subdirectory because
13915 # it helps to detect inapplicable dependency modes. For instance
13916 # both Tru64's cc and ICC support -MD to output dependencies as a
13917 # side effect of compilation, but ICC will put the dependencies in
13918 # the current directory while Tru64 will put them in the object
13922 am_cv_CXX_dependencies_compiler_type
=none
13923 if test "$am_compiler_list" = ""; then
13924 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13926 for depmode
in $am_compiler_list; do
13927 # Setup a source with many dependencies, because some compilers
13928 # like to wrap large dependency lists on column 80 (with \), and
13929 # we should not choose a depcomp mode which is confused by this.
13931 # We need to recreate these files for each test, as the compiler may
13932 # overwrite some of them when testing with obscure command lines.
13933 # This happens at least with the AIX C compiler.
13935 for i
in 1 2 3 4 5 6; do
13936 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13937 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13938 # Solaris 8's {/usr,}/bin/sh.
13939 touch sub
/conftst
$i.h
13941 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13945 # after this tag, mechanisms are not by side-effect, so they'll
13946 # only be used when explicitly requested
13947 if test "x$enable_dependency_tracking" = xyes
; then
13955 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13956 # mode. It turns out that the SunPro C++ compiler does not properly
13957 # handle `-M -o', and we need to detect this.
13958 if depmode
=$depmode \
13959 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13960 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13961 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13962 >/dev
/null
2>conftest.err
&&
13963 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13964 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13965 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13966 # icc doesn't choke on unknown options, it will just issue warnings
13967 # or remarks (even with -Werror). So we grep stderr for any message
13968 # that says an option was ignored or not supported.
13969 # When given -MP, icc 7.0 and 7.1 complain thusly:
13970 # icc: Command line warning: ignoring option '-M'; no argument required
13971 # The diagnosis changed in icc 8.0:
13972 # icc: Command line remark: option '-MP' not supported
13973 if (grep 'ignoring option' conftest.err ||
13974 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13975 am_cv_CXX_dependencies_compiler_type
=$depmode
13982 rm -rf conftest.dir
13984 am_cv_CXX_dependencies_compiler_type
=none
13988 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13989 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13990 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13995 test "x$enable_dependency_tracking" != xno \
13996 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13997 am__fastdepCXX_TRUE
=
13998 am__fastdepCXX_FALSE
='#'
14000 am__fastdepCXX_TRUE
='#'
14001 am__fastdepCXX_FALSE
=
14005 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14006 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14007 (test "X$CXX" != "Xg++"))) ; then
14009 ac_cpp
='$CXXCPP $CPPFLAGS'
14010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14013 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
14014 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
14015 if test -z "$CXXCPP"; then
14016 if test "${ac_cv_prog_CXXCPP+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 # Double quotes because CXXCPP needs to be expanded
14020 for CXXCPP
in "$CXX -E" "/lib/cpp"
14022 ac_preproc_ok
=false
14023 for ac_cxx_preproc_warn_flag
in '' yes
14025 # Use a header file that comes with gcc, so configuring glibc
14026 # with a fresh cross-compiler works.
14027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14028 # <limits.h> exists even on freestanding compilers.
14029 # On the NeXT, cc -E runs the code through the compiler's parser,
14030 # not just through cpp. "Syntax error" is here to catch this case.
14031 cat >conftest.
$ac_ext <<_ACEOF
14034 cat confdefs.h
>>conftest.
$ac_ext
14035 cat >>conftest.
$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14038 # include <limits.h>
14040 # include <assert.h>
14044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14047 grep -v '^ *+' conftest.er1
>conftest.err
14049 cat conftest.err
>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); } >/dev
/null
; then
14052 if test -s conftest.err
; then
14053 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14054 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14061 if test -z "$ac_cpp_err"; then
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.
$ac_ext >&5
14067 # Broken: fails on valid input.
14070 rm -f conftest.err conftest.
$ac_ext
14072 # OK, works on sane cases. Now check whether non-existent headers
14073 # can be detected and how.
14074 cat >conftest.
$ac_ext <<_ACEOF
14077 cat confdefs.h
>>conftest.
$ac_ext
14078 cat >>conftest.
$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080 #include <ac_nonexistent.h>
14082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14085 grep -v '^ *+' conftest.er1
>conftest.err
14087 cat conftest.err
>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } >/dev
/null
; then
14090 if test -s conftest.err
; then
14091 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14092 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14099 if test -z "$ac_cpp_err"; then
14100 # Broken: success on invalid input.
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.
$ac_ext >&5
14106 # Passes both tests.
14110 rm -f conftest.err conftest.
$ac_ext
14113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14114 rm -f conftest.err conftest.
$ac_ext
14115 if $ac_preproc_ok; then
14120 ac_cv_prog_CXXCPP
=$CXXCPP
14123 CXXCPP
=$ac_cv_prog_CXXCPP
14125 ac_cv_prog_CXXCPP
=$CXXCPP
14127 echo "$as_me:$LINENO: result: $CXXCPP" >&5
14128 echo "${ECHO_T}$CXXCPP" >&6
14129 ac_preproc_ok
=false
14130 for ac_cxx_preproc_warn_flag
in '' yes
14132 # Use a header file that comes with gcc, so configuring glibc
14133 # with a fresh cross-compiler works.
14134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14135 # <limits.h> exists even on freestanding compilers.
14136 # On the NeXT, cc -E runs the code through the compiler's parser,
14137 # not just through cpp. "Syntax error" is here to catch this case.
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14145 # include <limits.h>
14147 # include <assert.h>
14151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14154 grep -v '^ *+' conftest.er1
>conftest.err
14156 cat conftest.err
>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } >/dev
/null
; then
14159 if test -s conftest.err
; then
14160 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14161 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14168 if test -z "$ac_cpp_err"; then
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.
$ac_ext >&5
14174 # Broken: fails on valid input.
14177 rm -f conftest.err conftest.
$ac_ext
14179 # OK, works on sane cases. Now check whether non-existent headers
14180 # can be detected and how.
14181 cat >conftest.
$ac_ext <<_ACEOF
14184 cat confdefs.h
>>conftest.
$ac_ext
14185 cat >>conftest.
$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14187 #include <ac_nonexistent.h>
14189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14192 grep -v '^ *+' conftest.er1
>conftest.err
14194 cat conftest.err
>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } >/dev
/null
; then
14197 if test -s conftest.err
; then
14198 ac_cpp_err
=$ac_cxx_preproc_warn_flag
14199 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
14206 if test -z "$ac_cpp_err"; then
14207 # Broken: success on invalid input.
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 # Passes both tests.
14217 rm -f conftest.err conftest.
$ac_ext
14220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14221 rm -f conftest.err conftest.
$ac_ext
14222 if $ac_preproc_ok; then
14225 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14226 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14227 _lt_caught_CXX_error
=yes; }
14231 ac_cpp
='$CPP $CPPFLAGS'
14232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14237 _lt_caught_CXX_error
=yes
14244 ac_cpp
='$CXXCPP $CPPFLAGS'
14245 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14249 archive_cmds_need_lc_CXX
=no
14250 allow_undefined_flag_CXX
=
14251 always_export_symbols_CXX
=no
14252 archive_expsym_cmds_CXX
=
14253 compiler_needs_object_CXX
=no
14254 export_dynamic_flag_spec_CXX
=
14255 hardcode_direct_CXX
=no
14256 hardcode_direct_absolute_CXX
=no
14257 hardcode_libdir_flag_spec_CXX
=
14258 hardcode_libdir_flag_spec_ld_CXX
=
14259 hardcode_libdir_separator_CXX
=
14260 hardcode_minus_L_CXX
=no
14261 hardcode_shlibpath_var_CXX
=unsupported
14262 hardcode_automatic_CXX
=no
14263 inherit_rpath_CXX
=no
14265 module_expsym_cmds_CXX
=
14266 link_all_deplibs_CXX
=unknown
14267 old_archive_cmds_CXX
=$old_archive_cmds
14268 no_undefined_flag_CXX
=
14269 whole_archive_flag_spec_CXX
=
14270 enable_shared_with_static_runtimes_CXX
=no
14272 # Source file extension for C++ test sources.
14275 # Object file extension for compiled C++ test sources.
14279 # No sense in running all these tests if we already determined that
14280 # the CXX compiler isn't working. Some variables (like enable_shared)
14281 # are currently assumed to apply to all compilers on this platform,
14282 # and will be corrupted by setting them based on a non-working compiler.
14283 if test "$_lt_caught_CXX_error" != yes; then
14284 # Code to be used in simple compile tests
14285 lt_simple_compile_test_code
="int some_variable = 0;"
14287 # Code to be used in simple link tests
14288 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14290 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14297 # If no C compiler was specified, use CC.
14300 # If no C compiler flags were specified, use CFLAGS.
14301 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14303 # Allow CC to be a program name with arguments.
14307 # save warnings/boilerplate of simple test code
14308 ac_outfile
=conftest.
$ac_objext
14309 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14310 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14311 _lt_compiler_boilerplate
=`cat conftest.err`
14314 ac_outfile
=conftest.
$ac_objext
14315 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14316 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14317 _lt_linker_boilerplate
=`cat conftest.err`
14321 # Allow CC to be a program name with arguments.
14326 lt_save_with_gnu_ld
=$with_gnu_ld
14327 lt_save_path_LD
=$lt_cv_path_LD
14328 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14329 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
14331 $as_unset lt_cv_prog_gnu_ld
14333 if test -n "${lt_cv_path_LDCXX+set}"; then
14334 lt_cv_path_LD
=$lt_cv_path_LDCXX
14336 $as_unset lt_cv_path_LD
14338 test -z "${LDCXX+set}" || LD
=$LDCXX
14342 for cc_temp
in $compiler""; do
14344 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14345 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14350 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14353 if test -n "$compiler"; then
14354 # We don't want -fno-exception when compiling C++ code, so set the
14355 # no_builtin_flag separately
14356 if test "$GXX" = yes; then
14357 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
14359 lt_prog_compiler_no_builtin_flag_CXX
=
14362 if test "$GXX" = yes; then
14363 # Set up default GNU C++ configuration
14367 # Check whether --with-gnu-ld or --without-gnu-ld was given.
14368 if test "${with_gnu_ld+set}" = set; then
14369 withval
="$with_gnu_ld"
14370 test "$withval" = no || with_gnu_ld
=yes
14375 if test "$GCC" = yes; then
14376 # Check if gcc -print-prog-name=ld gives a path.
14377 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14378 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
14381 # gcc leaves a trailing carriage return which upsets mingw
14382 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14384 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14387 # Accept absolute paths.
14389 re_direlt
='/[^/][^/]*/\.\./'
14390 # Canonicalize the pathname of ld
14391 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14392 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14393 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14395 test -z "$LD" && LD
="$ac_prog"
14398 # If it fails, then pretend we aren't using GCC.
14402 # If it is relative, then search for the first ld in PATH.
14403 with_gnu_ld
=unknown
14406 elif test "$with_gnu_ld" = yes; then
14407 echo "$as_me:$LINENO: checking for GNU ld" >&5
14408 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14410 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14411 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14413 if test "${lt_cv_path_LD+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 if test -z "$LD"; then
14417 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14418 for ac_dir
in $PATH; do
14420 test -z "$ac_dir" && ac_dir
=.
14421 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14422 lt_cv_path_LD
="$ac_dir/$ac_prog"
14423 # Check to see if the program is GNU ld. I'd rather use --version,
14424 # but apparently some variants of GNU ld only accept -v.
14425 # Break only if it was the GNU/non-GNU ld that we prefer.
14426 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14427 *GNU
* |
*'with BFD'*)
14428 test "$with_gnu_ld" != no
&& break
14431 test "$with_gnu_ld" != yes && break
14438 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14442 LD
="$lt_cv_path_LD"
14443 if test -n "$LD"; then
14444 echo "$as_me:$LINENO: result: $LD" >&5
14445 echo "${ECHO_T}$LD" >&6
14447 echo "$as_me:$LINENO: result: no" >&5
14448 echo "${ECHO_T}no" >&6
14450 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14451 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14452 { (exit 1); exit 1; }; }
14453 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14454 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14455 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14459 case `$LD -v 2>&1 </dev/null` in
14460 *GNU
* |
*'with BFD'*)
14461 lt_cv_prog_gnu_ld
=yes
14464 lt_cv_prog_gnu_ld
=no
14468 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14469 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
14470 with_gnu_ld
=$lt_cv_prog_gnu_ld
14478 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14479 # archiving commands below assume that GNU ld is being used.
14480 if test "$with_gnu_ld" = yes; then
14481 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14482 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'
14484 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14485 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14487 # If archive_cmds runs LD, not CC, wlarc should be empty
14488 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14489 # investigate it a little bit more. (MM)
14492 # ancient GNU ld didn't support --whole-archive et. al.
14493 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14494 $GREP 'no-whole-archive' > /dev
/null
; then
14495 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14497 whole_archive_flag_spec_CXX
=
14503 # A generic and very simple default shared library creation
14504 # command for GNU C++ for the case where it uses the native
14505 # linker, instead of GNU ld. If possible, this setting should
14506 # overridden to take advantage of the native linker features on
14507 # the platform it is being used on.
14508 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14511 # Commands to make compiler produce verbose output that lists
14512 # what "hidden" libraries, object files and flags are used when
14513 # linking a shared library.
14514 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14522 # PORTME: fill in a description of your system's C++ link characteristics
14523 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14524 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14528 # FIXME: insert proper C++ library support
14532 if test "$host_cpu" = ia64
; then
14533 # On IA64, the linker does run time linking by default, so we don't
14534 # have to do anything special.
14535 aix_use_runtimelinking
=no
14536 exp_sym_flag
='-Bexport'
14539 aix_use_runtimelinking
=no
14541 # Test if we are trying to use run time linking or normal
14542 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14543 # need to do runtime linking.
14544 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14545 for ld_flag
in $LDFLAGS; do
14548 aix_use_runtimelinking
=yes
14556 exp_sym_flag
='-bexport'
14557 no_entry_flag
='-bnoentry'
14560 # When large executables or shared objects are built, AIX ld can
14561 # have problems creating the table of contents. If linking a library
14562 # or program results in "error TOC overflow" add -mminimal-toc to
14563 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14564 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14566 archive_cmds_CXX
=''
14567 hardcode_direct_CXX
=yes
14568 hardcode_direct_absolute_CXX
=yes
14569 hardcode_libdir_separator_CXX
=':'
14570 link_all_deplibs_CXX
=yes
14571 file_list_spec_CXX
='${wl}-f,'
14573 if test "$GXX" = yes; then
14574 case $host_os in aix4.
[012]|aix4.
[012].
*)
14575 # We only want to do this on AIX 4.2 and lower, the check
14576 # below for broken collect2 doesn't work under 4.3+
14577 collect2name
=`${CC} -print-prog-name=collect2`
14578 if test -f "$collect2name" &&
14579 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14581 # We have reworked collect2
14584 # We have old collect2
14585 hardcode_direct_CXX
=unsupported
14586 # It fails to find uninstalled libraries when the uninstalled
14587 # path is not listed in the libpath. Setting hardcode_minus_L
14588 # to unsupported forces relinking
14589 hardcode_minus_L_CXX
=yes
14590 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14591 hardcode_libdir_separator_CXX
=
14594 shared_flag
='-shared'
14595 if test "$aix_use_runtimelinking" = yes; then
14596 shared_flag
="$shared_flag "'${wl}-G'
14600 if test "$host_cpu" = ia64
; then
14601 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14602 # chokes on -Wl,-G. The following line is correct:
14605 if test "$aix_use_runtimelinking" = yes; then
14606 shared_flag
='${wl}-G'
14608 shared_flag
='${wl}-bM:SRE'
14613 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14614 # It seems that -bexpall does not export symbols beginning with
14615 # underscore (_), so it is better to generate a list of symbols to
14617 always_export_symbols_CXX
=yes
14618 if test "$aix_use_runtimelinking" = yes; then
14619 # Warning - without using the other runtime loading flags (-brtl),
14620 # -berok will link without error, but may produce a broken library.
14621 allow_undefined_flag_CXX
='-berok'
14622 # Determine the default libpath from the value encoded in an empty
14624 if test x
$gcc_no_link = xyes
; then
14625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14627 { (exit 1); exit 1; }; }
14629 cat >conftest.
$ac_ext <<_ACEOF
14632 cat confdefs.h
>>conftest.
$ac_ext
14633 cat >>conftest.
$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14644 rm -f conftest.
$ac_objext conftest
$ac_exeext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14646 (eval $ac_link) 2>conftest.er1
14648 grep -v '^ *+' conftest.er1
>conftest.err
14650 cat conftest.err
>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try
='test -z "$ac_cxx_werror_flag"
14654 || test ! -s conftest.err'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; } &&
14660 { ac_try
='test -s conftest$ac_exeext'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; }; then
14667 lt_aix_libpath_sed
='
14668 /Import File Strings/,/^$/ {
14674 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14675 # Check for a 64-bit object if we didn't find anything.
14676 if test -z "$aix_libpath"; then
14677 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14684 rm -f conftest.err conftest.
$ac_objext \
14685 conftest
$ac_exeext conftest.
$ac_ext
14686 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14688 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14690 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"
14692 if test "$host_cpu" = ia64
; then
14693 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14694 allow_undefined_flag_CXX
="-z nodefs"
14695 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"
14697 # Determine the default libpath from the value encoded in an
14698 # empty executable.
14699 if test x
$gcc_no_link = xyes
; then
14700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14702 { (exit 1); exit 1; }; }
14704 cat >conftest.
$ac_ext <<_ACEOF
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14719 rm -f conftest.
$ac_objext conftest
$ac_exeext
14720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14721 (eval $ac_link) 2>conftest.er1
14723 grep -v '^ *+' conftest.er1
>conftest.err
14725 cat conftest.err
>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } &&
14728 { ac_try
='test -z "$ac_cxx_werror_flag"
14729 || test ! -s conftest.err'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; } &&
14735 { ac_try
='test -s conftest$ac_exeext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14742 lt_aix_libpath_sed
='
14743 /Import File Strings/,/^$/ {
14749 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14750 # Check for a 64-bit object if we didn't find anything.
14751 if test -z "$aix_libpath"; then
14752 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.
$ac_ext >&5
14759 rm -f conftest.err conftest.
$ac_objext \
14760 conftest
$ac_exeext conftest.
$ac_ext
14761 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14763 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14764 # Warning - without using the other run time loading flags,
14765 # -berok will link without error, but may produce a broken library.
14766 no_undefined_flag_CXX
=' ${wl}-bernotok'
14767 allow_undefined_flag_CXX
=' ${wl}-berok'
14768 # Exported symbols can be pulled into shared objects from archives
14769 whole_archive_flag_spec_CXX
='$convenience'
14770 archive_cmds_need_lc_CXX
=yes
14771 # This is similar to how AIX traditionally builds its shared
14773 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'
14779 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14780 allow_undefined_flag_CXX
=unsupported
14781 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14782 # support --undefined. This deserves some investigation. FIXME
14783 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14790 case $cc_basename in
14792 # FIXME: insert proper C++ library support
14798 cygwin
* | mingw
* | pw32
* | cegcc
*)
14799 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14800 # as there is no search path for DLLs.
14801 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14802 allow_undefined_flag_CXX
=unsupported
14803 always_export_symbols_CXX
=no
14804 enable_shared_with_static_runtimes_CXX
=yes
14806 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14807 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'
14808 # If the export-symbols file already is a .def file (1st line
14809 # is EXPORTS), use it as is; otherwise, prepend...
14810 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14811 cp $export_symbols $output_objdir/$soname.def;
14813 echo EXPORTS > $output_objdir/$soname.def;
14814 cat $export_symbols >> $output_objdir/$soname.def;
14816 $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'
14821 darwin
* | rhapsody
*)
14824 archive_cmds_need_lc_CXX
=no
14825 hardcode_direct_CXX
=no
14826 hardcode_automatic_CXX
=yes
14827 hardcode_shlibpath_var_CXX
=unsupported
14828 whole_archive_flag_spec_CXX
=''
14829 link_all_deplibs_CXX
=yes
14830 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14831 case $cc_basename in
14832 ifort
*) _lt_dar_can_shared
=yes ;;
14833 *) _lt_dar_can_shared
=$GCC ;;
14835 if test "$_lt_dar_can_shared" = "yes"; then
14836 output_verbose_link_cmd
=echo
14837 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}"
14838 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14839 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}"
14840 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}"
14841 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14842 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}"
14843 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}"
14853 case $cc_basename in
14855 # FIXME: insert proper C++ library support
14859 # Green Hills C++ Compiler
14860 # FIXME: insert proper C++ library support
14864 # FIXME: insert proper C++ library support
14871 # C++ shared libraries reported to be fairly broken before
14877 archive_cmds_need_lc_CXX
=no
14880 freebsd
* | dragonfly
*)
14881 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14890 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14891 hardcode_libdir_separator_CXX
=:
14892 export_dynamic_flag_spec_CXX
='${wl}-E'
14893 hardcode_direct_CXX
=yes
14894 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14895 # but as the default
14896 # location of the library.
14898 case $cc_basename in
14900 # FIXME: insert proper C++ library support
14904 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'
14905 # Commands to make compiler produce verbose output that lists
14906 # what "hidden" libraries, object files and flags are used when
14907 # linking a shared library.
14909 # There doesn't appear to be a way to prevent this compiler from
14910 # explicitly linking system object files so we need to strip them
14911 # from the output so that they don't get included in the library
14913 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'
14916 if test "$GXX" = yes; then
14917 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'
14919 # FIXME: insert proper C++ library support
14927 if test $with_gnu_ld = no
; then
14928 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14929 hardcode_libdir_separator_CXX
=:
14935 export_dynamic_flag_spec_CXX
='${wl}-E'
14941 hardcode_direct_CXX
=no
14942 hardcode_shlibpath_var_CXX
=no
14945 hardcode_direct_CXX
=yes
14946 hardcode_direct_absolute_CXX
=yes
14947 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14948 # but as the default
14949 # location of the library.
14953 case $cc_basename in
14955 # FIXME: insert proper C++ library support
14961 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14964 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14967 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14970 # Commands to make compiler produce verbose output that lists
14971 # what "hidden" libraries, object files and flags are used when
14972 # linking a shared library.
14974 # There doesn't appear to be a way to prevent this compiler from
14975 # explicitly linking system object files so we need to strip them
14976 # from the output so that they don't get included in the library
14978 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'
14981 if test "$GXX" = yes; then
14982 if test $with_gnu_ld = no
; then
14985 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14988 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14991 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'
14996 # FIXME: insert proper C++ library support
15004 hardcode_direct_CXX
=no
15005 hardcode_shlibpath_var_CXX
=no
15006 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15007 export_dynamic_flag_spec_CXX
='${wl}-E'
15008 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15009 # Instead, shared libraries are loaded at an image base (0x10000000 by
15010 # default) and relocated if they conflict, which is a slow very memory
15011 # consuming and fragmenting process. To avoid this, we pick a random,
15012 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15013 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15014 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'
15015 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'
15018 case $cc_basename in
15021 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'
15023 # Archives containing C++ object files must be created using
15024 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15025 # necessary to make sure instantiated templates are included
15027 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15030 if test "$GXX" = yes; then
15031 if test "$with_gnu_ld" = no
; then
15032 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'
15034 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'
15037 link_all_deplibs_CXX
=yes
15040 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15041 hardcode_libdir_separator_CXX
=:
15042 inherit_rpath_CXX
=yes
15045 linux
* | k
*bsd
*-gnu)
15046 case $cc_basename in
15048 # Kuck and Associates, Inc. (KAI) C++ Compiler
15050 # KCC will only create a shared library if the output file
15051 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15052 # to its proper name (with version) after linking.
15053 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'
15054 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'
15055 # Commands to make compiler produce verbose output that lists
15056 # what "hidden" libraries, object files and flags are used when
15057 # linking a shared library.
15059 # There doesn't appear to be a way to prevent this compiler from
15060 # explicitly linking system object files so we need to strip them
15061 # from the output so that they don't get included in the library
15063 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'
15065 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15066 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15068 # Archives containing C++ object files must be created using
15069 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15070 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15075 # version 8.0 and above of icpc choke on multiply defined symbols
15076 # if we add $predep_objects and $postdep_objects, however 7.1 and
15077 # earlier do not add the objects themselves.
15078 case `$CC -V 2>&1` in
15080 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15081 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'
15083 *) # Version 8.0 or newer
15086 ia64
*) tmp_idyn
=' -i_dynamic';;
15088 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15089 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'
15092 archive_cmds_need_lc_CXX
=no
15093 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15094 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15095 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15098 # Portland Group C++ compiler
15100 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
15101 prelink_cmds_CXX
='tpldir=Template.dir~
15103 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15104 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15105 old_archive_cmds_CXX
='tpldir=Template.dir~
15107 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15108 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15110 archive_cmds_CXX
='tpldir=Template.dir~
15112 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15113 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15114 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15116 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15117 $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'
15119 *) # Version 6 will use weak symbols
15120 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15121 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'
15125 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15126 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15127 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'
15131 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15132 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'
15134 runpath_var
=LD_RUN_PATH
15135 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15136 hardcode_libdir_separator_CXX
=:
15138 # Commands to make compiler produce verbose output that lists
15139 # what "hidden" libraries, object files and flags are used when
15140 # linking a shared library.
15142 # There doesn't appear to be a way to prevent this compiler from
15143 # explicitly linking system object files so we need to strip them
15144 # from the output so that they don't get included in the library
15146 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'
15149 # IBM XL 8.0 on PPC, with GNU ld
15150 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15151 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15152 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15153 if test "x$supports_anon_versioning" = xyes
; then
15154 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15156 echo "local: *; };" >> $output_objdir/$libname.ver~
15157 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15161 case `$CC -V 2>&1 | sed 5q` in
15164 no_undefined_flag_CXX
=' -zdefs'
15165 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15166 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'
15167 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15168 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'
15169 compiler_needs_object_CXX
=yes
15171 # Not sure whether something based on
15172 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15174 output_verbose_link_cmd
='echo'
15176 # Archives containing C++ object files must be created using
15177 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15178 # necessary to make sure instantiated templates are included
15180 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15188 # FIXME: insert proper C++ library support
15193 # FIXME: insert proper C++ library support
15198 case $cc_basename in
15200 # FIXME: insert proper C++ library support
15204 # FIXME: insert proper C++ library support
15211 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15212 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15214 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15215 hardcode_direct_CXX
=yes
15216 hardcode_shlibpath_var_CXX
=no
15218 # Workaround some broken pre-1.5 toolchains
15219 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15227 # C++ shared libraries are fairly broken
15232 if test -f /usr
/libexec
/ld.so
; then
15233 hardcode_direct_CXX
=yes
15234 hardcode_shlibpath_var_CXX
=no
15235 hardcode_direct_absolute_CXX
=yes
15236 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15237 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15238 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15239 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15240 export_dynamic_flag_spec_CXX
='${wl}-E'
15241 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15243 output_verbose_link_cmd
=echo
15249 osf3
* | osf4
* | osf5
*)
15250 case $cc_basename in
15252 # Kuck and Associates, Inc. (KAI) C++ Compiler
15254 # KCC will only create a shared library if the output file
15255 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15256 # to its proper name (with version) after linking.
15257 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'
15259 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15260 hardcode_libdir_separator_CXX
=:
15262 # Archives containing C++ object files must be created using
15263 # the KAI C++ compiler.
15265 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15266 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15270 # Rational C++ 2.4.1
15271 # FIXME: insert proper C++ library support
15277 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15278 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'
15279 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15282 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15283 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'
15284 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15285 echo "-hidden">> $lib.exp~
15286 $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~
15288 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15292 hardcode_libdir_separator_CXX
=:
15294 # Commands to make compiler produce verbose output that lists
15295 # what "hidden" libraries, object files and flags are used when
15296 # linking a shared library.
15298 # There doesn't appear to be a way to prevent this compiler from
15299 # explicitly linking system object files so we need to strip them
15300 # from the output so that they don't get included in the library
15302 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'
15305 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15306 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15309 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'
15312 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'
15316 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15317 hardcode_libdir_separator_CXX
=:
15319 # Commands to make compiler produce verbose output that lists
15320 # what "hidden" libraries, object files and flags are used when
15321 # linking a shared library.
15322 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15325 # FIXME: insert proper C++ library support
15333 # FIXME: insert proper C++ library support
15338 case $cc_basename in
15341 # FIXME: insert proper C++ library support
15346 # FIXME: insert proper C++ library support
15350 # FIXME: insert proper C++ library support
15357 case $cc_basename in
15359 # Sun C++ 4.2, 5.x and Centerline C++
15360 archive_cmds_need_lc_CXX
=yes
15361 no_undefined_flag_CXX
=' -zdefs'
15362 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15363 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15364 $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'
15366 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15367 hardcode_shlibpath_var_CXX
=no
15369 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15371 # The compiler driver will combine and reorder linker options,
15372 # but understands `-z linker_flag'.
15373 # Supported since Solaris 2.6 (maybe 2.5.1?)
15374 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15377 link_all_deplibs_CXX
=yes
15379 output_verbose_link_cmd
='echo'
15381 # Archives containing C++ object files must be created using
15382 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15383 # necessary to make sure instantiated templates are included
15385 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15388 # Green Hills C++ Compiler
15389 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15391 # The C++ compiler must be used to create the archive.
15392 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15395 # GNU C++ compiler with Solaris linker
15396 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15397 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
15398 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
15399 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15400 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15401 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15403 # Commands to make compiler produce verbose output that lists
15404 # what "hidden" libraries, object files and flags are used when
15405 # linking a shared library.
15406 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15408 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15410 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15411 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15412 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15414 # Commands to make compiler produce verbose output that lists
15415 # what "hidden" libraries, object files and flags are used when
15416 # linking a shared library.
15417 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15420 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
15422 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15424 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15432 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15433 no_undefined_flag_CXX
='${wl}-z,text'
15434 archive_cmds_need_lc_CXX
=no
15435 hardcode_shlibpath_var_CXX
=no
15436 runpath_var
='LD_RUN_PATH'
15438 case $cc_basename in
15440 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15441 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15444 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15445 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15450 sysv5
* | sco3.2v5
* | sco5v6
*)
15451 # Note: We can NOT use -z defs as we might desire, because we do not
15452 # link with -lc, and that would cause any symbols used from libc to
15453 # always be unresolved, which means just about no library would
15454 # ever link correctly. If we're not using GNU ld we use -z text
15455 # though, which does catch some bad symbols but isn't as heavy-handed
15457 no_undefined_flag_CXX
='${wl}-z,text'
15458 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15459 archive_cmds_need_lc_CXX
=no
15460 hardcode_shlibpath_var_CXX
=no
15461 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
15462 hardcode_libdir_separator_CXX
=':'
15463 link_all_deplibs_CXX
=yes
15464 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15465 runpath_var
='LD_RUN_PATH'
15467 case $cc_basename in
15469 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15470 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15473 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15474 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15480 case $cc_basename in
15482 # NonStop-UX NCC 3.20
15483 # FIXME: insert proper C++ library support
15487 # FIXME: insert proper C++ library support
15494 # FIXME: insert proper C++ library support
15499 # FIXME: insert proper C++ library support
15504 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15505 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15506 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15512 ## There is no encapsulation within the following macros, do not change
15513 ## the running order or otherwise move them around unless you know exactly
15514 ## what you are doing...
15515 # Dependencies to place before and after the object being linked:
15516 predep_objects_CXX
=
15517 postdep_objects_CXX
=
15520 compiler_lib_search_path_CXX
=
15522 cat > conftest.
$ac_ext <<_LT_EOF
15526 Foo (void) { a = 0; }
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; then
15537 # Parse the compiler output and extract the necessary
15538 # objects, libraries and library flags.
15540 # Sentinel used to keep track of whether or not we are before
15541 # the conftest object file.
15542 pre_test_object_deps_done
=no
15544 for p
in `eval "$output_verbose_link_cmd"`; do
15548 # Some compilers place space between "-{L,R}" and the path.
15549 # Remove the space.
15550 if test $p = "-L" ||
15551 test $p = "-R"; then
15558 if test "$pre_test_object_deps_done" = no
; then
15561 # Internal compiler library paths should come after those
15562 # provided the user. The postdeps already come after the
15563 # user supplied libs so there is no need to process them.
15564 if test -z "$compiler_lib_search_path_CXX"; then
15565 compiler_lib_search_path_CXX
="${prev}${p}"
15567 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15570 # The "-l" case would never come before the object being
15571 # linked, so don't bother handling this case.
15574 if test -z "$postdeps_CXX"; then
15575 postdeps_CXX
="${prev}${p}"
15577 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15583 # This assumes that the test object file only shows up
15584 # once in the compiler output.
15585 if test "$p" = "conftest.$objext"; then
15586 pre_test_object_deps_done
=yes
15590 if test "$pre_test_object_deps_done" = no
; then
15591 if test -z "$predep_objects_CXX"; then
15592 predep_objects_CXX
="$p"
15594 predep_objects_CXX
="$predep_objects_CXX $p"
15597 if test -z "$postdep_objects_CXX"; then
15598 postdep_objects_CXX
="$p"
15600 postdep_objects_CXX
="$postdep_objects_CXX $p"
15605 *) ;; # Ignore the rest.
15613 echo "libtool.m4: error: problem compiling CXX test program"
15616 $RM -f confest.
$objext
15618 # PORTME: override above test on systems where it is broken
15621 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15622 # hack all around it, let's just trust "g++" to DTRT.
15623 predep_objects_CXX
=
15624 postdep_objects_CXX
=
15629 case `$CC -V 2>&1 | sed 5q` in
15633 # The more standards-conforming stlport4 library is
15634 # incompatible with the Cstd library. Avoid specifying
15635 # it if it's in CXXFLAGS. Ignore libCrun as
15636 # -library=stlport4 depends on it.
15637 case " $CXX $CXXFLAGS " in
15638 *" -library=stlport4 "*)
15639 solaris_use_stlport4
=yes
15643 if test "$solaris_use_stlport4" != yes; then
15644 postdeps_CXX
='-library=Cstd -library=Crun'
15651 case $cc_basename in
15653 # The more standards-conforming stlport4 library is
15654 # incompatible with the Cstd library. Avoid specifying
15655 # it if it's in CXXFLAGS. Ignore libCrun as
15656 # -library=stlport4 depends on it.
15657 case " $CXX $CXXFLAGS " in
15658 *" -library=stlport4 "*)
15659 solaris_use_stlport4
=yes
15663 # Adding this requires a known-good setup of shared libraries for
15664 # Sun compiler versions before 5.6, else PIC objects from an old
15665 # archive will be linked into the output, leading to subtle bugs.
15666 if test "$solaris_use_stlport4" != yes; then
15667 postdeps_CXX
='-library=Cstd -library=Crun'
15675 case " $postdeps_CXX " in
15676 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15678 compiler_lib_search_dirs_CXX
=
15679 if test -n "${compiler_lib_search_path_CXX}"; then
15680 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15713 lt_prog_compiler_wl_CXX
=
15714 lt_prog_compiler_pic_CXX
=
15715 lt_prog_compiler_static_CXX
=
15717 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15718 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15720 # C++ specific cases for pic, static, wl, etc.
15721 if test "$GXX" = yes; then
15722 lt_prog_compiler_wl_CXX
='-Wl,'
15723 lt_prog_compiler_static_CXX
='-static'
15727 # All AIX code is PIC.
15728 if test "$host_cpu" = ia64
; then
15729 # AIX 5 now supports IA64 processor
15730 lt_prog_compiler_static_CXX
='-Bstatic'
15737 # see comment about AmigaOS4 .so support
15738 lt_prog_compiler_pic_CXX
='-fPIC'
15741 # FIXME: we need at least 68020 code to build shared libraries, but
15742 # adding the `-m68020' flag to GCC prevents building anything better,
15744 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15749 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15750 # PIC is the default for these OSes.
15752 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15753 # This hack is so that the source file can tell whether it is being
15754 # built for inclusion in a dll (and should export symbols for example).
15755 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15756 # (--disable-auto-import) libraries
15757 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15759 darwin
* | rhapsody
*)
15760 # PIC is the default on this platform
15761 # Common symbols not allowed in MH_DYLIB files
15762 lt_prog_compiler_pic_CXX
='-fno-common'
15765 # DJGPP does not support shared libraries at all
15766 lt_prog_compiler_pic_CXX
=
15769 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15770 # Instead, we relocate shared libraries at runtime.
15773 if test -d /usr
/nec
; then
15774 lt_prog_compiler_pic_CXX
=-Kconform_pic
15778 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15779 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15780 # sets the default TLS model and affects inlining.
15785 lt_prog_compiler_pic_CXX
='-fPIC'
15790 # QNX uses GNU C++, but need to define -shared option too, otherwise
15791 # it will coredump.
15792 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15795 lt_prog_compiler_pic_CXX
='-fPIC'
15801 # All AIX code is PIC.
15802 if test "$host_cpu" = ia64
; then
15803 # AIX 5 now supports IA64 processor
15804 lt_prog_compiler_static_CXX
='-Bstatic'
15806 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15810 case $cc_basename in
15812 # Green Hills C++ Compiler
15813 # _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"
15818 case $cc_basename in
15820 lt_prog_compiler_pic_CXX
='-KPIC'
15823 # Green Hills C++ Compiler
15824 lt_prog_compiler_pic_CXX
='-pic'
15830 freebsd
* | dragonfly
*)
15831 # FreeBSD uses GNU C++
15833 hpux9
* | hpux10
* | hpux11
*)
15834 case $cc_basename in
15836 lt_prog_compiler_wl_CXX
='-Wl,'
15837 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15838 if test "$host_cpu" != ia64
; then
15839 lt_prog_compiler_pic_CXX
='+Z'
15843 lt_prog_compiler_wl_CXX
='-Wl,'
15844 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15850 lt_prog_compiler_pic_CXX
='+Z'
15859 # This is c89, which is MS Visual C++ (no shared libs)
15860 # Anyone wants to do a port?
15862 irix5
* | irix6
* | nonstopux
*)
15863 case $cc_basename in
15865 lt_prog_compiler_wl_CXX
='-Wl,'
15866 lt_prog_compiler_static_CXX
='-non_shared'
15867 # CC pic flag -KPIC is the default.
15873 linux
* | k
*bsd
*-gnu)
15874 case $cc_basename in
15877 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15878 lt_prog_compiler_pic_CXX
='-fPIC'
15881 # old Intel C++ for x86_64 which still supported -KPIC.
15882 lt_prog_compiler_wl_CXX
='-Wl,'
15883 lt_prog_compiler_pic_CXX
='-KPIC'
15884 lt_prog_compiler_static_CXX
='-static'
15887 # Intel C++, used to be incompatible with GCC.
15888 # ICC 10 doesn't accept -KPIC any more.
15889 lt_prog_compiler_wl_CXX
='-Wl,'
15890 lt_prog_compiler_pic_CXX
='-fPIC'
15891 lt_prog_compiler_static_CXX
='-static'
15894 # Portland Group C++ compiler
15895 lt_prog_compiler_wl_CXX
='-Wl,'
15896 lt_prog_compiler_pic_CXX
='-fpic'
15897 lt_prog_compiler_static_CXX
='-Bstatic'
15901 # Make sure the PIC flag is empty. It appears that all Alpha
15902 # Linux and Compaq Tru64 Unix objects are PIC.
15903 lt_prog_compiler_pic_CXX
=
15904 lt_prog_compiler_static_CXX
='-non_shared'
15907 # IBM XL 8.0 on PPC
15908 lt_prog_compiler_wl_CXX
='-Wl,'
15909 lt_prog_compiler_pic_CXX
='-qpic'
15910 lt_prog_compiler_static_CXX
='-qstaticlink'
15913 case `$CC -V 2>&1 | sed 5q` in
15916 lt_prog_compiler_pic_CXX
='-KPIC'
15917 lt_prog_compiler_static_CXX
='-Bstatic'
15918 lt_prog_compiler_wl_CXX
='-Qoption ld '
15929 case $cc_basename in
15931 lt_prog_compiler_pic_CXX
='-W c,exportall'
15940 # QNX uses GNU C++, but need to define -shared option too, otherwise
15941 # it will coredump.
15942 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15944 osf3
* | osf4
* | osf5
*)
15945 case $cc_basename in
15947 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15950 # Rational C++ 2.4.1
15951 lt_prog_compiler_pic_CXX
='-pic'
15954 # Digital/Compaq C++
15955 lt_prog_compiler_wl_CXX
='-Wl,'
15956 # Make sure the PIC flag is empty. It appears that all Alpha
15957 # Linux and Compaq Tru64 Unix objects are PIC.
15958 lt_prog_compiler_pic_CXX
=
15959 lt_prog_compiler_static_CXX
='-non_shared'
15968 case $cc_basename in
15970 # Sun C++ 4.2, 5.x and Centerline C++
15971 lt_prog_compiler_pic_CXX
='-KPIC'
15972 lt_prog_compiler_static_CXX
='-Bstatic'
15973 lt_prog_compiler_wl_CXX
='-Qoption ld '
15976 # Green Hills C++ Compiler
15977 lt_prog_compiler_pic_CXX
='-PIC'
15984 case $cc_basename in
15987 lt_prog_compiler_pic_CXX
='-pic'
15988 lt_prog_compiler_static_CXX
='-Bstatic'
15992 lt_prog_compiler_pic_CXX
='-pic'
15998 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15999 case $cc_basename in
16001 lt_prog_compiler_wl_CXX
='-Wl,'
16002 lt_prog_compiler_pic_CXX
='-KPIC'
16003 lt_prog_compiler_static_CXX
='-Bstatic'
16008 case $cc_basename in
16010 # NonStop-UX NCC 3.20
16011 lt_prog_compiler_pic_CXX
='-KPIC'
16020 lt_prog_compiler_can_build_shared_CXX
=no
16026 # For platforms which do not support PIC, -DPIC is meaningless:
16028 lt_prog_compiler_pic_CXX
=
16031 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16034 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16035 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
16040 # Check to make sure the PIC flag actually works.
16042 if test -n "$lt_prog_compiler_pic_CXX"; then
16043 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16044 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
16045 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 lt_cv_prog_compiler_pic_works_CXX
=no
16049 ac_outfile
=conftest.
$ac_objext
16050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16051 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16052 # Insert the option either (1) after the last *FLAGS variable, or
16053 # (2) before a word containing "conftest.", or (3) at the end.
16054 # Note that $ac_compile itself does not contain backslashes and begins
16055 # with a dollar sign (not a hyphen), so the echo should work correctly.
16056 # The option is referenced via a variable to avoid confusing sed.
16057 lt_compile
=`echo "$ac_compile" | $SED \
16058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16060 -e 's:$: $lt_compiler_flag:'`
16061 (eval echo "\"\$as_me:16061: $lt_compile\"" >&5)
16062 (eval "$lt_compile" 2>conftest.err
)
16064 cat conftest.err
>&5
16065 echo "$as_me:16065: \$? = $ac_status" >&5
16066 if (exit $ac_status) && test -s "$ac_outfile"; then
16067 # The compiler can only warn and ignore the option if not recognized
16068 # So say no if there are warnings other than the usual output.
16069 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16070 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16071 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16072 lt_cv_prog_compiler_pic_works_CXX
=yes
16078 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16079 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
16081 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16082 case $lt_prog_compiler_pic_CXX in
16084 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16087 lt_prog_compiler_pic_CXX
=
16088 lt_prog_compiler_can_build_shared_CXX
=no
16096 # Check to make sure the static flag actually works.
16098 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16099 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16100 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16101 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 lt_cv_prog_compiler_static_works_CXX
=no
16105 save_LDFLAGS
="$LDFLAGS"
16106 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16107 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16108 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16109 # The linker can only warn and ignore the option if not recognized
16110 # So say no if there are warnings
16111 if test -s conftest.err
; then
16112 # Append any errors to the config.log.
16113 cat conftest.err
1>&5
16114 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16115 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16116 if diff conftest.exp conftest.er2
>/dev
/null
; then
16117 lt_cv_prog_compiler_static_works_CXX
=yes
16120 lt_cv_prog_compiler_static_works_CXX
=yes
16124 LDFLAGS
="$save_LDFLAGS"
16127 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16128 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
16130 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16133 lt_prog_compiler_static_CXX
=
16139 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16140 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16141 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 lt_cv_prog_compiler_c_o_CXX
=no
16145 $RM -r conftest
2>/dev
/null
16149 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16151 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16152 # Insert the option either (1) after the last *FLAGS variable, or
16153 # (2) before a word containing "conftest.", or (3) at the end.
16154 # Note that $ac_compile itself does not contain backslashes and begins
16155 # with a dollar sign (not a hyphen), so the echo should work correctly.
16156 lt_compile
=`echo "$ac_compile" | $SED \
16157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16159 -e 's:$: $lt_compiler_flag:'`
16160 (eval echo "\"\$as_me:16160: $lt_compile\"" >&5)
16161 (eval "$lt_compile" 2>out
/conftest.err
)
16163 cat out
/conftest.err
>&5
16164 echo "$as_me:16164: \$? = $ac_status" >&5
16165 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16167 # The compiler can only warn and ignore the option if not recognized
16168 # So say no if there are warnings
16169 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16170 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16171 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16172 lt_cv_prog_compiler_c_o_CXX
=yes
16177 # SGI C++ compiler will create directory out/ii_files/ for
16178 # template instantiation
16179 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16180 $RM out
/* && rmdir out
16186 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16187 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16191 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16192 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16193 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 lt_cv_prog_compiler_c_o_CXX
=no
16197 $RM -r conftest
2>/dev
/null
16201 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16203 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16204 # Insert the option either (1) after the last *FLAGS variable, or
16205 # (2) before a word containing "conftest.", or (3) at the end.
16206 # Note that $ac_compile itself does not contain backslashes and begins
16207 # with a dollar sign (not a hyphen), so the echo should work correctly.
16208 lt_compile
=`echo "$ac_compile" | $SED \
16209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16211 -e 's:$: $lt_compiler_flag:'`
16212 (eval echo "\"\$as_me:16212: $lt_compile\"" >&5)
16213 (eval "$lt_compile" 2>out
/conftest.err
)
16215 cat out
/conftest.err
>&5
16216 echo "$as_me:16216: \$? = $ac_status" >&5
16217 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16219 # The compiler can only warn and ignore the option if not recognized
16220 # So say no if there are warnings
16221 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16222 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16223 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16224 lt_cv_prog_compiler_c_o_CXX
=yes
16229 # SGI C++ compiler will create directory out/ii_files/ for
16230 # template instantiation
16231 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16232 $RM out
/* && rmdir out
16238 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16239 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
16244 hard_links
="nottested"
16245 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16246 # do not overwrite the value of need_locks provided by the user
16247 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16248 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16251 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16253 ln conftest.a conftest.b
2>&5 || hard_links
=no
16254 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16255 echo "$as_me:$LINENO: result: $hard_links" >&5
16256 echo "${ECHO_T}$hard_links" >&6
16257 if test "$hard_links" = no
; then
16258 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16259 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16268 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16271 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16274 # If we're using GNU nm, then we don't want the "-C" option.
16275 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16276 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16277 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'
16279 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'
16283 export_symbols_cmds_CXX
="$ltdll_cmds"
16285 cygwin
* | mingw
* | cegcc
*)
16286 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'
16289 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16292 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16294 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16295 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16296 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16298 with_gnu_ld_CXX
=$with_gnu_ld
16306 # Do we need to explicitly link libc?
16308 case "x$archive_cmds_need_lc_CXX" in
16310 # Assume -lc should be added
16311 archive_cmds_need_lc_CXX
=yes
16313 if test "$enable_shared" = yes && test "$GCC" = yes; then
16314 case $archive_cmds_CXX in
16316 # FIXME: we may have to deal with multi-command sequences.
16319 # Test whether the compiler implicitly links with -lc since on some
16320 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16321 # to ld, don't add -lc before -lgcc.
16322 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16323 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16325 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16328 (eval $ac_compile) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } 2>conftest.err
; then
16334 libobjs
=conftest.
$ac_objext
16336 wl
=$lt_prog_compiler_wl_CXX
16337 pic_flag
=$lt_prog_compiler_pic_CXX
16343 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16344 allow_undefined_flag_CXX
=
16345 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
16346 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }
16351 archive_cmds_need_lc_CXX
=no
16353 archive_cmds_need_lc_CXX
=yes
16355 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16357 cat conftest.err
1>&5
16360 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16361 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
16431 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16432 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16434 library_names_spec
=
16435 libname_spec
='lib$name'
16439 postuninstall_cmds
=
16443 shlibpath_overrides_runpath
=unknown
16445 dynamic_linker
="$host_os ld.so"
16446 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16447 need_lib_prefix
=unknown
16448 hardcode_into_libs
=no
16450 # when you set need_version to no, make sure it does not cause -set_version
16451 # flags to be left without arguments
16452 need_version
=unknown
16457 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16458 shlibpath_var
=LIBPATH
16460 # AIX 3 has no versioning support, so we append a major version to the name.
16461 soname_spec
='${libname}${release}${shared_ext}$major'
16468 hardcode_into_libs
=yes
16469 if test "$host_cpu" = ia64
; then
16470 # AIX 5 supports IA64
16471 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16472 shlibpath_var
=LD_LIBRARY_PATH
16474 # With GCC up to 2.95.x, collect2 would create an import file
16475 # for dependence libraries. The import file would start with
16476 # the line `#! .'. This would cause the generated library to
16477 # depend on `.', always an invalid library. This was fixed in
16478 # development snapshots of GCC prior to 3.0.
16480 aix4 | aix4.
[01] | aix4.
[01].
*)
16481 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16483 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16486 can_build_shared
=no
16490 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16491 # soname into executable. Probably we can add versioning support to
16492 # collect2, so additional links can be useful in future.
16493 if test "$aix_use_runtimelinking" = yes; then
16494 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16495 # instead of lib<name>.a to let people know that these are not
16496 # typical AIX shared libraries.
16497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16499 # We preserve .a as extension for shared libraries through AIX4.2
16500 # and later when we are not doing run time linking.
16501 library_names_spec
='${libname}${release}.a $libname.a'
16502 soname_spec
='${libname}${release}${shared_ext}$major'
16504 shlibpath_var
=LIBPATH
16511 # Since July 2007 AmigaOS4 officially supports .so libraries.
16512 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16516 library_names_spec
='$libname.ixlibrary $libname.a'
16517 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16518 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'
16524 library_names_spec
='${libname}${shared_ext}'
16525 dynamic_linker
="$host_os ld.so"
16526 shlibpath_var
=LIBRARY_PATH
16532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16533 soname_spec
='${libname}${release}${shared_ext}$major'
16534 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16535 shlibpath_var
=LD_LIBRARY_PATH
16536 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16537 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16538 # the default ld.so.conf also contains /usr/contrib/lib and
16539 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16540 # libtool to hard-code these into programs
16543 cygwin
* | mingw
* | pw32
* | cegcc
*)
16544 version_type
=windows
16549 case $GCC,$host_os in
16550 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16551 library_names_spec
='$libname.dll.a'
16552 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16553 postinstall_cmds
='base_file=`basename \${file}`~
16554 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16555 dldir=$destdir/`dirname \$dlpath`~
16556 test -d \$dldir || mkdir -p \$dldir~
16557 $install_prog $dir/$dlname \$dldir/$dlname~
16558 chmod a+x \$dldir/$dlname~
16559 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16560 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16562 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16563 dlpath=$dir/\$dldll~
16565 shlibpath_overrides_runpath
=yes
16569 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16570 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16571 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16574 # MinGW DLLs use traditional 'lib' prefix
16575 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16576 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16577 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16578 # It is most probably a Windows format PATH printed by
16579 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16580 # path with ; separators, and with drive letters. We can handle the
16581 # drive letters (cygwin fileutils understands them), so leave them,
16582 # especially as we might pass files found there to a mingw objdump,
16583 # which wouldn't understand a cygwinified path. Ahh.
16584 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16586 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16590 # pw32 DLLs use 'pw' prefix rather than 'lib'
16591 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16597 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16600 dynamic_linker
='Win32 ld.exe'
16601 # FIXME: first we should search . and the directory the executable is in
16605 darwin
* | rhapsody
*)
16606 dynamic_linker
="$host_os dyld"
16607 version_type
=darwin
16610 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16611 soname_spec
='${libname}${release}${major}$shared_ext'
16612 shlibpath_overrides_runpath
=yes
16613 shlibpath_var
=DYLD_LIBRARY_PATH
16614 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16616 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16624 soname_spec
='${libname}${release}${shared_ext}$major'
16625 shlibpath_var
=LD_LIBRARY_PATH
16632 freebsd
* | dragonfly
*)
16633 # DragonFly does not have aout. When/if they implement a new
16634 # versioning mechanism, adjust this.
16635 if test -x /usr
/bin
/objformat
; then
16636 objformat
=`/usr/bin/objformat`
16639 freebsd
[123]*) objformat
=aout
;;
16640 *) objformat
=elf
;;
16643 version_type
=freebsd-
$objformat
16644 case $version_type in
16646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16651 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16655 shlibpath_var
=LD_LIBRARY_PATH
16658 shlibpath_overrides_runpath
=yes
16660 freebsd3.
[01]* | freebsdelf3.
[01]*)
16661 shlibpath_overrides_runpath
=yes
16662 hardcode_into_libs
=yes
16664 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16665 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16666 shlibpath_overrides_runpath
=no
16667 hardcode_into_libs
=yes
16669 *) # from 4.6 on, and DragonFly
16670 shlibpath_overrides_runpath
=yes
16671 hardcode_into_libs
=yes
16680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16681 soname_spec
='${libname}${release}${shared_ext}$major'
16682 shlibpath_var
=LD_LIBRARY_PATH
16683 hardcode_into_libs
=yes
16686 hpux9
* | hpux10
* | hpux11
*)
16687 # Give a soname corresponding to the major version so that dld.sl refuses to
16688 # link against other versions.
16695 hardcode_into_libs
=yes
16696 dynamic_linker
="$host_os dld.so"
16697 shlibpath_var
=LD_LIBRARY_PATH
16698 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16700 soname_spec
='${libname}${release}${shared_ext}$major'
16701 if test "X$HPUX_IA64_MODE" = X32
; then
16702 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16704 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16706 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16710 hardcode_into_libs
=yes
16711 dynamic_linker
="$host_os dld.sl"
16712 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16713 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16715 soname_spec
='${libname}${release}${shared_ext}$major'
16716 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16717 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16721 dynamic_linker
="$host_os dld.sl"
16722 shlibpath_var
=SHLIB_PATH
16723 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16725 soname_spec
='${libname}${release}${shared_ext}$major'
16728 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16729 postinstall_cmds
='chmod 555 $lib'
16736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16737 soname_spec
='${libname}${release}${shared_ext}$major'
16738 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16739 shlibpath_var
=LD_LIBRARY_PATH
16740 shlibpath_overrides_runpath
=no
16741 hardcode_into_libs
=yes
16744 irix5
* | irix6
* | nonstopux
*)
16746 nonstopux
*) version_type
=nonstopux
;;
16748 if test "$lt_cv_prog_gnu_ld" = yes; then
16756 soname_spec
='${libname}${release}${shared_ext}$major'
16757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16759 irix5
* | nonstopux
*)
16760 libsuff
= shlibsuff
=
16763 case $LD in # libtool.m4 will add one of these switches to LD
16764 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16765 libsuff
= shlibsuff
= libmagic
=32-bit;;
16766 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16767 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16768 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16769 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16770 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16774 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16775 shlibpath_overrides_runpath
=no
16776 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16777 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16778 hardcode_into_libs
=yes
16781 # No shared lib support for Linux oldld, aout, or coff.
16782 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16786 # This must be Linux ELF.
16787 linux
* | k
*bsd
*-gnu)
16791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16792 soname_spec
='${libname}${release}${shared_ext}$major'
16793 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16794 shlibpath_var
=LD_LIBRARY_PATH
16795 shlibpath_overrides_runpath
=no
16796 # Some binutils ld are patched to set DT_RUNPATH
16797 save_LDFLAGS
=$LDFLAGS
16798 save_libdir
=$libdir
16799 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16800 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16801 if test x
$gcc_no_link = xyes
; then
16802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16804 { (exit 1); exit 1; }; }
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16821 rm -f conftest.
$ac_objext conftest
$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823 (eval $ac_link) 2>conftest.er1
16825 grep -v '^ *+' conftest.er1
>conftest.err
16827 cat conftest.err
>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } &&
16830 { ac_try
='test -z "$ac_cxx_werror_flag"
16831 || test ! -s conftest.err'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; } &&
16837 { ac_try
='test -s conftest$ac_exeext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
16844 shlibpath_overrides_runpath
=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16852 rm -f conftest.err conftest.
$ac_objext \
16853 conftest
$ac_exeext conftest.
$ac_ext
16854 LDFLAGS
=$save_LDFLAGS
16855 libdir
=$save_libdir
16857 # This implies no fast_install, which is unacceptable.
16858 # Some rework will be needed to allow for fast_install
16859 # before this can be enabled.
16860 hardcode_into_libs
=yes
16862 # Append ld.so.conf contents to the search path
16863 if test -f /etc
/ld.so.conf
; then
16864 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' ' '`
16865 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16868 # We used to test for /lib/ld.so.1 and disable shared libraries on
16869 # powerpc, because MkLinux only supported shared libraries with the
16870 # GNU dynamic linker. Since this was broken with cross compilers,
16871 # most powerpc-linux boxes support dynamic linking these days and
16872 # people can always --disable-shared, the test was removed, and we
16873 # assume the GNU/Linux dynamic linker is in use.
16874 dynamic_linker
='GNU/Linux ld.so'
16881 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16883 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16884 dynamic_linker
='NetBSD (a.out) ld.so'
16886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16887 soname_spec
='${libname}${release}${shared_ext}$major'
16888 dynamic_linker
='NetBSD ld.elf_so'
16890 shlibpath_var
=LD_LIBRARY_PATH
16891 shlibpath_overrides_runpath
=yes
16892 hardcode_into_libs
=yes
16897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16898 shlibpath_var
=LD_LIBRARY_PATH
16899 shlibpath_overrides_runpath
=yes
16906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16907 soname_spec
='${libname}${release}${shared_ext}$major'
16908 shlibpath_var
=LD_LIBRARY_PATH
16909 shlibpath_overrides_runpath
=no
16910 hardcode_into_libs
=yes
16911 dynamic_linker
='ldqnx.so'
16916 sys_lib_dlsearch_path_spec
="/usr/lib"
16918 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16920 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16921 *) need_version
=no
;;
16923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16924 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16925 shlibpath_var
=LD_LIBRARY_PATH
16926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16928 openbsd2.
[89] | openbsd2.
[89].
*)
16929 shlibpath_overrides_runpath
=no
16932 shlibpath_overrides_runpath
=yes
16936 shlibpath_overrides_runpath
=yes
16941 libname_spec
='$name'
16944 library_names_spec
='$libname${shared_ext} $libname.a'
16945 dynamic_linker
='OS/2 ld.exe'
16946 shlibpath_var
=LIBPATH
16949 osf3
* | osf4
* | osf5
*)
16953 soname_spec
='${libname}${release}${shared_ext}$major'
16954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16955 shlibpath_var
=LD_LIBRARY_PATH
16956 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16957 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16969 soname_spec
='${libname}${release}${shared_ext}$major'
16970 shlibpath_var
=LD_LIBRARY_PATH
16971 shlibpath_overrides_runpath
=yes
16972 hardcode_into_libs
=yes
16973 # ldd complains unless libraries are executable
16974 postinstall_cmds
='chmod +x $lib'
16979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16980 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16981 shlibpath_var
=LD_LIBRARY_PATH
16982 shlibpath_overrides_runpath
=yes
16983 if test "$with_gnu_ld" = yes; then
16991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16992 soname_spec
='${libname}${release}${shared_ext}$major'
16993 shlibpath_var
=LD_LIBRARY_PATH
16994 case $host_vendor in
16996 shlibpath_overrides_runpath
=no
16998 runpath_var
=LD_RUN_PATH
17006 shlibpath_overrides_runpath
=no
17007 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17013 if test -d /usr
/nec
;then
17015 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17016 soname_spec
='$libname${shared_ext}.$major'
17017 shlibpath_var
=LD_LIBRARY_PATH
17021 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17022 version_type
=freebsd-elf
17025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17026 soname_spec
='${libname}${release}${shared_ext}$major'
17027 shlibpath_var
=LD_LIBRARY_PATH
17028 shlibpath_overrides_runpath
=yes
17029 hardcode_into_libs
=yes
17030 if test "$with_gnu_ld" = yes; then
17031 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17033 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17036 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17040 sys_lib_dlsearch_path_spec
='/usr/lib'
17044 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17049 shlibpath_var
=LD_LIBRARY_PATH
17050 shlibpath_overrides_runpath
=no
17051 hardcode_into_libs
=yes
17056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17057 soname_spec
='${libname}${release}${shared_ext}$major'
17058 shlibpath_var
=LD_LIBRARY_PATH
17065 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17066 echo "${ECHO_T}$dynamic_linker" >&6
17067 test "$dynamic_linker" = no
&& can_build_shared
=no
17069 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17070 if test "$GCC" = yes; then
17071 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17074 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17075 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17077 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17078 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17116 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17117 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17118 hardcode_action_CXX
=
17119 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17120 test -n "$runpath_var_CXX" ||
17121 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17123 # We can hardcode non-existent directories.
17124 if test "$hardcode_direct_CXX" != no
&&
17125 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17126 # have to relink, otherwise we might link with an installed library
17127 # when we should be linking with a yet-to-be-installed one
17128 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17129 test "$hardcode_minus_L_CXX" != no
; then
17130 # Linking always hardcodes the temporary library directory.
17131 hardcode_action_CXX
=relink
17133 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17134 hardcode_action_CXX
=immediate
17137 # We cannot hardcode anything, or else we can only hardcode existing
17139 hardcode_action_CXX
=unsupported
17141 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17142 echo "${ECHO_T}$hardcode_action_CXX" >&6
17144 if test "$hardcode_action_CXX" = relink ||
17145 test "$inherit_rpath_CXX" = yes; then
17146 # Fast installation is not supported
17147 enable_fast_install
=no
17148 elif test "$shlibpath_overrides_runpath" = yes ||
17149 test "$enable_shared" = no
; then
17150 # Fast installation is not necessary
17151 enable_fast_install
=needless
17160 fi # test -n "$compiler"
17166 with_gnu_ld
=$lt_save_with_gnu_ld
17167 lt_cv_path_LDCXX
=$lt_cv_path_LD
17168 lt_cv_path_LD
=$lt_save_path_LD
17169 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17170 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17171 fi # test "$_lt_caught_CXX_error" != yes
17174 ac_cpp
='$CPP $CPPFLAGS'
17175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17181 # Handle -Werror default case.
17182 if test "$ENABLE_WERROR" = default
; then
17185 if test "$GCC" = yes; then
17192 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
17193 # Extract the first word of "perl", so it can be a program name with args.
17194 set dummy perl
; ac_word
=$2
17195 echo "$as_me:$LINENO: checking for $ac_word" >&5
17196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17197 if test "${ac_cv_path_PERL+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
17205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17206 for as_dir
in $PATH
17209 test -z "$as_dir" && as_dir
=.
17210 for ac_exec_ext
in '' $ac_executable_extensions; do
17211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17212 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
17213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17222 PERL
=$ac_cv_path_PERL
17224 if test -n "$PERL"; then
17225 echo "$as_me:$LINENO: result: $PERL" >&5
17226 echo "${ECHO_T}$PERL" >&6
17228 echo "$as_me:$LINENO: result: no" >&5
17229 echo "${ECHO_T}no" >&6
17234 ac_config_files
="$ac_config_files lib/mkcollections.pl"
17236 ac_config_commands
="$ac_config_commands mkcollections.pl"
17240 if test "x${COMPILE_JNI}" = xyes
; then
17244 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
17245 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
17246 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 cat >conftest.
$ac_ext <<_ACEOF
17253 cat confdefs.h
>>conftest.
$ac_ext
17254 cat >>conftest.
$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17260 extern int testfunction(int x) __attribute__((,,))
17265 rm -f conftest.
$ac_objext
17266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17267 (eval $ac_compile) 2>conftest.er1
17269 grep -v '^ *+' conftest.er1
>conftest.err
17271 cat conftest.err
>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } &&
17274 { ac_try
='test -z "$ac_c_werror_flag"
17275 || test ! -s conftest.err'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; } &&
17281 { ac_try
='test -s conftest.$ac_objext'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; }; then
17287 gcc_cv_c_gcc_attribute_supported
=yes
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.
$ac_ext >&5
17292 gcc_cv_c_gcc_attribute_supported
=no
17294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17298 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
17300 echo "$as_me:$LINENO: result: yes" >&5
17301 echo "${ECHO_T}yes" >&6
17303 cat >>confdefs.h
<<\_ACEOF
17304 #define HAVE_GNUC25_ATTRIB
17310 echo "$as_me:$LINENO: result: no" >&5
17311 echo "${ECHO_T}no" >&6
17324 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
17325 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
17326 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 cat >conftest.
$ac_ext <<_ACEOF
17333 cat confdefs.h
>>conftest.
$ac_ext
17334 cat >>conftest.
$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17340 extern int testfunction(int x) __attribute__((unused))
17345 rm -f conftest.
$ac_objext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17347 (eval $ac_compile) 2>conftest.er1
17349 grep -v '^ *+' conftest.er1
>conftest.err
17351 cat conftest.err
>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try
='test -z "$ac_c_werror_flag"
17355 || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try
='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 gcc_cv_c_gcc_attribute_unused
=yes
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 gcc_cv_c_gcc_attribute_unused
=no
17374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17378 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
17380 echo "$as_me:$LINENO: result: yes" >&5
17381 echo "${ECHO_T}yes" >&6
17383 cat >>confdefs.h
<<\_ACEOF
17384 #define HAVE_GNUC25_UNUSED
17390 echo "$as_me:$LINENO: result: no" >&5
17391 echo "${ECHO_T}no" >&6
17400 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
17402 if test "${ac_cv_header_stdc+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 cat >conftest.
$ac_ext <<_ACEOF
17408 cat confdefs.h
>>conftest.
$ac_ext
17409 cat >>conftest.
$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411 #include <stdlib.h>
17412 #include <stdarg.h>
17413 #include <string.h>
17424 rm -f conftest.
$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>conftest.er1
17428 grep -v '^ *+' conftest.er1
>conftest.err
17430 cat conftest.err
>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try
='test -z "$ac_c_werror_flag"
17434 || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try
='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_header_stdc
=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.
$ac_ext >&5
17451 ac_cv_header_stdc
=no
17453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17455 if test $ac_cv_header_stdc = yes; then
17456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17457 cat >conftest.
$ac_ext <<_ACEOF
17460 cat confdefs.h
>>conftest.
$ac_ext
17461 cat >>conftest.
$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 #include <string.h>
17466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17467 $EGREP "memchr" >/dev
/null
2>&1; then
17470 ac_cv_header_stdc
=no
17476 if test $ac_cv_header_stdc = yes; then
17477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 #include <stdlib.h>
17487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17488 $EGREP "free" >/dev
/null
2>&1; then
17491 ac_cv_header_stdc
=no
17497 if test $ac_cv_header_stdc = yes; then
17498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17499 if test "$cross_compiling" = yes; then
17502 cat >conftest.
$ac_ext <<_ACEOF
17505 cat confdefs.h
>>conftest.
$ac_ext
17506 cat >>conftest.
$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17509 #if ((' ' & 0x0FF) == 0x020)
17510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17513 # define ISLOWER(c) \
17514 (('a' <= (c) && (c) <= 'i') \
17515 || ('j' <= (c) && (c) <= 'r') \
17516 || ('s' <= (c) && (c) <= 'z'))
17517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17525 for (i = 0; i < 256; i++)
17526 if (XOR (islower (i), ISLOWER (i))
17527 || toupper (i) != TOUPPER (i))
17532 rm -f conftest
$ac_exeext
17533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17534 (eval $ac_link) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17545 echo "$as_me: program exited with status $ac_status" >&5
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.
$ac_ext >&5
17549 ( exit $ac_status )
17550 ac_cv_header_stdc
=no
17552 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17556 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17557 echo "${ECHO_T}$ac_cv_header_stdc" >&6
17558 if test $ac_cv_header_stdc = yes; then
17560 cat >>confdefs.h
<<\_ACEOF
17561 #define STDC_HEADERS 1
17567 echo "$as_me:$LINENO: checking size of void *" >&5
17568 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17569 if test "${ac_cv_sizeof_void_p+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17572 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
17573 cat >conftest.
$ac_ext <<_ACEOF
17576 cat confdefs.h
>>conftest.
$ac_ext
17577 cat >>conftest.
$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 #include "confdefs.h"
17580 #include <sys/types.h>
17586 switch (0) case 0: case (sizeof (void *) == $ac_size):;
17591 rm -f conftest.
$ac_objext
17592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17593 (eval $ac_compile) 2>conftest.er1
17595 grep -v '^ *+' conftest.er1
>conftest.err
17597 cat conftest.err
>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } &&
17600 { ac_try
='test -z "$ac_c_werror_flag"
17601 || test ! -s conftest.err'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; } &&
17607 { ac_try
='test -s conftest.$ac_objext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 ac_cv_sizeof_void_p
=$ac_size
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.
$ac_ext >&5
17619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17620 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
17625 if test x
$ac_cv_sizeof_void_p = x
; then
17626 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
17627 echo "$as_me: error: cannot determine a size for void *" >&2;}
17628 { (exit 1); exit 1; }; }
17630 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17631 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17633 cat >>confdefs.h
<<_ACEOF
17634 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17639 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17640 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17641 if test "${ac_cv_c_bigendian+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17644 ac_cv_c_bigendian
=unknown
17645 # See if sys/param.h defines the BYTE_ORDER macro.
17646 cat >conftest.
$ac_ext <<_ACEOF
17649 cat confdefs.h
>>conftest.
$ac_ext
17650 cat >>conftest.
$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <sys/types.h>
17653 #include <sys/param.h>
17658 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17659 bogus endian macros
17665 rm -f conftest.
$ac_objext
17666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17667 (eval $ac_compile) 2>conftest.er1
17669 grep -v '^ *+' conftest.er1
>conftest.err
17671 cat conftest.err
>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try
='test -z "$ac_c_werror_flag"
17675 || test ! -s conftest.err'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; } &&
17681 { ac_try
='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 # It does; now see whether it defined to BIG_ENDIAN or not.
17688 cat >conftest.
$ac_ext <<_ACEOF
17691 cat confdefs.h
>>conftest.
$ac_ext
17692 cat >>conftest.
$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 #include <sys/types.h>
17695 #include <sys/param.h>
17700 #if BYTE_ORDER != BIG_ENDIAN
17707 rm -f conftest.
$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17711 grep -v '^ *+' conftest.er1
>conftest.err
17713 cat conftest.err
>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try
='test -z "$ac_c_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try
='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17729 ac_cv_c_bigendian
=yes
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17734 ac_cv_c_bigendian
=no
17736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.
$ac_ext >&5
17742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17743 if test $ac_cv_c_bigendian = unknown
; then
17744 if test "$cross_compiling" = yes; then
17745 echo $ac_n "cross-compiling... " 2>&6
17747 cat >conftest.
$ac_ext <<_ACEOF
17750 cat confdefs.h
>>conftest.
$ac_ext
17751 cat >>conftest.
$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17754 /* Are we little or big endian? From Harbison&Steele. */
17758 char c[sizeof (long)];
17761 exit (u.c[sizeof (long) - 1] == 1);
17764 rm -f conftest
$ac_exeext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17766 (eval $ac_link) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17775 ac_cv_c_bigendian
=no
17777 echo "$as_me: program exited with status $ac_status" >&5
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ( exit $ac_status )
17782 ac_cv_c_bigendian
=yes
17784 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17788 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17789 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17790 if test $ac_cv_c_bigendian = unknown
; then
17791 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
17792 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
17794 cat >conftest.c
<<EOF
17795 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17796 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17797 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
17798 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17799 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17800 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17801 int main() { _ascii (); _ebcdic (); return 0; }
17803 if test -f conftest.c
; then
17804 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
17805 if test `grep -l BIGenDianSyS conftest.o` ; then
17806 echo $ac_n ' big endian probe OK, ' 1>&6
17807 ac_cv_c_bigendian
=yes
17809 if test `grep -l LiTTleEnDian conftest.o` ; then
17810 echo $ac_n ' little endian probe OK, ' 1>&6
17811 if test $ac_cv_c_bigendian = yes ; then
17812 ac_cv_c_bigendian
=unknown
;
17814 ac_cv_c_bigendian
=no
17817 echo $ac_n 'guessing bigendian ... ' >&6
17820 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17821 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17823 if test $ac_cv_c_bigendian = yes; then
17825 cat >>confdefs.h
<<\_ACEOF
17826 #define WORDS_BIGENDIAN 1
17830 cat >>confdefs.h
<<\_ACEOF
17831 #define HOST_WORDS_BIG_ENDIAN 1
17839 cat >>confdefs.h
<<_ACEOF
17840 #define BYTEORDER $BYTEORDER
17843 if test $ac_cv_c_bigendian = unknown
; then
17844 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
17845 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
17846 { (exit 1); exit 1; }; }
17874 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17876 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17883 sys
/event.h sys
/epoll.h \
17885 netinet
/in_systm.h netinet
/ip.h net
/if.h \
17886 sys
/loadavg.h sys
/sockio.h
17888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17890 echo "$as_me:$LINENO: checking for $ac_header" >&5
17891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17898 # Is the header compilable?
17899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 $ac_includes_default
17908 #include <$ac_header>
17910 rm -f conftest.
$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try
='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_header_compiler
=yes
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17937 ac_header_compiler
=no
17939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17941 echo "${ECHO_T}$ac_header_compiler" >&6
17943 # Is the header present?
17944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #include <$ac_header>
17954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17957 grep -v '^ *+' conftest.er1
>conftest.err
17959 cat conftest.err
>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } >/dev
/null
; then
17962 if test -s conftest.err
; then
17963 ac_cpp_err
=$ac_c_preproc_warn_flag
17964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17971 if test -z "$ac_cpp_err"; then
17972 ac_header_preproc
=yes
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17977 ac_header_preproc
=no
17979 rm -f conftest.err conftest.
$ac_ext
17980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17981 echo "${ECHO_T}$ac_header_preproc" >&6
17983 # So? What about this header?
17984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17990 ac_header_preproc
=yes
17993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18007 ## -------------------------------- ##
18008 ## Report this to classpath@gnu.org ##
18009 ## -------------------------------- ##
18012 sed "s/^/$as_me: WARNING: /" >&2
18015 echo "$as_me:$LINENO: checking for $ac_header" >&5
18016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 eval "$as_ac_Header=\$ac_header_preproc"
18022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18027 cat >>confdefs.h
<<_ACEOF
18028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18036 cat >conftest.
$ac_ext <<_ACEOF
18039 cat confdefs.h
>>conftest.
$ac_ext
18040 cat >>conftest.
$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 #include <stdint.h>
18045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18046 $EGREP "uint32_t" >/dev
/null
2>&1; then
18048 cat >>confdefs.h
<<\_ACEOF
18049 #define HAVE_INT32_DEFINED 1
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <inttypes.h>
18064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18065 $EGREP "uint32_t" >/dev
/null
2>&1; then
18067 cat >>confdefs.h
<<\_ACEOF
18068 #define HAVE_INT32_DEFINED 1
18074 cat >conftest.
$ac_ext <<_ACEOF
18077 cat confdefs.h
>>conftest.
$ac_ext
18078 cat >>conftest.
$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18080 #include <sys/types.h>
18083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18084 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18086 cat >>confdefs.h
<<\_ACEOF
18087 #define HAVE_BSD_INT32_DEFINED 1
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 #include <sys/config.h>
18102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18103 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18105 cat >>confdefs.h
<<\_ACEOF
18106 #define HAVE_BSD_INT32_DEFINED 1
18113 echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
18114 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6
18115 if test "${ac_cv_search_inet_pton+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 ac_func_search_save_LIBS
=$LIBS
18119 ac_cv_search_inet_pton
=no
18120 if test x
$gcc_no_link = xyes
; then
18121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18123 { (exit 1); exit 1; }; }
18125 cat >conftest.
$ac_ext <<_ACEOF
18128 cat confdefs.h
>>conftest.
$ac_ext
18129 cat >>conftest.
$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18132 /* Override any gcc2 internal prototype to avoid an error. */
18136 /* We use char because int might match the return type of a gcc2
18137 builtin and then its argument prototype would still apply. */
18147 rm -f conftest.
$ac_objext conftest
$ac_exeext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18149 (eval $ac_link) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_c_werror_flag"
18157 || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try
='test -s conftest$ac_exeext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18169 ac_cv_search_inet_pton
="none required"
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.
$ac_ext >&5
18175 rm -f conftest.err conftest.
$ac_objext \
18176 conftest
$ac_exeext conftest.
$ac_ext
18177 if test "$ac_cv_search_inet_pton" = no
; then
18178 for ac_lib
in nsl
; do
18179 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18180 if test x
$gcc_no_link = xyes
; then
18181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18183 { (exit 1); exit 1; }; }
18185 cat >conftest.
$ac_ext <<_ACEOF
18188 cat confdefs.h
>>conftest.
$ac_ext
18189 cat >>conftest.
$ac_ext <<_ACEOF
18190 /* end confdefs.h. */
18192 /* Override any gcc2 internal prototype to avoid an error. */
18196 /* We use char because int might match the return type of a gcc2
18197 builtin and then its argument prototype would still apply. */
18207 rm -f conftest.
$ac_objext conftest
$ac_exeext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18209 (eval $ac_link) 2>conftest.er1
18211 grep -v '^ *+' conftest.er1
>conftest.err
18213 cat conftest.err
>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try
='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try
='test -s conftest$ac_exeext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_cv_search_inet_pton
="-l$ac_lib"
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18236 rm -f conftest.err conftest.
$ac_objext \
18237 conftest
$ac_exeext conftest.
$ac_ext
18240 LIBS
=$ac_func_search_save_LIBS
18242 echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
18243 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6
18244 if test "$ac_cv_search_inet_pton" != no
; then
18245 test "$ac_cv_search_inet_pton" = "none required" || LIBS
="$ac_cv_search_inet_pton $LIBS"
18250 echo "$as_me:$LINENO: checking for gethostname in -lsocket" >&5
18251 echo $ECHO_N "checking for gethostname in -lsocket... $ECHO_C" >&6
18252 if test "${ac_cv_lib_socket_gethostname+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 ac_check_lib_save_LIBS
=$LIBS
18256 LIBS
="-lsocket $LIBS"
18257 if test x
$gcc_no_link = xyes
; then
18258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18260 { (exit 1); exit 1; }; }
18262 cat >conftest.
$ac_ext <<_ACEOF
18265 cat confdefs.h
>>conftest.
$ac_ext
18266 cat >>conftest.
$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18269 /* Override any gcc2 internal prototype to avoid an error. */
18273 /* We use char because int might match the return type of a gcc2
18274 builtin and then its argument prototype would still apply. */
18275 char gethostname ();
18284 rm -f conftest.
$ac_objext conftest
$ac_exeext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18286 (eval $ac_link) 2>conftest.er1
18288 grep -v '^ *+' conftest.er1
>conftest.err
18290 cat conftest.err
>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try
='test -z "$ac_c_werror_flag"
18294 || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try
='test -s conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_lib_socket_gethostname
=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.
$ac_ext >&5
18311 ac_cv_lib_socket_gethostname
=no
18313 rm -f conftest.err conftest.
$ac_objext \
18314 conftest
$ac_exeext conftest.
$ac_ext
18315 LIBS
=$ac_check_lib_save_LIBS
18317 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostname" >&5
18318 echo "${ECHO_T}$ac_cv_lib_socket_gethostname" >&6
18319 if test $ac_cv_lib_socket_gethostname = yes; then
18320 cat >>confdefs.h
<<_ACEOF
18321 #define HAVE_LIBSOCKET 1
18324 LIBS
="-lsocket $LIBS"
18384 for ac_func
in ftruncate fsync
select \
18385 gethostname socket strerror fork pipe execve open close \
18386 lseek fstat
read readv
write writev htonl memset htons connect \
18387 getsockname getpeername
bind listen accept \
18388 recvfrom send sendto setsockopt getsockopt
time mktime \
18389 gethostbyname_r localtime_r \
18393 mmap munmap mincore msync madvise getpagesize sysconf \
18395 inet_aton inet_addr inet_pton \
18396 getifaddrs kqueue kevent epoll_create \
18399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18400 echo "$as_me:$LINENO: checking for $ac_func" >&5
18401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18402 if eval "test \"\${$as_ac_var+set}\" = set"; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 if test x
$gcc_no_link = xyes
; then
18406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18408 { (exit 1); exit 1; }; }
18410 cat >conftest.
$ac_ext <<_ACEOF
18413 cat confdefs.h
>>conftest.
$ac_ext
18414 cat >>conftest.
$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18418 #define $ac_func innocuous_$ac_func
18420 /* System header to define __stub macros and hopefully few prototypes,
18421 which can conflict with char $ac_func (); below.
18422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18423 <limits.h> exists even on freestanding compilers. */
18426 # include <limits.h>
18428 # include <assert.h>
18433 /* Override any gcc2 internal prototype to avoid an error. */
18438 /* We use char because int might match the return type of a gcc2
18439 builtin and then its argument prototype would still apply. */
18441 /* The GNU C library defines this for functions which it implements
18442 to always fail with ENOSYS. Some functions are actually named
18443 something starting with __ and the normal name is an alias. */
18444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18447 char (*f) () = $ac_func;
18456 return f != $ac_func;
18461 rm -f conftest.
$ac_objext conftest
$ac_exeext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18463 (eval $ac_link) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag"
18471 || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try
='test -s conftest$ac_exeext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18483 eval "$as_ac_var=yes"
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.
$ac_ext >&5
18488 eval "$as_ac_var=no"
18490 rm -f conftest.err conftest.
$ac_objext \
18491 conftest
$ac_exeext conftest.
$ac_ext
18493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18495 if test `eval echo '${'$as_ac_var'}'` = yes; then
18496 cat >>confdefs.h
<<_ACEOF
18497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18505 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
18506 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
18507 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 ac_check_lib_save_LIBS
=$LIBS
18511 LIBS
="-lmagic $LIBS"
18512 if test x
$gcc_no_link = xyes
; then
18513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18515 { (exit 1); exit 1; }; }
18517 cat >conftest.
$ac_ext <<_ACEOF
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18524 /* Override any gcc2 internal prototype to avoid an error. */
18528 /* We use char because int might match the return type of a gcc2
18529 builtin and then its argument prototype would still apply. */
18530 char magic_open ();
18539 rm -f conftest.
$ac_objext conftest
$ac_exeext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18541 (eval $ac_link) 2>conftest.er1
18543 grep -v '^ *+' conftest.er1
>conftest.err
18545 cat conftest.err
>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } &&
18548 { ac_try
='test -z "$ac_c_werror_flag"
18549 || test ! -s conftest.err'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; } &&
18555 { ac_try
='test -s conftest$ac_exeext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 ac_cv_lib_magic_magic_open
=yes
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.
$ac_ext >&5
18566 ac_cv_lib_magic_magic_open
=no
18568 rm -f conftest.err conftest.
$ac_objext \
18569 conftest
$ac_exeext conftest.
$ac_ext
18570 LIBS
=$ac_check_lib_save_LIBS
18572 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
18573 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
18574 if test $ac_cv_lib_magic_magic_open = yes; then
18580 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
18581 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 #include <netinet/in.h>
18592 struct sockaddr_in6 addr6;
18597 rm -f conftest.
$ac_objext
18598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18599 (eval $ac_compile) 2>conftest.er1
18601 grep -v '^ *+' conftest.er1
>conftest.err
18603 cat conftest.err
>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); } &&
18606 { ac_try
='test -z "$ac_c_werror_flag"
18607 || test ! -s conftest.err'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; } &&
18613 { ac_try
='test -s conftest.$ac_objext'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; }; then
18620 cat >>confdefs.h
<<\_ACEOF
18621 #define HAVE_INET6 1
18624 echo "$as_me:$LINENO: result: yes" >&5
18625 echo "${ECHO_T}yes" >&6
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 echo "$as_me:$LINENO: result: no" >&5
18631 echo "${ECHO_T}no" >&6
18633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18635 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18636 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
18637 if test "${ac_cv_header_time+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 cat >conftest.
$ac_ext <<_ACEOF
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #include <sys/time.h>
18653 if ((struct tm *) 0)
18659 rm -f conftest.
$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18663 grep -v '^ *+' conftest.er1
>conftest.err
18665 cat conftest.err
>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try
='test -z "$ac_c_werror_flag"
18669 || test ! -s conftest.err'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; } &&
18675 { ac_try
='test -s conftest.$ac_objext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_header_time
=yes
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.
$ac_ext >&5
18686 ac_cv_header_time
=no
18688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18690 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18691 echo "${ECHO_T}$ac_cv_header_time" >&6
18692 if test $ac_cv_header_time = yes; then
18694 cat >>confdefs.h
<<\_ACEOF
18695 #define TIME_WITH_SYS_TIME 1
18700 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
18701 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
18702 if test "${ac_cv_struct_tm+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 #include <sys/types.h>
18717 struct tm *tp; tp->tm_sec;
18722 rm -f conftest.
$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try
='test -z "$ac_c_werror_flag"
18732 || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try
='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_cv_struct_tm
=time.h
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.
$ac_ext >&5
18749 ac_cv_struct_tm
=sys
/time.h
18751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18753 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
18754 echo "${ECHO_T}$ac_cv_struct_tm" >&6
18755 if test $ac_cv_struct_tm = sys
/time.h
; then
18757 cat >>confdefs.h
<<\_ACEOF
18758 #define TM_IN_SYS_TIME 1
18763 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
18764 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
18765 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 cat >conftest.
$ac_ext <<_ACEOF
18771 cat confdefs.h
>>conftest.
$ac_ext
18772 cat >>conftest.
$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 #include <sys/types.h>
18775 #include <$ac_cv_struct_tm>
18781 static struct tm ac_aggr;
18782 if (ac_aggr.tm_zone)
18788 rm -f conftest.
$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18792 grep -v '^ *+' conftest.er1
>conftest.err
18794 cat conftest.err
>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try
='test -z "$ac_c_werror_flag"
18798 || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try
='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_member_struct_tm_tm_zone
=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.
$ac_ext >&5
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <sys/types.h>
18822 #include <$ac_cv_struct_tm>
18828 static struct tm ac_aggr;
18829 if (sizeof ac_aggr.tm_zone)
18835 rm -f conftest.
$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try
='test -z "$ac_c_werror_flag"
18845 || test ! -s conftest.err'
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); }; } &&
18851 { ac_try
='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_cv_member_struct_tm_tm_zone
=yes
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.
$ac_ext >&5
18862 ac_cv_member_struct_tm_tm_zone
=no
18864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18868 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18869 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
18870 if test $ac_cv_member_struct_tm_tm_zone = yes; then
18872 cat >>confdefs.h
<<_ACEOF
18873 #define HAVE_STRUCT_TM_TM_ZONE 1
18879 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
18881 cat >>confdefs.h
<<\_ACEOF
18882 #define HAVE_TM_ZONE 1
18886 echo "$as_me:$LINENO: checking for tzname" >&5
18887 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
18888 if test "${ac_cv_var_tzname+set}" = set; then
18889 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 if test x
$gcc_no_link = xyes
; then
18892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18894 { (exit 1); exit 1; }; }
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18903 #ifndef tzname /* For SGI. */
18904 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
18915 rm -f conftest.
$ac_objext conftest
$ac_exeext
18916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18917 (eval $ac_link) 2>conftest.er1
18919 grep -v '^ *+' conftest.er1
>conftest.err
18921 cat conftest.err
>&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } &&
18924 { ac_try
='test -z "$ac_c_werror_flag"
18925 || test ! -s conftest.err'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; } &&
18931 { ac_try
='test -s conftest$ac_exeext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_var_tzname
=yes
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.
$ac_ext >&5
18942 ac_cv_var_tzname
=no
18944 rm -f conftest.err conftest.
$ac_objext \
18945 conftest
$ac_exeext conftest.
$ac_ext
18947 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
18948 echo "${ECHO_T}$ac_cv_var_tzname" >&6
18949 if test $ac_cv_var_tzname = yes; then
18951 cat >>confdefs.h
<<\_ACEOF
18952 #define HAVE_TZNAME 1
18959 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
18960 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18971 struct tm tim; tim.tm_gmtoff = 0;
18976 rm -f conftest.
$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18980 grep -v '^ *+' conftest.er1
>conftest.err
18982 cat conftest.err
>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try
='test -z "$ac_c_werror_flag"
18986 || test ! -s conftest.err'
18987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988 (eval $ac_try) 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; } &&
18992 { ac_try
='test -s conftest.$ac_objext'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; }; then
18999 cat >>confdefs.h
<<\_ACEOF
19000 #define STRUCT_TM_HAS_GMTOFF 1
19003 echo "$as_me:$LINENO: result: yes" >&5
19004 echo "${ECHO_T}yes" >&6
19006 echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.
$ac_ext >&5
19009 echo "$as_me:$LINENO: result: no" >&5
19010 echo "${ECHO_T}no" >&6
19011 echo "$as_me:$LINENO: checking for global timezone variable" >&5
19012 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
19013 cat >conftest.
$ac_ext <<_ACEOF
19016 cat confdefs.h
>>conftest.
$ac_ext
19017 cat >>conftest.
$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19023 void i(){long z2 = 2*timezone;}
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag"
19038 || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try
='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19051 cat >>confdefs.h
<<\_ACEOF
19052 #define HAVE_TIMEZONE 1
19055 echo "$as_me:$LINENO: result: yes" >&5
19056 echo "${ECHO_T}yes" >&6
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.
$ac_ext >&5
19061 echo "$as_me:$LINENO: result: no" >&5
19062 echo "${ECHO_T}no" >&6
19063 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
19064 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
19065 cat >conftest.
$ac_ext <<_ACEOF
19068 cat confdefs.h
>>conftest.
$ac_ext
19069 cat >>conftest.
$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19075 long z2 = _timezone;
19080 rm -f conftest.
$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082 (eval $ac_compile) 2>conftest.er1
19084 grep -v '^ *+' conftest.er1
>conftest.err
19086 cat conftest.err
>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try
='test -z "$ac_c_werror_flag"
19090 || test ! -s conftest.err'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; } &&
19096 { ac_try
='test -s conftest.$ac_objext'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; }; then
19103 cat >>confdefs.h
<<\_ACEOF
19104 #define HAVE_UNDERSCORE_TIMEZONE 1
19107 echo "$as_me:$LINENO: result: yes" >&5
19108 echo "${ECHO_T}yes" >&6
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.
$ac_ext >&5
19113 echo "$as_me:$LINENO: result: no" >&5
19114 echo "${ECHO_T}no" >&6
19116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19122 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19123 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19124 if test "${ac_cv_c_const+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19127 cat >conftest.
$ac_ext <<_ACEOF
19130 cat confdefs.h
>>conftest.
$ac_ext
19131 cat >>conftest.
$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19137 /* FIXME: Include the comments suggested by Paul. */
19138 #ifndef __cplusplus
19139 /* Ultrix mips cc rejects this. */
19140 typedef int charset[2];
19142 /* SunOS 4.1.1 cc rejects this. */
19143 char const *const *ccp;
19145 /* NEC SVR4.0.2 mips cc rejects this. */
19146 struct point {int x, y;};
19147 static struct point const zero = {0,0};
19148 /* AIX XL C 1.02.0.0 rejects this.
19149 It does not let you subtract one const X* pointer from another in
19150 an arm of an if-expression whose if-part is not a constant
19152 const char *g = "string";
19153 ccp = &g + (g ? g-g : 0);
19154 /* HPUX 7.0 cc rejects these. */
19157 ccp = (char const *const *) p;
19158 { /* SCO 3.2v4 cc rejects this. */
19160 char const *s = 0 ? (char *) 0 : (char const *) 0;
19164 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19165 int x[] = {25, 17};
19166 const int *foo = &x[0];
19169 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19170 typedef const int *iptr;
19174 { /* AIX XL C 1.02.0.0 rejects this saying
19175 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19176 struct s { int j; const int *ap[3]; };
19177 struct s *b; b->j = 5;
19179 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19180 const int foo = 10;
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag"
19198 || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.
$ac_ext >&5
19217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19219 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19220 echo "${ECHO_T}$ac_cv_c_const" >&6
19221 if test $ac_cv_c_const = no
; then
19223 cat >>confdefs.h
<<\_ACEOF
19229 echo "$as_me:$LINENO: checking for inline" >&5
19230 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19231 if test "${ac_cv_c_inline+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 for ac_kw
in inline __inline__ __inline
; do
19236 cat >conftest.
$ac_ext <<_ACEOF
19239 cat confdefs.h
>>conftest.
$ac_ext
19240 cat >>conftest.
$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 #ifndef __cplusplus
19244 static $ac_kw foo_t static_foo () {return 0; }
19245 $ac_kw foo_t foo () {return 0; }
19249 rm -f conftest.
$ac_objext
19250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19251 (eval $ac_compile) 2>conftest.er1
19253 grep -v '^ *+' conftest.er1
>conftest.err
19255 cat conftest.err
>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } &&
19258 { ac_try
='test -z "$ac_c_werror_flag"
19259 || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try
='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_c_inline
=$ac_kw; break
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.
$ac_ext >&5
19277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19281 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19282 echo "${ECHO_T}$ac_cv_c_inline" >&6
19285 case $ac_cv_c_inline in
19288 case $ac_cv_c_inline in
19290 *) ac_val
=$ac_cv_c_inline;;
19292 cat >>confdefs.h
<<_ACEOF
19293 #ifndef __cplusplus
19294 #define inline $ac_val
19300 echo "$as_me:$LINENO: checking for __attribute__" >&5
19301 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
19302 if test "${ac_cv_c_attribute+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 cat >conftest.
$ac_ext <<_ACEOF
19309 cat confdefs.h
>>conftest.
$ac_ext
19310 cat >>conftest.
$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 void foo(void) __attribute__ ((__noreturn__));
19315 rm -f conftest.
$ac_objext
19316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19317 (eval $ac_compile) 2>conftest.er1
19319 grep -v '^ *+' conftest.er1
>conftest.err
19321 cat conftest.err
>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } &&
19324 { ac_try
='test -z "$ac_c_werror_flag"
19325 || test ! -s conftest.err'
19326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19327 (eval $ac_try) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; } &&
19331 { ac_try
='test -s conftest.$ac_objext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_cv_c_attribute
=yes
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.
$ac_ext >&5
19342 ac_cv_c_attribute
=no
19345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19348 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
19349 echo "${ECHO_T}$ac_cv_c_attribute" >&6
19352 case $ac_cv_c_attribute in
19355 cat >>confdefs.h
<<_ACEOF
19356 #define __attribute__(x) /* nothing */
19364 ac_cpp
='$CPP $CPPFLAGS'
19365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19369 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
19370 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
19372 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 ################################################################
19379 ac_cv_func_which_gethostbyname_r
=unknown
19382 # ONE ARGUMENT (sanity check)
19385 # This should fail, as there is no variant of gethostbyname_r() that takes
19386 # a single argument. If it actually compiles, then we can assume that
19387 # netdb.h is not declaring the function, and the compiler is thereby
19388 # assuming an implicit prototype. In which case, we're out of luck.
19390 cat >conftest.
$ac_ext <<_ACEOF
19393 cat confdefs.h
>>conftest.
$ac_ext
19394 cat >>conftest.
$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19401 char *name = "www.gnu.org";
19402 (void)gethostbyname_r(name) /* ; */
19408 rm -f conftest.
$ac_objext
19409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19410 (eval $ac_compile) 2>conftest.er1
19412 grep -v '^ *+' conftest.er1
>conftest.err
19414 cat conftest.err
>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try
='test -z "$ac_c_werror_flag"
19418 || test ! -s conftest.err'
19419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19420 (eval $ac_try) 2>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; } &&
19424 { ac_try
='test -s conftest.$ac_objext'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; }; then
19430 ac_cv_func_which_gethostbyname_r
=no
19432 echo "$as_me: failed program was:" >&5
19433 sed 's/^/| /' conftest.
$ac_ext >&5
19436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19443 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19445 cat >conftest.
$ac_ext <<_ACEOF
19448 cat confdefs.h
>>conftest.
$ac_ext
19449 cat >>conftest.
$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19456 char *name = "www.gnu.org";
19457 struct hostent ret, *retp;
19461 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
19467 rm -f conftest.
$ac_objext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19469 (eval $ac_compile) 2>conftest.er1
19471 grep -v '^ *+' conftest.er1
>conftest.err
19473 cat conftest.err
>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } &&
19476 { ac_try
='test -z "$ac_c_werror_flag"
19477 || test ! -s conftest.err'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; } &&
19483 { ac_try
='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_func_which_gethostbyname_r
=six
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19506 cat >conftest.
$ac_ext <<_ACEOF
19509 cat confdefs.h
>>conftest.
$ac_ext
19510 cat >>conftest.
$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19517 char *name = "www.gnu.org";
19518 struct hostent ret;
19522 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
19528 rm -f conftest.
$ac_objext
19529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19530 (eval $ac_compile) 2>conftest.er1
19532 grep -v '^ *+' conftest.er1
>conftest.err
19534 cat conftest.err
>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try
='test -z "$ac_c_werror_flag"
19538 || test ! -s conftest.err'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try
='test -s conftest.$ac_objext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_func_which_gethostbyname_r
=five
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.
$ac_ext >&5
19556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19562 # (e.g. AIX, HP-UX, Tru64)
19565 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
19567 cat >conftest.
$ac_ext <<_ACEOF
19570 cat confdefs.h
>>conftest.
$ac_ext
19571 cat >>conftest.
$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19578 char *name = "www.gnu.org";
19579 struct hostent ret;
19580 struct hostent_data data;
19581 (void)gethostbyname_r(name, &ret, &data) /* ; */
19587 rm -f conftest.
$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>conftest.er1
19591 grep -v '^ *+' conftest.er1
>conftest.err
19593 cat conftest.err
>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try
='test -z "$ac_c_werror_flag"
19597 || test ! -s conftest.err'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try
='test -s conftest.$ac_objext'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; }; then
19609 ac_cv_func_which_gethostbyname_r
=three
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.
$ac_ext >&5
19615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19619 ################################################################
19624 case "$ac_cv_func_which_gethostbyname_r" in
19626 echo "$as_me:$LINENO: result: three" >&5
19627 echo "${ECHO_T}three" >&6
19629 cat >>confdefs.h
<<\_ACEOF
19630 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
19636 echo "$as_me:$LINENO: result: five" >&5
19637 echo "${ECHO_T}five" >&6
19639 cat >>confdefs.h
<<\_ACEOF
19640 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
19646 echo "$as_me:$LINENO: result: six" >&5
19647 echo "${ECHO_T}six" >&6
19649 cat >>confdefs.h
<<\_ACEOF
19650 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
19656 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
19657 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
19661 echo "$as_me:$LINENO: result: can't tell" >&5
19662 echo "${ECHO_T}can't tell" >&6
19666 { { echo "$as_me:$LINENO: error: internal error" >&5
19667 echo "$as_me: error: internal error" >&2;}
19668 { (exit 1); exit 1; }; }
19673 ac_cpp
='$CPP $CPPFLAGS'
19674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19682 if test "X$prefix" = "XNONE"; then
19683 acl_final_prefix
="$ac_default_prefix"
19685 acl_final_prefix
="$prefix"
19687 if test "X$exec_prefix" = "XNONE"; then
19688 acl_final_exec_prefix
='${prefix}'
19690 acl_final_exec_prefix
="$exec_prefix"
19692 acl_save_prefix
="$prefix"
19693 prefix
="$acl_final_prefix"
19694 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19695 prefix
="$acl_save_prefix"
19698 # Check whether --with-gnu-ld or --without-gnu-ld was given.
19699 if test "${with_gnu_ld+set}" = set; then
19700 withval
="$with_gnu_ld"
19701 test "$withval" = no || with_gnu_ld
=yes
19705 # Prepare PATH_SEPARATOR.
19706 # The user is always right.
19707 if test "${PATH_SEPARATOR+set}" != set; then
19708 echo "#! /bin/sh" >conf$$.sh
19709 echo "exit 0" >>conf$$.sh
19711 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19719 if test "$GCC" = yes; then
19720 # Check if gcc -print-prog-name=ld gives a path.
19721 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
19722 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
19725 # gcc leaves a trailing carriage return which upsets mingw
19726 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19728 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19731 # Accept absolute paths.
19732 [\\/]* |
[A-Za-z
]:[\\/]*)
19733 re_direlt
='/[^/][^/]*/\.\./'
19734 # Canonicalize the path of ld
19735 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
19736 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
19737 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19739 test -z "$LD" && LD
="$ac_prog"
19742 # If it fails, then pretend we aren't using GCC.
19746 # If it is relative, then search for the first ld in PATH.
19747 with_gnu_ld
=unknown
19750 elif test "$with_gnu_ld" = yes; then
19751 echo "$as_me:$LINENO: checking for GNU ld" >&5
19752 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
19754 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19755 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
19757 if test "${acl_cv_path_LD+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 if test -z "$LD"; then
19761 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
19762 for ac_dir
in $PATH; do
19763 test -z "$ac_dir" && ac_dir
=.
19764 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
19765 acl_cv_path_LD
="$ac_dir/$ac_prog"
19766 # Check to see if the program is GNU ld. I'd rather use --version,
19767 # but apparently some GNU ld's only accept -v.
19768 # Break only if it was the GNU/non-GNU ld that we prefer.
19769 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
19770 test "$with_gnu_ld" != no
&& break
19772 test "$with_gnu_ld" != yes && break
19778 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
19782 LD
="$acl_cv_path_LD"
19783 if test -n "$LD"; then
19784 echo "$as_me:$LINENO: result: $LD" >&5
19785 echo "${ECHO_T}$LD" >&6
19787 echo "$as_me:$LINENO: result: no" >&5
19788 echo "${ECHO_T}no" >&6
19790 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19791 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19792 { (exit 1); exit 1; }; }
19793 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19794 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
19795 if test "${acl_cv_prog_gnu_ld+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
19799 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
19800 acl_cv_prog_gnu_ld
=yes
19802 acl_cv_prog_gnu_ld
=no
19805 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
19806 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
19807 with_gnu_ld
=$acl_cv_prog_gnu_ld
19811 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
19812 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
19813 if test "${acl_cv_rpath+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
19818 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19820 rm -f .
/conftest.sh
19824 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
19825 echo "${ECHO_T}$acl_cv_rpath" >&6
19827 libext
="$acl_cv_libext"
19828 shlibext
="$acl_cv_shlibext"
19829 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
19830 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
19831 hardcode_direct
="$acl_cv_hardcode_direct"
19832 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
19833 # Check whether --enable-rpath or --disable-rpath was given.
19834 if test "${enable_rpath+set}" = set; then
19835 enableval
="$enable_rpath"
19849 acl_save_prefix
="$prefix"
19850 prefix
="$acl_final_prefix"
19851 acl_save_exec_prefix
="$exec_prefix"
19852 exec_prefix
="$acl_final_exec_prefix"
19854 eval additional_includedir
=\"$includedir\"
19855 eval additional_libdir
=\"$libdir\"
19857 exec_prefix
="$acl_save_exec_prefix"
19858 prefix
="$acl_save_prefix"
19861 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
19862 if test "${with_libiconv_prefix+set}" = set; then
19863 withval
="$with_libiconv_prefix"
19865 if test "X$withval" = "Xno"; then
19868 if test "X$withval" = "X"; then
19870 acl_save_prefix
="$prefix"
19871 prefix
="$acl_final_prefix"
19872 acl_save_exec_prefix
="$exec_prefix"
19873 exec_prefix
="$acl_final_exec_prefix"
19875 eval additional_includedir
=\"$includedir\"
19876 eval additional_libdir
=\"$libdir\"
19878 exec_prefix
="$acl_save_exec_prefix"
19879 prefix
="$acl_save_prefix"
19882 additional_includedir
="$withval/include"
19883 additional_libdir
="$withval/lib"
19893 names_already_handled
=
19894 names_next_round
='iconv '
19895 while test -n "$names_next_round"; do
19896 names_this_round
="$names_next_round"
19898 for name
in $names_this_round; do
19900 for n
in $names_already_handled; do
19901 if test "$n" = "$name"; then
19902 already_handled
=yes
19906 if test -z "$already_handled"; then
19907 names_already_handled
="$names_already_handled $name"
19908 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19909 eval value
=\"\
$HAVE_LIB$uppername\"
19910 if test -n "$value"; then
19911 if test "$value" = yes; then
19912 eval value
=\"\
$LIB$uppername\"
19913 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
19914 eval value
=\"\
$LTLIB$uppername\"
19915 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
19924 if test $use_additional = yes; then
19925 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19926 found_dir
="$additional_libdir"
19927 found_so
="$additional_libdir/lib$name.$shlibext"
19928 if test -f "$additional_libdir/lib$name.la"; then
19929 found_la
="$additional_libdir/lib$name.la"
19932 if test -f "$additional_libdir/lib$name.$libext"; then
19933 found_dir
="$additional_libdir"
19934 found_a
="$additional_libdir/lib$name.$libext"
19935 if test -f "$additional_libdir/lib$name.la"; then
19936 found_la
="$additional_libdir/lib$name.la"
19941 if test "X$found_dir" = "X"; then
19942 for x
in $LDFLAGS $LTLIBICONV; do
19944 acl_save_prefix
="$prefix"
19945 prefix
="$acl_final_prefix"
19946 acl_save_exec_prefix
="$exec_prefix"
19947 exec_prefix
="$acl_final_exec_prefix"
19949 exec_prefix
="$acl_save_exec_prefix"
19950 prefix
="$acl_save_prefix"
19954 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19955 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19957 found_so
="$dir/lib$name.$shlibext"
19958 if test -f "$dir/lib$name.la"; then
19959 found_la
="$dir/lib$name.la"
19962 if test -f "$dir/lib$name.$libext"; then
19964 found_a
="$dir/lib$name.$libext"
19965 if test -f "$dir/lib$name.la"; then
19966 found_la
="$dir/lib$name.la"
19972 if test "X$found_dir" != "X"; then
19977 if test "X$found_dir" != "X"; then
19978 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19979 if test "X$found_so" != "X"; then
19980 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
19981 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19984 for x
in $ltrpathdirs; do
19985 if test "X$x" = "X$found_dir"; then
19990 if test -z "$haveit"; then
19991 ltrpathdirs
="$ltrpathdirs $found_dir"
19993 if test "$hardcode_direct" = yes; then
19994 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19996 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
19997 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19999 for x
in $rpathdirs; do
20000 if test "X$x" = "X$found_dir"; then
20005 if test -z "$haveit"; then
20006 rpathdirs
="$rpathdirs $found_dir"
20010 for x
in $LDFLAGS $LIBICONV; do
20012 acl_save_prefix
="$prefix"
20013 prefix
="$acl_final_prefix"
20014 acl_save_exec_prefix
="$exec_prefix"
20015 exec_prefix
="$acl_final_exec_prefix"
20017 exec_prefix
="$acl_save_exec_prefix"
20018 prefix
="$acl_save_prefix"
20020 if test "X$x" = "X-L$found_dir"; then
20025 if test -z "$haveit"; then
20026 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20028 if test "$hardcode_minus_L" != no
; then
20029 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20031 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20037 if test "X$found_a" != "X"; then
20038 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20040 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20043 additional_includedir
=
20044 case "$found_dir" in
20046 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
20047 additional_includedir
="$basedir/include"
20050 if test "X$additional_includedir" != "X"; then
20051 if test "X$additional_includedir" != "X/usr/include"; then
20053 if test "X$additional_includedir" = "X/usr/local/include"; then
20054 if test -n "$GCC"; then
20056 linux
*) haveit
=yes;;
20060 if test -z "$haveit"; then
20061 for x
in $CPPFLAGS $INCICONV; do
20063 acl_save_prefix
="$prefix"
20064 prefix
="$acl_final_prefix"
20065 acl_save_exec_prefix
="$exec_prefix"
20066 exec_prefix
="$acl_final_exec_prefix"
20068 exec_prefix
="$acl_save_exec_prefix"
20069 prefix
="$acl_save_prefix"
20071 if test "X$x" = "X-I$additional_includedir"; then
20076 if test -z "$haveit"; then
20077 if test -d "$additional_includedir"; then
20078 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20084 if test -n "$found_la"; then
20085 save_libdir
="$libdir"
20086 case "$found_la" in
20087 */* |
*\\*) .
"$found_la" ;;
20088 *) .
"./$found_la" ;;
20090 libdir
="$save_libdir"
20091 for dep
in $dependency_libs; do
20094 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20095 if test "X$additional_libdir" != "X/usr/lib"; then
20097 if test "X$additional_libdir" = "X/usr/local/lib"; then
20098 if test -n "$GCC"; then
20100 linux
*) haveit
=yes;;
20104 if test -z "$haveit"; then
20106 for x
in $LDFLAGS $LIBICONV; do
20108 acl_save_prefix
="$prefix"
20109 prefix
="$acl_final_prefix"
20110 acl_save_exec_prefix
="$exec_prefix"
20111 exec_prefix
="$acl_final_exec_prefix"
20113 exec_prefix
="$acl_save_exec_prefix"
20114 prefix
="$acl_save_prefix"
20116 if test "X$x" = "X-L$additional_libdir"; then
20121 if test -z "$haveit"; then
20122 if test -d "$additional_libdir"; then
20123 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20127 for x
in $LDFLAGS $LTLIBICONV; do
20129 acl_save_prefix
="$prefix"
20130 prefix
="$acl_final_prefix"
20131 acl_save_exec_prefix
="$exec_prefix"
20132 exec_prefix
="$acl_final_exec_prefix"
20134 exec_prefix
="$acl_save_exec_prefix"
20135 prefix
="$acl_save_prefix"
20137 if test "X$x" = "X-L$additional_libdir"; then
20142 if test -z "$haveit"; then
20143 if test -d "$additional_libdir"; then
20144 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20151 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20152 if test "$enable_rpath" != no
; then
20154 for x
in $rpathdirs; do
20155 if test "X$x" = "X$dir"; then
20160 if test -z "$haveit"; then
20161 rpathdirs
="$rpathdirs $dir"
20164 for x
in $ltrpathdirs; do
20165 if test "X$x" = "X$dir"; then
20170 if test -z "$haveit"; then
20171 ltrpathdirs
="$ltrpathdirs $dir"
20176 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20179 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20182 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20183 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20189 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20190 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20196 if test "X$rpathdirs" != "X"; then
20197 if test -n "$hardcode_libdir_separator"; then
20199 for found_dir
in $rpathdirs; do
20200 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
20202 acl_save_libdir
="$libdir"
20204 eval flag
=\"$hardcode_libdir_flag_spec\"
20205 libdir
="$acl_save_libdir"
20206 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20208 for found_dir
in $rpathdirs; do
20209 acl_save_libdir
="$libdir"
20210 libdir
="$found_dir"
20211 eval flag
=\"$hardcode_libdir_flag_spec\"
20212 libdir
="$acl_save_libdir"
20213 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20217 if test "X$ltrpathdirs" != "X"; then
20218 for found_dir
in $ltrpathdirs; do
20219 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20229 am_save_CPPFLAGS
="$CPPFLAGS"
20231 for element
in $INCICONV; do
20233 for x
in $CPPFLAGS; do
20235 acl_save_prefix
="$prefix"
20236 prefix
="$acl_final_prefix"
20237 acl_save_exec_prefix
="$exec_prefix"
20238 exec_prefix
="$acl_final_exec_prefix"
20240 exec_prefix
="$acl_save_exec_prefix"
20241 prefix
="$acl_save_prefix"
20243 if test "X$x" = "X$element"; then
20248 if test -z "$haveit"; then
20249 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20254 echo "$as_me:$LINENO: checking for iconv" >&5
20255 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
20256 if test "${am_cv_func_iconv+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 am_cv_func_iconv
="no, consider installing GNU libiconv"
20262 if test x
$gcc_no_link = xyes
; then
20263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20265 { (exit 1); exit 1; }; }
20267 cat >conftest.
$ac_ext <<_ACEOF
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 #include <stdlib.h>
20278 iconv_t cd = iconv_open("","");
20279 iconv(cd,NULL,NULL,NULL,NULL);
20285 rm -f conftest.
$ac_objext conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>conftest.er1
20289 grep -v '^ *+' conftest.er1
>conftest.err
20291 cat conftest.err
>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try
='test -z "$ac_c_werror_flag"
20295 || test ! -s conftest.err'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; } &&
20301 { ac_try
='test -s conftest$ac_exeext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20307 am_cv_func_iconv
=yes
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20313 rm -f conftest.err conftest.
$ac_objext \
20314 conftest
$ac_exeext conftest.
$ac_ext
20315 if test "$am_cv_func_iconv" != yes; then
20316 am_save_LIBS
="$LIBS"
20317 LIBS
="$LIBS $LIBICONV"
20318 if test x
$gcc_no_link = xyes
; then
20319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20321 { (exit 1); exit 1; }; }
20323 cat >conftest.
$ac_ext <<_ACEOF
20326 cat confdefs.h
>>conftest.
$ac_ext
20327 cat >>conftest.
$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 #include <stdlib.h>
20334 iconv_t cd = iconv_open("","");
20335 iconv(cd,NULL,NULL,NULL,NULL);
20341 rm -f conftest.
$ac_objext conftest
$ac_exeext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20343 (eval $ac_link) 2>conftest.er1
20345 grep -v '^ *+' conftest.er1
>conftest.err
20347 cat conftest.err
>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } &&
20350 { ac_try
='test -z "$ac_c_werror_flag"
20351 || test ! -s conftest.err'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; } &&
20357 { ac_try
='test -s conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 am_cv_lib_iconv
=yes
20364 am_cv_func_iconv
=yes
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.
$ac_ext >&5
20370 rm -f conftest.err conftest.
$ac_objext \
20371 conftest
$ac_exeext conftest.
$ac_ext
20372 LIBS
="$am_save_LIBS"
20376 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
20377 echo "${ECHO_T}$am_cv_func_iconv" >&6
20378 if test "$am_cv_func_iconv" = yes; then
20380 cat >>confdefs.h
<<\_ACEOF
20381 #define HAVE_ICONV 1
20385 if test "$am_cv_lib_iconv" = yes; then
20386 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
20387 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
20388 echo "$as_me:$LINENO: result: $LIBICONV" >&5
20389 echo "${ECHO_T}$LIBICONV" >&6
20391 CPPFLAGS
="$am_save_CPPFLAGS"
20398 if test "$am_cv_func_iconv" = yes; then
20399 echo "$as_me:$LINENO: checking for iconv declaration" >&5
20400 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
20401 if test "${am_cv_proto_iconv+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20405 cat >conftest.
$ac_ext <<_ACEOF
20408 cat confdefs.h
>>conftest.
$ac_ext
20409 cat >>conftest.
$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20412 #include <stdlib.h>
20418 #if defined(__STDC__) || defined(__cplusplus)
20419 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20432 rm -f conftest.
$ac_objext
20433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20434 (eval $ac_compile) 2>conftest.er1
20436 grep -v '^ *+' conftest.er1
>conftest.err
20438 cat conftest.err
>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } &&
20441 { ac_try
='test -z "$ac_c_werror_flag"
20442 || test ! -s conftest.err'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; } &&
20448 { ac_try
='test -s conftest.$ac_objext'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; }; then
20454 am_cv_proto_iconv_arg1
=""
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 am_cv_proto_iconv_arg1
="const"
20461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20462 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);"
20465 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20466 echo "$as_me:$LINENO: result: ${ac_t:-
20467 }$am_cv_proto_iconv" >&5
20468 echo "${ECHO_T}${ac_t:-
20469 }$am_cv_proto_iconv" >&6
20471 cat >>confdefs.h
<<_ACEOF
20472 #define ICONV_CONST $am_cv_proto_iconv_arg1
20478 if test "x${GCC}" = xyes
; then
20480 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
20483 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
20486 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
20490 if test "x${ENABLE_WERROR}" = xyes
; then
20491 ERROR_CFLAGS
='-Werror'
20496 if test "x${COMPILE_XMLJ}" = xyes
; then
20500 if test -z "$PKG_CONFIG"; then
20501 # Extract the first word of "pkg-config", so it can be a program name with args.
20502 set dummy pkg-config
; ac_word
=$2
20503 echo "$as_me:$LINENO: checking for $ac_word" >&5
20504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20506 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 case $PKG_CONFIG in
20510 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20514 for as_dir
in $PATH
20517 test -z "$as_dir" && as_dir
=.
20518 for ac_exec_ext
in '' $ac_executable_extensions; do
20519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20520 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20527 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20531 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20533 if test -n "$PKG_CONFIG"; then
20534 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20535 echo "${ECHO_T}$PKG_CONFIG" >&6
20537 echo "$as_me:$LINENO: result: no" >&5
20538 echo "${ECHO_T}no" >&6
20543 if test "$PKG_CONFIG" = "no" ; then
20544 echo "*** The pkg-config script could not be found. Make sure it is"
20545 echo "*** in your path, or set the PKG_CONFIG environment variable"
20546 echo "*** to the full path to pkg-config."
20547 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20549 PKG_CONFIG_MIN_VERSION
=0.9.0
20550 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20551 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
20552 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
20554 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
20555 echo "$as_me:$LINENO: result: yes" >&5
20556 echo "${ECHO_T}yes" >&6
20559 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
20560 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
20561 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
20562 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
20563 echo "${ECHO_T}$XML_CFLAGS" >&6
20565 echo "$as_me:$LINENO: checking XML_LIBS" >&5
20566 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
20567 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
20568 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
20569 echo "${ECHO_T}$XML_LIBS" >&6
20573 ## If we have a custom action on failure, don't print errors, but
20574 ## do set a variable so people can do so.
20575 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
20576 echo $XML_PKG_ERRORS
20582 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20583 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20587 if test $succeeded = yes; then
20590 { { 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
20591 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;}
20592 { (exit 1); exit 1; }; }
20598 if test -z "$PKG_CONFIG"; then
20599 # Extract the first word of "pkg-config", so it can be a program name with args.
20600 set dummy pkg-config
; ac_word
=$2
20601 echo "$as_me:$LINENO: checking for $ac_word" >&5
20602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20603 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 case $PKG_CONFIG in
20608 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20612 for as_dir
in $PATH
20615 test -z "$as_dir" && as_dir
=.
20616 for ac_exec_ext
in '' $ac_executable_extensions; do
20617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20618 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20625 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20629 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20631 if test -n "$PKG_CONFIG"; then
20632 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20633 echo "${ECHO_T}$PKG_CONFIG" >&6
20635 echo "$as_me:$LINENO: result: no" >&5
20636 echo "${ECHO_T}no" >&6
20641 if test "$PKG_CONFIG" = "no" ; then
20642 echo "*** The pkg-config script could not be found. Make sure it is"
20643 echo "*** in your path, or set the PKG_CONFIG environment variable"
20644 echo "*** to the full path to pkg-config."
20645 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20647 PKG_CONFIG_MIN_VERSION
=0.9.0
20648 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20649 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
20650 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
20652 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
20653 echo "$as_me:$LINENO: result: yes" >&5
20654 echo "${ECHO_T}yes" >&6
20657 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
20658 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
20659 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
20660 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
20661 echo "${ECHO_T}$XSLT_CFLAGS" >&6
20663 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
20664 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
20665 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
20666 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
20667 echo "${ECHO_T}$XSLT_LIBS" >&6
20671 ## If we have a custom action on failure, don't print errors, but
20672 ## do set a variable so people can do so.
20673 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
20674 echo $XSLT_PKG_ERRORS
20680 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20681 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20685 if test $succeeded = yes; then
20688 { { 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
20689 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;}
20690 { (exit 1); exit 1; }; }
20699 if test "x${COMPILE_GTK_PEER}" = xyes
; then
20700 echo "$as_me:$LINENO: checking for X" >&5
20701 echo $ECHO_N "checking for X... $ECHO_C" >&6
20704 # Check whether --with-x or --without-x was given.
20705 if test "${with_x+set}" = set; then
20709 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20710 if test "x$with_x" = xno
; then
20711 # The user explicitly disabled X.
20714 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20715 # Both variables are already set.
20718 if test "${ac_cv_have_x+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 # One or both of the vars are not set, and there is no cached value.
20722 ac_x_includes
=no ac_x_libraries
=no
20723 rm -fr conftest.dir
20724 if mkdir conftest.dir
; then
20726 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20727 cat >Imakefile
<<'_ACEOF'
20729 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20731 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20732 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20733 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20734 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20735 for ac_extension
in a so sl
; do
20736 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20737 test -f $ac_im_libdir/libX11.
$ac_extension; then
20738 ac_im_usrlibdir
=$ac_im_libdir; break
20741 # Screen out bogus values from the imake configuration. They are
20742 # bogus both because they are the default anyway, and because
20743 # using them would break gcc on systems where it needs fixed includes.
20744 case $ac_im_incroot in
20746 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20748 case $ac_im_usrlibdir in
20749 /usr
/lib |
/lib
) ;;
20750 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20754 rm -fr conftest.dir
20757 # Standard set of common directories for X headers.
20758 # Check X11 before X11Rn because it is often a symlink to the current release.
20770 /usr/local/X11/include
20771 /usr/local/X11R6/include
20772 /usr/local/X11R5/include
20773 /usr/local/X11R4/include
20775 /usr/local/include/X11
20776 /usr/local/include/X11R6
20777 /usr/local/include/X11R5
20778 /usr/local/include/X11R4
20782 /usr/XFree86/include/X11
20786 /usr/unsupported/include
20787 /usr/athena/include
20788 /usr/local/x11r5/include
20789 /usr/lpp/Xamples/include
20791 /usr/openwin/include
20792 /usr/openwin/share/include'
20794 if test "$ac_x_includes" = no
; then
20795 # Guess where to find include files, by looking for Intrinsic.h.
20796 # First, try using that file with no special directory specified.
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 #include <X11/Intrinsic.h>
20805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } >/dev
/null
; then
20813 if test -s conftest.err
; then
20814 ac_cpp_err
=$ac_c_preproc_warn_flag
20815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20822 if test -z "$ac_cpp_err"; then
20823 # We can compile using X headers with no special include directory.
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 for ac_dir
in $ac_x_header_dirs; do
20830 if test -r "$ac_dir/X11/Intrinsic.h"; then
20831 ac_x_includes
=$ac_dir
20836 rm -f conftest.err conftest.
$ac_ext
20837 fi # $ac_x_includes = no
20839 if test "$ac_x_libraries" = no
; then
20840 # Check for the libraries.
20841 # See if we find them without any special options.
20842 # Don't add to $LIBS permanently.
20845 if test x
$gcc_no_link = xyes
; then
20846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20848 { (exit 1); exit 1; }; }
20850 cat >conftest.
$ac_ext <<_ACEOF
20853 cat confdefs.h
>>conftest.
$ac_ext
20854 cat >>conftest.
$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 #include <X11/Intrinsic.h>
20865 rm -f conftest.
$ac_objext conftest
$ac_exeext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20867 (eval $ac_link) 2>conftest.er1
20869 grep -v '^ *+' conftest.er1
>conftest.err
20871 cat conftest.err
>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try
='test -z "$ac_c_werror_flag"
20875 || test ! -s conftest.err'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; } &&
20881 { ac_try
='test -s conftest$ac_exeext'
20882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20883 (eval $ac_try) 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
20888 # We can link X programs with no special library path.
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20895 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20897 # Don't even attempt the hair of trying to link an X program!
20898 for ac_extension
in a so sl
; do
20899 if test -r $ac_dir/libXt.
$ac_extension; then
20900 ac_x_libraries
=$ac_dir
20906 rm -f conftest.err conftest.
$ac_objext \
20907 conftest
$ac_exeext conftest.
$ac_ext
20908 fi # $ac_x_libraries = no
20910 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
20911 # Didn't find X anywhere. Cache the known absence of X.
20912 ac_cv_have_x
="have_x=no"
20914 # Record where we found X for the cache.
20915 ac_cv_have_x
="have_x=yes \
20916 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20921 eval "$ac_cv_have_x"
20924 if test "$have_x" != yes; then
20925 echo "$as_me:$LINENO: result: $have_x" >&5
20926 echo "${ECHO_T}$have_x" >&6
20929 # If each of the values was on the command line, it overrides each guess.
20930 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20931 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20932 # Update the cache value to reflect the command line values.
20933 ac_cv_have_x
="have_x=yes \
20934 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20935 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20939 if test "$no_x" = yes; then
20940 # Not all programs may use this symbol, but it does not hurt to define it.
20942 cat >>confdefs.h
<<\_ACEOF
20943 #define X_DISPLAY_MISSING 1
20946 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20948 if test -n "$x_includes"; then
20949 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20952 # It would also be nice to do this for all -L options, not just this one.
20953 if test -n "$x_libraries"; then
20954 X_LIBS
="$X_LIBS -L$x_libraries"
20955 # For Solaris; some versions of Sun CC require a space after -R and
20956 # others require no space. Words are not sufficient . . . .
20957 case `(uname -sr) 2>/dev/null` in
20959 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20960 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20961 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20962 if test x
$gcc_no_link = xyes
; then
20963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20965 { (exit 1); exit 1; }; }
20967 cat >conftest.
$ac_ext <<_ACEOF
20970 cat confdefs.h
>>conftest.
$ac_ext
20971 cat >>conftest.
$ac_ext <<_ACEOF
20972 /* end confdefs.h. */
20982 rm -f conftest.
$ac_objext conftest
$ac_exeext
20983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20984 (eval $ac_link) 2>conftest.er1
20986 grep -v '^ *+' conftest.er1
>conftest.err
20988 cat conftest.err
>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } &&
20991 { ac_try
='test -z "$ac_c_werror_flag"
20992 || test ! -s conftest.err'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; } &&
20998 { ac_try
='test -s conftest$ac_exeext'
20999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000 (eval $ac_try) 2>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; }; then
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.
$ac_ext >&5
21011 rm -f conftest.err conftest.
$ac_objext \
21012 conftest
$ac_exeext conftest.
$ac_ext
21013 if test $ac_R_nospace = yes; then
21014 echo "$as_me:$LINENO: result: no" >&5
21015 echo "${ECHO_T}no" >&6
21016 X_LIBS
="$X_LIBS -R$x_libraries"
21018 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21019 if test x
$gcc_no_link = xyes
; then
21020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21022 { (exit 1); exit 1; }; }
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21039 rm -f conftest.
$ac_objext conftest
$ac_exeext
21040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21041 (eval $ac_link) 2>conftest.er1
21043 grep -v '^ *+' conftest.er1
>conftest.err
21045 cat conftest.err
>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } &&
21048 { ac_try
='test -z "$ac_c_werror_flag"
21049 || test ! -s conftest.err'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; } &&
21055 { ac_try
='test -s conftest$ac_exeext'
21056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21057 (eval $ac_try) 2>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.
$ac_ext >&5
21068 rm -f conftest.err conftest.
$ac_objext \
21069 conftest
$ac_exeext conftest.
$ac_ext
21070 if test $ac_R_space = yes; then
21071 echo "$as_me:$LINENO: result: yes" >&5
21072 echo "${ECHO_T}yes" >&6
21073 X_LIBS
="$X_LIBS -R $x_libraries"
21075 echo "$as_me:$LINENO: result: neither works" >&5
21076 echo "${ECHO_T}neither works" >&6
21079 LIBS
=$ac_xsave_LIBS
21083 # Check for system-dependent libraries X programs must link with.
21084 # Do this before checking for the system-independent R6 libraries
21085 # (-lICE), since we may need -lsocket or whatever for X linking.
21087 if test "$ISC" = yes; then
21088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21090 # Martyn Johnson says this is needed for Ultrix, if the X
21091 # libraries were built with DECnet support. And Karl Berry says
21092 # the Alpha needs dnet_stub (dnet does not exist).
21093 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21094 if test x
$gcc_no_link = xyes
; then
21095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21097 { (exit 1); exit 1; }; }
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21106 /* Override any gcc2 internal prototype to avoid an error. */
21110 /* We use char because int might match the return type of a gcc2
21111 builtin and then its argument prototype would still apply. */
21112 char XOpenDisplay ();
21121 rm -f conftest.
$ac_objext conftest
$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>conftest.er1
21125 grep -v '^ *+' conftest.er1
>conftest.err
21127 cat conftest.err
>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } &&
21130 { ac_try
='test -z "$ac_c_werror_flag"
21131 || test ! -s conftest.err'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; } &&
21137 { ac_try
='test -s conftest$ac_exeext'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; }; then
21145 echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.
$ac_ext >&5
21148 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21149 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21150 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 ac_check_lib_save_LIBS
=$LIBS
21154 LIBS
="-ldnet $LIBS"
21155 if test x
$gcc_no_link = xyes
; then
21156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21158 { (exit 1); exit 1; }; }
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21167 /* Override any gcc2 internal prototype to avoid an error. */
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21182 rm -f conftest.
$ac_objext conftest
$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_c_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try
='test -s conftest$ac_exeext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 ac_cv_lib_dnet_dnet_ntoa
=yes
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.
$ac_ext >&5
21209 ac_cv_lib_dnet_dnet_ntoa
=no
21211 rm -f conftest.err conftest.
$ac_objext \
21212 conftest
$ac_exeext conftest.
$ac_ext
21213 LIBS
=$ac_check_lib_save_LIBS
21215 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21216 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21217 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21221 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21222 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21223 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21224 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 ac_check_lib_save_LIBS
=$LIBS
21228 LIBS
="-ldnet_stub $LIBS"
21229 if test x
$gcc_no_link = xyes
; then
21230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21232 { (exit 1); exit 1; }; }
21234 cat >conftest.
$ac_ext <<_ACEOF
21237 cat confdefs.h
>>conftest.
$ac_ext
21238 cat >>conftest.
$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21241 /* Override any gcc2 internal prototype to avoid an error. */
21245 /* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21256 rm -f conftest.
$ac_objext conftest
$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_c_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest$ac_exeext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21285 rm -f conftest.err conftest.
$ac_objext \
21286 conftest
$ac_exeext conftest.
$ac_ext
21287 LIBS
=$ac_check_lib_save_LIBS
21289 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21290 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21291 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21292 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21297 rm -f conftest.err conftest.
$ac_objext \
21298 conftest
$ac_exeext conftest.
$ac_ext
21299 LIBS
="$ac_xsave_LIBS"
21301 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21302 # to get the SysV transport functions.
21303 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21305 # The nsl library prevents programs from opening the X display
21306 # on Irix 5.2, according to T.E. Dickey.
21307 # The functions gethostbyname, getservbyname, and inet_addr are
21308 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21309 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21310 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21311 if test "${ac_cv_func_gethostbyname+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21314 if test x
$gcc_no_link = xyes
; then
21315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21317 { (exit 1); exit 1; }; }
21319 cat >conftest.
$ac_ext <<_ACEOF
21322 cat confdefs.h
>>conftest.
$ac_ext
21323 cat >>conftest.
$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
21326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21327 #define gethostbyname innocuous_gethostbyname
21329 /* System header to define __stub macros and hopefully few prototypes,
21330 which can conflict with char gethostbyname (); below.
21331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21332 <limits.h> exists even on freestanding compilers. */
21335 # include <limits.h>
21337 # include <assert.h>
21340 #undef gethostbyname
21342 /* Override any gcc2 internal prototype to avoid an error. */
21347 /* We use char because int might match the return type of a gcc2
21348 builtin and then its argument prototype would still apply. */
21349 char gethostbyname ();
21350 /* The GNU C library defines this for functions which it implements
21351 to always fail with ENOSYS. Some functions are actually named
21352 something starting with __ and the normal name is an alias. */
21353 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21356 char (*f) () = gethostbyname;
21365 return f != gethostbyname;
21370 rm -f conftest.
$ac_objext conftest
$ac_exeext
21371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21372 (eval $ac_link) 2>conftest.er1
21374 grep -v '^ *+' conftest.er1
>conftest.err
21376 cat conftest.err
>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } &&
21379 { ac_try
='test -z "$ac_c_werror_flag"
21380 || test ! -s conftest.err'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; } &&
21386 { ac_try
='test -s conftest$ac_exeext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_cv_func_gethostbyname
=yes
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.
$ac_ext >&5
21397 ac_cv_func_gethostbyname
=no
21399 rm -f conftest.err conftest.
$ac_objext \
21400 conftest
$ac_exeext conftest.
$ac_ext
21402 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21403 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21405 if test $ac_cv_func_gethostbyname = no
; then
21406 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21407 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21408 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 ac_check_lib_save_LIBS
=$LIBS
21413 if test x
$gcc_no_link = xyes
; then
21414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21416 { (exit 1); exit 1; }; }
21418 cat >conftest.
$ac_ext <<_ACEOF
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21425 /* Override any gcc2 internal prototype to avoid an error. */
21429 /* We use char because int might match the return type of a gcc2
21430 builtin and then its argument prototype would still apply. */
21431 char gethostbyname ();
21440 rm -f conftest.
$ac_objext conftest
$ac_exeext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21442 (eval $ac_link) 2>conftest.er1
21444 grep -v '^ *+' conftest.er1
>conftest.err
21446 cat conftest.err
>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -z "$ac_c_werror_flag"
21450 || test ! -s conftest.err'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; } &&
21456 { ac_try
='test -s conftest$ac_exeext'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; }; then
21462 ac_cv_lib_nsl_gethostbyname
=yes
21464 echo "$as_me: failed program was:" >&5
21465 sed 's/^/| /' conftest.
$ac_ext >&5
21467 ac_cv_lib_nsl_gethostbyname
=no
21469 rm -f conftest.err conftest.
$ac_objext \
21470 conftest
$ac_exeext conftest.
$ac_ext
21471 LIBS
=$ac_check_lib_save_LIBS
21473 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21474 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21475 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21479 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21480 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21481 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21482 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 ac_check_lib_save_LIBS
=$LIBS
21487 if test x
$gcc_no_link = xyes
; then
21488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21490 { (exit 1); exit 1; }; }
21492 cat >conftest.
$ac_ext <<_ACEOF
21495 cat confdefs.h
>>conftest.
$ac_ext
21496 cat >>conftest.
$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21499 /* Override any gcc2 internal prototype to avoid an error. */
21503 /* We use char because int might match the return type of a gcc2
21504 builtin and then its argument prototype would still apply. */
21505 char gethostbyname ();
21514 rm -f conftest.
$ac_objext conftest
$ac_exeext
21515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21516 (eval $ac_link) 2>conftest.er1
21518 grep -v '^ *+' conftest.er1
>conftest.err
21520 cat conftest.err
>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try
='test -z "$ac_c_werror_flag"
21524 || test ! -s conftest.err'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; } &&
21530 { ac_try
='test -s conftest$ac_exeext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 ac_cv_lib_bsd_gethostbyname
=yes
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 ac_cv_lib_bsd_gethostbyname
=no
21543 rm -f conftest.err conftest.
$ac_objext \
21544 conftest
$ac_exeext conftest.
$ac_ext
21545 LIBS
=$ac_check_lib_save_LIBS
21547 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21548 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21549 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21550 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21556 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21557 # socket/setsockopt and other routines are undefined under SCO ODT
21558 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21559 # on later versions), says Simon Leinen: it contains gethostby*
21560 # variants that don't use the name server (or something). -lsocket
21561 # must be given before -lnsl if both are needed. We assume that
21562 # if connect needs -lnsl, so does gethostbyname.
21563 echo "$as_me:$LINENO: checking for connect" >&5
21564 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21565 if test "${ac_cv_func_connect+set}" = set; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 if test x
$gcc_no_link = xyes
; then
21569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21571 { (exit 1); exit 1; }; }
21573 cat >conftest.
$ac_ext <<_ACEOF
21576 cat confdefs.h
>>conftest.
$ac_ext
21577 cat >>conftest.
$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
21580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21581 #define connect innocuous_connect
21583 /* System header to define __stub macros and hopefully few prototypes,
21584 which can conflict with char connect (); below.
21585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21586 <limits.h> exists even on freestanding compilers. */
21589 # include <limits.h>
21591 # include <assert.h>
21596 /* Override any gcc2 internal prototype to avoid an error. */
21601 /* We use char because int might match the return type of a gcc2
21602 builtin and then its argument prototype would still apply. */
21604 /* The GNU C library defines this for functions which it implements
21605 to always fail with ENOSYS. Some functions are actually named
21606 something starting with __ and the normal name is an alias. */
21607 #if defined (__stub_connect) || defined (__stub___connect)
21610 char (*f) () = connect;
21619 return f != connect;
21624 rm -f conftest.
$ac_objext conftest
$ac_exeext
21625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21626 (eval $ac_link) 2>conftest.er1
21628 grep -v '^ *+' conftest.er1
>conftest.err
21630 cat conftest.err
>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } &&
21633 { ac_try
='test -z "$ac_c_werror_flag"
21634 || test ! -s conftest.err'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; } &&
21640 { ac_try
='test -s conftest$ac_exeext'
21641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21642 (eval $ac_try) 2>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); }; }; then
21646 ac_cv_func_connect
=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.
$ac_ext >&5
21651 ac_cv_func_connect
=no
21653 rm -f conftest.err conftest.
$ac_objext \
21654 conftest
$ac_exeext conftest.
$ac_ext
21656 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21657 echo "${ECHO_T}$ac_cv_func_connect" >&6
21659 if test $ac_cv_func_connect = no
; then
21660 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21661 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21662 if test "${ac_cv_lib_socket_connect+set}" = set; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 ac_check_lib_save_LIBS
=$LIBS
21666 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21667 if test x
$gcc_no_link = xyes
; then
21668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21670 { (exit 1); exit 1; }; }
21672 cat >conftest.
$ac_ext <<_ACEOF
21675 cat confdefs.h
>>conftest.
$ac_ext
21676 cat >>conftest.
$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21679 /* Override any gcc2 internal prototype to avoid an error. */
21683 /* We use char because int might match the return type of a gcc2
21684 builtin and then its argument prototype would still apply. */
21694 rm -f conftest.
$ac_objext conftest
$ac_exeext
21695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21696 (eval $ac_link) 2>conftest.er1
21698 grep -v '^ *+' conftest.er1
>conftest.err
21700 cat conftest.err
>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } &&
21703 { ac_try
='test -z "$ac_c_werror_flag"
21704 || test ! -s conftest.err'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try
='test -s conftest$ac_exeext'
21711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 (eval $ac_try) 2>&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; }; then
21716 ac_cv_lib_socket_connect
=yes
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.
$ac_ext >&5
21721 ac_cv_lib_socket_connect
=no
21723 rm -f conftest.err conftest.
$ac_objext \
21724 conftest
$ac_exeext conftest.
$ac_ext
21725 LIBS
=$ac_check_lib_save_LIBS
21727 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21728 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21729 if test $ac_cv_lib_socket_connect = yes; then
21730 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21735 # Guillermo Gomez says -lposix is necessary on A/UX.
21736 echo "$as_me:$LINENO: checking for remove" >&5
21737 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21738 if test "${ac_cv_func_remove+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 if test x
$gcc_no_link = xyes
; then
21742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21744 { (exit 1); exit 1; }; }
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
21753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21754 #define remove innocuous_remove
21756 /* System header to define __stub macros and hopefully few prototypes,
21757 which can conflict with char remove (); below.
21758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21759 <limits.h> exists even on freestanding compilers. */
21762 # include <limits.h>
21764 # include <assert.h>
21769 /* Override any gcc2 internal prototype to avoid an error. */
21774 /* We use char because int might match the return type of a gcc2
21775 builtin and then its argument prototype would still apply. */
21777 /* The GNU C library defines this for functions which it implements
21778 to always fail with ENOSYS. Some functions are actually named
21779 something starting with __ and the normal name is an alias. */
21780 #if defined (__stub_remove) || defined (__stub___remove)
21783 char (*f) () = remove;
21792 return f != remove;
21797 rm -f conftest.
$ac_objext conftest
$ac_exeext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21799 (eval $ac_link) 2>conftest.er1
21801 grep -v '^ *+' conftest.er1
>conftest.err
21803 cat conftest.err
>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try
='test -z "$ac_c_werror_flag"
21807 || test ! -s conftest.err'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; } &&
21813 { ac_try
='test -s conftest$ac_exeext'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; }; then
21819 ac_cv_func_remove
=yes
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.
$ac_ext >&5
21824 ac_cv_func_remove
=no
21826 rm -f conftest.err conftest.
$ac_objext \
21827 conftest
$ac_exeext conftest.
$ac_ext
21829 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21830 echo "${ECHO_T}$ac_cv_func_remove" >&6
21832 if test $ac_cv_func_remove = no
; then
21833 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21834 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21835 if test "${ac_cv_lib_posix_remove+set}" = set; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 ac_check_lib_save_LIBS
=$LIBS
21839 LIBS
="-lposix $LIBS"
21840 if test x
$gcc_no_link = xyes
; then
21841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21843 { (exit 1); exit 1; }; }
21845 cat >conftest.
$ac_ext <<_ACEOF
21848 cat confdefs.h
>>conftest.
$ac_ext
21849 cat >>conftest.
$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21852 /* Override any gcc2 internal prototype to avoid an error. */
21856 /* We use char because int might match the return type of a gcc2
21857 builtin and then its argument prototype would still apply. */
21867 rm -f conftest.
$ac_objext conftest
$ac_exeext
21868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21869 (eval $ac_link) 2>conftest.er1
21871 grep -v '^ *+' conftest.er1
>conftest.err
21873 cat conftest.err
>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } &&
21876 { ac_try
='test -z "$ac_c_werror_flag"
21877 || test ! -s conftest.err'
21878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879 (eval $ac_try) 2>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; } &&
21883 { ac_try
='test -s conftest$ac_exeext'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; }; then
21889 ac_cv_lib_posix_remove
=yes
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.
$ac_ext >&5
21894 ac_cv_lib_posix_remove
=no
21896 rm -f conftest.err conftest.
$ac_objext \
21897 conftest
$ac_exeext conftest.
$ac_ext
21898 LIBS
=$ac_check_lib_save_LIBS
21900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21901 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21902 if test $ac_cv_lib_posix_remove = yes; then
21903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21908 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21909 echo "$as_me:$LINENO: checking for shmat" >&5
21910 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21911 if test "${ac_cv_func_shmat+set}" = set; then
21912 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 if test x
$gcc_no_link = xyes
; then
21915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21917 { (exit 1); exit 1; }; }
21919 cat >conftest.
$ac_ext <<_ACEOF
21922 cat confdefs.h
>>conftest.
$ac_ext
21923 cat >>conftest.
$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
21926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21927 #define shmat innocuous_shmat
21929 /* System header to define __stub macros and hopefully few prototypes,
21930 which can conflict with char shmat (); below.
21931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21932 <limits.h> exists even on freestanding compilers. */
21935 # include <limits.h>
21937 # include <assert.h>
21942 /* Override any gcc2 internal prototype to avoid an error. */
21947 /* We use char because int might match the return type of a gcc2
21948 builtin and then its argument prototype would still apply. */
21950 /* The GNU C library defines this for functions which it implements
21951 to always fail with ENOSYS. Some functions are actually named
21952 something starting with __ and the normal name is an alias. */
21953 #if defined (__stub_shmat) || defined (__stub___shmat)
21956 char (*f) () = shmat;
21970 rm -f conftest.
$ac_objext conftest
$ac_exeext
21971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21972 (eval $ac_link) 2>conftest.er1
21974 grep -v '^ *+' conftest.er1
>conftest.err
21976 cat conftest.err
>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try
='test -z "$ac_c_werror_flag"
21980 || test ! -s conftest.err'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; } &&
21986 { ac_try
='test -s conftest$ac_exeext'
21987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21988 (eval $ac_try) 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); }; }; then
21992 ac_cv_func_shmat
=yes
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.
$ac_ext >&5
21997 ac_cv_func_shmat
=no
21999 rm -f conftest.err conftest.
$ac_objext \
22000 conftest
$ac_exeext conftest.
$ac_ext
22002 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22003 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22005 if test $ac_cv_func_shmat = no
; then
22006 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22007 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22008 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22009 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 ac_check_lib_save_LIBS
=$LIBS
22013 if test x
$gcc_no_link = xyes
; then
22014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22016 { (exit 1); exit 1; }; }
22018 cat >conftest.
$ac_ext <<_ACEOF
22021 cat confdefs.h
>>conftest.
$ac_ext
22022 cat >>conftest.
$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22025 /* Override any gcc2 internal prototype to avoid an error. */
22029 /* We use char because int might match the return type of a gcc2
22030 builtin and then its argument prototype would still apply. */
22040 rm -f conftest.
$ac_objext conftest
$ac_exeext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22042 (eval $ac_link) 2>conftest.er1
22044 grep -v '^ *+' conftest.er1
>conftest.err
22046 cat conftest.err
>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try
='test -z "$ac_c_werror_flag"
22050 || test ! -s conftest.err'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try
='test -s conftest$ac_exeext'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; }; then
22062 ac_cv_lib_ipc_shmat
=yes
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22067 ac_cv_lib_ipc_shmat
=no
22069 rm -f conftest.err conftest.
$ac_objext \
22070 conftest
$ac_exeext conftest.
$ac_ext
22071 LIBS
=$ac_check_lib_save_LIBS
22073 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22074 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22075 if test $ac_cv_lib_ipc_shmat = yes; then
22076 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22082 # Check for libraries that X11R6 Xt/Xaw programs need.
22083 ac_save_LDFLAGS
=$LDFLAGS
22084 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22085 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22086 # check for ICE first), but we must link in the order -lSM -lICE or
22087 # we get undefined symbols. So assume we have SM if we have ICE.
22088 # These have to be linked with before -lX11, unlike the other
22089 # libraries we check for below, so use a different variable.
22090 # John Interrante, Karl Berry
22091 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22092 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22093 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 ac_check_lib_save_LIBS
=$LIBS
22097 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22098 if test x
$gcc_no_link = xyes
; then
22099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22101 { (exit 1); exit 1; }; }
22103 cat >conftest.
$ac_ext <<_ACEOF
22106 cat confdefs.h
>>conftest.
$ac_ext
22107 cat >>conftest.
$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22110 /* Override any gcc2 internal prototype to avoid an error. */
22114 /* We use char because int might match the return type of a gcc2
22115 builtin and then its argument prototype would still apply. */
22116 char IceConnectionNumber ();
22120 IceConnectionNumber ();
22125 rm -f conftest.
$ac_objext conftest
$ac_exeext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22127 (eval $ac_link) 2>conftest.er1
22129 grep -v '^ *+' conftest.er1
>conftest.err
22131 cat conftest.err
>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try
='test -z "$ac_c_werror_flag"
22135 || test ! -s conftest.err'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; } &&
22141 { ac_try
='test -s conftest$ac_exeext'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; }; then
22147 ac_cv_lib_ICE_IceConnectionNumber
=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22152 ac_cv_lib_ICE_IceConnectionNumber
=no
22154 rm -f conftest.err conftest.
$ac_objext \
22155 conftest
$ac_exeext conftest.
$ac_ext
22156 LIBS
=$ac_check_lib_save_LIBS
22158 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22159 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22160 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22161 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22164 LDFLAGS
=$ac_save_LDFLAGS
22168 if test "$no_x" = yes; then
22169 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
22170 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
22171 { (exit 1); exit 1; }; }
22173 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
22174 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
22175 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22178 ac_check_lib_save_LIBS
=$LIBS
22179 LIBS
="-lXtst ${X_LIBS} $LIBS"
22180 if test x
$gcc_no_link = xyes
; then
22181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22183 { (exit 1); exit 1; }; }
22185 cat >conftest.
$ac_ext <<_ACEOF
22188 cat confdefs.h
>>conftest.
$ac_ext
22189 cat >>conftest.
$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22192 /* Override any gcc2 internal prototype to avoid an error. */
22196 /* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22198 char XTestQueryExtension ();
22202 XTestQueryExtension ();
22207 rm -f conftest.
$ac_objext conftest
$ac_exeext
22208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22209 (eval $ac_link) 2>conftest.er1
22211 grep -v '^ *+' conftest.er1
>conftest.err
22213 cat conftest.err
>&5
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); } &&
22216 { ac_try
='test -z "$ac_c_werror_flag"
22217 || test ! -s conftest.err'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219 (eval $ac_try) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; } &&
22223 { ac_try
='test -s conftest$ac_exeext'
22224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22225 (eval $ac_try) 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; }; then
22229 ac_cv_lib_Xtst_XTestQueryExtension
=yes
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.
$ac_ext >&5
22234 ac_cv_lib_Xtst_XTestQueryExtension
=no
22236 rm -f conftest.err conftest.
$ac_objext \
22237 conftest
$ac_exeext conftest.
$ac_ext
22238 LIBS
=$ac_check_lib_save_LIBS
22240 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
22241 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
22242 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
22244 cat >>confdefs.h
<<\_ACEOF
22245 #define HAVE_XTEST 1
22247 XTEST_LIBS
="$XTEST_LIBS -X11 -lXtst"
22257 if test -z "$PKG_CONFIG"; then
22258 # Extract the first word of "pkg-config", so it can be a program name with args.
22259 set dummy pkg-config
; ac_word
=$2
22260 echo "$as_me:$LINENO: checking for $ac_word" >&5
22261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22262 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22263 echo $ECHO_N "(cached) $ECHO_C" >&6
22265 case $PKG_CONFIG in
22267 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22271 for as_dir
in $PATH
22274 test -z "$as_dir" && as_dir
=.
22275 for ac_exec_ext
in '' $ac_executable_extensions; do
22276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22277 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22284 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22288 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22290 if test -n "$PKG_CONFIG"; then
22291 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22292 echo "${ECHO_T}$PKG_CONFIG" >&6
22294 echo "$as_me:$LINENO: result: no" >&5
22295 echo "${ECHO_T}no" >&6
22300 if test "$PKG_CONFIG" = "no" ; then
22301 echo "*** The pkg-config script could not be found. Make sure it is"
22302 echo "*** in your path, or set the PKG_CONFIG environment variable"
22303 echo "*** to the full path to pkg-config."
22304 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22306 PKG_CONFIG_MIN_VERSION
=0.9.0
22307 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22308 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
22309 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
22311 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
22312 echo "$as_me:$LINENO: result: yes" >&5
22313 echo "${ECHO_T}yes" >&6
22316 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
22317 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
22318 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22319 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
22320 echo "${ECHO_T}$GTK_CFLAGS" >&6
22322 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
22323 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
22324 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22325 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
22326 echo "${ECHO_T}$GTK_LIBS" >&6
22330 ## If we have a custom action on failure, don't print errors, but
22331 ## do set a variable so people can do so.
22332 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
22333 echo $GTK_PKG_ERRORS
22339 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22340 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22344 if test $succeeded = yes; then
22347 { { 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
22348 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;}
22349 { (exit 1); exit 1; }; }
22355 if test -z "$PKG_CONFIG"; then
22356 # Extract the first word of "pkg-config", so it can be a program name with args.
22357 set dummy pkg-config
; ac_word
=$2
22358 echo "$as_me:$LINENO: checking for $ac_word" >&5
22359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22360 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 case $PKG_CONFIG in
22365 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22369 for as_dir
in $PATH
22372 test -z "$as_dir" && as_dir
=.
22373 for ac_exec_ext
in '' $ac_executable_extensions; do
22374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22375 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22382 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22386 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22388 if test -n "$PKG_CONFIG"; then
22389 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22390 echo "${ECHO_T}$PKG_CONFIG" >&6
22392 echo "$as_me:$LINENO: result: no" >&5
22393 echo "${ECHO_T}no" >&6
22398 if test "$PKG_CONFIG" = "no" ; then
22399 echo "*** The pkg-config script could not be found. Make sure it is"
22400 echo "*** in your path, or set the PKG_CONFIG environment variable"
22401 echo "*** to the full path to pkg-config."
22402 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22404 PKG_CONFIG_MIN_VERSION
=0.9.0
22405 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22406 echo "$as_me:$LINENO: checking for freetype2" >&5
22407 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
22409 if $PKG_CONFIG --exists "freetype2" ; then
22410 echo "$as_me:$LINENO: result: yes" >&5
22411 echo "${ECHO_T}yes" >&6
22414 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
22415 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
22416 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
22417 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
22418 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
22420 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
22421 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
22422 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
22423 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
22424 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
22426 FREETYPE2_CFLAGS
=""
22428 ## If we have a custom action on failure, don't print errors, but
22429 ## do set a variable so people can do so.
22430 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
22431 echo $FREETYPE2_PKG_ERRORS
22437 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22438 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22442 if test $succeeded = yes; then
22445 { { 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
22446 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;}
22447 { (exit 1); exit 1; }; }
22453 if test -z "$PKG_CONFIG"; then
22454 # Extract the first word of "pkg-config", so it can be a program name with args.
22455 set dummy pkg-config
; ac_word
=$2
22456 echo "$as_me:$LINENO: checking for $ac_word" >&5
22457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22458 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 case $PKG_CONFIG in
22463 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22467 for as_dir
in $PATH
22470 test -z "$as_dir" && as_dir
=.
22471 for ac_exec_ext
in '' $ac_executable_extensions; do
22472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22473 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22480 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22484 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22486 if test -n "$PKG_CONFIG"; then
22487 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22488 echo "${ECHO_T}$PKG_CONFIG" >&6
22490 echo "$as_me:$LINENO: result: no" >&5
22491 echo "${ECHO_T}no" >&6
22496 if test "$PKG_CONFIG" = "no" ; then
22497 echo "*** The pkg-config script could not be found. Make sure it is"
22498 echo "*** in your path, or set the PKG_CONFIG environment variable"
22499 echo "*** to the full path to pkg-config."
22500 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22502 PKG_CONFIG_MIN_VERSION
=0.9.0
22503 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22504 echo "$as_me:$LINENO: checking for pangoft2" >&5
22505 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22507 if $PKG_CONFIG --exists "pangoft2" ; then
22508 echo "$as_me:$LINENO: result: yes" >&5
22509 echo "${ECHO_T}yes" >&6
22512 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22513 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22514 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22515 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22516 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22518 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22519 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22520 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22521 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22522 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22526 ## If we have a custom action on failure, don't print errors, but
22527 ## do set a variable so people can do so.
22528 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22529 echo $PANGOFT2_PKG_ERRORS
22535 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22536 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22540 if test $succeeded = yes; then
22543 { { 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
22544 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;}
22545 { (exit 1); exit 1; }; }
22551 if test -z "$PKG_CONFIG"; then
22552 # Extract the first word of "pkg-config", so it can be a program name with args.
22553 set dummy pkg-config
; ac_word
=$2
22554 echo "$as_me:$LINENO: checking for $ac_word" >&5
22555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22556 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22559 case $PKG_CONFIG in
22561 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22565 for as_dir
in $PATH
22568 test -z "$as_dir" && as_dir
=.
22569 for ac_exec_ext
in '' $ac_executable_extensions; do
22570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22571 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22578 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22582 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22584 if test -n "$PKG_CONFIG"; then
22585 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22586 echo "${ECHO_T}$PKG_CONFIG" >&6
22588 echo "$as_me:$LINENO: result: no" >&5
22589 echo "${ECHO_T}no" >&6
22594 if test "$PKG_CONFIG" = "no" ; then
22595 echo "*** The pkg-config script could not be found. Make sure it is"
22596 echo "*** in your path, or set the PKG_CONFIG environment variable"
22597 echo "*** to the full path to pkg-config."
22598 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22600 PKG_CONFIG_MIN_VERSION
=0.9.0
22601 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22602 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
22603 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
22605 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
22606 echo "$as_me:$LINENO: result: yes" >&5
22607 echo "${ECHO_T}yes" >&6
22610 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
22611 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
22612 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
22613 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
22614 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
22616 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
22617 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
22618 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
22619 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
22620 echo "${ECHO_T}$CAIRO_LIBS" >&6
22624 ## If we have a custom action on failure, don't print errors, but
22625 ## do set a variable so people can do so.
22626 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
22627 echo $CAIRO_PKG_ERRORS
22633 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22634 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22638 if test $succeeded = yes; then
22641 { { 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
22642 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;}
22643 { (exit 1); exit 1; }; }
22646 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
22647 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
22648 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
22649 echo $ECHO_N "(cached) $ECHO_C" >&6
22651 ac_check_lib_save_LIBS
=$LIBS
22652 LIBS
="-lXrender ${X_LIBS} $LIBS"
22653 if test x
$gcc_no_link = xyes
; then
22654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22656 { (exit 1); exit 1; }; }
22658 cat >conftest.
$ac_ext <<_ACEOF
22661 cat confdefs.h
>>conftest.
$ac_ext
22662 cat >>conftest.
$ac_ext <<_ACEOF
22663 /* end confdefs.h. */
22665 /* Override any gcc2 internal prototype to avoid an error. */
22669 /* We use char because int might match the return type of a gcc2
22670 builtin and then its argument prototype would still apply. */
22671 char XRenderQueryExtension ();
22675 XRenderQueryExtension ();
22680 rm -f conftest.
$ac_objext conftest
$ac_exeext
22681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22682 (eval $ac_link) 2>conftest.er1
22684 grep -v '^ *+' conftest.er1
>conftest.err
22686 cat conftest.err
>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } &&
22689 { ac_try
='test -z "$ac_c_werror_flag"
22690 || test ! -s conftest.err'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; } &&
22696 { ac_try
='test -s conftest$ac_exeext'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; }; then
22702 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.
$ac_ext >&5
22707 ac_cv_lib_Xrender_XRenderQueryExtension
=no
22709 rm -f conftest.err conftest.
$ac_objext \
22710 conftest
$ac_exeext conftest.
$ac_ext
22711 LIBS
=$ac_check_lib_save_LIBS
22713 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
22714 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
22715 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
22717 cat >>confdefs.h
<<\_ACEOF
22718 #define HAVE_XRENDER 1
22720 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
22726 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
22727 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
22728 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
22729 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 ac_check_lib_save_LIBS
=$LIBS
22732 LIBS
="-lXrandr ${X_LIBS} $LIBS"
22733 if test x
$gcc_no_link = xyes
; then
22734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22736 { (exit 1); exit 1; }; }
22738 cat >conftest.
$ac_ext <<_ACEOF
22741 cat confdefs.h
>>conftest.
$ac_ext
22742 cat >>conftest.
$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22745 /* Override any gcc2 internal prototype to avoid an error. */
22749 /* We use char because int might match the return type of a gcc2
22750 builtin and then its argument prototype would still apply. */
22751 char XRRQueryExtension ();
22755 XRRQueryExtension ();
22760 rm -f conftest.
$ac_objext conftest
$ac_exeext
22761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22762 (eval $ac_link) 2>conftest.er1
22764 grep -v '^ *+' conftest.er1
>conftest.err
22766 cat conftest.err
>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } &&
22769 { ac_try
='test -z "$ac_c_werror_flag"
22770 || test ! -s conftest.err'
22771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22772 (eval $ac_try) 2>&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); }; } &&
22776 { ac_try
='test -s conftest$ac_exeext'
22777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22778 (eval $ac_try) 2>&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); }; }; then
22782 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.
$ac_ext >&5
22787 ac_cv_lib_Xrandr_XRRQueryExtension
=no
22789 rm -f conftest.err conftest.
$ac_objext \
22790 conftest
$ac_exeext conftest.
$ac_ext
22791 LIBS
=$ac_check_lib_save_LIBS
22793 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
22794 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
22795 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
22797 cat >>confdefs.h
<<\_ACEOF
22798 #define HAVE_XRANDR 1
22800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
22815 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
22819 if test -z "$PKG_CONFIG"; then
22820 # Extract the first word of "pkg-config", so it can be a program name with args.
22821 set dummy pkg-config
; ac_word
=$2
22822 echo "$as_me:$LINENO: checking for $ac_word" >&5
22823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22827 case $PKG_CONFIG in
22829 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22833 for as_dir
in $PATH
22836 test -z "$as_dir" && as_dir
=.
22837 for ac_exec_ext
in '' $ac_executable_extensions; do
22838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22839 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22850 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22852 if test -n "$PKG_CONFIG"; then
22853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22854 echo "${ECHO_T}$PKG_CONFIG" >&6
22856 echo "$as_me:$LINENO: result: no" >&5
22857 echo "${ECHO_T}no" >&6
22862 if test "$PKG_CONFIG" = "no" ; then
22863 echo "*** The pkg-config script could not be found. Make sure it is"
22864 echo "*** in your path, or set the PKG_CONFIG environment variable"
22865 echo "*** to the full path to pkg-config."
22866 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22868 PKG_CONFIG_MIN_VERSION
=0.9.0
22869 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22870 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
22871 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
22873 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
22874 echo "$as_me:$LINENO: result: yes" >&5
22875 echo "${ECHO_T}yes" >&6
22878 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
22879 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
22880 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
22881 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
22882 echo "${ECHO_T}$GCONF_CFLAGS" >&6
22884 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
22885 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
22886 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
22887 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
22888 echo "${ECHO_T}$GCONF_LIBS" >&6
22892 ## If we have a custom action on failure, don't print errors, but
22893 ## do set a variable so people can do so.
22894 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
22895 echo $GCONF_PKG_ERRORS
22901 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22902 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22906 if test $succeeded = yes; then
22909 { { 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
22910 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;}
22911 { (exit 1); exit 1; }; }
22919 if test -z "$PKG_CONFIG"; then
22920 # Extract the first word of "pkg-config", so it can be a program name with args.
22921 set dummy pkg-config
; ac_word
=$2
22922 echo "$as_me:$LINENO: checking for $ac_word" >&5
22923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22924 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22927 case $PKG_CONFIG in
22929 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22933 for as_dir
in $PATH
22936 test -z "$as_dir" && as_dir
=.
22937 for ac_exec_ext
in '' $ac_executable_extensions; do
22938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22939 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22946 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22950 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22952 if test -n "$PKG_CONFIG"; then
22953 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22954 echo "${ECHO_T}$PKG_CONFIG" >&6
22956 echo "$as_me:$LINENO: result: no" >&5
22957 echo "${ECHO_T}no" >&6
22962 if test "$PKG_CONFIG" = "no" ; then
22963 echo "*** The pkg-config script could not be found. Make sure it is"
22964 echo "*** in your path, or set the PKG_CONFIG environment variable"
22965 echo "*** to the full path to pkg-config."
22966 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22968 PKG_CONFIG_MIN_VERSION
=0.9.0
22969 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22970 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
22971 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
22973 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
22974 echo "$as_me:$LINENO: result: yes" >&5
22975 echo "${ECHO_T}yes" >&6
22978 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
22979 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
22980 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
22981 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
22982 echo "${ECHO_T}$GDK_CFLAGS" >&6
22984 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
22985 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
22986 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
22987 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
22988 echo "${ECHO_T}$GDK_LIBS" >&6
22992 ## If we have a custom action on failure, don't print errors, but
22993 ## do set a variable so people can do so.
22994 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
22995 echo $GDK_PKG_ERRORS
23001 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23002 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23006 if test $succeeded = yes; then
23009 { { 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
23010 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;}
23011 { (exit 1); exit 1; }; }
23016 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
23017 if test "$USE_GCONF_PREFS_PEER" = ""; then
23018 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
23022 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
23023 GST_MAJORMINOR
=0.10
23024 GST_REQUIRED
=0.10.10
23029 if test -z "$PKG_CONFIG"; then
23030 # Extract the first word of "pkg-config", so it can be a program name with args.
23031 set dummy pkg-config
; ac_word
=$2
23032 echo "$as_me:$LINENO: checking for $ac_word" >&5
23033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23034 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23035 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 case $PKG_CONFIG in
23039 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23043 for as_dir
in $PATH
23046 test -z "$as_dir" && as_dir
=.
23047 for ac_exec_ext
in '' $ac_executable_extensions; do
23048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23049 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23056 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23060 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23062 if test -n "$PKG_CONFIG"; then
23063 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23064 echo "${ECHO_T}$PKG_CONFIG" >&6
23066 echo "$as_me:$LINENO: result: no" >&5
23067 echo "${ECHO_T}no" >&6
23072 if test "$PKG_CONFIG" = "no" ; then
23073 echo "*** The pkg-config script could not be found. Make sure it is"
23074 echo "*** in your path, or set the PKG_CONFIG environment variable"
23075 echo "*** to the full path to pkg-config."
23076 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23078 PKG_CONFIG_MIN_VERSION
=0.9.0
23079 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23080 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23081 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23083 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23084 echo "$as_me:$LINENO: result: yes" >&5
23085 echo "${ECHO_T}yes" >&6
23088 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
23089 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
23090 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23091 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
23092 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
23094 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
23095 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
23096 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23097 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
23098 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
23100 GSTREAMER_CFLAGS
=""
23102 ## If we have a custom action on failure, don't print errors, but
23103 ## do set a variable so people can do so.
23104 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
23105 echo $GSTREAMER_PKG_ERRORS
23111 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23112 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23116 if test $succeeded = yes; then
23119 { { 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
23120 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;}
23121 { (exit 1); exit 1; }; }
23130 if test -z "$PKG_CONFIG"; then
23131 # Extract the first word of "pkg-config", so it can be a program name with args.
23132 set dummy pkg-config
; ac_word
=$2
23133 echo "$as_me:$LINENO: checking for $ac_word" >&5
23134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 case $PKG_CONFIG in
23140 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23144 for as_dir
in $PATH
23147 test -z "$as_dir" && as_dir
=.
23148 for ac_exec_ext
in '' $ac_executable_extensions; do
23149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23150 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23157 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23163 if test -n "$PKG_CONFIG"; then
23164 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23165 echo "${ECHO_T}$PKG_CONFIG" >&6
23167 echo "$as_me:$LINENO: result: no" >&5
23168 echo "${ECHO_T}no" >&6
23173 if test "$PKG_CONFIG" = "no" ; then
23174 echo "*** The pkg-config script could not be found. Make sure it is"
23175 echo "*** in your path, or set the PKG_CONFIG environment variable"
23176 echo "*** to the full path to pkg-config."
23177 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23179 PKG_CONFIG_MIN_VERSION
=0.9.0
23180 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23181 echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23182 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23184 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23185 echo "$as_me:$LINENO: result: yes" >&5
23186 echo "${ECHO_T}yes" >&6
23189 echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
23190 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
23191 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23192 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
23193 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
23195 echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
23196 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
23197 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23198 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
23199 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
23201 GSTREAMER_BASE_CFLAGS
=""
23202 GSTREAMER_BASE_LIBS
=""
23203 ## If we have a custom action on failure, don't print errors, but
23204 ## do set a variable so people can do so.
23205 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23206 echo $GSTREAMER_BASE_PKG_ERRORS
23212 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23213 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23217 if test $succeeded = yes; then
23220 { { 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
23221 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;}
23222 { (exit 1); exit 1; }; }
23231 if test -z "$PKG_CONFIG"; then
23232 # Extract the first word of "pkg-config", so it can be a program name with args.
23233 set dummy pkg-config
; ac_word
=$2
23234 echo "$as_me:$LINENO: checking for $ac_word" >&5
23235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23236 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23237 echo $ECHO_N "(cached) $ECHO_C" >&6
23239 case $PKG_CONFIG in
23241 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23245 for as_dir
in $PATH
23248 test -z "$as_dir" && as_dir
=.
23249 for ac_exec_ext
in '' $ac_executable_extensions; do
23250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23251 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23258 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23262 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23264 if test -n "$PKG_CONFIG"; then
23265 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23266 echo "${ECHO_T}$PKG_CONFIG" >&6
23268 echo "$as_me:$LINENO: result: no" >&5
23269 echo "${ECHO_T}no" >&6
23274 if test "$PKG_CONFIG" = "no" ; then
23275 echo "*** The pkg-config script could not be found. Make sure it is"
23276 echo "*** in your path, or set the PKG_CONFIG environment variable"
23277 echo "*** to the full path to pkg-config."
23278 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23280 PKG_CONFIG_MIN_VERSION
=0.9.0
23281 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23282 echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
23283 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
23285 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
23286 echo "$as_me:$LINENO: result: yes" >&5
23287 echo "${ECHO_T}yes" >&6
23290 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
23291 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
23292 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23293 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
23294 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
23296 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
23297 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
23298 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23299 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
23300 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
23302 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
23303 GSTREAMER_PLUGINS_BASE_LIBS
=""
23304 ## If we have a custom action on failure, don't print errors, but
23305 ## do set a variable so people can do so.
23306 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
23307 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
23313 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23314 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23318 if test $succeeded = yes; then
23321 { { 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
23322 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;}
23323 { (exit 1); exit 1; }; }
23329 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
23335 if test -z "$PKG_CONFIG"; then
23336 # Extract the first word of "pkg-config", so it can be a program name with args.
23337 set dummy pkg-config
; ac_word
=$2
23338 echo "$as_me:$LINENO: checking for $ac_word" >&5
23339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23340 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23341 echo $ECHO_N "(cached) $ECHO_C" >&6
23343 case $PKG_CONFIG in
23345 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23349 for as_dir
in $PATH
23352 test -z "$as_dir" && as_dir
=.
23353 for ac_exec_ext
in '' $ac_executable_extensions; do
23354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23355 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23362 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23366 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23368 if test -n "$PKG_CONFIG"; then
23369 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23370 echo "${ECHO_T}$PKG_CONFIG" >&6
23372 echo "$as_me:$LINENO: result: no" >&5
23373 echo "${ECHO_T}no" >&6
23378 if test "$PKG_CONFIG" = "no" ; then
23379 echo "*** The pkg-config script could not be found. Make sure it is"
23380 echo "*** in your path, or set the PKG_CONFIG environment variable"
23381 echo "*** to the full path to pkg-config."
23382 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23384 PKG_CONFIG_MIN_VERSION
=0.9.0
23385 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23386 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
23387 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
23389 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
23390 echo "$as_me:$LINENO: result: yes" >&5
23391 echo "${ECHO_T}yes" >&6
23394 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
23395 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
23396 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
23397 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
23398 echo "${ECHO_T}$GDK_CFLAGS" >&6
23400 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
23401 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
23402 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
23403 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
23404 echo "${ECHO_T}$GDK_LIBS" >&6
23408 ## If we have a custom action on failure, don't print errors, but
23409 ## do set a variable so people can do so.
23410 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
23411 echo $GDK_PKG_ERRORS
23417 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23418 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23422 if test $succeeded = yes; then
23425 { { 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
23426 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;}
23427 { (exit 1); exit 1; }; }
23433 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
23434 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
23439 if test "x${COMPILE_QT_PEER}" = xyes
; then
23443 if test -z "$PKG_CONFIG"; then
23444 # Extract the first word of "pkg-config", so it can be a program name with args.
23445 set dummy pkg-config
; ac_word
=$2
23446 echo "$as_me:$LINENO: checking for $ac_word" >&5
23447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 case $PKG_CONFIG in
23453 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23457 for as_dir
in $PATH
23460 test -z "$as_dir" && as_dir
=.
23461 for ac_exec_ext
in '' $ac_executable_extensions; do
23462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23463 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23474 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23476 if test -n "$PKG_CONFIG"; then
23477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23478 echo "${ECHO_T}$PKG_CONFIG" >&6
23480 echo "$as_me:$LINENO: result: no" >&5
23481 echo "${ECHO_T}no" >&6
23486 if test "$PKG_CONFIG" = "no" ; then
23487 echo "*** The pkg-config script could not be found. Make sure it is"
23488 echo "*** in your path, or set the PKG_CONFIG environment variable"
23489 echo "*** to the full path to pkg-config."
23490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23492 PKG_CONFIG_MIN_VERSION
=0.9.0
23493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23494 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
23495 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
23497 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
23498 echo "$as_me:$LINENO: result: yes" >&5
23499 echo "${ECHO_T}yes" >&6
23502 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
23503 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
23504 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
23505 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
23506 echo "${ECHO_T}$QT_CFLAGS" >&6
23508 echo "$as_me:$LINENO: checking QT_LIBS" >&5
23509 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
23510 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
23511 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
23512 echo "${ECHO_T}$QT_LIBS" >&6
23516 ## If we have a custom action on failure, don't print errors, but
23517 ## do set a variable so people can do so.
23518 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
23525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23530 if test $succeeded = yes; then
23536 if test "x$HAVE_QT4" = "xyes"; then
23537 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
23538 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
23539 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
23540 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
23541 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
23542 if eval "test \"\${$as_ac_File+set}\" = set"; then
23543 echo $ECHO_N "(cached) $ECHO_C" >&6
23545 test "$cross_compiling" = yes &&
23546 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23547 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23548 { (exit 1); exit 1; }; }
23549 if test -r "$QT_INCLUDE_DIR/QWidget"; then
23550 eval "$as_ac_File=yes"
23552 eval "$as_ac_File=no"
23555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
23556 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
23557 if test `eval echo '${'$as_ac_File'}'` = yes; then
23558 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
23559 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
23561 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
23562 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
23563 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
23564 if eval "test \"\${$as_ac_File+set}\" = set"; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 test "$cross_compiling" = yes &&
23568 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23569 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23570 { (exit 1); exit 1; }; }
23571 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
23572 eval "$as_ac_File=yes"
23574 eval "$as_ac_File=no"
23577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
23578 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
23579 if test `eval echo '${'$as_ac_File'}'` = yes; then
23580 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
23582 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
23583 echo "$as_me: WARNING: QWidget not found" >&2;}
23588 # Extract the first word of "moc", so it can be a program name with args.
23589 set dummy moc
; ac_word
=$2
23590 echo "$as_me:$LINENO: checking for $ac_word" >&5
23591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23592 if test "${ac_cv_prog_MOC+set}" = set; then
23593 echo $ECHO_N "(cached) $ECHO_C" >&6
23595 if test -n "$MOC"; then
23596 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23599 for as_dir
in $PATH
23602 test -z "$as_dir" && as_dir
=.
23603 for ac_exec_ext
in '' $ac_executable_extensions; do
23604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23605 ac_cv_prog_MOC
="moc"
23606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23614 MOC
=$ac_cv_prog_MOC
23615 if test -n "$MOC"; then
23616 echo "$as_me:$LINENO: result: $MOC" >&5
23617 echo "${ECHO_T}$MOC" >&6
23619 echo "$as_me:$LINENO: result: no" >&5
23620 echo "${ECHO_T}no" >&6
23623 # Extract the first word of "moc-qt4", so it can be a program name with args.
23624 set dummy moc-qt4
; ac_word
=$2
23625 echo "$as_me:$LINENO: checking for $ac_word" >&5
23626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23627 if test "${ac_cv_prog_MOC+set}" = set; then
23628 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 if test -n "$MOC"; then
23631 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23634 for as_dir
in $PATH
23637 test -z "$as_dir" && as_dir
=.
23638 for ac_exec_ext
in '' $ac_executable_extensions; do
23639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23640 ac_cv_prog_MOC
="moc-qt4"
23641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23649 MOC
=$ac_cv_prog_MOC
23650 if test -n "$MOC"; then
23651 echo "$as_me:$LINENO: result: $MOC" >&5
23652 echo "${ECHO_T}$MOC" >&6
23654 echo "$as_me:$LINENO: result: no" >&5
23655 echo "${ECHO_T}no" >&6
23659 if test "x$HAVE_QT4" = "xno"; then
23660 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
23661 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
23665 # Check whether --with-qt4dir or --without-qt4dir was given.
23666 if test "${with_qt4dir+set}" = set; then
23667 withval
="$with_qt4dir"
23671 if test x
"$QT4DIR" = x
; then
23672 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
23673 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
23674 { (exit 1); exit 1; }; }
23676 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
23677 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
23678 # Extract the first word of "moc", so it can be a program name with args.
23679 set dummy moc
; ac_word
=$2
23680 echo "$as_me:$LINENO: checking for $ac_word" >&5
23681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23682 if test "${ac_cv_prog_MOC+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 if test -n "$MOC"; then
23686 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
23688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23689 for as_dir
in $QT4DIR/bin
23692 test -z "$as_dir" && as_dir
=.
23693 for ac_exec_ext
in '' $ac_executable_extensions; do
23694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23695 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
23696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23704 MOC
=$ac_cv_prog_MOC
23705 if test -n "$MOC"; then
23706 echo "$as_me:$LINENO: result: $MOC" >&5
23707 echo "${ECHO_T}$MOC" >&6
23709 echo "$as_me:$LINENO: result: no" >&5
23710 echo "${ECHO_T}no" >&6
23713 if test x
"$MOC" = x
; then
23714 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
23715 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
23716 { (exit 1); exit 1; }; }
23718 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
23719 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
23720 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
23721 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
23724 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
23725 of your installed Qt4 installation." >&5
23726 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
23727 of your installed Qt4 installation." >&2;}
23728 { (exit 1); exit 1; }; }
23732 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
23733 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
23737 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
23738 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
23739 cat >conftest.
$ac_ext <<_ACEOF
23742 cat confdefs.h
>>conftest.
$ac_ext
23743 cat >>conftest.
$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 #include <sys/socket.h>
23749 int f = MSG_NOSIGNAL;
23754 rm -f conftest.
$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23758 grep -v '^ *+' conftest.er1
>conftest.err
23760 cat conftest.err
>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try
='test -z "$ac_c_werror_flag"
23764 || test ! -s conftest.err'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; } &&
23770 { ac_try
='test -s conftest.$ac_objext'
23771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772 (eval $ac_try) 2>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); }; }; then
23776 echo "$as_me:$LINENO: result: yes" >&5
23777 echo "${ECHO_T}yes" >&6
23779 cat >>confdefs.h
<<\_ACEOF
23780 #define HAVE_MSG_NOSIGNAL 1
23784 echo "$as_me: failed program was:" >&5
23785 sed 's/^/| /' conftest.
$ac_ext >&5
23787 echo "$as_me:$LINENO: result: no" >&5
23788 echo "${ECHO_T}no" >&6
23791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23792 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
23793 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
23794 cat >conftest.
$ac_ext <<_ACEOF
23797 cat confdefs.h
>>conftest.
$ac_ext
23798 cat >>conftest.
$ac_ext <<_ACEOF
23799 /* end confdefs.h. */
23800 #include <sys/socket.h>
23804 int f = SO_NOSIGPIPE;
23809 rm -f conftest.
$ac_objext
23810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23811 (eval $ac_compile) 2>conftest.er1
23813 grep -v '^ *+' conftest.er1
>conftest.err
23815 cat conftest.err
>&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); } &&
23818 { ac_try
='test -z "$ac_c_werror_flag"
23819 || test ! -s conftest.err'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; } &&
23825 { ac_try
='test -s conftest.$ac_objext'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; }; then
23831 echo "$as_me:$LINENO: result: yes" >&5
23832 echo "${ECHO_T}yes" >&6
23834 cat >>confdefs.h
<<\_ACEOF
23835 #define HAVE_SO_NOSIGPIPE 1
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.
$ac_ext >&5
23842 echo "$as_me:$LINENO: result: no" >&5
23843 echo "${ECHO_T}no" >&6
23846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23847 echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
23848 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6
23849 cat >conftest.
$ac_ext <<_ACEOF
23852 cat confdefs.h
>>conftest.
$ac_ext
23853 cat >>conftest.
$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <sys/socket.h>
23859 int f = MSG_WAITALL;
23864 rm -f conftest.
$ac_objext
23865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23866 (eval $ac_compile) 2>conftest.er1
23868 grep -v '^ *+' conftest.er1
>conftest.err
23870 cat conftest.err
>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try
='test -z "$ac_c_werror_flag"
23874 || test ! -s conftest.err'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; } &&
23880 { ac_try
='test -s conftest.$ac_objext'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; }; then
23886 echo "$as_me:$LINENO: result: yes" >&5
23887 echo "${ECHO_T}yes" >&6
23889 cat >>confdefs.h
<<\_ACEOF
23890 #define HAVE_MSG_WAITALL 1
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.
$ac_ext >&5
23897 echo "$as_me:$LINENO: result: no" >&5
23898 echo "${ECHO_T}no" >&6
23901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23903 if test "x${COMPILE_PLUGIN}" = xyes
; then
23907 if test -z "$PKG_CONFIG"; then
23908 # Extract the first word of "pkg-config", so it can be a program name with args.
23909 set dummy pkg-config
; ac_word
=$2
23910 echo "$as_me:$LINENO: checking for $ac_word" >&5
23911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23912 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 case $PKG_CONFIG in
23917 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23921 for as_dir
in $PATH
23924 test -z "$as_dir" && as_dir
=.
23925 for ac_exec_ext
in '' $ac_executable_extensions; do
23926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23927 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23934 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23938 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23940 if test -n "$PKG_CONFIG"; then
23941 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23942 echo "${ECHO_T}$PKG_CONFIG" >&6
23944 echo "$as_me:$LINENO: result: no" >&5
23945 echo "${ECHO_T}no" >&6
23950 if test "$PKG_CONFIG" = "no" ; then
23951 echo "*** The pkg-config script could not be found. Make sure it is"
23952 echo "*** in your path, or set the PKG_CONFIG environment variable"
23953 echo "*** to the full path to pkg-config."
23954 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23956 PKG_CONFIG_MIN_VERSION
=0.9.0
23957 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23958 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
23959 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
23961 if $PKG_CONFIG --exists "mozilla-plugin" ; then
23962 echo "$as_me:$LINENO: result: yes" >&5
23963 echo "${ECHO_T}yes" >&6
23966 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23967 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23968 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
23969 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23970 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23972 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23973 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23974 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
23975 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23976 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23980 ## If we have a custom action on failure, don't print errors, but
23981 ## do set a variable so people can do so.
23982 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
23989 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23990 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23994 if test $succeeded = yes; then
24000 if test "x${MOZILLA_FOUND}" = xno
; then
24004 if test -z "$PKG_CONFIG"; then
24005 # Extract the first word of "pkg-config", so it can be a program name with args.
24006 set dummy pkg-config
; ac_word
=$2
24007 echo "$as_me:$LINENO: checking for $ac_word" >&5
24008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24009 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 case $PKG_CONFIG in
24014 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24018 for as_dir
in $PATH
24021 test -z "$as_dir" && as_dir
=.
24022 for ac_exec_ext
in '' $ac_executable_extensions; do
24023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24024 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24031 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24035 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24037 if test -n "$PKG_CONFIG"; then
24038 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24039 echo "${ECHO_T}$PKG_CONFIG" >&6
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24047 if test "$PKG_CONFIG" = "no" ; then
24048 echo "*** The pkg-config script could not be found. Make sure it is"
24049 echo "*** in your path, or set the PKG_CONFIG environment variable"
24050 echo "*** to the full path to pkg-config."
24051 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24053 PKG_CONFIG_MIN_VERSION
=0.9.0
24054 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24055 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
24056 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
24058 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
24059 echo "$as_me:$LINENO: result: yes" >&5
24060 echo "${ECHO_T}yes" >&6
24063 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24064 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24065 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
24066 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24067 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24069 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24070 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24071 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
24072 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24073 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24077 ## If we have a custom action on failure, don't print errors, but
24078 ## do set a variable so people can do so.
24079 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
24086 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24087 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24091 if test $succeeded = yes; then
24098 if test "x${MOZILLA_FOUND}" = xno
; then
24102 if test -z "$PKG_CONFIG"; then
24103 # Extract the first word of "pkg-config", so it can be a program name with args.
24104 set dummy pkg-config
; ac_word
=$2
24105 echo "$as_me:$LINENO: checking for $ac_word" >&5
24106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24107 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 case $PKG_CONFIG in
24112 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24116 for as_dir
in $PATH
24119 test -z "$as_dir" && as_dir
=.
24120 for ac_exec_ext
in '' $ac_executable_extensions; do
24121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24122 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24129 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24133 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24135 if test -n "$PKG_CONFIG"; then
24136 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24137 echo "${ECHO_T}$PKG_CONFIG" >&6
24139 echo "$as_me:$LINENO: result: no" >&5
24140 echo "${ECHO_T}no" >&6
24145 if test "$PKG_CONFIG" = "no" ; then
24146 echo "*** The pkg-config script could not be found. Make sure it is"
24147 echo "*** in your path, or set the PKG_CONFIG environment variable"
24148 echo "*** to the full path to pkg-config."
24149 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24151 PKG_CONFIG_MIN_VERSION
=0.9.0
24152 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24153 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
24154 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
24156 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
24157 echo "$as_me:$LINENO: result: yes" >&5
24158 echo "${ECHO_T}yes" >&6
24161 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24162 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24163 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
24164 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24165 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24167 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24168 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24169 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
24170 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24171 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24175 ## If we have a custom action on failure, don't print errors, but
24176 ## do set a variable so people can do so.
24177 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
24184 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24185 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24189 if test $succeeded = yes; then
24196 if test "x${MOZILLA_FOUND}" = xno
; then
24200 if test -z "$PKG_CONFIG"; then
24201 # Extract the first word of "pkg-config", so it can be a program name with args.
24202 set dummy pkg-config
; ac_word
=$2
24203 echo "$as_me:$LINENO: checking for $ac_word" >&5
24204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24205 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 case $PKG_CONFIG in
24210 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24214 for as_dir
in $PATH
24217 test -z "$as_dir" && as_dir
=.
24218 for ac_exec_ext
in '' $ac_executable_extensions; do
24219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24220 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24227 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24231 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24233 if test -n "$PKG_CONFIG"; then
24234 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24235 echo "${ECHO_T}$PKG_CONFIG" >&6
24237 echo "$as_me:$LINENO: result: no" >&5
24238 echo "${ECHO_T}no" >&6
24243 if test "$PKG_CONFIG" = "no" ; then
24244 echo "*** The pkg-config script could not be found. Make sure it is"
24245 echo "*** in your path, or set the PKG_CONFIG environment variable"
24246 echo "*** to the full path to pkg-config."
24247 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24249 PKG_CONFIG_MIN_VERSION
=0.9.0
24250 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24251 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
24252 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
24254 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
24255 echo "$as_me:$LINENO: result: yes" >&5
24256 echo "${ECHO_T}yes" >&6
24259 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24260 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24261 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24262 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24263 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24265 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24266 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24267 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24268 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24269 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24273 ## If we have a custom action on failure, don't print errors, but
24274 ## do set a variable so people can do so.
24275 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
24282 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24283 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24287 if test $succeeded = yes; then
24294 if test "x${MOZILLA_FOUND}" = xno
; then
24298 if test -z "$PKG_CONFIG"; then
24299 # Extract the first word of "pkg-config", so it can be a program name with args.
24300 set dummy pkg-config
; ac_word
=$2
24301 echo "$as_me:$LINENO: checking for $ac_word" >&5
24302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 case $PKG_CONFIG in
24308 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24312 for as_dir
in $PATH
24315 test -z "$as_dir" && as_dir
=.
24316 for ac_exec_ext
in '' $ac_executable_extensions; do
24317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24318 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24331 if test -n "$PKG_CONFIG"; then
24332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24333 echo "${ECHO_T}$PKG_CONFIG" >&6
24335 echo "$as_me:$LINENO: result: no" >&5
24336 echo "${ECHO_T}no" >&6
24341 if test "$PKG_CONFIG" = "no" ; then
24342 echo "*** The pkg-config script could not be found. Make sure it is"
24343 echo "*** in your path, or set the PKG_CONFIG environment variable"
24344 echo "*** to the full path to pkg-config."
24345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24347 PKG_CONFIG_MIN_VERSION
=0.9.0
24348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24349 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
24350 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
24352 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
24353 echo "$as_me:$LINENO: result: yes" >&5
24354 echo "${ECHO_T}yes" >&6
24357 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24358 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24359 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
24360 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24361 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24363 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24364 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24365 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
24366 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24367 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24371 ## If we have a custom action on failure, don't print errors, but
24372 ## do set a variable so people can do so.
24373 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
24380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24385 if test $succeeded = yes; then
24392 if test "x${MOZILLA_FOUND}" = xno
; then
24396 if test -z "$PKG_CONFIG"; then
24397 # Extract the first word of "pkg-config", so it can be a program name with args.
24398 set dummy pkg-config
; ac_word
=$2
24399 echo "$as_me:$LINENO: checking for $ac_word" >&5
24400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24402 echo $ECHO_N "(cached) $ECHO_C" >&6
24404 case $PKG_CONFIG in
24406 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24410 for as_dir
in $PATH
24413 test -z "$as_dir" && as_dir
=.
24414 for ac_exec_ext
in '' $ac_executable_extensions; do
24415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24416 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24427 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24429 if test -n "$PKG_CONFIG"; then
24430 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24431 echo "${ECHO_T}$PKG_CONFIG" >&6
24433 echo "$as_me:$LINENO: result: no" >&5
24434 echo "${ECHO_T}no" >&6
24439 if test "$PKG_CONFIG" = "no" ; then
24440 echo "*** The pkg-config script could not be found. Make sure it is"
24441 echo "*** in your path, or set the PKG_CONFIG environment variable"
24442 echo "*** to the full path to pkg-config."
24443 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24445 PKG_CONFIG_MIN_VERSION
=0.9.0
24446 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24447 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
24448 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
24450 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
24451 echo "$as_me:$LINENO: result: yes" >&5
24452 echo "${ECHO_T}yes" >&6
24455 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
24456 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
24457 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
24458 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
24459 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
24461 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
24462 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
24463 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
24464 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
24465 echo "${ECHO_T}$MOZILLA_LIBS" >&6
24469 ## If we have a custom action on failure, don't print errors, but
24470 ## do set a variable so people can do so.
24471 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
24478 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24479 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24483 if test $succeeded = yes; then
24490 if test "x${MOZILLA_FOUND}" = xno
; then
24491 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
24492 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
24493 { (exit 1); exit 1; }; }
24499 if test -z "$PKG_CONFIG"; then
24500 # Extract the first word of "pkg-config", so it can be a program name with args.
24501 set dummy pkg-config
; ac_word
=$2
24502 echo "$as_me:$LINENO: checking for $ac_word" >&5
24503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24504 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 case $PKG_CONFIG in
24509 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24513 for as_dir
in $PATH
24516 test -z "$as_dir" && as_dir
=.
24517 for ac_exec_ext
in '' $ac_executable_extensions; do
24518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24519 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24526 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24530 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24532 if test -n "$PKG_CONFIG"; then
24533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24534 echo "${ECHO_T}$PKG_CONFIG" >&6
24536 echo "$as_me:$LINENO: result: no" >&5
24537 echo "${ECHO_T}no" >&6
24542 if test "$PKG_CONFIG" = "no" ; then
24543 echo "*** The pkg-config script could not be found. Make sure it is"
24544 echo "*** in your path, or set the PKG_CONFIG environment variable"
24545 echo "*** to the full path to pkg-config."
24546 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24548 PKG_CONFIG_MIN_VERSION
=0.9.0
24549 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24550 echo "$as_me:$LINENO: checking for glib-2.0" >&5
24551 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
24553 if $PKG_CONFIG --exists "glib-2.0" ; then
24554 echo "$as_me:$LINENO: result: yes" >&5
24555 echo "${ECHO_T}yes" >&6
24558 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
24559 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
24560 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
24561 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
24562 echo "${ECHO_T}$GLIB_CFLAGS" >&6
24564 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
24565 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
24566 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
24567 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
24568 echo "${ECHO_T}$GLIB_LIBS" >&6
24572 ## If we have a custom action on failure, don't print errors, but
24573 ## do set a variable so people can do so.
24574 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
24575 echo $GLIB_PKG_ERRORS
24581 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24582 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24586 if test $succeeded = yes; then
24589 { { 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
24590 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;}
24591 { (exit 1); exit 1; }; }
24597 if test -z "$PKG_CONFIG"; then
24598 # Extract the first word of "pkg-config", so it can be a program name with args.
24599 set dummy pkg-config
; ac_word
=$2
24600 echo "$as_me:$LINENO: checking for $ac_word" >&5
24601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24602 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 case $PKG_CONFIG in
24607 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24611 for as_dir
in $PATH
24614 test -z "$as_dir" && as_dir
=.
24615 for ac_exec_ext
in '' $ac_executable_extensions; do
24616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24617 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24624 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24628 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24630 if test -n "$PKG_CONFIG"; then
24631 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24632 echo "${ECHO_T}$PKG_CONFIG" >&6
24634 echo "$as_me:$LINENO: result: no" >&5
24635 echo "${ECHO_T}no" >&6
24640 if test "$PKG_CONFIG" = "no" ; then
24641 echo "*** The pkg-config script could not be found. Make sure it is"
24642 echo "*** in your path, or set the PKG_CONFIG environment variable"
24643 echo "*** to the full path to pkg-config."
24644 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24646 PKG_CONFIG_MIN_VERSION
=0.9.0
24647 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24648 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
24649 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
24651 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
24652 echo "$as_me:$LINENO: result: yes" >&5
24653 echo "${ECHO_T}yes" >&6
24656 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24657 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24658 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24659 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24660 echo "${ECHO_T}$GTK_CFLAGS" >&6
24662 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24663 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24664 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24665 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24666 echo "${ECHO_T}$GTK_LIBS" >&6
24670 ## If we have a custom action on failure, don't print errors, but
24671 ## do set a variable so people can do so.
24672 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
24673 echo $GTK_PKG_ERRORS
24679 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24680 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24684 if test $succeeded = yes; then
24687 { { 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
24688 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;}
24689 { (exit 1); exit 1; }; }
24700 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
24704 if test "x${COMPILE_GMP}" = xyes
; then
24705 echo "$as_me:$LINENO: checking for __gmpz_mul_si in -lgmp" >&5
24706 echo $ECHO_N "checking for __gmpz_mul_si in -lgmp... $ECHO_C" >&6
24707 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then
24708 echo $ECHO_N "(cached) $ECHO_C" >&6
24710 ac_check_lib_save_LIBS
=$LIBS
24712 if test x
$gcc_no_link = xyes
; then
24713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24715 { (exit 1); exit 1; }; }
24717 cat >conftest.
$ac_ext <<_ACEOF
24720 cat confdefs.h
>>conftest.
$ac_ext
24721 cat >>conftest.
$ac_ext <<_ACEOF
24722 /* end confdefs.h. */
24724 /* Override any gcc2 internal prototype to avoid an error. */
24728 /* We use char because int might match the return type of a gcc2
24729 builtin and then its argument prototype would still apply. */
24730 char __gmpz_mul_si ();
24739 rm -f conftest.
$ac_objext conftest
$ac_exeext
24740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24741 (eval $ac_link) 2>conftest.er1
24743 grep -v '^ *+' conftest.er1
>conftest.err
24745 cat conftest.err
>&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } &&
24748 { ac_try
='test -z "$ac_c_werror_flag"
24749 || test ! -s conftest.err'
24750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751 (eval $ac_try) 2>&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); }; } &&
24755 { ac_try
='test -s conftest$ac_exeext'
24756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24757 (eval $ac_try) 2>&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); }; }; then
24761 ac_cv_lib_gmp___gmpz_mul_si
=yes
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.
$ac_ext >&5
24766 ac_cv_lib_gmp___gmpz_mul_si
=no
24768 rm -f conftest.err conftest.
$ac_objext \
24769 conftest
$ac_exeext conftest.
$ac_ext
24770 LIBS
=$ac_check_lib_save_LIBS
24772 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
24773 echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_mul_si" >&6
24774 if test $ac_cv_lib_gmp___gmpz_mul_si = yes; then
24775 GMP_CFLAGS
=-I/usr
/include
24786 for ac_header
in gmp.h
24788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24790 echo "$as_me:$LINENO: checking for $ac_header" >&5
24791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24798 # Is the header compilable?
24799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24801 cat >conftest.
$ac_ext <<_ACEOF
24804 cat confdefs.h
>>conftest.
$ac_ext
24805 cat >>conftest.
$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24807 $ac_includes_default
24808 #include <$ac_header>
24810 rm -f conftest.
$ac_objext
24811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24812 (eval $ac_compile) 2>conftest.er1
24814 grep -v '^ *+' conftest.er1
>conftest.err
24816 cat conftest.err
>&5
24817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818 (exit $ac_status); } &&
24819 { ac_try
='test -z "$ac_c_werror_flag"
24820 || test ! -s conftest.err'
24821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24822 (eval $ac_try) 2>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); }; } &&
24826 { ac_try
='test -s conftest.$ac_objext'
24827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24828 (eval $ac_try) 2>&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); }; }; then
24832 ac_header_compiler
=yes
24834 echo "$as_me: failed program was:" >&5
24835 sed 's/^/| /' conftest.
$ac_ext >&5
24837 ac_header_compiler
=no
24839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24841 echo "${ECHO_T}$ac_header_compiler" >&6
24843 # Is the header present?
24844 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24846 cat >conftest.
$ac_ext <<_ACEOF
24849 cat confdefs.h
>>conftest.
$ac_ext
24850 cat >>conftest.
$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852 #include <$ac_header>
24854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24857 grep -v '^ *+' conftest.er1
>conftest.err
24859 cat conftest.err
>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } >/dev
/null
; then
24862 if test -s conftest.err
; then
24863 ac_cpp_err
=$ac_c_preproc_warn_flag
24864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24871 if test -z "$ac_cpp_err"; then
24872 ac_header_preproc
=yes
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24877 ac_header_preproc
=no
24879 rm -f conftest.err conftest.
$ac_ext
24880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24881 echo "${ECHO_T}$ac_header_preproc" >&6
24883 # So? What about this header?
24884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24886 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24887 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24889 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24890 ac_header_preproc
=yes
24893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24897 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24898 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24899 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24900 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24903 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24904 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24907 ## -------------------------------- ##
24908 ## Report this to classpath@gnu.org ##
24909 ## -------------------------------- ##
24912 sed "s/^/$as_me: WARNING: /" >&2
24915 echo "$as_me:$LINENO: checking for $ac_header" >&5
24916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24918 echo $ECHO_N "(cached) $ECHO_C" >&6
24920 eval "$as_ac_Header=\$ac_header_preproc"
24922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24927 cat >>confdefs.h
<<_ACEOF
24928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24941 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
24944 # Check whether --with-javah or --without-javah was given.
24945 if test "${with_javah+set}" = set; then
24946 withval
="$with_javah"
24948 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24950 if test "x${withval}" != x
; then
24951 if test -f "${withval}"; then
24952 USER_JAVAH
="${withval}"
24954 # Extract the first word of ""${withval}"", so it can be a program name with args.
24955 set dummy
"${withval}"; ac_word
=$2
24956 echo "$as_me:$LINENO: checking for $ac_word" >&5
24957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24958 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 case $USER_JAVAH in
24963 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
24966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24967 for as_dir
in $PATH
24970 test -z "$as_dir" && as_dir
=.
24971 for ac_exec_ext
in '' $ac_executable_extensions; do
24972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24973 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
24974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24983 USER_JAVAH
=$ac_cv_path_USER_JAVAH
24985 if test -n "$USER_JAVAH"; then
24986 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
24987 echo "${ECHO_T}$USER_JAVAH" >&6
24989 echo "$as_me:$LINENO: result: no" >&5
24990 echo "${ECHO_T}no" >&6
24995 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
24997 # Extract the first word of "$ac_prog", so it can be a program name with args.
24998 set dummy
$ac_prog; ac_word
=$2
24999 echo "$as_me:$LINENO: checking for $ac_word" >&5
25000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25001 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 case $USER_JAVAH in
25006 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25010 for as_dir
in $PATH
25013 test -z "$as_dir" && as_dir
=.
25014 for ac_exec_ext
in '' $ac_executable_extensions; do
25015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25016 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25026 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25028 if test -n "$USER_JAVAH"; then
25029 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25030 echo "${ECHO_T}$USER_JAVAH" >&6
25032 echo "$as_me:$LINENO: result: no" >&5
25033 echo "${ECHO_T}no" >&6
25036 test -n "$USER_JAVAH" && break
25041 if test "x${USER_JAVAH}" = x
; then
25042 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25043 echo "$as_me: error: can not find javah" >&2;}
25044 { (exit 1); exit 1; }; }
25049 if test "x" != x
; then
25050 if test -f ""; then
25053 # Extract the first word of """", so it can be a program name with args.
25054 set dummy
""; ac_word
=$2
25055 echo "$as_me:$LINENO: checking for $ac_word" >&5
25056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25057 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 case $USER_JAVAH in
25062 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25066 for as_dir
in $PATH
25069 test -z "$as_dir" && as_dir
=.
25070 for ac_exec_ext
in '' $ac_executable_extensions; do
25071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25072 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25082 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25084 if test -n "$USER_JAVAH"; then
25085 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25086 echo "${ECHO_T}$USER_JAVAH" >&6
25088 echo "$as_me:$LINENO: result: no" >&5
25089 echo "${ECHO_T}no" >&6
25094 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
25096 # Extract the first word of "$ac_prog", so it can be a program name with args.
25097 set dummy
$ac_prog; ac_word
=$2
25098 echo "$as_me:$LINENO: checking for $ac_word" >&5
25099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25100 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 case $USER_JAVAH in
25105 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25109 for as_dir
in $PATH
25112 test -z "$as_dir" && as_dir
=.
25113 for ac_exec_ext
in '' $ac_executable_extensions; do
25114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25115 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25125 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25127 if test -n "$USER_JAVAH"; then
25128 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25129 echo "${ECHO_T}$USER_JAVAH" >&6
25131 echo "$as_me:$LINENO: result: no" >&5
25132 echo "${ECHO_T}no" >&6
25135 test -n "$USER_JAVAH" && break
25140 if test "x${USER_JAVAH}" = x
; then
25141 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25142 echo "$as_me: error: can not find javah" >&2;}
25143 { (exit 1); exit 1; }; }
25151 if test "x" != x
; then
25152 if test -f ""; then
25155 # Extract the first word of """", so it can be a program name with args.
25156 set dummy
""; ac_word
=$2
25157 echo "$as_me:$LINENO: checking for $ac_word" >&5
25158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25159 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 case $USER_JAVAH in
25164 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25168 for as_dir
in $PATH
25171 test -z "$as_dir" && as_dir
=.
25172 for ac_exec_ext
in '' $ac_executable_extensions; do
25173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25174 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25184 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25186 if test -n "$USER_JAVAH"; then
25187 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25188 echo "${ECHO_T}$USER_JAVAH" >&6
25190 echo "$as_me:$LINENO: result: no" >&5
25191 echo "${ECHO_T}no" >&6
25196 for ac_prog
in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
25198 # Extract the first word of "$ac_prog", so it can be a program name with args.
25199 set dummy
$ac_prog; ac_word
=$2
25200 echo "$as_me:$LINENO: checking for $ac_word" >&5
25201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25202 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
25203 echo $ECHO_N "(cached) $ECHO_C" >&6
25205 case $USER_JAVAH in
25207 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
25210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25211 for as_dir
in $PATH
25214 test -z "$as_dir" && as_dir
=.
25215 for ac_exec_ext
in '' $ac_executable_extensions; do
25216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25217 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
25218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25227 USER_JAVAH
=$ac_cv_path_USER_JAVAH
25229 if test -n "$USER_JAVAH"; then
25230 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
25231 echo "${ECHO_T}$USER_JAVAH" >&6
25233 echo "$as_me:$LINENO: result: no" >&5
25234 echo "${ECHO_T}no" >&6
25237 test -n "$USER_JAVAH" && break
25242 if test "x${USER_JAVAH}" = x
; then
25243 { { echo "$as_me:$LINENO: error: can not find javah" >&5
25244 echo "$as_me: error: can not find javah" >&2;}
25245 { (exit 1); exit 1; }; }
25254 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
25257 if test "x${COMPILE_JNI}" = xyes
; then
25258 echo "$as_me:$LINENO: checking jni_md.h support" >&5
25259 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
25260 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
25261 echo "$as_me:$LINENO: result: yes" >&5
25262 echo "${ECHO_T}yes" >&6
25265 target_os
=linux-gnu
25266 { echo "$as_me:$LINENO: WARNING: no" >&5
25267 echo "$as_me: WARNING: no" >&2;}
25269 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
25270 ac_dests
="include/jni_md.h"
25271 while test -n "$ac_sources"; do
25272 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
25273 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
25274 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
25276 ac_config_links
="$ac_config_links $ac_config_links_1"
25282 # Check whether --with-vm-classes or --without-vm-classes was given.
25283 if test "${with_vm_classes+set}" = set; then
25284 withval
="$with_vm_classes"
25285 vm_classes
="$with_vm_classes"
25287 vm_classes
='${top_srcdir}/vm/reference'
25292 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25293 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25294 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25295 if test "${enable_maintainer_mode+set}" = set; then
25296 enableval
="$enable_maintainer_mode"
25297 USE_MAINTAINER_MODE
=$enableval
25299 USE_MAINTAINER_MODE
=no
25301 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25302 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25305 if test $USE_MAINTAINER_MODE = yes; then
25306 MAINTAINER_MODE_TRUE
=
25307 MAINTAINER_MODE_FALSE
='#'
25309 MAINTAINER_MODE_TRUE
='#'
25310 MAINTAINER_MODE_FALSE
=
25313 MAINT
=$MAINTAINER_MODE_TRUE
25317 # Check whether --enable-debug or --disable-debug was given.
25318 if test "${enable_debug+set}" = set; then
25319 enableval
="$enable_debug"
25320 case "${enableval}" in
25324 cat >>confdefs.h
<<\_ACEOF
25329 no
) LIBDEBUG
="false" ;;
25330 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25331 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25332 { (exit 1); exit 1; }; } ;;
25339 # Check whether --enable-load-library or --disable-load-library was given.
25340 if test "${enable_load_library+set}" = set; then
25341 enableval
="$enable_load_library"
25342 case "${enableval}" in
25343 yes) INIT_LOAD_LIBRARY
="true" ;;
25344 no
) INIT_LOAD_LIBRARY
="false" ;;
25345 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25346 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25347 { (exit 1); exit 1; }; } ;;
25350 INIT_LOAD_LIBRARY
="true"
25356 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25357 if test "${with_ecj_jar+set}" = set; then
25358 withval
="$with_ecj_jar"
25361 if test -f $multi_basedir/ecj.jar
; then
25362 ECJ_JAR
='$(jardir)/ecj.jar'
25367 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25368 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25369 enableval
="$enable_java_lang_system_explicit_initialization"
25370 case "${enableval}" in
25371 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
25372 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
25373 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25374 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25375 { (exit 1); exit 1; }; } ;;
25378 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
25386 # Extract the first word of "mkdir", so it can be a program name with args.
25387 set dummy mkdir
; ac_word
=$2
25388 echo "$as_me:$LINENO: checking for $ac_word" >&5
25389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25390 if test "${ac_cv_path_MKDIR+set}" = set; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
25398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25399 for as_dir
in $PATH
25402 test -z "$as_dir" && as_dir
=.
25403 for ac_exec_ext
in '' $ac_executable_extensions; do
25404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25405 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
25406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25415 MKDIR
=$ac_cv_path_MKDIR
25417 if test -n "$MKDIR"; then
25418 echo "$as_me:$LINENO: result: $MKDIR" >&5
25419 echo "${ECHO_T}$MKDIR" >&6
25421 echo "$as_me:$LINENO: result: no" >&5
25422 echo "${ECHO_T}no" >&6
25425 # Extract the first word of "cp", so it can be a program name with args.
25426 set dummy
cp; ac_word
=$2
25427 echo "$as_me:$LINENO: checking for $ac_word" >&5
25428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25429 if test "${ac_cv_path_CP+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
25437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25438 for as_dir
in $PATH
25441 test -z "$as_dir" && as_dir
=.
25442 for ac_exec_ext
in '' $ac_executable_extensions; do
25443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25444 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
25445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25456 if test -n "$CP"; then
25457 echo "$as_me:$LINENO: result: $CP" >&5
25458 echo "${ECHO_T}$CP" >&6
25460 echo "$as_me:$LINENO: result: no" >&5
25461 echo "${ECHO_T}no" >&6
25464 # Extract the first word of "date", so it can be a program name with args.
25465 set dummy
date; ac_word
=$2
25466 echo "$as_me:$LINENO: checking for $ac_word" >&5
25467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25468 if test "${ac_cv_path_DATE+set}" = set; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
25476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25477 for as_dir
in $PATH
25480 test -z "$as_dir" && as_dir
=.
25481 for ac_exec_ext
in '' $ac_executable_extensions; do
25482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25483 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
25484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25493 DATE
=$ac_cv_path_DATE
25495 if test -n "$DATE"; then
25496 echo "$as_me:$LINENO: result: $DATE" >&5
25497 echo "${ECHO_T}$DATE" >&6
25499 echo "$as_me:$LINENO: result: no" >&5
25500 echo "${ECHO_T}no" >&6
25504 # Extract the first word of "find", so it can be a program name with args.
25505 set dummy
find; ac_word
=$2
25506 echo "$as_me:$LINENO: checking for $ac_word" >&5
25507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25508 if test "${ac_cv_path_FIND+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
25516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25517 for as_dir
in $PATH
25520 test -z "$as_dir" && as_dir
=.
25521 for ac_exec_ext
in '' $ac_executable_extensions; do
25522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25523 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
25524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25533 FIND
=$ac_cv_path_FIND
25535 if test -n "$FIND"; then
25536 echo "$as_me:$LINENO: result: $FIND" >&5
25537 echo "${ECHO_T}$FIND" >&6
25539 echo "$as_me:$LINENO: result: no" >&5
25540 echo "${ECHO_T}no" >&6
25545 # Extract the first word of "zip", so it can be a program name with args.
25546 set dummy
zip; ac_word
=$2
25547 echo "$as_me:$LINENO: checking for $ac_word" >&5
25548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25549 if test "${ac_cv_path_ZIP+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25558 for as_dir
in $PATH
25561 test -z "$as_dir" && as_dir
=.
25562 for ac_exec_ext
in '' $ac_executable_extensions; do
25563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25564 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 ZIP
=$ac_cv_path_ZIP
25576 if test -n "$ZIP"; then
25577 echo "$as_me:$LINENO: result: $ZIP" >&5
25578 echo "${ECHO_T}$ZIP" >&6
25580 echo "$as_me:$LINENO: result: no" >&5
25581 echo "${ECHO_T}no" >&6
25585 echo "$as_me:$LINENO: checking for a jar-like tool" >&5
25586 echo $ECHO_N "checking for a jar-like tool... $ECHO_C" >&6
25588 # Check whether --with-jar or --without-jar was given.
25589 if test "${with_jar+set}" = set; then
25590 withval
="$with_jar"
25592 case "${withval}" in
25598 echo "$as_me:$LINENO: result: ${JAR}" >&5
25599 echo "${ECHO_T}${JAR}" >&6
25602 if test -f "${withval}"; then
25604 echo "$as_me:$LINENO: result: ${JAR}" >&5
25605 echo "${ECHO_T}${JAR}" >&6
25607 echo "$as_me:$LINENO: result: not found" >&5
25608 echo "${ECHO_T}not found" >&6
25609 { { echo "$as_me:$LINENO: error: The jar tool ${withval} was not found." >&5
25610 echo "$as_me: error: The jar tool ${withval} was not found." >&2;}
25611 { (exit 1); exit 1; }; }
25621 if test x
"${JAR}" = "xyes"; then
25622 echo "$as_me:$LINENO: result: trying fastjar, gjar and jar" >&5
25623 echo "${ECHO_T}trying fastjar, gjar and jar" >&6
25624 for ac_prog
in fastjar gjar jar
25626 # Extract the first word of "$ac_prog", so it can be a program name with args.
25627 set dummy
$ac_prog; ac_word
=$2
25628 echo "$as_me:$LINENO: checking for $ac_word" >&5
25629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25630 if test "${ac_cv_path_JAR+set}" = set; then
25631 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 ac_cv_path_JAR
="$JAR" # Let the user override the test with a path.
25638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25639 for as_dir
in $PATH
25642 test -z "$as_dir" && as_dir
=.
25643 for ac_exec_ext
in '' $ac_executable_extensions; do
25644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25645 ac_cv_path_JAR
="$as_dir/$ac_word$ac_exec_ext"
25646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25655 JAR
=$ac_cv_path_JAR
25657 if test -n "$JAR"; then
25658 echo "$as_me:$LINENO: result: $JAR" >&5
25659 echo "${ECHO_T}$JAR" >&6
25661 echo "$as_me:$LINENO: result: no" >&5
25662 echo "${ECHO_T}no" >&6
25665 test -n "$JAR" && break
25668 if test x
"${RHINO_JAR}" = "xyes"; then
25669 echo "$as_me:$LINENO: result: not found" >&5
25670 echo "${ECHO_T}not found" >&6
25673 if test x
"${JAR}" = "xno" && test x
"${ZIP}" = ""; then
25674 { { echo "$as_me:$LINENO: error: No zip or jar tool found." >&5
25675 echo "$as_me: error: No zip or jar tool found." >&2;}
25676 { (exit 1); exit 1; }; }
25680 if test x
"${JAR}" != "xno" && test x
"${JAR}" != "xyes"; then
25691 # Check whether --with-glibj or --without-glibj was given.
25692 if test "${with_glibj+set}" = set; then
25693 withval
="$with_glibj"
25695 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
25696 install_class_files
=no
25697 build_class_files
=yes
25699 elif test "x${withval}" = xboth
; then
25700 install_class_files
=yes
25701 build_class_files
=yes
25703 elif test "x${withval}" = xflat
; then
25704 install_class_files
=yes
25705 build_class_files
=yes
25707 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
25708 install_class_files
=no
25709 build_class_files
=no
25711 elif test "x${withval}" = xbuild
; then
25712 install_class_files
=no
25713 build_class_files
=yes
25716 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
25717 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
25718 { (exit 1); exit 1; }; }
25723 install_class_files
=no
25729 if test "x${use_zip}" = xyes
; then
25730 INSTALL_GLIBJ_ZIP_TRUE
=
25731 INSTALL_GLIBJ_ZIP_FALSE
='#'
25733 INSTALL_GLIBJ_ZIP_TRUE
='#'
25734 INSTALL_GLIBJ_ZIP_FALSE
=
25739 if test "x${install_class_files}" = xyes
; then
25740 INSTALL_CLASS_FILES_TRUE
=
25741 INSTALL_CLASS_FILES_FALSE
='#'
25743 INSTALL_CLASS_FILES_TRUE
='#'
25744 INSTALL_CLASS_FILES_FALSE
=
25749 if test "x${build_class_files}" = xyes
; then
25750 BUILD_CLASS_FILES_TRUE
=
25751 BUILD_CLASS_FILES_FALSE
='#'
25753 BUILD_CLASS_FILES_TRUE
='#'
25754 BUILD_CLASS_FILES_FALSE
=
25758 # Check whether --enable-examples or --disable-examples was given.
25759 if test "${enable_examples+set}" = set; then
25760 enableval
="$enable_examples"
25761 case "${enableval}" in
25762 yes) EXAMPLESDIR
="examples" ;;
25763 no
) EXAMPLESDIR
="" ;;
25764 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
25765 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
25766 { (exit 1); exit 1; }; } ;;
25769 EXAMPLESDIR
="examples"
25771 if test "x${build_class_files}" = xno
; then
25776 # Check whether --enable-tools or --disable-tools was given.
25777 if test "${enable_tools+set}" = set; then
25778 enableval
="$enable_tools"
25779 case "${enableval}" in
25780 yes) TOOLSDIR
="tools" ;;
25782 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tools" >&5
25783 echo "$as_me: error: bad value ${enableval} for --enable-tools" >&2;}
25784 { (exit 1); exit 1; }; } ;;
25789 if test "x${build_class_files}" = xno
; then
25797 # Check whether --with-gjdoc or --without-gjdoc was given.
25798 if test "${with_gjdoc+set}" = set; then
25799 withval
="$with_gjdoc"
25800 if test "x${withval}" = xno
; then
25802 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
25804 # Extract the first word of "gjdoc", so it can be a program name with args.
25805 set dummy gjdoc
; ac_word
=$2
25806 echo "$as_me:$LINENO: checking for $ac_word" >&5
25807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25808 if test "${ac_cv_path_GJDOC+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
25816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25817 for as_dir
in $PATH
25820 test -z "$as_dir" && as_dir
=.
25821 for ac_exec_ext
in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25830 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
25834 GJDOC
=$ac_cv_path_GJDOC
25836 if test -n "$GJDOC"; then
25837 echo "$as_me:$LINENO: result: $GJDOC" >&5
25838 echo "${ECHO_T}$GJDOC" >&6
25840 echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6
25844 if test "x${GJDOC}" = xno
; then
25845 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
25846 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
25847 { (exit 1); exit 1; }; };
25852 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
25853 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
25854 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
25855 if eval "test \"\${$as_ac_File+set}\" = set"; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 test "$cross_compiling" = yes &&
25859 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25860 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25861 { (exit 1); exit 1; }; }
25862 if test -r "${GJDOC}"; then
25863 eval "$as_ac_File=yes"
25865 eval "$as_ac_File=no"
25868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25869 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25870 if test `eval echo '${'$as_ac_File'}'` = yes; then
25873 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
25874 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
25875 { (exit 1); exit 1; }; }
25884 if test "x${WITH_GJDOC}" = xyes
; then
25885 CREATE_API_DOCS_TRUE
=
25886 CREATE_API_DOCS_FALSE
='#'
25888 CREATE_API_DOCS_TRUE
='#'
25889 CREATE_API_DOCS_FALSE
=
25892 if test "x${WITH_GJDOC}" = xyes
; then
25893 echo "$as_me:$LINENO: checking version of GJDoc" >&5
25894 echo $ECHO_N "checking version of GJDoc... $ECHO_C" >&6
25895 gjdoc_version
=$
(${GJDOC} --version|cut
-d ' ' -f2)
25896 echo "$as_me:$LINENO: result: ${gjdoc_version}" >&5
25897 echo "${ECHO_T}${gjdoc_version}" >&6
25898 case ${gjdoc_version} in
25901 *) { { echo "$as_me:$LINENO: error: Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." >&5
25902 echo "$as_me: error: Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." >&2;}
25903 { (exit 1); exit 1; }; } ;;
25910 # Check whether --with-jay or --without-jay was given.
25911 if test "${with_jay+set}" = set; then
25912 withval
="$with_jay"
25914 echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
25915 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6
25918 if test "x${withval}" = xno
; then
25919 echo "$as_me:$LINENO: result: no" >&5
25920 echo "${ECHO_T}no" >&6
25921 elif test "x${withval}" = xyes
; then
25922 echo "$as_me:$LINENO: result: yes" >&5
25923 echo "${ECHO_T}yes" >&6
25924 JAY_DIR_PATH
="/usr/share/jay"
25925 elif test -d "${withval}"; then
25926 echo "$as_me:$LINENO: result: yes" >&5
25927 echo "${ECHO_T}yes" >&6
25928 JAY_DIR_PATH
="${withval}"
25929 elif test -f "${withval}"; then
25930 echo "$as_me:$LINENO: result: yes" >&5
25931 echo "${ECHO_T}yes" >&6
25932 JAY_DIR_PATH
=`dirname "${withval}"`
25935 { { echo "$as_me:$LINENO: error: jay not found at ${withval}" >&5
25936 echo "$as_me: error: jay not found at ${withval}" >&2;}
25937 { (exit 1); exit 1; }; }
25940 if test "x${JAY_DIR_PATH}" != x
; then
25941 # Extract the first word of "jay", so it can be a program name with args.
25942 set dummy jay
; ac_word
=$2
25943 echo "$as_me:$LINENO: checking for $ac_word" >&5
25944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25945 if test "${ac_cv_path_JAY+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
25953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25954 as_dummy
="${JAY_DIR_PATH}:${PATH}"
25955 for as_dir
in $as_dummy
25958 test -z "$as_dir" && as_dir
=.
25959 for ac_exec_ext
in '' $ac_executable_extensions; do
25960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25961 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
25962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25968 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
25972 JAY
=$ac_cv_path_JAY
25974 if test -n "$JAY"; then
25975 echo "$as_me:$LINENO: result: $JAY" >&5
25976 echo "${ECHO_T}$JAY" >&6
25978 echo "$as_me:$LINENO: result: no" >&5
25979 echo "${ECHO_T}no" >&6
25982 if test "x${JAY}" = xno
; then
25983 { { echo "$as_me:$LINENO: error: jay executable not found" >&5
25984 echo "$as_me: error: jay executable not found" >&2;}
25985 { (exit 1); exit 1; }; };
25987 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
25988 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
25989 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
25990 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
25991 if eval "test \"\${$as_ac_File+set}\" = set"; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 test "$cross_compiling" = yes &&
25995 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25996 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25997 { (exit 1); exit 1; }; }
25998 if test -r "${JAY_SKELETON}"; then
25999 eval "$as_ac_File=yes"
26001 eval "$as_ac_File=no"
26004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26005 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26006 if test `eval echo '${'$as_ac_File'}'` = yes; then
26009 { { echo "$as_me:$LINENO: error: Expected skeleton file in ${JAY_DIR_PATH}" >&5
26010 echo "$as_me: error: Expected skeleton file in ${JAY_DIR_PATH}" >&2;}
26011 { (exit 1); exit 1; }; }
26019 echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5
26020 echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6
26021 echo "$as_me:$LINENO: result: no" >&5
26022 echo "${ECHO_T}no" >&6
26028 if test "x${JAY_FOUND}" = xyes
; then
26029 REGEN_PARSERS_TRUE
=
26030 REGEN_PARSERS_FALSE
='#'
26032 REGEN_PARSERS_TRUE
='#'
26033 REGEN_PARSERS_FALSE
=
26038 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
26039 if test "${enable_portable_native_sync+set}" = set; then
26040 enableval
="$enable_portable_native_sync"
26041 case "${enableval}" in
26044 cat >>confdefs.h
<<\_ACEOF
26045 #define PORTABLE_NATIVE_SYNC 1
26051 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
26052 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
26053 { (exit 1); exit 1; }; }
26058 # ------ AX CREATE STDINT H -------------------------------------
26059 echo "$as_me:$LINENO: checking for stdint types" >&5
26060 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
26061 ac_stdint_h
=`echo include/config-int.h`
26062 # try to shortcircuit - if the default include path of the compiler
26063 # can find a "stdint.h" header then we assume that all compilers can.
26064 if test "${ac_cv_header_stdint_t+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
26069 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
26070 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
26071 cat >conftest.
$ac_ext <<_ACEOF
26074 cat confdefs.h
>>conftest.
$ac_ext
26075 cat >>conftest.
$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077 #include <stdint.h>
26081 int_least32_t v = 0;
26086 rm -f conftest.
$ac_objext
26087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26088 (eval $ac_compile) 2>conftest.er1
26090 grep -v '^ *+' conftest.er1
>conftest.err
26092 cat conftest.err
>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } &&
26095 { ac_try
='test -z "$ac_c_werror_flag"
26096 || test ! -s conftest.err'
26097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098 (eval $ac_try) 2>&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); }; } &&
26102 { ac_try
='test -s conftest.$ac_objext'
26103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104 (eval $ac_try) 2>&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); }; }; then
26108 ac_cv_stdint_result
="(assuming C99 compatible system)"
26109 ac_cv_header_stdint_t
="stdint.h";
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.
$ac_ext >&5
26114 ac_cv_header_stdint_t
=""
26116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26117 CXXFLAGS
="$old_CXXFLAGS"
26118 CPPFLAGS
="$old_CPPFLAGS"
26119 CFLAGS
="$old_CFLAGS"
26123 v
="... $ac_cv_header_stdint_h"
26124 if test "$ac_stdint_h" = "stdint.h" ; then
26125 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
26126 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
26127 elif test "$ac_stdint_h" = "inttypes.h" ; then
26128 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
26129 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
26130 elif test "_$ac_cv_header_stdint_t" = "_" ; then
26131 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
26132 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
26134 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
26135 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
26136 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
26139 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
26142 inttype_headers
=`echo | sed -e 's/,/ /g'`
26144 ac_cv_stdint_result
="(no helpful system typedefs seen)"
26146 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26147 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26148 if test "${ac_cv_header_stdint_x+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26152 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
26153 echo "$as_me:$LINENO: result: (..)" >&5
26154 echo "${ECHO_T}(..)" >&6
26155 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26156 unset ac_cv_type_uintptr_t
26157 unset ac_cv_type_uint64_t
26158 echo "$as_me:$LINENO: checking for uintptr_t" >&5
26159 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
26160 if test "${ac_cv_type_uintptr_t+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 cat >conftest.
$ac_ext <<_ACEOF
26166 cat confdefs.h
>>conftest.
$ac_ext
26167 cat >>conftest.
$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26174 if ((uintptr_t *) 0)
26176 if (sizeof (uintptr_t))
26182 rm -f conftest.
$ac_objext
26183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26184 (eval $ac_compile) 2>conftest.er1
26186 grep -v '^ *+' conftest.er1
>conftest.err
26188 cat conftest.err
>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } &&
26191 { ac_try
='test -z "$ac_c_werror_flag"
26192 || test ! -s conftest.err'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; } &&
26198 { ac_try
='test -s conftest.$ac_objext'
26199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26200 (eval $ac_try) 2>&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); }; }; then
26204 ac_cv_type_uintptr_t
=yes
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.
$ac_ext >&5
26209 ac_cv_type_uintptr_t
=no
26211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26213 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26214 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26215 if test $ac_cv_type_uintptr_t = yes; then
26216 ac_cv_header_stdint_x
=$i
26221 echo "$as_me:$LINENO: checking for uint64_t" >&5
26222 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26223 if test "${ac_cv_type_uint64_t+set}" = set; then
26224 echo $ECHO_N "(cached) $ECHO_C" >&6
26226 cat >conftest.
$ac_ext <<_ACEOF
26229 cat confdefs.h
>>conftest.
$ac_ext
26230 cat >>conftest.
$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26237 if ((uint64_t *) 0)
26239 if (sizeof (uint64_t))
26245 rm -f conftest.
$ac_objext
26246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26247 (eval $ac_compile) 2>conftest.er1
26249 grep -v '^ *+' conftest.er1
>conftest.err
26251 cat conftest.err
>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try
='test -z "$ac_c_werror_flag"
26255 || test ! -s conftest.err'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; } &&
26261 { ac_try
='test -s conftest.$ac_objext'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; }; then
26267 ac_cv_type_uint64_t
=yes
26269 echo "$as_me: failed program was:" >&5
26270 sed 's/^/| /' conftest.
$ac_ext >&5
26272 ac_cv_type_uint64_t
=no
26274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26276 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26277 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26278 if test $ac_cv_type_uint64_t = yes; then
26284 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
26287 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26288 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26291 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26292 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26295 if test "_$ac_cv_header_stdint_x" = "_" ; then
26297 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26298 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26299 if test "${ac_cv_header_stdint_o+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
26304 echo "$as_me:$LINENO: result: (..)" >&5
26305 echo "${ECHO_T}(..)" >&6
26306 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
26307 unset ac_cv_type_uint32_t
26308 unset ac_cv_type_uint64_t
26309 echo "$as_me:$LINENO: checking for uint32_t" >&5
26310 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26311 if test "${ac_cv_type_uint32_t+set}" = set; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26314 cat >conftest.
$ac_ext <<_ACEOF
26317 cat confdefs.h
>>conftest.
$ac_ext
26318 cat >>conftest.
$ac_ext <<_ACEOF
26319 /* end confdefs.h. */
26325 if ((uint32_t *) 0)
26327 if (sizeof (uint32_t))
26333 rm -f conftest.
$ac_objext
26334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26335 (eval $ac_compile) 2>conftest.er1
26337 grep -v '^ *+' conftest.er1
>conftest.err
26339 cat conftest.err
>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } &&
26342 { ac_try
='test -z "$ac_c_werror_flag"
26343 || test ! -s conftest.err'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; } &&
26349 { ac_try
='test -s conftest.$ac_objext'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; }; then
26355 ac_cv_type_uint32_t
=yes
26357 echo "$as_me: failed program was:" >&5
26358 sed 's/^/| /' conftest.
$ac_ext >&5
26360 ac_cv_type_uint32_t
=no
26362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26364 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26365 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26366 if test $ac_cv_type_uint32_t = yes; then
26367 ac_cv_header_stdint_o
=$i
26372 echo "$as_me:$LINENO: checking for uint64_t" >&5
26373 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26374 if test "${ac_cv_type_uint64_t+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 cat >conftest.
$ac_ext <<_ACEOF
26380 cat confdefs.h
>>conftest.
$ac_ext
26381 cat >>conftest.
$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26388 if ((uint64_t *) 0)
26390 if (sizeof (uint64_t))
26396 rm -f conftest.
$ac_objext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26398 (eval $ac_compile) 2>conftest.er1
26400 grep -v '^ *+' conftest.er1
>conftest.err
26402 cat conftest.err
>&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try
='test -z "$ac_c_werror_flag"
26406 || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try
='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 ac_cv_type_uint64_t
=yes
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ac_cv_type_uint64_t
=no
26425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26427 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26428 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26429 if test $ac_cv_type_uint64_t = yes; then
26435 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
26439 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26440 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26443 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26444 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26448 if test "_$ac_cv_header_stdint_x" = "_" ; then
26449 if test "_$ac_cv_header_stdint_o" = "_" ; then
26451 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26452 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26453 if test "${ac_cv_header_stdint_u+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
26458 echo "$as_me:$LINENO: result: (..)" >&5
26459 echo "${ECHO_T}(..)" >&6
26460 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26461 unset ac_cv_type_u_int32_t
26462 unset ac_cv_type_u_int64_t
26463 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26464 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26465 if test "${ac_cv_type_u_int32_t+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 cat >conftest.
$ac_ext <<_ACEOF
26471 cat confdefs.h
>>conftest.
$ac_ext
26472 cat >>conftest.
$ac_ext <<_ACEOF
26473 /* end confdefs.h. */
26479 if ((u_int32_t *) 0)
26481 if (sizeof (u_int32_t))
26487 rm -f conftest.
$ac_objext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26489 (eval $ac_compile) 2>conftest.er1
26491 grep -v '^ *+' conftest.er1
>conftest.err
26493 cat conftest.err
>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try
='test -z "$ac_c_werror_flag"
26497 || test ! -s conftest.err'
26498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499 (eval $ac_try) 2>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); }; } &&
26503 { ac_try
='test -s conftest.$ac_objext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 ac_cv_type_u_int32_t
=yes
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.
$ac_ext >&5
26514 ac_cv_type_u_int32_t
=no
26516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26518 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26519 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26520 if test $ac_cv_type_u_int32_t = yes; then
26521 ac_cv_header_stdint_u
=$i
26526 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26527 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26528 if test "${ac_cv_type_u_int64_t+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 cat >conftest.
$ac_ext <<_ACEOF
26534 cat confdefs.h
>>conftest.
$ac_ext
26535 cat >>conftest.
$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26542 if ((u_int64_t *) 0)
26544 if (sizeof (u_int64_t))
26550 rm -f conftest.
$ac_objext
26551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26552 (eval $ac_compile) 2>conftest.er1
26554 grep -v '^ *+' conftest.er1
>conftest.err
26556 cat conftest.err
>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } &&
26559 { ac_try
='test -z "$ac_c_werror_flag"
26560 || test ! -s conftest.err'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; } &&
26566 { ac_try
='test -s conftest.$ac_objext'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; }; then
26572 ac_cv_type_u_int64_t
=yes
26574 echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.
$ac_ext >&5
26577 ac_cv_type_u_int64_t
=no
26579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26581 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26582 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26583 if test $ac_cv_type_u_int64_t = yes; then
26589 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
26593 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26594 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26597 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26598 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26602 if test "_$ac_cv_header_stdint_x" = "_" ; then
26603 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26604 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26605 echo "$as_me:$LINENO: result: (..)" >&5
26606 echo "${ECHO_T}(..)" >&6
26608 echo "$as_me:$LINENO: checking for char" >&5
26609 echo $ECHO_N "checking for char... $ECHO_C" >&6
26610 if test "${ac_cv_type_char+set}" = set; then
26611 echo $ECHO_N "(cached) $ECHO_C" >&6
26613 cat >conftest.
$ac_ext <<_ACEOF
26616 cat confdefs.h
>>conftest.
$ac_ext
26617 cat >>conftest.
$ac_ext <<_ACEOF
26618 /* end confdefs.h. */
26619 $ac_includes_default
26631 rm -f conftest.
$ac_objext
26632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26633 (eval $ac_compile) 2>conftest.er1
26635 grep -v '^ *+' conftest.er1
>conftest.err
26637 cat conftest.err
>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } &&
26640 { ac_try
='test -z "$ac_c_werror_flag"
26641 || test ! -s conftest.err'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; } &&
26647 { ac_try
='test -s conftest.$ac_objext'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; }; then
26653 ac_cv_type_char
=yes
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.
$ac_ext >&5
26660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26662 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26663 echo "${ECHO_T}$ac_cv_type_char" >&6
26665 echo "$as_me:$LINENO: checking size of char" >&5
26666 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26667 if test "${ac_cv_sizeof_char+set}" = set; then
26668 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 if test "$ac_cv_type_char" = yes; then
26671 # The cast to unsigned long works around a bug in the HP C Compiler
26672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26674 # This bug is HP SR number 8606223364.
26675 if test "$cross_compiling" = yes; then
26676 # Depending upon the size, compute the lo and hi bounds.
26677 cat >conftest.
$ac_ext <<_ACEOF
26680 cat confdefs.h
>>conftest.
$ac_ext
26681 cat >>conftest.
$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26683 $ac_includes_default
26687 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
26694 rm -f conftest.
$ac_objext
26695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26696 (eval $ac_compile) 2>conftest.er1
26698 grep -v '^ *+' conftest.er1
>conftest.err
26700 cat conftest.err
>&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } &&
26703 { ac_try
='test -z "$ac_c_werror_flag"
26704 || test ! -s conftest.err'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; } &&
26710 { ac_try
='test -s conftest.$ac_objext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26718 cat >conftest.
$ac_ext <<_ACEOF
26721 cat confdefs.h
>>conftest.
$ac_ext
26722 cat >>conftest.
$ac_ext <<_ACEOF
26723 /* end confdefs.h. */
26724 $ac_includes_default
26728 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26735 rm -f conftest.
$ac_objext
26736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26737 (eval $ac_compile) 2>conftest.er1
26739 grep -v '^ *+' conftest.er1
>conftest.err
26741 cat conftest.err
>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } &&
26744 { ac_try
='test -z "$ac_c_werror_flag"
26745 || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try
='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_hi
=$ac_mid; break
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.
$ac_ext >&5
26762 ac_lo
=`expr $ac_mid + 1`
26763 if test $ac_lo -le $ac_mid; then
26767 ac_mid
=`expr 2 '*' $ac_mid + 1`
26769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26772 echo "$as_me: failed program was:" >&5
26773 sed 's/^/| /' conftest.
$ac_ext >&5
26775 cat >conftest.
$ac_ext <<_ACEOF
26778 cat confdefs.h
>>conftest.
$ac_ext
26779 cat >>conftest.
$ac_ext <<_ACEOF
26780 /* end confdefs.h. */
26781 $ac_includes_default
26785 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
26792 rm -f conftest.
$ac_objext
26793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26794 (eval $ac_compile) 2>conftest.er1
26796 grep -v '^ *+' conftest.er1
>conftest.err
26798 cat conftest.err
>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } &&
26801 { ac_try
='test -z "$ac_c_werror_flag"
26802 || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try
='test -s conftest.$ac_objext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
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))) >= $ac_mid)];
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
26855 ac_lo
=$ac_mid; break
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.
$ac_ext >&5
26860 ac_hi
=`expr '(' $ac_mid ')' - 1`
26861 if test $ac_mid -le $ac_hi; then
26865 ac_mid
=`expr 2 '*' $ac_mid`
26867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.
$ac_ext >&5
26875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26878 # Binary search between lo and hi bounds.
26879 while test "x$ac_lo" != "x$ac_hi"; do
26880 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26881 cat >conftest.
$ac_ext <<_ACEOF
26884 cat confdefs.h
>>conftest.
$ac_ext
26885 cat >>conftest.
$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 $ac_includes_default
26891 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26898 rm -f conftest.
$ac_objext
26899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26900 (eval $ac_compile) 2>conftest.er1
26902 grep -v '^ *+' conftest.er1
>conftest.err
26904 cat conftest.err
>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try
='test -z "$ac_c_werror_flag"
26908 || test ! -s conftest.err'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; } &&
26914 { ac_try
='test -s conftest.$ac_objext'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; }; then
26922 echo "$as_me: failed program was:" >&5
26923 sed 's/^/| /' conftest.
$ac_ext >&5
26925 ac_lo
=`expr '(' $ac_mid ')' + 1`
26927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26930 ?
*) ac_cv_sizeof_char
=$ac_lo;;
26931 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26932 echo "$as_me: error: in \`$ac_pwd':" >&2;}
26933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26934 See \`config.log' for more details." >&5
26935 echo "$as_me: error: cannot compute sizeof (char), 77
26936 See \`config.log' for more details." >&2;}
26937 { (exit 1); exit 1; }; }; } ;;
26940 if test "$cross_compiling" = yes; then
26941 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26942 echo "$as_me: error: in \`$ac_pwd':" >&2;}
26943 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26944 See \`config.log' for more details." >&5
26945 echo "$as_me: error: cannot run test program while cross compiling
26946 See \`config.log' for more details." >&2;}
26947 { (exit 1); exit 1; }; }; }
26949 cat >conftest.
$ac_ext <<_ACEOF
26952 cat confdefs.h
>>conftest.
$ac_ext
26953 cat >>conftest.
$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26955 $ac_includes_default
26956 long longval () { return (long) (sizeof (char)); }
26957 unsigned long ulongval () { return (long) (sizeof (char)); }
26959 #include <stdlib.h>
26964 FILE *f = fopen ("conftest.val", "w");
26967 if (((long) (sizeof (char))) < 0)
26969 long i = longval ();
26970 if (i != ((long) (sizeof (char))))
26972 fprintf (f, "%ld\n", i);
26976 unsigned long i = ulongval ();
26977 if (i != ((long) (sizeof (char))))
26979 fprintf (f, "%lu\n", i);
26981 exit (ferror (f) || fclose (f) != 0);
26987 rm -f conftest
$ac_exeext
26988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26989 (eval $ac_link) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26994 (eval $ac_try) 2>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); }; }; then
26998 ac_cv_sizeof_char
=`cat conftest.val`
27000 echo "$as_me: program exited with status $ac_status" >&5
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 ( exit $ac_status )
27005 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27006 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27008 See \`config.log' for more details." >&5
27009 echo "$as_me: error: cannot compute sizeof (char), 77
27010 See \`config.log' for more details." >&2;}
27011 { (exit 1); exit 1; }; }; }
27013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27018 ac_cv_sizeof_char
=0
27021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
27022 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
27023 cat >>confdefs.h
<<_ACEOF
27024 #define SIZEOF_CHAR $ac_cv_sizeof_char
27028 echo "$as_me:$LINENO: checking for short" >&5
27029 echo $ECHO_N "checking for short... $ECHO_C" >&6
27030 if test "${ac_cv_type_short+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27033 cat >conftest.
$ac_ext <<_ACEOF
27036 cat confdefs.h
>>conftest.
$ac_ext
27037 cat >>conftest.
$ac_ext <<_ACEOF
27038 /* end confdefs.h. */
27039 $ac_includes_default
27045 if (sizeof (short))
27051 rm -f conftest.
$ac_objext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27053 (eval $ac_compile) 2>conftest.er1
27055 grep -v '^ *+' conftest.er1
>conftest.err
27057 cat conftest.err
>&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); } &&
27060 { ac_try
='test -z "$ac_c_werror_flag"
27061 || test ! -s conftest.err'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; } &&
27067 { ac_try
='test -s conftest.$ac_objext'
27068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069 (eval $ac_try) 2>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); }; }; then
27073 ac_cv_type_short
=yes
27075 echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.
$ac_ext >&5
27078 ac_cv_type_short
=no
27080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27082 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
27083 echo "${ECHO_T}$ac_cv_type_short" >&6
27085 echo "$as_me:$LINENO: checking size of short" >&5
27086 echo $ECHO_N "checking size of short... $ECHO_C" >&6
27087 if test "${ac_cv_sizeof_short+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 if test "$ac_cv_type_short" = yes; then
27091 # The cast to unsigned long works around a bug in the HP C Compiler
27092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27094 # This bug is HP SR number 8606223364.
27095 if test "$cross_compiling" = yes; then
27096 # Depending upon the size, compute the lo and hi bounds.
27097 cat >conftest.
$ac_ext <<_ACEOF
27100 cat confdefs.h
>>conftest.
$ac_ext
27101 cat >>conftest.
$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27103 $ac_includes_default
27107 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
27114 rm -f conftest.
$ac_objext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27116 (eval $ac_compile) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try
='test -z "$ac_c_werror_flag"
27124 || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try
='test -s conftest.$ac_objext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27138 cat >conftest.
$ac_ext <<_ACEOF
27141 cat confdefs.h
>>conftest.
$ac_ext
27142 cat >>conftest.
$ac_ext <<_ACEOF
27143 /* end confdefs.h. */
27144 $ac_includes_default
27148 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27155 rm -f conftest.
$ac_objext
27156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27157 (eval $ac_compile) 2>conftest.er1
27159 grep -v '^ *+' conftest.er1
>conftest.err
27161 cat conftest.err
>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); } &&
27164 { ac_try
='test -z "$ac_c_werror_flag"
27165 || test ! -s conftest.err'
27166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27167 (eval $ac_try) 2>&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); }; } &&
27171 { ac_try
='test -s conftest.$ac_objext'
27172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27173 (eval $ac_try) 2>&5
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); }; }; then
27177 ac_hi
=$ac_mid; break
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.
$ac_ext >&5
27182 ac_lo
=`expr $ac_mid + 1`
27183 if test $ac_lo -le $ac_mid; then
27187 ac_mid
=`expr 2 '*' $ac_mid + 1`
27189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.
$ac_ext >&5
27195 cat >conftest.
$ac_ext <<_ACEOF
27198 cat confdefs.h
>>conftest.
$ac_ext
27199 cat >>conftest.
$ac_ext <<_ACEOF
27200 /* end confdefs.h. */
27201 $ac_includes_default
27205 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27212 rm -f conftest.
$ac_objext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27214 (eval $ac_compile) 2>conftest.er1
27216 grep -v '^ *+' conftest.er1
>conftest.err
27218 cat conftest.err
>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try
='test -z "$ac_c_werror_flag"
27222 || test ! -s conftest.err'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; } &&
27228 { ac_try
='test -s conftest.$ac_objext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
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))) >= $ac_mid)];
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
27275 ac_lo
=$ac_mid; break
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.
$ac_ext >&5
27280 ac_hi
=`expr '(' $ac_mid ')' - 1`
27281 if test $ac_mid -le $ac_hi; then
27285 ac_mid
=`expr 2 '*' $ac_mid`
27287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.
$ac_ext >&5
27295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27298 # Binary search between lo and hi bounds.
27299 while test "x$ac_lo" != "x$ac_hi"; do
27300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27301 cat >conftest.
$ac_ext <<_ACEOF
27304 cat confdefs.h
>>conftest.
$ac_ext
27305 cat >>conftest.
$ac_ext <<_ACEOF
27306 /* end confdefs.h. */
27307 $ac_includes_default
27311 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27318 rm -f conftest.
$ac_objext
27319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27320 (eval $ac_compile) 2>conftest.er1
27322 grep -v '^ *+' conftest.er1
>conftest.err
27324 cat conftest.err
>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } &&
27327 { ac_try
='test -z "$ac_c_werror_flag"
27328 || test ! -s conftest.err'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; } &&
27334 { ac_try
='test -s conftest.$ac_objext'
27335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27336 (eval $ac_try) 2>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); }; }; then
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.
$ac_ext >&5
27345 ac_lo
=`expr '(' $ac_mid ')' + 1`
27347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27350 ?
*) ac_cv_sizeof_short
=$ac_lo;;
27351 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27352 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27353 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27354 See \`config.log' for more details." >&5
27355 echo "$as_me: error: cannot compute sizeof (short), 77
27356 See \`config.log' for more details." >&2;}
27357 { (exit 1); exit 1; }; }; } ;;
27360 if test "$cross_compiling" = yes; then
27361 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27362 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27363 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27364 See \`config.log' for more details." >&5
27365 echo "$as_me: error: cannot run test program while cross compiling
27366 See \`config.log' for more details." >&2;}
27367 { (exit 1); exit 1; }; }; }
27369 cat >conftest.
$ac_ext <<_ACEOF
27372 cat confdefs.h
>>conftest.
$ac_ext
27373 cat >>conftest.
$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375 $ac_includes_default
27376 long longval () { return (long) (sizeof (short)); }
27377 unsigned long ulongval () { return (long) (sizeof (short)); }
27379 #include <stdlib.h>
27384 FILE *f = fopen ("conftest.val", "w");
27387 if (((long) (sizeof (short))) < 0)
27389 long i = longval ();
27390 if (i != ((long) (sizeof (short))))
27392 fprintf (f, "%ld\n", i);
27396 unsigned long i = ulongval ();
27397 if (i != ((long) (sizeof (short))))
27399 fprintf (f, "%lu\n", i);
27401 exit (ferror (f) || fclose (f) != 0);
27407 rm -f conftest
$ac_exeext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27409 (eval $ac_link) 2>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27414 (eval $ac_try) 2>&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); }; }; then
27418 ac_cv_sizeof_short
=`cat conftest.val`
27420 echo "$as_me: program exited with status $ac_status" >&5
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.
$ac_ext >&5
27424 ( exit $ac_status )
27425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27428 See \`config.log' for more details." >&5
27429 echo "$as_me: error: cannot compute sizeof (short), 77
27430 See \`config.log' for more details." >&2;}
27431 { (exit 1); exit 1; }; }; }
27433 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27438 ac_cv_sizeof_short
=0
27441 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27442 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27443 cat >>confdefs.h
<<_ACEOF
27444 #define SIZEOF_SHORT $ac_cv_sizeof_short
27448 echo "$as_me:$LINENO: checking for int" >&5
27449 echo $ECHO_N "checking for int... $ECHO_C" >&6
27450 if test "${ac_cv_type_int+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27453 cat >conftest.
$ac_ext <<_ACEOF
27456 cat confdefs.h
>>conftest.
$ac_ext
27457 cat >>conftest.
$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 $ac_includes_default
27471 rm -f conftest.
$ac_objext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27473 (eval $ac_compile) 2>conftest.er1
27475 grep -v '^ *+' conftest.er1
>conftest.err
27477 cat conftest.err
>&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } &&
27480 { ac_try
='test -z "$ac_c_werror_flag"
27481 || test ! -s conftest.err'
27482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483 (eval $ac_try) 2>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); }; } &&
27487 { ac_try
='test -s conftest.$ac_objext'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; }; then
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.
$ac_ext >&5
27500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27502 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27503 echo "${ECHO_T}$ac_cv_type_int" >&6
27505 echo "$as_me:$LINENO: checking size of int" >&5
27506 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27507 if test "${ac_cv_sizeof_int+set}" = set; then
27508 echo $ECHO_N "(cached) $ECHO_C" >&6
27510 if test "$ac_cv_type_int" = yes; then
27511 # The cast to unsigned long works around a bug in the HP C Compiler
27512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27514 # This bug is HP SR number 8606223364.
27515 if test "$cross_compiling" = yes; then
27516 # Depending upon the size, compute the lo and hi bounds.
27517 cat >conftest.
$ac_ext <<_ACEOF
27520 cat confdefs.h
>>conftest.
$ac_ext
27521 cat >>conftest.
$ac_ext <<_ACEOF
27522 /* end confdefs.h. */
27523 $ac_includes_default
27527 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27534 rm -f conftest.
$ac_objext
27535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27536 (eval $ac_compile) 2>conftest.er1
27538 grep -v '^ *+' conftest.er1
>conftest.err
27540 cat conftest.err
>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } &&
27543 { ac_try
='test -z "$ac_c_werror_flag"
27544 || test ! -s conftest.err'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try
='test -s conftest.$ac_objext'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27558 cat >conftest.
$ac_ext <<_ACEOF
27561 cat confdefs.h
>>conftest.
$ac_ext
27562 cat >>conftest.
$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27564 $ac_includes_default
27568 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27575 rm -f conftest.
$ac_objext
27576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27577 (eval $ac_compile) 2>conftest.er1
27579 grep -v '^ *+' conftest.er1
>conftest.err
27581 cat conftest.err
>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); } &&
27584 { ac_try
='test -z "$ac_c_werror_flag"
27585 || test ! -s conftest.err'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; } &&
27591 { ac_try
='test -s conftest.$ac_objext'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; }; then
27597 ac_hi
=$ac_mid; break
27599 echo "$as_me: failed program was:" >&5
27600 sed 's/^/| /' conftest.
$ac_ext >&5
27602 ac_lo
=`expr $ac_mid + 1`
27603 if test $ac_lo -le $ac_mid; then
27607 ac_mid
=`expr 2 '*' $ac_mid + 1`
27609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.
$ac_ext >&5
27615 cat >conftest.
$ac_ext <<_ACEOF
27618 cat confdefs.h
>>conftest.
$ac_ext
27619 cat >>conftest.
$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27621 $ac_includes_default
27625 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27632 rm -f conftest.
$ac_objext
27633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27634 (eval $ac_compile) 2>conftest.er1
27636 grep -v '^ *+' conftest.er1
>conftest.err
27638 cat conftest.err
>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } &&
27641 { ac_try
='test -z "$ac_c_werror_flag"
27642 || test ! -s conftest.err'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; } &&
27648 { ac_try
='test -s conftest.$ac_objext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
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))) >= $ac_mid)];
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
27695 ac_lo
=$ac_mid; break
27697 echo "$as_me: failed program was:" >&5
27698 sed 's/^/| /' conftest.
$ac_ext >&5
27700 ac_hi
=`expr '(' $ac_mid ')' - 1`
27701 if test $ac_mid -le $ac_hi; then
27705 ac_mid
=`expr 2 '*' $ac_mid`
27707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.
$ac_ext >&5
27715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27718 # Binary search between lo and hi bounds.
27719 while test "x$ac_lo" != "x$ac_hi"; do
27720 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27721 cat >conftest.
$ac_ext <<_ACEOF
27724 cat confdefs.h
>>conftest.
$ac_ext
27725 cat >>conftest.
$ac_ext <<_ACEOF
27726 /* end confdefs.h. */
27727 $ac_includes_default
27731 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27738 rm -f conftest.
$ac_objext
27739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27740 (eval $ac_compile) 2>conftest.er1
27742 grep -v '^ *+' conftest.er1
>conftest.err
27744 cat conftest.err
>&5
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); } &&
27747 { ac_try
='test -z "$ac_c_werror_flag"
27748 || test ! -s conftest.err'
27749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27750 (eval $ac_try) 2>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); }; } &&
27754 { ac_try
='test -s conftest.$ac_objext'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; }; then
27762 echo "$as_me: failed program was:" >&5
27763 sed 's/^/| /' conftest.
$ac_ext >&5
27765 ac_lo
=`expr '(' $ac_mid ')' + 1`
27767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27770 ?
*) ac_cv_sizeof_int
=$ac_lo;;
27771 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27772 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27774 See \`config.log' for more details." >&5
27775 echo "$as_me: error: cannot compute sizeof (int), 77
27776 See \`config.log' for more details." >&2;}
27777 { (exit 1); exit 1; }; }; } ;;
27780 if test "$cross_compiling" = yes; then
27781 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27782 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27783 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27784 See \`config.log' for more details." >&5
27785 echo "$as_me: error: cannot run test program while cross compiling
27786 See \`config.log' for more details." >&2;}
27787 { (exit 1); exit 1; }; }; }
27789 cat >conftest.
$ac_ext <<_ACEOF
27792 cat confdefs.h
>>conftest.
$ac_ext
27793 cat >>conftest.
$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27795 $ac_includes_default
27796 long longval () { return (long) (sizeof (int)); }
27797 unsigned long ulongval () { return (long) (sizeof (int)); }
27799 #include <stdlib.h>
27804 FILE *f = fopen ("conftest.val", "w");
27807 if (((long) (sizeof (int))) < 0)
27809 long i = longval ();
27810 if (i != ((long) (sizeof (int))))
27812 fprintf (f, "%ld\n", i);
27816 unsigned long i = ulongval ();
27817 if (i != ((long) (sizeof (int))))
27819 fprintf (f, "%lu\n", i);
27821 exit (ferror (f) || fclose (f) != 0);
27827 rm -f conftest
$ac_exeext
27828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27829 (eval $ac_link) 2>&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; }; then
27838 ac_cv_sizeof_int
=`cat conftest.val`
27840 echo "$as_me: program exited with status $ac_status" >&5
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.
$ac_ext >&5
27844 ( exit $ac_status )
27845 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27846 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27848 See \`config.log' for more details." >&5
27849 echo "$as_me: error: cannot compute sizeof (int), 77
27850 See \`config.log' for more details." >&2;}
27851 { (exit 1); exit 1; }; }; }
27853 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
27862 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
27863 cat >>confdefs.h
<<_ACEOF
27864 #define SIZEOF_INT $ac_cv_sizeof_int
27868 echo "$as_me:$LINENO: checking for long" >&5
27869 echo $ECHO_N "checking for long... $ECHO_C" >&6
27870 if test "${ac_cv_type_long+set}" = set; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 cat >conftest.
$ac_ext <<_ACEOF
27876 cat confdefs.h
>>conftest.
$ac_ext
27877 cat >>conftest.
$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879 $ac_includes_default
27891 rm -f conftest.
$ac_objext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27893 (eval $ac_compile) 2>conftest.er1
27895 grep -v '^ *+' conftest.er1
>conftest.err
27897 cat conftest.err
>&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try
='test -z "$ac_c_werror_flag"
27901 || test ! -s conftest.err'
27902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27903 (eval $ac_try) 2>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); }; } &&
27907 { ac_try
='test -s conftest.$ac_objext'
27908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27909 (eval $ac_try) 2>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); }; }; then
27913 ac_cv_type_long
=yes
27915 echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.
$ac_ext >&5
27920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27922 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
27923 echo "${ECHO_T}$ac_cv_type_long" >&6
27925 echo "$as_me:$LINENO: checking size of long" >&5
27926 echo $ECHO_N "checking size of long... $ECHO_C" >&6
27927 if test "${ac_cv_sizeof_long+set}" = set; then
27928 echo $ECHO_N "(cached) $ECHO_C" >&6
27930 if test "$ac_cv_type_long" = yes; then
27931 # The cast to unsigned long works around a bug in the HP C Compiler
27932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27934 # This bug is HP SR number 8606223364.
27935 if test "$cross_compiling" = yes; then
27936 # Depending upon the size, compute the lo and hi bounds.
27937 cat >conftest.
$ac_ext <<_ACEOF
27940 cat confdefs.h
>>conftest.
$ac_ext
27941 cat >>conftest.
$ac_ext <<_ACEOF
27942 /* end confdefs.h. */
27943 $ac_includes_default
27947 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
27954 rm -f conftest.
$ac_objext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27956 (eval $ac_compile) 2>conftest.er1
27958 grep -v '^ *+' conftest.er1
>conftest.err
27960 cat conftest.err
>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); } &&
27963 { ac_try
='test -z "$ac_c_werror_flag"
27964 || test ! -s conftest.err'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; } &&
27970 { ac_try
='test -s conftest.$ac_objext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27978 cat >conftest.
$ac_ext <<_ACEOF
27981 cat confdefs.h
>>conftest.
$ac_ext
27982 cat >>conftest.
$ac_ext <<_ACEOF
27983 /* end confdefs.h. */
27984 $ac_includes_default
27988 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27995 rm -f conftest.
$ac_objext
27996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27997 (eval $ac_compile) 2>conftest.er1
27999 grep -v '^ *+' conftest.er1
>conftest.err
28001 cat conftest.err
>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try
='test -z "$ac_c_werror_flag"
28005 || test ! -s conftest.err'
28006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28007 (eval $ac_try) 2>&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; } &&
28011 { ac_try
='test -s conftest.$ac_objext'
28012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28013 (eval $ac_try) 2>&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); }; }; then
28017 ac_hi
=$ac_mid; break
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.
$ac_ext >&5
28022 ac_lo
=`expr $ac_mid + 1`
28023 if test $ac_lo -le $ac_mid; then
28027 ac_mid
=`expr 2 '*' $ac_mid + 1`
28029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28032 echo "$as_me: failed program was:" >&5
28033 sed 's/^/| /' conftest.
$ac_ext >&5
28035 cat >conftest.
$ac_ext <<_ACEOF
28038 cat confdefs.h
>>conftest.
$ac_ext
28039 cat >>conftest.
$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041 $ac_includes_default
28045 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
28052 rm -f conftest.
$ac_objext
28053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28054 (eval $ac_compile) 2>conftest.er1
28056 grep -v '^ *+' conftest.er1
>conftest.err
28058 cat conftest.err
>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try
='test -z "$ac_c_werror_flag"
28062 || test ! -s conftest.err'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; } &&
28068 { ac_try
='test -s conftest.$ac_objext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
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))) >= $ac_mid)];
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
28115 ac_lo
=$ac_mid; break
28117 echo "$as_me: failed program was:" >&5
28118 sed 's/^/| /' conftest.
$ac_ext >&5
28120 ac_hi
=`expr '(' $ac_mid ')' - 1`
28121 if test $ac_mid -le $ac_hi; then
28125 ac_mid
=`expr 2 '*' $ac_mid`
28127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.
$ac_ext >&5
28135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28138 # Binary search between lo and hi bounds.
28139 while test "x$ac_lo" != "x$ac_hi"; do
28140 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28141 cat >conftest.
$ac_ext <<_ACEOF
28144 cat confdefs.h
>>conftest.
$ac_ext
28145 cat >>conftest.
$ac_ext <<_ACEOF
28146 /* end confdefs.h. */
28147 $ac_includes_default
28151 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28158 rm -f conftest.
$ac_objext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28160 (eval $ac_compile) 2>conftest.er1
28162 grep -v '^ *+' conftest.er1
>conftest.err
28164 cat conftest.err
>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } &&
28167 { ac_try
='test -z "$ac_c_werror_flag"
28168 || test ! -s conftest.err'
28169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170 (eval $ac_try) 2>&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); }; } &&
28174 { ac_try
='test -s conftest.$ac_objext'
28175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176 (eval $ac_try) 2>&5
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); }; }; then
28182 echo "$as_me: failed program was:" >&5
28183 sed 's/^/| /' conftest.
$ac_ext >&5
28185 ac_lo
=`expr '(' $ac_mid ')' + 1`
28187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28190 ?
*) ac_cv_sizeof_long
=$ac_lo;;
28191 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28192 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28194 See \`config.log' for more details." >&5
28195 echo "$as_me: error: cannot compute sizeof (long), 77
28196 See \`config.log' for more details." >&2;}
28197 { (exit 1); exit 1; }; }; } ;;
28200 if test "$cross_compiling" = yes; then
28201 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28202 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28203 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28204 See \`config.log' for more details." >&5
28205 echo "$as_me: error: cannot run test program while cross compiling
28206 See \`config.log' for more details." >&2;}
28207 { (exit 1); exit 1; }; }; }
28209 cat >conftest.
$ac_ext <<_ACEOF
28212 cat confdefs.h
>>conftest.
$ac_ext
28213 cat >>conftest.
$ac_ext <<_ACEOF
28214 /* end confdefs.h. */
28215 $ac_includes_default
28216 long longval () { return (long) (sizeof (long)); }
28217 unsigned long ulongval () { return (long) (sizeof (long)); }
28219 #include <stdlib.h>
28224 FILE *f = fopen ("conftest.val", "w");
28227 if (((long) (sizeof (long))) < 0)
28229 long i = longval ();
28230 if (i != ((long) (sizeof (long))))
28232 fprintf (f, "%ld\n", i);
28236 unsigned long i = ulongval ();
28237 if (i != ((long) (sizeof (long))))
28239 fprintf (f, "%lu\n", i);
28241 exit (ferror (f) || fclose (f) != 0);
28247 rm -f conftest
$ac_exeext
28248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28249 (eval $ac_link) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 ac_cv_sizeof_long
=`cat conftest.val`
28260 echo "$as_me: program exited with status $ac_status" >&5
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.
$ac_ext >&5
28264 ( exit $ac_status )
28265 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28266 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28267 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28268 See \`config.log' for more details." >&5
28269 echo "$as_me: error: cannot compute sizeof (long), 77
28270 See \`config.log' for more details." >&2;}
28271 { (exit 1); exit 1; }; }; }
28273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28278 ac_cv_sizeof_long
=0
28281 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28282 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28283 cat >>confdefs.h
<<_ACEOF
28284 #define SIZEOF_LONG $ac_cv_sizeof_long
28288 echo "$as_me:$LINENO: checking for void*" >&5
28289 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28290 if test "${ac_cv_type_voidp+set}" = set; then
28291 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 cat >conftest.
$ac_ext <<_ACEOF
28296 cat confdefs.h
>>conftest.
$ac_ext
28297 cat >>conftest.
$ac_ext <<_ACEOF
28298 /* end confdefs.h. */
28299 $ac_includes_default
28305 if (sizeof (void*))
28311 rm -f conftest.
$ac_objext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28313 (eval $ac_compile) 2>conftest.er1
28315 grep -v '^ *+' conftest.er1
>conftest.err
28317 cat conftest.err
>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } &&
28320 { ac_try
='test -z "$ac_c_werror_flag"
28321 || test ! -s conftest.err'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; } &&
28327 { ac_try
='test -s conftest.$ac_objext'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; }; then
28333 ac_cv_type_voidp
=yes
28335 echo "$as_me: failed program was:" >&5
28336 sed 's/^/| /' conftest.
$ac_ext >&5
28338 ac_cv_type_voidp
=no
28340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28342 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28343 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28345 echo "$as_me:$LINENO: checking size of void*" >&5
28346 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28347 if test "${ac_cv_sizeof_voidp+set}" = set; then
28348 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 if test "$ac_cv_type_voidp" = yes; then
28351 # The cast to unsigned long works around a bug in the HP C Compiler
28352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28354 # This bug is HP SR number 8606223364.
28355 if test "$cross_compiling" = yes; then
28356 # Depending upon the size, compute the lo and hi bounds.
28357 cat >conftest.
$ac_ext <<_ACEOF
28360 cat confdefs.h
>>conftest.
$ac_ext
28361 cat >>conftest.
$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363 $ac_includes_default
28367 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28374 rm -f conftest.
$ac_objext
28375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28376 (eval $ac_compile) 2>conftest.er1
28378 grep -v '^ *+' conftest.er1
>conftest.err
28380 cat conftest.err
>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try
='test -z "$ac_c_werror_flag"
28384 || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try
='test -s conftest.$ac_objext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28398 cat >conftest.
$ac_ext <<_ACEOF
28401 cat confdefs.h
>>conftest.
$ac_ext
28402 cat >>conftest.
$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28404 $ac_includes_default
28408 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28415 rm -f conftest.
$ac_objext
28416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28417 (eval $ac_compile) 2>conftest.er1
28419 grep -v '^ *+' conftest.er1
>conftest.err
28421 cat conftest.err
>&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } &&
28424 { ac_try
='test -z "$ac_c_werror_flag"
28425 || test ! -s conftest.err'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; } &&
28431 { ac_try
='test -s conftest.$ac_objext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 ac_hi
=$ac_mid; break
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.
$ac_ext >&5
28442 ac_lo
=`expr $ac_mid + 1`
28443 if test $ac_lo -le $ac_mid; then
28447 ac_mid
=`expr 2 '*' $ac_mid + 1`
28449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.
$ac_ext >&5
28455 cat >conftest.
$ac_ext <<_ACEOF
28458 cat confdefs.h
>>conftest.
$ac_ext
28459 cat >>conftest.
$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 $ac_includes_default
28465 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28472 rm -f conftest.
$ac_objext
28473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28474 (eval $ac_compile) 2>conftest.er1
28476 grep -v '^ *+' conftest.er1
>conftest.err
28478 cat conftest.err
>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); } &&
28481 { ac_try
='test -z "$ac_c_werror_flag"
28482 || test ! -s conftest.err'
28483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28484 (eval $ac_try) 2>&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); }; } &&
28488 { ac_try
='test -s conftest.$ac_objext'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; }; then
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*))) >= $ac_mid)];
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
28535 ac_lo
=$ac_mid; break
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.
$ac_ext >&5
28540 ac_hi
=`expr '(' $ac_mid ')' - 1`
28541 if test $ac_mid -le $ac_hi; then
28545 ac_mid
=`expr 2 '*' $ac_mid`
28547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.
$ac_ext >&5
28555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28558 # Binary search between lo and hi bounds.
28559 while test "x$ac_lo" != "x$ac_hi"; do
28560 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28561 cat >conftest.
$ac_ext <<_ACEOF
28564 cat confdefs.h
>>conftest.
$ac_ext
28565 cat >>conftest.
$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567 $ac_includes_default
28571 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28578 rm -f conftest.
$ac_objext
28579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28580 (eval $ac_compile) 2>conftest.er1
28582 grep -v '^ *+' conftest.er1
>conftest.err
28584 cat conftest.err
>&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } &&
28587 { ac_try
='test -z "$ac_c_werror_flag"
28588 || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try
='test -s conftest.$ac_objext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.
$ac_ext >&5
28605 ac_lo
=`expr '(' $ac_mid ')' + 1`
28607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28610 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
28611 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28612 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28614 See \`config.log' for more details." >&5
28615 echo "$as_me: error: cannot compute sizeof (void*), 77
28616 See \`config.log' for more details." >&2;}
28617 { (exit 1); exit 1; }; }; } ;;
28620 if test "$cross_compiling" = yes; then
28621 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28622 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28623 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28624 See \`config.log' for more details." >&5
28625 echo "$as_me: error: cannot run test program while cross compiling
28626 See \`config.log' for more details." >&2;}
28627 { (exit 1); exit 1; }; }; }
28629 cat >conftest.
$ac_ext <<_ACEOF
28632 cat confdefs.h
>>conftest.
$ac_ext
28633 cat >>conftest.
$ac_ext <<_ACEOF
28634 /* end confdefs.h. */
28635 $ac_includes_default
28636 long longval () { return (long) (sizeof (void*)); }
28637 unsigned long ulongval () { return (long) (sizeof (void*)); }
28639 #include <stdlib.h>
28644 FILE *f = fopen ("conftest.val", "w");
28647 if (((long) (sizeof (void*))) < 0)
28649 long i = longval ();
28650 if (i != ((long) (sizeof (void*))))
28652 fprintf (f, "%ld\n", i);
28656 unsigned long i = ulongval ();
28657 if (i != ((long) (sizeof (void*))))
28659 fprintf (f, "%lu\n", i);
28661 exit (ferror (f) || fclose (f) != 0);
28667 rm -f conftest
$ac_exeext
28668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28669 (eval $ac_link) 2>&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28674 (eval $ac_try) 2>&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); }; }; then
28678 ac_cv_sizeof_voidp
=`cat conftest.val`
28680 echo "$as_me: program exited with status $ac_status" >&5
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.
$ac_ext >&5
28684 ( exit $ac_status )
28685 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28686 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28688 See \`config.log' for more details." >&5
28689 echo "$as_me: error: cannot compute sizeof (void*), 77
28690 See \`config.log' for more details." >&2;}
28691 { (exit 1); exit 1; }; }; }
28693 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28698 ac_cv_sizeof_voidp
=0
28701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28702 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
28703 cat >>confdefs.h
<<_ACEOF
28704 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
28708 ac_cv_char_data_model
=""
28709 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
28710 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
28711 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
28712 ac_cv_long_data_model
=""
28713 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
28714 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
28715 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
28716 echo "$as_me:$LINENO: checking data model" >&5
28717 echo $ECHO_N "checking data model... $ECHO_C" >&6
28718 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
28719 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
28720 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
28721 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
28722 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
28723 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
28724 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
28725 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
28726 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
28727 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
28728 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
28729 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
28730 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
28731 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
28732 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
28733 222/*|
333/*|
444/*|
666/*|
888/*) :
28734 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
28735 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
28737 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
28738 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
28742 if test "_$ac_cv_header_stdint_x" != "_" ; then
28743 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
28744 elif test "_$ac_cv_header_stdint_o" != "_" ; then
28745 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
28746 elif test "_$ac_cv_header_stdint_u" != "_" ; then
28747 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
28749 ac_cv_header_stdint
="stddef.h"
28752 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
28753 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
28754 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
28755 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
28756 unset ac_cv_type_int_least32_t
28757 unset ac_cv_type_int_fast32_t
28758 echo "$as_me:$LINENO: checking for int_least32_t" >&5
28759 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
28760 if test "${ac_cv_type_int_least32_t+set}" = set; then
28761 echo $ECHO_N "(cached) $ECHO_C" >&6
28763 cat >conftest.
$ac_ext <<_ACEOF
28766 cat confdefs.h
>>conftest.
$ac_ext
28767 cat >>conftest.
$ac_ext <<_ACEOF
28768 /* end confdefs.h. */
28769 #include <$ac_cv_header_stdint>
28774 if ((int_least32_t *) 0)
28776 if (sizeof (int_least32_t))
28782 rm -f conftest.
$ac_objext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28784 (eval $ac_compile) 2>conftest.er1
28786 grep -v '^ *+' conftest.er1
>conftest.err
28788 cat conftest.err
>&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } &&
28791 { ac_try
='test -z "$ac_c_werror_flag"
28792 || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_cv_type_int_least32_t
=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 ac_cv_type_int_least32_t
=no
28811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28813 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
28814 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
28816 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
28817 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
28818 if test "${ac_cv_type_int_fast32_t+set}" = set; then
28819 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 cat >conftest.
$ac_ext <<_ACEOF
28824 cat confdefs.h
>>conftest.
$ac_ext
28825 cat >>conftest.
$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28827 #include<$ac_cv_header_stdint>
28832 if ((int_fast32_t *) 0)
28834 if (sizeof (int_fast32_t))
28840 rm -f conftest.
$ac_objext
28841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28842 (eval $ac_compile) 2>conftest.er1
28844 grep -v '^ *+' conftest.er1
>conftest.err
28846 cat conftest.err
>&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); } &&
28849 { ac_try
='test -z "$ac_c_werror_flag"
28850 || test ! -s conftest.err'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; } &&
28856 { ac_try
='test -s conftest.$ac_objext'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; }; then
28862 ac_cv_type_int_fast32_t
=yes
28864 echo "$as_me: failed program was:" >&5
28865 sed 's/^/| /' conftest.
$ac_ext >&5
28867 ac_cv_type_int_fast32_t
=no
28869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28871 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
28872 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
28874 echo "$as_me:$LINENO: checking for intmax_t" >&5
28875 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
28876 if test "${ac_cv_type_intmax_t+set}" = set; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 cat >conftest.
$ac_ext <<_ACEOF
28882 cat confdefs.h
>>conftest.
$ac_ext
28883 cat >>conftest.
$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 #include <$ac_cv_header_stdint>
28890 if ((intmax_t *) 0)
28892 if (sizeof (intmax_t))
28898 rm -f conftest.
$ac_objext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28900 (eval $ac_compile) 2>conftest.er1
28902 grep -v '^ *+' conftest.er1
>conftest.err
28904 cat conftest.err
>&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } &&
28907 { ac_try
='test -z "$ac_c_werror_flag"
28908 || test ! -s conftest.err'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; } &&
28914 { ac_try
='test -s conftest.$ac_objext'
28915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28916 (eval $ac_try) 2>&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); }; }; then
28920 ac_cv_type_intmax_t
=yes
28922 echo "$as_me: failed program was:" >&5
28923 sed 's/^/| /' conftest.
$ac_ext >&5
28925 ac_cv_type_intmax_t
=no
28927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28929 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
28930 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
28933 fi # shortcircut to system "stdint.h"
28934 # ------------------ PREPARE VARIABLES ------------------------------
28935 if test "$GCC" = "yes" ; then
28936 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
28938 ac_cv_stdint_message
="using $CC"
28941 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
28942 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
28944 # ----------------- DONE inttypes.h checks START header -------------
28945 ac_config_commands
="$ac_config_commands $ac_stdint_h"
28950 # Check whether --with-glibj_zip or --without-glibj_zip was given.
28951 if test "${with_glibj_zip+set}" = set; then
28952 withval
="$with_glibj_zip"
28956 case "$with_glibj_zip" in
28958 use_glibj_zip
=false
28961 use_glibj_zip
=false
28964 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
28965 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
28966 { (exit 1); exit 1; }; }
28970 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
28976 if test x
$use_glibj_zip = xtrue
; then
28977 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
28978 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
28980 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
28981 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
28986 if test "x${TOOLSDIR}" != x
; then
28987 if test "x${COMPILE_WRAPPERS}" = xno
&& test "x${enable_java_maintainer_mode}" = xyes
; then
28990 if test "x$JAVAPREFIX" = x
; then
28991 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
28993 # Extract the first word of "$ac_prog", so it can be a program name with args.
28994 set dummy
$ac_prog; ac_word
=$2
28995 echo "$as_me:$LINENO: checking for $ac_word" >&5
28996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28997 if test "${ac_cv_prog_JAVA+set}" = set; then
28998 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 if test -n "$JAVA"; then
29001 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29004 for as_dir
in $PATH
29007 test -z "$as_dir" && as_dir
=.
29008 for ac_exec_ext
in '' $ac_executable_extensions; do
29009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29010 ac_cv_prog_JAVA
="$ac_prog"
29011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29019 JAVA
=$ac_cv_prog_JAVA
29020 if test -n "$JAVA"; then
29021 echo "$as_me:$LINENO: result: $JAVA" >&5
29022 echo "${ECHO_T}$JAVA" >&6
29024 echo "$as_me:$LINENO: result: no" >&5
29025 echo "${ECHO_T}no" >&6
29028 test -n "$JAVA" && break
29032 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
29034 # Extract the first word of "$ac_prog", so it can be a program name with args.
29035 set dummy
$ac_prog; ac_word
=$2
29036 echo "$as_me:$LINENO: checking for $ac_word" >&5
29037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29038 if test "${ac_cv_prog_JAVA+set}" = set; then
29039 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 if test -n "$JAVA"; then
29042 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29045 for as_dir
in $PATH
29048 test -z "$as_dir" && as_dir
=.
29049 for ac_exec_ext
in '' $ac_executable_extensions; do
29050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29051 ac_cv_prog_JAVA
="$ac_prog"
29052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29060 JAVA
=$ac_cv_prog_JAVA
29061 if test -n "$JAVA"; then
29062 echo "$as_me:$LINENO: result: $JAVA" >&5
29063 echo "${ECHO_T}$JAVA" >&6
29065 echo "$as_me:$LINENO: result: no" >&5
29066 echo "${ECHO_T}no" >&6
29069 test -n "$JAVA" && break
29071 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
29074 test "x$JAVA" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
29075 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
29076 { (exit 1); exit 1; }; }
29078 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
29079 set dummy
uudecode$EXEEXT; ac_word
=$2
29080 echo "$as_me:$LINENO: checking for $ac_word" >&5
29081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29082 if test "${ac_cv_prog_uudecode+set}" = set; then
29083 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 if test -n "$uudecode"; then
29086 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
29088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29089 for as_dir
in $PATH
29092 test -z "$as_dir" && as_dir
=.
29093 for ac_exec_ext
in '' $ac_executable_extensions; do
29094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29095 ac_cv_prog_uudecode
="yes"
29096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29104 uudecode=$ac_cv_prog_uudecode
29105 if test -n "$uudecode"; then
29106 echo "$as_me:$LINENO: result: $uudecode" >&5
29107 echo "${ECHO_T}$uudecode" >&6
29109 echo "$as_me:$LINENO: result: no" >&5
29110 echo "${ECHO_T}no" >&6
29113 if test x
$uudecode = xyes
; then
29114 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
29115 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
29116 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29120 cat << \EOF
> Test.uue
29121 begin-base64
644 Test.class
29122 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
29123 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
29124 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
29125 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
29126 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
29127 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
29128 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
29131 if uudecode$EXEEXT Test.uue
; then
29132 ac_cv_prog_uudecode_base64
=yes
29134 echo "configure: 29134: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
29135 echo "configure: failed file was:" >&5
29137 ac_cv_prog_uudecode_base64
=no
29141 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
29142 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
29144 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29146 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
29147 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
29148 if test x
$ac_cv_prog_javac_works = xno
; then
29149 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
29150 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
29151 { (exit 1); exit 1; }; }
29153 if test x
$ac_cv_prog_javac_works = x
; then
29155 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
29156 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
29158 if test "x$JAVAPREFIX" = x
; then
29159 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"
29161 # Extract the first word of "$ac_prog", so it can be a program name with args.
29162 set dummy
$ac_prog; ac_word
=$2
29163 echo "$as_me:$LINENO: checking for $ac_word" >&5
29164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29165 if test "${ac_cv_prog_JAVAC+set}" = set; then
29166 echo $ECHO_N "(cached) $ECHO_C" >&6
29168 if test -n "$JAVAC"; then
29169 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29172 for as_dir
in $PATH
29175 test -z "$as_dir" && as_dir
=.
29176 for ac_exec_ext
in '' $ac_executable_extensions; do
29177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29178 ac_cv_prog_JAVAC
="$ac_prog"
29179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29187 JAVAC
=$ac_cv_prog_JAVAC
29188 if test -n "$JAVAC"; then
29189 echo "$as_me:$LINENO: result: $JAVAC" >&5
29190 echo "${ECHO_T}$JAVAC" >&6
29192 echo "$as_me:$LINENO: result: no" >&5
29193 echo "${ECHO_T}no" >&6
29196 test -n "$JAVAC" && break
29200 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"
29202 # Extract the first word of "$ac_prog", so it can be a program name with args.
29203 set dummy
$ac_prog; ac_word
=$2
29204 echo "$as_me:$LINENO: checking for $ac_word" >&5
29205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29206 if test "${ac_cv_prog_JAVAC+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 if test -n "$JAVAC"; then
29210 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29213 for as_dir
in $PATH
29216 test -z "$as_dir" && as_dir
=.
29217 for ac_exec_ext
in '' $ac_executable_extensions; do
29218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29219 ac_cv_prog_JAVAC
="$ac_prog"
29220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29228 JAVAC
=$ac_cv_prog_JAVAC
29229 if test -n "$JAVAC"; then
29230 echo "$as_me:$LINENO: result: $JAVAC" >&5
29231 echo "${ECHO_T}$JAVAC" >&6
29233 echo "$as_me:$LINENO: result: no" >&5
29234 echo "${ECHO_T}no" >&6
29237 test -n "$JAVAC" && break
29239 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
29242 test "x$JAVAC" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
29243 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
29244 { (exit 1); exit 1; }; }
29245 echo "$as_me:$LINENO: checking if $JAVAC is a version of gcj" >&5
29246 echo $ECHO_N "checking if $JAVAC is a version of gcj... $ECHO_C" >&6
29247 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 if $JAVAC --version |
grep gcj
> /dev
/null
; then
29252 ac_cv_prog_javac_is_gcj
=yes;
29253 JAVAC
="$JAVAC $GCJ_OPTS";
29256 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_is_gcj" >&5
29257 echo "${ECHO_T}$ac_cv_prog_javac_is_gcj" >&6
29258 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
29262 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
29264 GCJ_JAVAC_FALSE
='#'
29270 if test "$enable_java_maintainer_mode" = yes; then
29272 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
29273 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
29274 if test "${ac_cv_prog_javac_works+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 JAVA_TEST
=Object.java
29279 CLASS_TEST
=Object.class
29280 cat << \EOF
> $JAVA_TEST
29281 /* #line 29281 "configure" */
29284 public class Object
29286 static
<T
> void doStuff
()
29291 if test x
$JAVAC_IS_GCJ = xyes
; then
29292 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
29294 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
29297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29298 (eval $ac_try) 2>&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); }; } >/dev
/null
2>&1; then
29302 ac_cv_prog_javac_works
=yes
29304 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29305 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29306 { (exit 1); exit 1; }; }
29307 echo "configure: failed program was:" >&5
29310 rm -f $JAVA_TEST $CLASS_TEST
29313 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
29314 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
29320 echo "$as_me:$LINENO: checking if $JAVA works" >&5
29321 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
29322 if test "${ac_cv_prog_java_works+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29326 JAVA_TEST
=Test.java
29327 CLASS_TEST
=Test.class
29329 cat << \EOF
> $JAVA_TEST
29330 /* [#]line 29330 "configure" */
29331 public class Test
{
29332 public static void main
(String args
[]) {
29336 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29337 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
29338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29339 (eval $ac_try) 2>&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); }; } && test -s $CLASS_TEST; then
29345 echo "configure: failed program was:" >&5
29347 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29348 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29349 { (exit 1); exit 1; }; }
29352 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
29353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29354 (eval $ac_try) 2>&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; } >/dev
/null
2>&1; then
29358 ac_cv_prog_java_works
=yes
29360 echo "configure: failed program was:" >&5
29362 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
29363 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
29364 { (exit 1); exit 1; }; }
29366 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
29369 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
29370 echo "${ECHO_T}$ac_cv_prog_java_works" >&6
29375 if test "x${COMPILE_GJDOC}" = xyes
; then
29377 echo "$as_me:$LINENO: checking for the ANTLR parser generator JAR file" >&5
29378 echo $ECHO_N "checking for the ANTLR parser generator JAR file... $ECHO_C" >&6
29379 if test -z "$ANTLR_JAR"; then
29380 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
29381 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
29383 if test -f "$antlr_lib_home/antlr.jar"; then
29384 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
29389 test -f $ANTLR_JAR ||
{ { echo "$as_me:$LINENO: error: specified ANTLR jar file $ANTLR_JAR not found." >&5
29390 echo "$as_me: error: specified ANTLR jar file $ANTLR_JAR not found." >&2;}
29391 { (exit 1); exit 1; }; } \
29392 && echo "$as_me:$LINENO: result: $ANTLR_JAR" >&5
29393 echo "${ECHO_T}$ANTLR_JAR" >&6
29396 if test "x${REGENERATE_GJDOC_PARSER}" = xyes
; then
29397 if test "x${enable_java_maintainer_mode}" = xyes
; then
29399 if test "x$JAVAPREFIX" = x
; then
29400 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
29402 # Extract the first word of "$ac_prog", so it can be a program name with args.
29403 set dummy
$ac_prog; ac_word
=$2
29404 echo "$as_me:$LINENO: checking for $ac_word" >&5
29405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29406 if test "${ac_cv_prog_JAVA+set}" = set; then
29407 echo $ECHO_N "(cached) $ECHO_C" >&6
29409 if test -n "$JAVA"; then
29410 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29413 for as_dir
in $PATH
29416 test -z "$as_dir" && as_dir
=.
29417 for ac_exec_ext
in '' $ac_executable_extensions; do
29418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29419 ac_cv_prog_JAVA
="$ac_prog"
29420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29428 JAVA
=$ac_cv_prog_JAVA
29429 if test -n "$JAVA"; then
29430 echo "$as_me:$LINENO: result: $JAVA" >&5
29431 echo "${ECHO_T}$JAVA" >&6
29433 echo "$as_me:$LINENO: result: no" >&5
29434 echo "${ECHO_T}no" >&6
29437 test -n "$JAVA" && break
29441 test "x$JAVA" = x
&& for ac_prog
in cacao
$EXEEXT jamvm
$EXEEXT kaffe
$EXEEXT gij
$EXEEXT java
$EXEEXT
29443 # Extract the first word of "$ac_prog", so it can be a program name with args.
29444 set dummy
$ac_prog; ac_word
=$2
29445 echo "$as_me:$LINENO: checking for $ac_word" >&5
29446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29447 if test "${ac_cv_prog_JAVA+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 if test -n "$JAVA"; then
29451 ac_cv_prog_JAVA
="$JAVA" # Let the user override the test.
29453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29454 for as_dir
in $PATH
29457 test -z "$as_dir" && as_dir
=.
29458 for ac_exec_ext
in '' $ac_executable_extensions; do
29459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29460 ac_cv_prog_JAVA
="$ac_prog"
29461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29469 JAVA
=$ac_cv_prog_JAVA
29470 if test -n "$JAVA"; then
29471 echo "$as_me:$LINENO: result: $JAVA" >&5
29472 echo "${ECHO_T}$JAVA" >&6
29474 echo "$as_me:$LINENO: result: no" >&5
29475 echo "${ECHO_T}no" >&6
29478 test -n "$JAVA" && break
29480 test -n "$JAVA" || JAVA
="$JAVAPREFIX"
29483 test "x$JAVA" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
29484 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
29485 { (exit 1); exit 1; }; }
29487 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
29488 set dummy
uudecode$EXEEXT; ac_word
=$2
29489 echo "$as_me:$LINENO: checking for $ac_word" >&5
29490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29491 if test "${ac_cv_prog_uudecode+set}" = set; then
29492 echo $ECHO_N "(cached) $ECHO_C" >&6
29494 if test -n "$uudecode"; then
29495 ac_cv_prog_uudecode
="$uudecode" # Let the user override the test.
29497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29498 for as_dir
in $PATH
29501 test -z "$as_dir" && as_dir
=.
29502 for ac_exec_ext
in '' $ac_executable_extensions; do
29503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29504 ac_cv_prog_uudecode
="yes"
29505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29513 uudecode=$ac_cv_prog_uudecode
29514 if test -n "$uudecode"; then
29515 echo "$as_me:$LINENO: result: $uudecode" >&5
29516 echo "${ECHO_T}$uudecode" >&6
29518 echo "$as_me:$LINENO: result: no" >&5
29519 echo "${ECHO_T}no" >&6
29522 if test x
$uudecode = xyes
; then
29523 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
29524 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
29525 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 cat << \EOF
> Test.uue
29530 begin-base64
644 Test.class
29531 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
29532 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
29533 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
29534 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
29535 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
29536 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
29537 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ
=
29540 if uudecode$EXEEXT Test.uue
; then
29541 ac_cv_prog_uudecode_base64
=yes
29543 echo "configure: 29543: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
29544 echo "configure: failed file was:" >&5
29546 ac_cv_prog_uudecode_base64
=no
29550 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
29551 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
29553 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29555 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
29556 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
29557 if test x
$ac_cv_prog_javac_works = xno
; then
29558 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
29559 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
29560 { (exit 1); exit 1; }; }
29562 if test x
$ac_cv_prog_javac_works = x
; then
29564 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
29565 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
29567 if test "x$JAVAPREFIX" = x
; then
29568 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"
29570 # Extract the first word of "$ac_prog", so it can be a program name with args.
29571 set dummy
$ac_prog; ac_word
=$2
29572 echo "$as_me:$LINENO: checking for $ac_word" >&5
29573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29574 if test "${ac_cv_prog_JAVAC+set}" = set; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 if test -n "$JAVAC"; then
29578 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29581 for as_dir
in $PATH
29584 test -z "$as_dir" && as_dir
=.
29585 for ac_exec_ext
in '' $ac_executable_extensions; do
29586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29587 ac_cv_prog_JAVAC
="$ac_prog"
29588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29596 JAVAC
=$ac_cv_prog_JAVAC
29597 if test -n "$JAVAC"; then
29598 echo "$as_me:$LINENO: result: $JAVAC" >&5
29599 echo "${ECHO_T}$JAVAC" >&6
29601 echo "$as_me:$LINENO: result: no" >&5
29602 echo "${ECHO_T}no" >&6
29605 test -n "$JAVAC" && break
29609 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"
29611 # Extract the first word of "$ac_prog", so it can be a program name with args.
29612 set dummy
$ac_prog; ac_word
=$2
29613 echo "$as_me:$LINENO: checking for $ac_word" >&5
29614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29615 if test "${ac_cv_prog_JAVAC+set}" = set; then
29616 echo $ECHO_N "(cached) $ECHO_C" >&6
29618 if test -n "$JAVAC"; then
29619 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29622 for as_dir
in $PATH
29625 test -z "$as_dir" && as_dir
=.
29626 for ac_exec_ext
in '' $ac_executable_extensions; do
29627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29628 ac_cv_prog_JAVAC
="$ac_prog"
29629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29637 JAVAC
=$ac_cv_prog_JAVAC
29638 if test -n "$JAVAC"; then
29639 echo "$as_me:$LINENO: result: $JAVAC" >&5
29640 echo "${ECHO_T}$JAVAC" >&6
29642 echo "$as_me:$LINENO: result: no" >&5
29643 echo "${ECHO_T}no" >&6
29646 test -n "$JAVAC" && break
29648 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
29651 test "x$JAVAC" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
29652 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
29653 { (exit 1); exit 1; }; }
29654 echo "$as_me:$LINENO: checking if $JAVAC is a version of gcj" >&5
29655 echo $ECHO_N "checking if $JAVAC is a version of gcj... $ECHO_C" >&6
29656 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29660 if $JAVAC --version |
grep gcj
> /dev
/null
; then
29661 ac_cv_prog_javac_is_gcj
=yes;
29662 JAVAC
="$JAVAC $GCJ_OPTS";
29665 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_is_gcj" >&5
29666 echo "${ECHO_T}$ac_cv_prog_javac_is_gcj" >&6
29667 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
29671 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
29673 GCJ_JAVAC_FALSE
='#'
29679 if test "$enable_java_maintainer_mode" = yes; then
29681 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
29682 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
29683 if test "${ac_cv_prog_javac_works+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 JAVA_TEST
=Object.java
29688 CLASS_TEST
=Object.class
29689 cat << \EOF
> $JAVA_TEST
29690 /* #line 29690 "configure" */
29693 public class Object
29695 static
<T
> void doStuff
()
29700 if test x
$JAVAC_IS_GCJ = xyes
; then
29701 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
29703 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; } >/dev
/null
2>&1; then
29711 ac_cv_prog_javac_works
=yes
29713 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29714 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29715 { (exit 1); exit 1; }; }
29716 echo "configure: failed program was:" >&5
29719 rm -f $JAVA_TEST $CLASS_TEST
29722 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
29723 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
29729 echo "$as_me:$LINENO: checking if $JAVA works" >&5
29730 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
29731 if test "${ac_cv_prog_java_works+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 JAVA_TEST
=Test.java
29736 CLASS_TEST
=Test.class
29738 cat << \EOF
> $JAVA_TEST
29739 /* [#]line 29739 "configure" */
29740 public class Test
{
29741 public static void main
(String args
[]) {
29745 if test x
$ac_cv_prog_uudecode_base64 != xyes
; then
29746 if { ac_try
='$JAVAC $JAVACFLAGS $JAVA_TEST'
29747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748 (eval $ac_try) 2>&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); }; } && test -s $CLASS_TEST; then
29754 echo "configure: failed program was:" >&5
29756 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
29757 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
29758 { (exit 1); exit 1; }; }
29761 if { ac_try
='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
29762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29763 (eval $ac_try) 2>&5
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; } >/dev
/null
2>&1; then
29767 ac_cv_prog_java_works
=yes
29769 echo "configure: failed program was:" >&5
29771 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
29772 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
29773 { (exit 1); exit 1; }; }
29775 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
29778 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
29779 echo "${ECHO_T}$ac_cv_prog_java_works" >&6
29784 if test -n "$ac_tool_prefix"; then
29785 for ac_prog
in cantlr runantlr antlr
29787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29788 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
29789 echo "$as_me:$LINENO: checking for $ac_word" >&5
29790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29791 if test "${ac_cv_prog_ANTLR+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 if test -n "$ANTLR"; then
29795 ac_cv_prog_ANTLR
="$ANTLR" # Let the user override the test.
29797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29798 for as_dir
in $PATH
29801 test -z "$as_dir" && as_dir
=.
29802 for ac_exec_ext
in '' $ac_executable_extensions; do
29803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29804 ac_cv_prog_ANTLR
="$ac_tool_prefix$ac_prog"
29805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29813 ANTLR
=$ac_cv_prog_ANTLR
29814 if test -n "$ANTLR"; then
29815 echo "$as_me:$LINENO: result: $ANTLR" >&5
29816 echo "${ECHO_T}$ANTLR" >&6
29818 echo "$as_me:$LINENO: result: no" >&5
29819 echo "${ECHO_T}no" >&6
29822 test -n "$ANTLR" && break
29825 if test -z "$ANTLR"; then
29827 for ac_prog
in cantlr runantlr antlr
29829 # Extract the first word of "$ac_prog", so it can be a program name with args.
29830 set dummy
$ac_prog; ac_word
=$2
29831 echo "$as_me:$LINENO: checking for $ac_word" >&5
29832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29833 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then
29834 echo $ECHO_N "(cached) $ECHO_C" >&6
29836 if test -n "$ac_ct_ANTLR"; then
29837 ac_cv_prog_ac_ct_ANTLR
="$ac_ct_ANTLR" # Let the user override the test.
29839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29840 for as_dir
in $PATH
29843 test -z "$as_dir" && as_dir
=.
29844 for ac_exec_ext
in '' $ac_executable_extensions; do
29845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29846 ac_cv_prog_ac_ct_ANTLR
="$ac_prog"
29847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29855 ac_ct_ANTLR
=$ac_cv_prog_ac_ct_ANTLR
29856 if test -n "$ac_ct_ANTLR"; then
29857 echo "$as_me:$LINENO: result: $ac_ct_ANTLR" >&5
29858 echo "${ECHO_T}$ac_ct_ANTLR" >&6
29860 echo "$as_me:$LINENO: result: no" >&5
29861 echo "${ECHO_T}no" >&6
29864 test -n "$ac_ct_ANTLR" && break
29870 if test "x$ANTLR" = x
; then
29871 if test -z "$JAVA"; then
29872 { { echo "$as_me:$LINENO: error: Failed to find either an antlr binary or a suitable Java runtime for ANTLR." >&5
29873 echo "$as_me: error: Failed to find either an antlr binary or a suitable Java runtime for ANTLR." >&2;}
29874 { (exit 1); exit 1; }; }
29876 ANTLR
="$JAVA -classpath $ANTLR_JAR antlr.Tool"
29880 echo "$as_me:$LINENO: checking for antlr 2.7.1 or better" >&5
29881 echo $ECHO_N "checking for antlr 2.7.1 or better... $ECHO_C" >&6
29882 antlr_version_str
=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
29883 if test "$antlr_version_str"; then
29884 antlr_version_regex
='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
29885 antlr_version_major
=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
29886 antlr_version_minor
=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
29887 antlr_version_micro
=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
29888 (test $antlr_version_major -gt 2 || \
29889 (test $antlr_version_major -eq 2 && \
29890 test $antlr_version_minor -gt 7) || \
29891 (test $antlr_version_major -eq 2 && \
29892 test $antlr_version_minor -eq 7 && \
29893 test $antlr_version_micro -ge 1))
29895 echo "$as_me:$LINENO: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
29896 echo "${ECHO_T}$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6
29904 # Check for javac if we need to build either the class library,
29905 # the examples or the tools
29906 if test "x${use_glibj_zip}" = xfalse || \
29907 test "x${EXAMPLESDIR}" != x || \
29908 test "x${TOOLSDIR}" != x
&& \
29909 test "x${build_class_files}" != xno
; then
29911 ECJ_OPTS
="-warn:-deprecation,serial,unusedImport"
29912 JAVAC_OPTS
="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
29914 if test "x$JAVAPREFIX" = x
; then
29915 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"
29917 # Extract the first word of "$ac_prog", so it can be a program name with args.
29918 set dummy
$ac_prog; ac_word
=$2
29919 echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29921 if test "${ac_cv_prog_JAVAC+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 if test -n "$JAVAC"; then
29925 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29928 for as_dir
in $PATH
29931 test -z "$as_dir" && as_dir
=.
29932 for ac_exec_ext
in '' $ac_executable_extensions; do
29933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29934 ac_cv_prog_JAVAC
="$ac_prog"
29935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29943 JAVAC
=$ac_cv_prog_JAVAC
29944 if test -n "$JAVAC"; then
29945 echo "$as_me:$LINENO: result: $JAVAC" >&5
29946 echo "${ECHO_T}$JAVAC" >&6
29948 echo "$as_me:$LINENO: result: no" >&5
29949 echo "${ECHO_T}no" >&6
29952 test -n "$JAVAC" && break
29956 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"
29958 # Extract the first word of "$ac_prog", so it can be a program name with args.
29959 set dummy
$ac_prog; ac_word
=$2
29960 echo "$as_me:$LINENO: checking for $ac_word" >&5
29961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29962 if test "${ac_cv_prog_JAVAC+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29965 if test -n "$JAVAC"; then
29966 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
29968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29969 for as_dir
in $PATH
29972 test -z "$as_dir" && as_dir
=.
29973 for ac_exec_ext
in '' $ac_executable_extensions; do
29974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29975 ac_cv_prog_JAVAC
="$ac_prog"
29976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29984 JAVAC
=$ac_cv_prog_JAVAC
29985 if test -n "$JAVAC"; then
29986 echo "$as_me:$LINENO: result: $JAVAC" >&5
29987 echo "${ECHO_T}$JAVAC" >&6
29989 echo "$as_me:$LINENO: result: no" >&5
29990 echo "${ECHO_T}no" >&6
29993 test -n "$JAVAC" && break
29995 test -n "$JAVAC" || JAVAC
="$JAVAPREFIX"
29998 test "x$JAVAC" = x
&& { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
29999 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
30000 { (exit 1); exit 1; }; }
30001 echo "$as_me:$LINENO: checking if $JAVAC is a version of gcj" >&5
30002 echo $ECHO_N "checking if $JAVAC is a version of gcj... $ECHO_C" >&6
30003 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then
30004 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 if $JAVAC --version |
grep gcj
> /dev
/null
; then
30008 ac_cv_prog_javac_is_gcj
=yes;
30009 JAVAC
="$JAVAC $GCJ_OPTS";
30012 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_is_gcj" >&5
30013 echo "${ECHO_T}$ac_cv_prog_javac_is_gcj" >&6
30014 JAVAC_IS_GCJ
=$ac_cv_prog_javac_is_gcj
30018 if test x
"${JAVAC_IS_GCJ}" = xyes
; then
30020 GCJ_JAVAC_FALSE
='#'
30026 if test "$enable_java_maintainer_mode" = yes; then
30028 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
30029 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
30030 if test "${ac_cv_prog_javac_works+set}" = set; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 JAVA_TEST
=Object.java
30035 CLASS_TEST
=Object.class
30036 cat << \EOF
> $JAVA_TEST
30037 /* #line 30037 "configure" */
30040 public class Object
30042 static
<T
> void doStuff
()
30047 if test x
$JAVAC_IS_GCJ = xyes
; then
30048 CMD
="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
30050 CMD
="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; } >/dev
/null
2>&1; then
30058 ac_cv_prog_javac_works
=yes
30060 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
30061 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
30062 { (exit 1); exit 1; }; }
30063 echo "configure: failed program was:" >&5
30066 rm -f $JAVA_TEST $CLASS_TEST
30069 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
30070 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
30075 JAVA_TEST
=Test.java
30076 CLASS_TEST
=Test.class
30077 cat << \EOF
> $JAVA_TEST
30078 /* #line 30078 "configure" */
30081 public static void main
(String args
)
30083 System.out.println
("Hello World");
30087 if test x
$JAVAC_IS_GCJ != xyes
; then
30088 echo "$as_me:$LINENO: checking whether javac supports -J" >&5
30089 echo $ECHO_N "checking whether javac supports -J... $ECHO_C" >&6
30090 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
30092 if test "x$javac_result" = "x0"; then
30093 echo "$as_me:$LINENO: result: yes" >&5
30094 echo "${ECHO_T}yes" >&6
30095 JAVAC_MEM_OPT
="-J-Xmx768M"
30097 echo "$as_me:$LINENO: result: no" >&5
30098 echo "${ECHO_T}no" >&6
30101 rm -f $JAVA_TEST $CLASS_TEST
30107 # Check whether --with-escher or --without-escher was given.
30108 if test "${with_escher+set}" = set; then
30109 withval
="$with_escher"
30112 case "$with_escher" in
30120 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
30121 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
30122 { (exit 1); exit 1; }; }
30126 PATH_TO_ESCHER
=$with_escher
30132 if test x
$use_escher = xtrue
; then
30134 USE_ESCHER_FALSE
='#'
30136 USE_ESCHER_TRUE
='#'
30142 # Check whether --enable-local-sockets or --disable-local-sockets was given.
30143 if test "${enable_local_sockets+set}" = set; then
30144 enableval
="$enable_local_sockets"
30145 case "${enableval}" in
30147 ENABLE_LOCAL_SOCKETS
=yes
30150 ENABLE_LOCAL_SOCKETS
=no
30154 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
30156 if test "${ac_cv_header_sys_un_h+set}" = set; then
30157 echo "$as_me:$LINENO: checking for sys/un.h" >&5
30158 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
30159 if test "${ac_cv_header_sys_un_h+set}" = set; then
30160 echo $ECHO_N "(cached) $ECHO_C" >&6
30162 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
30163 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
30165 # Is the header compilable?
30166 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
30167 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
30168 cat >conftest.
$ac_ext <<_ACEOF
30171 cat confdefs.h
>>conftest.
$ac_ext
30172 cat >>conftest.
$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30174 $ac_includes_default
30175 #include <sys/un.h>
30177 rm -f conftest.
$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30181 grep -v '^ *+' conftest.er1
>conftest.err
30183 cat conftest.err
>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try
='test -z "$ac_c_werror_flag"
30187 || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try
='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199 ac_header_compiler
=yes
30201 echo "$as_me: failed program was:" >&5
30202 sed 's/^/| /' conftest.
$ac_ext >&5
30204 ac_header_compiler
=no
30206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30208 echo "${ECHO_T}$ac_header_compiler" >&6
30210 # Is the header present?
30211 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
30212 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
30213 cat >conftest.
$ac_ext <<_ACEOF
30216 cat confdefs.h
>>conftest.
$ac_ext
30217 cat >>conftest.
$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219 #include <sys/un.h>
30221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30224 grep -v '^ *+' conftest.er1
>conftest.err
30226 cat conftest.err
>&5
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); } >/dev
/null
; then
30229 if test -s conftest.err
; then
30230 ac_cpp_err
=$ac_c_preproc_warn_flag
30231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30238 if test -z "$ac_cpp_err"; then
30239 ac_header_preproc
=yes
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.
$ac_ext >&5
30244 ac_header_preproc
=no
30246 rm -f conftest.err conftest.
$ac_ext
30247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30248 echo "${ECHO_T}$ac_header_preproc" >&6
30250 # So? What about this header?
30251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30253 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
30254 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30255 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
30256 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
30257 ac_header_preproc
=yes
30260 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
30261 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
30262 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
30263 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
30264 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
30265 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
30266 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
30267 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
30268 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
30269 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
30270 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
30271 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
30274 ## -------------------------------- ##
30275 ## Report this to classpath@gnu.org ##
30276 ## -------------------------------- ##
30279 sed "s/^/$as_me: WARNING: /" >&2
30282 echo "$as_me:$LINENO: checking for sys/un.h" >&5
30283 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
30284 if test "${ac_cv_header_sys_un_h+set}" = set; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 ac_cv_header_sys_un_h
=$ac_header_preproc
30289 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
30290 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
30301 for ac_func
in read write bind listen accept shutdown
30303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30304 echo "$as_me:$LINENO: checking for $ac_func" >&5
30305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30306 if eval "test \"\${$as_ac_var+set}\" = set"; then
30307 echo $ECHO_N "(cached) $ECHO_C" >&6
30309 if test x
$gcc_no_link = xyes
; then
30310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30312 { (exit 1); exit 1; }; }
30314 cat >conftest.
$ac_ext <<_ACEOF
30317 cat confdefs.h
>>conftest.
$ac_ext
30318 cat >>conftest.
$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30322 #define $ac_func innocuous_$ac_func
30324 /* System header to define __stub macros and hopefully few prototypes,
30325 which can conflict with char $ac_func (); below.
30326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30327 <limits.h> exists even on freestanding compilers. */
30330 # include <limits.h>
30332 # include <assert.h>
30337 /* Override any gcc2 internal prototype to avoid an error. */
30342 /* We use char because int might match the return type of a gcc2
30343 builtin and then its argument prototype would still apply. */
30345 /* The GNU C library defines this for functions which it implements
30346 to always fail with ENOSYS. Some functions are actually named
30347 something starting with __ and the normal name is an alias. */
30348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30351 char (*f) () = $ac_func;
30360 return f != $ac_func;
30365 rm -f conftest.
$ac_objext conftest
$ac_exeext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30367 (eval $ac_link) 2>conftest.er1
30369 grep -v '^ *+' conftest.er1
>conftest.err
30371 cat conftest.err
>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try
='test -z "$ac_c_werror_flag"
30375 || test ! -s conftest.err'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; } &&
30381 { ac_try
='test -s conftest$ac_exeext'
30382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30383 (eval $ac_try) 2>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); }; }; then
30387 eval "$as_ac_var=yes"
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.
$ac_ext >&5
30392 eval "$as_ac_var=no"
30394 rm -f conftest.err conftest.
$ac_objext \
30395 conftest
$ac_exeext conftest.
$ac_ext
30397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30399 if test `eval echo '${'$as_ac_var'}'` = yes; then
30400 cat >>confdefs.h
<<_ACEOF
30401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30405 { { echo "$as_me:$LINENO: error: networking support not available" >&5
30406 echo "$as_me: error: networking support not available" >&2;}
30407 { (exit 1); exit 1; }; }
30412 cat >>confdefs.h
<<\_ACEOF
30413 #define ENABLE_LOCAL_SOCKETS 1
30419 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
30420 ENABLE_LOCAL_SOCKETS_TRUE
=
30421 ENABLE_LOCAL_SOCKETS_FALSE
='#'
30423 ENABLE_LOCAL_SOCKETS_TRUE
='#'
30424 ENABLE_LOCAL_SOCKETS_FALSE
=
30430 WANT_NATIVE_BIG_INTEGER
=false
30431 if test "x${COMPILE_GMP}" = xyes
; then
30432 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes
; then
30433 if test "x${ac_cv_header_gmp_h}" = xyes
; then
30434 WANT_NATIVE_BIG_INTEGER
=true
30436 cat >>confdefs.h
<<\_ACEOF
30437 #define WITH_GNU_MP 1
30450 if test "x${COMPILE_GMP}" = xyes
; then
30451 CREATE_GMPBI_LIBRARY_TRUE
=
30452 CREATE_GMPBI_LIBRARY_FALSE
='#'
30454 CREATE_GMPBI_LIBRARY_TRUE
='#'
30455 CREATE_GMPBI_LIBRARY_FALSE
=
30459 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"
30462 if test "x${COMPILE_WRAPPERS}" = xyes
; then
30465 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"
30468 ac_config_commands
="$ac_config_commands gappletviewer"
30470 ac_config_commands
="$ac_config_commands gjarsigner"
30472 ac_config_commands
="$ac_config_commands gkeytool"
30474 ac_config_commands
="$ac_config_commands gjar"
30476 ac_config_commands
="$ac_config_commands gnative2ascii"
30478 ac_config_commands
="$ac_config_commands gserialver"
30480 ac_config_commands
="$ac_config_commands grmiregistry"
30482 ac_config_commands
="$ac_config_commands gtnameserv"
30484 ac_config_commands
="$ac_config_commands gorbd"
30486 ac_config_commands
="$ac_config_commands grmid"
30488 ac_config_commands
="$ac_config_commands grmic"
30490 ac_config_commands
="$ac_config_commands gjavah"
30496 if test "x${COMPILE_GJDOC}" = xyes
30498 ac_config_files
="$ac_config_files tools/gjdoc"
30500 ac_config_commands
="$ac_config_commands gjdoc"
30504 ac_config_commands
="$ac_config_commands gen-classlist"
30506 ac_config_commands
="$ac_config_commands copy-vmresources"
30508 cat >confcache
<<\_ACEOF
30509 # This file is a shell script that caches the results of configure
30510 # tests run on this system so they can be shared between configure
30511 # scripts and configure runs, see configure's option --config-cache.
30512 # It is not useful on other systems. If it contains results you don't
30513 # want to keep, you may remove or edit it.
30515 # config.status only pays attention to the cache file if you give it
30516 # the --recheck option to rerun configure.
30518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30520 # following values.
30524 # The following way of writing the cache mishandles newlines in values,
30525 # but we know of no workaround that is simple, portable, and efficient.
30526 # So, don't put newlines in cache variables' values.
30527 # Ultrix sh set writes to stderr and can't be redirected directly,
30528 # and sets the high bit in the cache file unless we assign to the vars.
30531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30533 # `set' does not quote correctly, so add quotes (double-quote
30534 # substitution turns \\\\ into \\, and sed turns \\ into \).
30537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30540 # `set' quotes correctly as required by POSIX, so do not add quotes.
30542 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30551 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30553 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
30554 if test -w $cache_file; then
30555 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30556 cat confcache
>$cache_file
30558 echo "not updating unwritable cache $cache_file"
30563 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30564 # Let make expand exec_prefix.
30565 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30567 # VPATH may cause trouble with some makes, so we remove $(srcdir),
30568 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30569 # trailing colons and then remove the whole line if VPATH becomes empty
30570 # (actually we leave an empty line to preserve line numbers).
30571 if test "x$srcdir" = x.
; then
30572 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
30573 s/:*\$(srcdir):*/:/;
30574 s/:*\${srcdir}:*/:/;
30576 s/^\([^=]*=[ ]*\):*/\1/;
30582 DEFS
=-DHAVE_CONFIG_H
30586 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30587 # 1. Remove the extension, and $U if already installed.
30588 ac_i
=`echo "$ac_i" |
30589 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
30591 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
30592 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
30594 LIBOBJS
=$ac_libobjs
30596 LTLIBOBJS
=$ac_ltlibobjs
30599 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
30600 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
30601 Usually this means the macro was only invoked conditionally." >&5
30602 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
30603 Usually this means the macro was only invoked conditionally." >&2;}
30604 { (exit 1); exit 1; }; }
30606 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
30607 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
30608 Usually this means the macro was only invoked conditionally." >&5
30609 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
30610 Usually this means the macro was only invoked conditionally." >&2;}
30611 { (exit 1); exit 1; }; }
30613 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
30614 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
30615 Usually this means the macro was only invoked conditionally." >&5
30616 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
30617 Usually this means the macro was only invoked conditionally." >&2;}
30618 { (exit 1); exit 1; }; }
30620 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
30621 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
30622 Usually this means the macro was only invoked conditionally." >&5
30623 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
30624 Usually this means the macro was only invoked conditionally." >&2;}
30625 { (exit 1); exit 1; }; }
30627 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
30628 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
30629 Usually this means the macro was only invoked conditionally." >&5
30630 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
30631 Usually this means the macro was only invoked conditionally." >&2;}
30632 { (exit 1); exit 1; }; }
30634 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
30635 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
30636 Usually this means the macro was only invoked conditionally." >&5
30637 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
30638 Usually this means the macro was only invoked conditionally." >&2;}
30639 { (exit 1); exit 1; }; }
30641 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
30642 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
30643 Usually this means the macro was only invoked conditionally." >&5
30644 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
30645 Usually this means the macro was only invoked conditionally." >&2;}
30646 { (exit 1); exit 1; }; }
30648 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
30649 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
30650 Usually this means the macro was only invoked conditionally." >&5
30651 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
30652 Usually this means the macro was only invoked conditionally." >&2;}
30653 { (exit 1); exit 1; }; }
30655 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30656 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30657 Usually this means the macro was only invoked conditionally." >&5
30658 echo "$as_me: error: conditional \"AMDEP\" was never defined.
30659 Usually this means the macro was only invoked conditionally." >&2;}
30660 { (exit 1); exit 1; }; }
30662 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30663 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30664 Usually this means the macro was only invoked conditionally." >&5
30665 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30666 Usually this means the macro was only invoked conditionally." >&2;}
30667 { (exit 1); exit 1; }; }
30669 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
30670 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
30671 Usually this means the macro was only invoked conditionally." >&5
30672 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
30673 Usually this means the macro was only invoked conditionally." >&2;}
30674 { (exit 1); exit 1; }; }
30676 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
30677 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
30678 Usually this means the macro was only invoked conditionally." >&5
30679 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
30680 Usually this means the macro was only invoked conditionally." >&2;}
30681 { (exit 1); exit 1; }; }
30683 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
30684 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
30685 Usually this means the macro was only invoked conditionally." >&5
30686 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
30687 Usually this means the macro was only invoked conditionally." >&2;}
30688 { (exit 1); exit 1; }; }
30690 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
30691 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
30692 Usually this means the macro was only invoked conditionally." >&5
30693 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
30694 Usually this means the macro was only invoked conditionally." >&2;}
30695 { (exit 1); exit 1; }; }
30697 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
30698 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
30699 Usually this means the macro was only invoked conditionally." >&5
30700 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
30701 Usually this means the macro was only invoked conditionally." >&2;}
30702 { (exit 1); exit 1; }; }
30704 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
30705 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GJDOC\" was never defined.
30706 Usually this means the macro was only invoked conditionally." >&5
30707 echo "$as_me: error: conditional \"CREATE_GJDOC\" was never defined.
30708 Usually this means the macro was only invoked conditionally." >&2;}
30709 { (exit 1); exit 1; }; }
30711 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
30712 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
30713 Usually this means the macro was only invoked conditionally." >&5
30714 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
30715 Usually this means the macro was only invoked conditionally." >&2;}
30716 { (exit 1); exit 1; }; }
30718 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
30719 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GJDOC_PARSER\" was never defined.
30720 Usually this means the macro was only invoked conditionally." >&5
30721 echo "$as_me: error: conditional \"CREATE_GJDOC_PARSER\" was never defined.
30722 Usually this means the macro was only invoked conditionally." >&2;}
30723 { (exit 1); exit 1; }; }
30725 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
30726 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
30727 Usually this means the macro was only invoked conditionally." >&5
30728 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
30729 Usually this means the macro was only invoked conditionally." >&2;}
30730 { (exit 1); exit 1; }; }
30732 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30733 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30734 Usually this means the macro was only invoked conditionally." >&5
30735 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30736 Usually this means the macro was only invoked conditionally." >&2;}
30737 { (exit 1); exit 1; }; }
30739 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30740 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30741 Usually this means the macro was only invoked conditionally." >&5
30742 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30743 Usually this means the macro was only invoked conditionally." >&2;}
30744 { (exit 1); exit 1; }; }
30746 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30747 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30748 Usually this means the macro was only invoked conditionally." >&5
30749 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30750 Usually this means the macro was only invoked conditionally." >&2;}
30751 { (exit 1); exit 1; }; }
30753 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
30754 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
30755 Usually this means the macro was only invoked conditionally." >&5
30756 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
30757 Usually this means the macro was only invoked conditionally." >&2;}
30758 { (exit 1); exit 1; }; }
30760 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
30761 { { echo "$as_me:$LINENO: error: conditional \"WITH_JAR\" was never defined.
30762 Usually this means the macro was only invoked conditionally." >&5
30763 echo "$as_me: error: conditional \"WITH_JAR\" was never defined.
30764 Usually this means the macro was only invoked conditionally." >&2;}
30765 { (exit 1); exit 1; }; }
30767 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
30768 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
30769 Usually this means the macro was only invoked conditionally." >&5
30770 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
30771 Usually this means the macro was only invoked conditionally." >&2;}
30772 { (exit 1); exit 1; }; }
30774 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
30775 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
30776 Usually this means the macro was only invoked conditionally." >&5
30777 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
30778 Usually this means the macro was only invoked conditionally." >&2;}
30779 { (exit 1); exit 1; }; }
30781 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
30782 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
30783 Usually this means the macro was only invoked conditionally." >&5
30784 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
30785 Usually this means the macro was only invoked conditionally." >&2;}
30786 { (exit 1); exit 1; }; }
30788 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
30789 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
30790 Usually this means the macro was only invoked conditionally." >&5
30791 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
30792 Usually this means the macro was only invoked conditionally." >&2;}
30793 { (exit 1); exit 1; }; }
30795 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
30796 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
30797 Usually this means the macro was only invoked conditionally." >&5
30798 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
30799 Usually this means the macro was only invoked conditionally." >&2;}
30800 { (exit 1); exit 1; }; }
30802 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
30803 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30804 Usually this means the macro was only invoked conditionally." >&5
30805 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30806 Usually this means the macro was only invoked conditionally." >&2;}
30807 { (exit 1); exit 1; }; }
30809 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
30810 { { echo "$as_me:$LINENO: error: conditional \"GCJ_JAVAC\" was never defined.
30811 Usually this means the macro was only invoked conditionally." >&5
30812 echo "$as_me: error: conditional \"GCJ_JAVAC\" was never defined.
30813 Usually this means the macro was only invoked conditionally." >&2;}
30814 { (exit 1); exit 1; }; }
30816 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
30817 { { echo "$as_me:$LINENO: error: conditional \"GCJ_JAVAC\" was never defined.
30818 Usually this means the macro was only invoked conditionally." >&5
30819 echo "$as_me: error: conditional \"GCJ_JAVAC\" was never defined.
30820 Usually this means the macro was only invoked conditionally." >&2;}
30821 { (exit 1); exit 1; }; }
30823 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
30824 { { echo "$as_me:$LINENO: error: conditional \"GCJ_JAVAC\" was never defined.
30825 Usually this means the macro was only invoked conditionally." >&5
30826 echo "$as_me: error: conditional \"GCJ_JAVAC\" was never defined.
30827 Usually this means the macro was only invoked conditionally." >&2;}
30828 { (exit 1); exit 1; }; }
30830 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
30831 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
30832 Usually this means the macro was only invoked conditionally." >&5
30833 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
30834 Usually this means the macro was only invoked conditionally." >&2;}
30835 { (exit 1); exit 1; }; }
30837 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
30838 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30839 Usually this means the macro was only invoked conditionally." >&5
30840 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30841 Usually this means the macro was only invoked conditionally." >&2;}
30842 { (exit 1); exit 1; }; }
30844 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
30845 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
30846 Usually this means the macro was only invoked conditionally." >&5
30847 echo "$as_me: error: conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
30848 Usually this means the macro was only invoked conditionally." >&2;}
30849 { (exit 1); exit 1; }; }
30852 : ${CONFIG_STATUS=./config.status}
30853 ac_clean_files_save
=$ac_clean_files
30854 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30857 cat >$CONFIG_STATUS <<_ACEOF
30859 # Generated by $as_me.
30860 # Run this file to recreate the current configuration.
30861 # Compiler output produced by configure, useful for debugging
30862 # configure, is in config.log if it exists.
30865 ac_cs_recheck=false
30867 SHELL=\${CONFIG_SHELL-$SHELL}
30870 cat >>$CONFIG_STATUS <<\_ACEOF
30871 ## --------------------- ##
30872 ## M4sh Initialization. ##
30873 ## --------------------- ##
30875 # Be Bourne compatible
30876 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30879 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30880 # is contrary to our usage. Disable this feature.
30881 alias -g '${1+"$@"}'='"$@"'
30882 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30885 DUALCASE
=1; export DUALCASE
# for MKS sh
30887 # Support unset when possible.
30888 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30895 # Work around bugs in pre-3.0 UWIN ksh.
30896 $as_unset ENV MAIL MAILPATH
30903 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30904 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30905 LC_TELEPHONE LC_TIME
30907 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30908 eval $as_var=C
; export $as_var
30914 # Required to use basename.
30915 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30921 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
30922 as_basename
=basename
30928 # Name of the executable.
30929 as_me
=`$as_basename "$0" ||
30930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30931 X"$0" : 'X\(//\)$' \| \
30932 X"$0" : 'X\(/\)$' \| \
30933 . : '\(.\)' 2>/dev/null ||
30935 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30936 /^X\/\(\/\/\)$/{ s//\1/; q; }
30937 /^X\/\(\/\).*/{ s//\1/; q; }
30941 # PATH needs CR, and LINENO needs CR and PATH.
30942 # Avoid depending upon Character Ranges.
30943 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30944 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30945 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30946 as_cr_digits
='0123456789'
30947 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30949 # The user is always right.
30950 if test "${PATH_SEPARATOR+set}" != set; then
30951 echo "#! /bin/sh" >conf$$.sh
30952 echo "exit 0" >>conf$$.sh
30954 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30963 as_lineno_1
=$LINENO
30964 as_lineno_2
=$LINENO
30965 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30966 test "x$as_lineno_1" != "x$as_lineno_2" &&
30967 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30968 # Find who we are. Look in the path if we contain no path at all
30971 *[\\/]* ) as_myself
=$0 ;;
30972 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30973 for as_dir
in $PATH
30976 test -z "$as_dir" && as_dir
=.
30977 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30982 # We did not find ourselves, most probably we were run as `sh COMMAND'
30983 # in which case we are not to be found in the path.
30984 if test "x$as_myself" = x
; then
30987 if test ! -f "$as_myself"; then
30988 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30989 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30990 { (exit 1); exit 1; }; }
30992 case $CONFIG_SHELL in
30994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30995 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30998 test -z "$as_dir" && as_dir
=.
30999 for as_base
in sh bash ksh sh5
; do
31002 if ("$as_dir/$as_base" -c '
31003 as_lineno_1=$LINENO
31004 as_lineno_2=$LINENO
31005 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
31006 test "x$as_lineno_1" != "x$as_lineno_2" &&
31007 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
31008 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
31009 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
31010 CONFIG_SHELL
=$as_dir/$as_base
31011 export CONFIG_SHELL
31012 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
31020 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
31021 # uniformly replaced by the line number. The first 'sed' inserts a
31022 # line-number line before each line; the second 'sed' does the real
31023 # work. The second script uses 'N' to pair each line-number line
31024 # with the numbered line, and appends trailing '-' during
31025 # substitution so that $LINENO is not a special case at line end.
31026 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
31027 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
31028 sed '=' <$as_myself |
31033 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
31036 s,^['$as_cr_digits']*\n,,
31037 ' >$as_me.lineno
&&
31038 chmod +x
$as_me.lineno ||
31039 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
31040 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
31041 { (exit 1); exit 1; }; }
31043 # Don't try to exec as it changes $[0], causing all sort of problems
31044 # (the dirname of $[0] is not the place where we might find the
31045 # original and so on. Autoconf is especially sensible to this).
31047 # Exit status is that of the last command.
31052 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
31053 *c
*,-n*) ECHO_N
= ECHO_C
='
31055 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
31056 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
31059 if expr a
: '\(a\)' >/dev
/null
2>&1; then
31065 rm -f conf$$ conf$$.exe conf$$.
file
31067 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31068 # We could just check for DJGPP; but this test a) works b) is more generic
31069 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
31070 if test -f conf$$.exe
; then
31071 # Don't use ln at all; we don't have any links
31076 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31081 rm -f conf$$ conf$$.exe conf$$.
file
31083 if mkdir
-p .
2>/dev
/null
; then
31086 test -d .
/-p && rmdir .
/-p
31090 as_executable_p
="test -f"
31092 # Sed expression to map a string onto a valid CPP name.
31093 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31095 # Sed expression to map a string onto a valid variable name.
31096 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31100 # We need space, tab and new line, in precisely that order.
31110 # Open the log real soon, to keep \$[0] and so on meaningful, and to
31111 # report actual input values of CONFIG_FILES etc. instead of their
31112 # values after options handling. Logging --version etc. is OK.
31116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31117 ## Running $as_me. ##
31122 This file was extended by GNU Classpath $as_me 0.98-pre, which was
31123 generated by GNU Autoconf 2.59. Invocation command line was
31125 CONFIG_FILES = $CONFIG_FILES
31126 CONFIG_HEADERS = $CONFIG_HEADERS
31127 CONFIG_LINKS = $CONFIG_LINKS
31128 CONFIG_COMMANDS = $CONFIG_COMMANDS
31132 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
31136 # Files that config.status was made for.
31137 if test -n "$ac_config_files"; then
31138 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
31141 if test -n "$ac_config_headers"; then
31142 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
31145 if test -n "$ac_config_links"; then
31146 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
31149 if test -n "$ac_config_commands"; then
31150 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
31153 cat >>$CONFIG_STATUS <<\_ACEOF
31156 \`$as_me' instantiates files from templates according to the
31157 current configuration.
31159 Usage: $0 [OPTIONS] [FILE]...
31161 -h, --help print this help, then exit
31162 -V, --version print version number, then exit
31163 -q, --quiet do not print progress messages
31164 -d, --debug don't remove temporary files
31165 --recheck update $as_me by reconfiguring in the same conditions
31166 --file=FILE[:TEMPLATE]
31167 instantiate the configuration file FILE
31168 --header=FILE[:TEMPLATE]
31169 instantiate the configuration header FILE
31171 Configuration files:
31174 Configuration headers:
31177 Configuration links:
31180 Configuration commands:
31183 Report bugs to <bug-autoconf@gnu.org>."
31186 cat >>$CONFIG_STATUS <<_ACEOF
31188 GNU Classpath config.status 0.98-pre
31189 configured by $0, generated by GNU Autoconf 2.59,
31190 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
31192 Copyright (C) 2003 Free Software Foundation, Inc.
31193 This config.status script is free software; the Free Software Foundation
31194 gives unlimited permission to copy, distribute and modify it."
31199 cat >>$CONFIG_STATUS <<\_ACEOF
31200 # If no file are specified by the user, then we need to provide default
31201 # value. By we need to know if files were specified by the user.
31207 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
31208 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
31216 *) # This is not an option, so the user has probably given explicit
31219 ac_need_defaults
=false
;;
31223 # Handling of the options.
31225 cat >>$CONFIG_STATUS <<\_ACEOF
31226 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
31228 --version |
--vers* |
-V )
31229 echo "$ac_cs_version"; exit 0 ;;
31231 # Conflict between --help and --header
31232 { { echo "$as_me:$LINENO: error: ambiguous option: $1
31233 Try \`$0 --help' for more information." >&5
31234 echo "$as_me: error: ambiguous option: $1
31235 Try \`$0 --help' for more information." >&2;}
31236 { (exit 1); exit 1; }; };;
31237 --help |
--hel |
-h )
31238 echo "$ac_cs_usage"; exit 0 ;;
31239 --debug |
--d* |
-d )
31241 --file |
--fil |
--fi |
--f )
31243 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
31244 ac_need_defaults
=false
;;
31245 --header |
--heade |
--head |
--hea )
31247 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
31248 ac_need_defaults
=false
;;
31249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
31250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
31253 # This is an error.
31254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
31255 Try \`$0 --help' for more information." >&5
31256 echo "$as_me: error: unrecognized option: $1
31257 Try \`$0 --help' for more information." >&2;}
31258 { (exit 1); exit 1; }; } ;;
31260 *) ac_config_targets
="$ac_config_targets $1" ;;
31266 ac_configure_extra_args
=
31268 if $ac_cs_silent; then
31270 ac_configure_extra_args
="$ac_configure_extra_args --silent"
31274 cat >>$CONFIG_STATUS <<_ACEOF
31275 if \$ac_cs_recheck; then
31276 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31277 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31282 cat >>$CONFIG_STATUS <<_ACEOF
31284 # INIT-COMMANDS section.
31291 with_multisubdir="$with_multisubdir"
31292 with_multisrctop="$with_multisrctop"
31293 with_target_subdir="$with_target_subdir"
31294 ac_configure_args="${multilib_arg} ${ac_configure_args}"
31295 multi_basedir="$multi_basedir"
31296 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
31298 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31301 # The HP-UX ksh and POSIX shell print the target directory to stdout
31302 # if CDPATH is set.
31303 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31305 sed_quote_subst='$sed_quote_subst'
31306 double_quote_subst='$double_quote_subst'
31307 delay_variable_subst='$delay_variable_subst'
31308 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
31309 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
31310 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
31311 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
31312 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
31313 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
31314 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
31315 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
31316 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
31317 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
31318 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
31319 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
31320 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
31321 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
31322 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
31323 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
31324 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
31325 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
31326 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
31327 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
31328 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
31329 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
31330 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
31331 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
31332 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
31333 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31334 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31335 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31336 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31337 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31338 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31339 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31340 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31341 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
31342 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
31343 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31344 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31345 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31346 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
31347 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31348 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
31349 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
31350 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
31351 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
31352 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"`'
31353 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"`'
31354 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
31355 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
31356 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
31357 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
31358 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
31359 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
31360 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
31361 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
31362 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
31363 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
31364 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
31365 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
31366 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
31367 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31368 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
31369 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
31370 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31371 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31372 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
31373 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
31374 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31375 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31376 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
31377 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31378 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31379 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31380 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31381 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31382 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31383 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
31384 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31385 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31386 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31387 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
31388 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
31389 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
31390 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
31391 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
31392 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31393 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
31394 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
31395 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
31396 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
31397 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
31398 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31399 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31400 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31401 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31402 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
31403 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
31404 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31405 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
31406 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
31407 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31408 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31409 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
31410 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31411 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
31412 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31413 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31414 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31415 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31416 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
31417 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
31418 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31419 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31420 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
31421 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
31422 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
31423 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
31424 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
31425 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
31426 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
31427 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31428 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31429 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
31430 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
31431 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
31432 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31433 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31434 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31435 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31436 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31437 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31438 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31439 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31440 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31441 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31442 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31443 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31444 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31445 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31446 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31447 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31448 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31449 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31450 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31451 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31452 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31453 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31454 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31455 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31456 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31457 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31458 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31459 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31460 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31461 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31462 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31463 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31464 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31465 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31466 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31467 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31468 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31469 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31470 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31471 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31472 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31473 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31474 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31475 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31476 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31477 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31478 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31481 LTCFLAGS='$LTCFLAGS'
31482 compiler='$compiler_DEFAULT'
31484 # Quote evaled strings.
31496 deplibs_check_method \
31505 lt_cv_sys_global_symbol_pipe \
31506 lt_cv_sys_global_symbol_to_cdecl \
31507 lt_cv_sys_global_symbol_to_c_name_address \
31508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
31511 lt_prog_compiler_no_builtin_flag \
31512 lt_prog_compiler_wl \
31513 lt_prog_compiler_pic \
31514 lt_prog_compiler_static \
31515 lt_cv_prog_compiler_c_o \
31523 export_dynamic_flag_spec \
31524 whole_archive_flag_spec \
31525 compiler_needs_object \
31527 allow_undefined_flag \
31528 no_undefined_flag \
31529 hardcode_libdir_flag_spec \
31530 hardcode_libdir_flag_spec_ld \
31531 hardcode_libdir_separator \
31536 variables_saved_for_relink \
31538 library_names_spec \
31543 compiler_lib_search_dirs \
31548 compiler_lib_search_path \
31551 lt_prog_compiler_no_builtin_flag_CXX \
31552 lt_prog_compiler_wl_CXX \
31553 lt_prog_compiler_pic_CXX \
31554 lt_prog_compiler_static_CXX \
31555 lt_cv_prog_compiler_c_o_CXX \
31556 export_dynamic_flag_spec_CXX \
31557 whole_archive_flag_spec_CXX \
31558 compiler_needs_object_CXX \
31560 allow_undefined_flag_CXX \
31561 no_undefined_flag_CXX \
31562 hardcode_libdir_flag_spec_CXX \
31563 hardcode_libdir_flag_spec_ld_CXX \
31564 hardcode_libdir_separator_CXX \
31565 fix_srcfile_path_CXX \
31566 exclude_expsyms_CXX \
31567 include_expsyms_CXX \
31568 file_list_spec_CXX \
31569 compiler_lib_search_dirs_CXX \
31570 predep_objects_CXX \
31571 postdep_objects_CXX \
31574 compiler_lib_search_path_CXX; do
31575 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31576 *[\\\\\\\`\\"\\\$]*)
31577 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
31580 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31585 # Double-quote double-evaled strings.
31586 for var in reload_cmds \
31587 old_postinstall_cmds \
31588 old_postuninstall_cmds \
31590 extract_expsyms_cmds \
31591 old_archive_from_new_cmds \
31592 old_archive_from_expsyms_cmds \
31594 archive_expsym_cmds \
31596 module_expsym_cmds \
31597 export_symbols_cmds \
31600 postuninstall_cmds \
31602 sys_lib_search_path_spec \
31603 sys_lib_dlsearch_path_spec \
31604 old_archive_cmds_CXX \
31605 old_archive_from_new_cmds_CXX \
31606 old_archive_from_expsyms_cmds_CXX \
31608 archive_expsym_cmds_CXX \
31610 module_expsym_cmds_CXX \
31611 export_symbols_cmds_CXX \
31612 prelink_cmds_CXX; do
31613 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31614 *[\\\\\\\`\\"\\\$]*)
31615 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
31618 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31623 # Fix-up fallback echo if it was mangled by the above quoting rules.
31625 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
31629 ac_aux_dir='$ac_aux_dir'
31630 xsi_shell='$xsi_shell'
31631 lt_shell_append='$lt_shell_append'
31633 # See if we are running on zsh, and set the options which allow our
31634 # commands through without removal of \ escapes INIT.
31635 if test -n "\${ZSH_VERSION+set}" ; then
31636 setopt NO_GLOB_SUBST
31642 TIMESTAMP='$TIMESTAMP'
31650 # variables for create stdint.h replacement
31653 ac_stdint_h="$ac_stdint_h"
31654 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
31655 ac_cv_stdint_message="$ac_cv_stdint_message"
31656 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
31657 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
31658 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
31659 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
31660 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
31661 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
31662 ac_cv_char_data_model="$ac_cv_char_data_model"
31663 ac_cv_long_data_model="$ac_cv_long_data_model"
31664 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
31665 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
31666 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
31673 cat >>$CONFIG_STATUS <<\_ACEOF
31674 for ac_config_target
in $ac_config_targets
31676 case "$ac_config_target" in
31677 # Handling of arguments.
31678 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
31679 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
31680 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
31681 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
31682 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
31683 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
31684 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
31685 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
31686 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
31687 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
31688 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
31689 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
31690 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
31691 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
31692 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
31693 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
31694 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
31695 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
31696 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
31697 "native/jni/java-math/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-math/Makefile" ;;
31698 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
31699 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
31700 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
31701 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
31702 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
31703 "native/jni/gstreamer-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
31704 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
31705 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
31706 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
31707 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
31708 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
31709 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
31710 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
31711 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
31712 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
31713 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
31714 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
31715 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
31716 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
31717 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
31718 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
31719 "scripts/check_jni_methods.sh" ) CONFIG_FILES
="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
31720 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
31721 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
31722 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
31723 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
31724 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
31725 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
31726 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
31727 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
31728 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
31729 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
31730 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
31731 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
31732 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
31733 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
31734 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
31735 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
31736 "tools/gjdoc" ) CONFIG_FILES
="$CONFIG_FILES tools/gjdoc" ;;
31737 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
31738 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
31739 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
31740 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
31741 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
31742 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
31743 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
31744 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
31745 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
31746 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
31747 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
31748 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
31749 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
31750 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
31751 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
31752 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
31753 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
31754 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
31755 "gjdoc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjdoc" ;;
31756 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
31757 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
31758 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
31759 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31760 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31761 { (exit 1); exit 1; }; };;
31765 # If the user did not use the arguments to specify the items to instantiate,
31766 # then the envvar interface is used. Set only those that are not.
31767 # We use the long form for the default assignment because of an extremely
31768 # bizarre bug on SunOS 4.1.3.
31769 if $ac_need_defaults; then
31770 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
31771 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
31772 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
31773 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
31776 # Have a temporary directory for convenience. Make it in the build tree
31777 # simply because there is no reason to put it here, and in addition,
31778 # creating and moving files from /tmp can sometimes cause problems.
31779 # Create a temporary directory, and hook for its removal unless debugging.
31782 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
31783 trap '{ (exit 1); exit 1; }' 1 2 13 15
31786 # Create a (secure) tmp directory for tmp files.
31789 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
31790 test -n "$tmp" && test -d "$tmp"
31793 tmp
=.
/confstat$$
-$RANDOM
31794 (umask 077 && mkdir
$tmp)
31797 echo "$me: cannot create a temporary directory in ." >&2
31798 { (exit 1); exit 1; }
31803 cat >>$CONFIG_STATUS <<_ACEOF
31806 # CONFIG_FILES section.
31809 # No need to generate the scripts if there are no CONFIG_FILES.
31810 # This happens for instance when ./config.status config.h
31811 if test -n "\$CONFIG_FILES"; then
31812 # Protect against being on the right side of a sed subst in config.status.
31813 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
31814 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
31815 s,@SHELL@,$SHELL,;t t
31816 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
31817 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
31818 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
31819 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
31820 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
31821 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
31822 s,@exec_prefix@,$exec_prefix,;t t
31823 s,@prefix@,$prefix,;t t
31824 s,@program_transform_name@,$program_transform_name,;t t
31825 s,@bindir@,$bindir,;t t
31826 s,@sbindir@,$sbindir,;t t
31827 s,@libexecdir@,$libexecdir,;t t
31828 s,@datadir@,$datadir,;t t
31829 s,@sysconfdir@,$sysconfdir,;t t
31830 s,@sharedstatedir@,$sharedstatedir,;t t
31831 s,@localstatedir@,$localstatedir,;t t
31832 s,@libdir@,$libdir,;t t
31833 s,@includedir@,$includedir,;t t
31834 s,@oldincludedir@,$oldincludedir,;t t
31835 s,@infodir@,$infodir,;t t
31836 s,@mandir@,$mandir,;t t
31837 s,@build_alias@,$build_alias,;t t
31838 s,@host_alias@,$host_alias,;t t
31839 s,@target_alias@,$target_alias,;t t
31840 s,@DEFS@,$DEFS,;t t
31841 s,@ECHO_C@,$ECHO_C,;t t
31842 s,@ECHO_N@,$ECHO_N,;t t
31843 s,@ECHO_T@,$ECHO_T,;t t
31844 s,@LIBS@,$LIBS,;t t
31845 s,@build@,$build,;t t
31846 s,@build_cpu@,$build_cpu,;t t
31847 s,@build_vendor@,$build_vendor,;t t
31848 s,@build_os@,$build_os,;t t
31849 s,@host@,$host,;t t
31850 s,@host_cpu@,$host_cpu,;t t
31851 s,@host_vendor@,$host_vendor,;t t
31852 s,@host_os@,$host_os,;t t
31853 s,@target@,$target,;t t
31854 s,@target_cpu@,$target_cpu,;t t
31855 s,@target_vendor@,$target_vendor,;t t
31856 s,@target_os@,$target_os,;t t
31857 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
31858 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
31859 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
31860 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
31861 s,@multi_basedir@,$multi_basedir,;t t
31862 s,@LIBVERSION@,$LIBVERSION,;t t
31863 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
31864 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
31865 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
31866 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
31867 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
31868 s,@CYGPATH_W@,$CYGPATH_W,;t t
31869 s,@PACKAGE@,$PACKAGE,;t t
31870 s,@VERSION@,$VERSION,;t t
31871 s,@ACLOCAL@,$ACLOCAL,;t t
31872 s,@AUTOCONF@,$AUTOCONF,;t t
31873 s,@AUTOMAKE@,$AUTOMAKE,;t t
31874 s,@AUTOHEADER@,$AUTOHEADER,;t t
31875 s,@MAKEINFO@,$MAKEINFO,;t t
31876 s,@install_sh@,$install_sh,;t t
31877 s,@STRIP@,$STRIP,;t t
31878 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31879 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
31880 s,@mkdir_p@,$mkdir_p,;t t
31882 s,@SET_MAKE@,$SET_MAKE,;t t
31883 s,@am__leading_dot@,$am__leading_dot,;t t
31884 s,@AMTAR@,$AMTAR,;t t
31885 s,@am__tar@,$am__tar,;t t
31886 s,@am__untar@,$am__untar,;t t
31887 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
31888 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
31889 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
31890 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
31891 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
31892 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
31893 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
31894 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
31895 s,@CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@,$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE,;t t
31896 s,@CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@,$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE,;t t
31897 s,@default_toolkit@,$default_toolkit,;t t
31898 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
31899 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
31901 s,@CFLAGS@,$CFLAGS,;t t
31902 s,@LDFLAGS@,$LDFLAGS,;t t
31903 s,@CPPFLAGS@,$CPPFLAGS,;t t
31904 s,@ac_ct_CC@,$ac_ct_CC,;t t
31905 s,@EXEEXT@,$EXEEXT,;t t
31906 s,@OBJEXT@,$OBJEXT,;t t
31907 s,@DEPDIR@,$DEPDIR,;t t
31908 s,@am__include@,$am__include,;t t
31909 s,@am__quote@,$am__quote,;t t
31910 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
31911 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
31912 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
31913 s,@CCDEPMODE@,$CCDEPMODE,;t t
31914 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
31915 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
31917 s,@EGREP@,$EGREP,;t t
31918 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
31919 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
31920 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
31921 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
31922 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
31923 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
31924 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
31925 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
31926 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
31927 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
31928 s,@CREATE_GJDOC_TRUE@,$CREATE_GJDOC_TRUE,;t t
31929 s,@CREATE_GJDOC_FALSE@,$CREATE_GJDOC_FALSE,;t t
31930 s,@toolexeclibdir@,$toolexeclibdir,;t t
31931 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
31932 s,@glibjdir@,$glibjdir,;t t
31933 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
31934 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
31935 s,@CREATE_GJDOC_PARSER_TRUE@,$CREATE_GJDOC_PARSER_TRUE,;t t
31936 s,@CREATE_GJDOC_PARSER_FALSE@,$CREATE_GJDOC_PARSER_FALSE,;t t
31937 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
31938 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
31939 s,@LN_S@,$LN_S,;t t
31940 s,@LIBTOOL@,$LIBTOOL,;t t
31942 s,@FGREP@,$FGREP,;t t
31943 s,@GREP@,$GREP,;t t
31945 s,@DUMPBIN@,$DUMPBIN,;t t
31946 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
31948 s,@OBJDUMP@,$OBJDUMP,;t t
31949 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
31951 s,@ac_ct_AR@,$ac_ct_AR,;t t
31952 s,@RANLIB@,$RANLIB,;t t
31953 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31954 s,@lt_ECHO@,$lt_ECHO,;t t
31955 s,@DSYMUTIL@,$DSYMUTIL,;t t
31956 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
31957 s,@NMEDIT@,$NMEDIT,;t t
31958 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
31959 s,@LIPO@,$LIPO,;t t
31960 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
31961 s,@OTOOL@,$OTOOL,;t t
31962 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
31963 s,@OTOOL64@,$OTOOL64,;t t
31964 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
31966 s,@CXXFLAGS@,$CXXFLAGS,;t t
31967 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31968 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
31969 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
31970 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
31971 s,@CXXCPP@,$CXXCPP,;t t
31972 s,@PERL@,$PERL,;t t
31973 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
31974 s,@LIBMAGIC@,$LIBMAGIC,;t t
31975 s,@LIBICONV@,$LIBICONV,;t t
31976 s,@LTLIBICONV@,$LTLIBICONV,;t t
31977 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
31978 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
31979 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
31980 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
31981 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
31982 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
31983 s,@XML_LIBS@,$XML_LIBS,;t t
31984 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
31985 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
31986 s,@X_CFLAGS@,$X_CFLAGS,;t t
31987 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
31988 s,@X_LIBS@,$X_LIBS,;t t
31989 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
31990 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
31991 s,@GTK_LIBS@,$GTK_LIBS,;t t
31992 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
31993 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
31994 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
31995 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
31996 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
31997 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
31998 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
31999 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
32000 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
32001 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
32002 s,@GDK_LIBS@,$GDK_LIBS,;t t
32003 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
32004 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
32005 s,@GSTREAMER_BASE_CFLAGS@,$GSTREAMER_BASE_CFLAGS,;t t
32006 s,@GSTREAMER_BASE_LIBS@,$GSTREAMER_BASE_LIBS,;t t
32007 s,@GSTREAMER_PLUGINS_BASE_CFLAGS@,$GSTREAMER_PLUGINS_BASE_CFLAGS,;t t
32008 s,@GSTREAMER_PLUGINS_BASE_LIBS@,$GSTREAMER_PLUGINS_BASE_LIBS,;t t
32009 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
32010 s,@GSTREAMER_FILE_READER@,$GSTREAMER_FILE_READER,;t t
32011 s,@GSTREAMER_MIXER_PROVIDER@,$GSTREAMER_MIXER_PROVIDER,;t t
32012 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
32013 s,@QT_LIBS@,$QT_LIBS,;t t
32015 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
32016 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
32017 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
32018 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
32019 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
32020 s,@GMP_CFLAGS@,$GMP_CFLAGS,;t t
32021 s,@GMP_LIBS@,$GMP_LIBS,;t t
32022 s,@USER_JAVAH@,$USER_JAVAH,;t t
32023 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
32024 s,@vm_classes@,$vm_classes,;t t
32025 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
32026 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
32027 s,@MAINT@,$MAINT,;t t
32028 s,@LIBDEBUG@,$LIBDEBUG,;t t
32029 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
32030 s,@ECJ_JAR@,$ECJ_JAR,;t t
32031 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
32032 s,@REMOVE@,$REMOVE,;t t
32033 s,@MKDIR@,$MKDIR,;t t
32035 s,@DATE@,$DATE,;t t
32036 s,@FIND@,$FIND,;t t
32039 s,@WITH_JAR_TRUE@,$WITH_JAR_TRUE,;t t
32040 s,@WITH_JAR_FALSE@,$WITH_JAR_FALSE,;t t
32041 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
32042 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
32043 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
32044 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
32045 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
32046 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
32047 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
32048 s,@TOOLSDIR@,$TOOLSDIR,;t t
32049 s,@GJDOC@,$GJDOC,;t t
32050 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
32051 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
32053 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
32054 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
32055 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
32056 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
32057 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
32058 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
32059 s,@JAVA@,$JAVA,;t t
32060 s,@uudecode@,$uudecode,;t t
32061 s,@JAVAC@,$JAVAC,;t t
32062 s,@JAVAC_IS_GCJ@,$JAVAC_IS_GCJ,;t t
32063 s,@GCJ_JAVAC_TRUE@,$GCJ_JAVAC_TRUE,;t t
32064 s,@GCJ_JAVAC_FALSE@,$GCJ_JAVAC_FALSE,;t t
32065 s,@ANTLR_JAR@,$ANTLR_JAR,;t t
32066 s,@ANTLR@,$ANTLR,;t t
32067 s,@ac_ct_ANTLR@,$ac_ct_ANTLR,;t t
32068 s,@JAVAC_MEM_OPT@,$JAVAC_MEM_OPT,;t t
32069 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
32070 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
32071 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
32072 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
32073 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
32074 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
32075 s,@WANT_NATIVE_BIG_INTEGER@,$WANT_NATIVE_BIG_INTEGER,;t t
32076 s,@CREATE_GMPBI_LIBRARY_TRUE@,$CREATE_GMPBI_LIBRARY_TRUE,;t t
32077 s,@CREATE_GMPBI_LIBRARY_FALSE@,$CREATE_GMPBI_LIBRARY_FALSE,;t t
32078 s,@LIBOBJS@,$LIBOBJS,;t t
32079 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
32084 cat >>$CONFIG_STATUS <<\_ACEOF
32085 # Split the substitutions into bite-sized pieces for seds with
32086 # small command number limits, like on Digital OSF/1 and HP-UX.
32087 ac_max_sed_lines
=48
32088 ac_sed_frag
=1 # Number of current file.
32089 ac_beg
=1 # First line for current file.
32090 ac_end
=$ac_max_sed_lines # Line after last line for current file.
32093 while $ac_more_lines; do
32094 if test $ac_beg -gt 1; then
32095 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
32097 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
32099 if test ! -s $tmp/subs.frag
; then
32100 ac_more_lines
=false
32102 # The purpose of the label and of the branching condition is to
32103 # speed up the sed processing (if there are no `@' at all, there
32104 # is no need to browse any of the substitutions).
32105 # These are the two extra sed commands mentioned above.
32107 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
32108 if test -z "$ac_sed_cmds"; then
32109 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
32111 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
32113 ac_sed_frag
=`expr $ac_sed_frag + 1`
32115 ac_end
=`expr $ac_end + $ac_max_sed_lines`
32118 if test -z "$ac_sed_cmds"; then
32121 fi # test -n "$CONFIG_FILES"
32124 cat >>$CONFIG_STATUS <<\_ACEOF
32125 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
32126 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32128 - |
*:- |
*:-:* ) # input from stdin
32130 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32131 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32132 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32133 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32134 * ) ac_file_in
=$ac_file.
in ;;
32137 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
32138 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
32139 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32140 X"$ac_file" : 'X\(//\)[^/]' \| \
32141 X"$ac_file" : 'X\(//\)$' \| \
32142 X"$ac_file" : 'X\(/\)' \| \
32143 . : '\(.\)' 2>/dev/null ||
32145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32147 /^X\(\/\/\)$/{ s//\1/; q; }
32148 /^X\(\/\).*/{ s//\1/; q; }
32150 { if $as_mkdir_p; then
32155 while test ! -d "$as_dir"; do
32156 as_dirs
="$as_dir $as_dirs"
32157 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32159 X"$as_dir" : 'X\(//\)[^/]' \| \
32160 X"$as_dir" : 'X\(//\)$' \| \
32161 X"$as_dir" : 'X\(/\)' \| \
32162 . : '\(.\)' 2>/dev/null ||
32164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32166 /^X\(\/\/\)$/{ s//\1/; q; }
32167 /^X\(\/\).*/{ s//\1/; q; }
32170 test ! -n "$as_dirs" || mkdir
$as_dirs
32171 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32172 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32173 { (exit 1); exit 1; }; }; }
32177 if test "$ac_dir" != .
; then
32178 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32179 # A "../" for each directory in $ac_dir_suffix.
32180 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32182 ac_dir_suffix
= ac_top_builddir
=
32186 .
) # No --srcdir option. We are building in place.
32188 if test -z "$ac_top_builddir"; then
32191 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
32193 [\\/]* | ?
:[\\/]* ) # Absolute path.
32194 ac_srcdir
=$srcdir$ac_dir_suffix;
32195 ac_top_srcdir
=$srcdir ;;
32196 *) # Relative path.
32197 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
32198 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
32201 # Do not use `cd foo && pwd` to compute absolute paths, because
32202 # the directories may not exist.
32204 .
) ac_abs_builddir
="$ac_dir";;
32207 .
) ac_abs_builddir
=`pwd`;;
32208 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
32209 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
32212 case $ac_abs_builddir in
32213 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32215 case ${ac_top_builddir}.
in
32216 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
32217 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32218 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
32221 case $ac_abs_builddir in
32222 .
) ac_abs_srcdir
=$ac_srcdir;;
32225 .
) ac_abs_srcdir
=$ac_abs_builddir;;
32226 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
32227 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
32230 case $ac_abs_builddir in
32231 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
32233 case $ac_top_srcdir in
32234 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
32235 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
32236 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
32242 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
32243 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
32246 if test x
"$ac_file" != x-
; then
32247 { echo "$as_me:$LINENO: creating $ac_file" >&5
32248 echo "$as_me: creating $ac_file" >&6;}
32251 # Let's still pretend it is `configure' which instantiates (i.e., don't
32252 # use $as_me), people would be surprised to read:
32253 # /* config.h. Generated by config.status. */
32254 if test x
"$ac_file" = x-
; then
32257 configure_input
="$ac_file. "
32259 configure_input
=$configure_input"Generated from `echo $ac_file_in |
32260 sed 's,.*/,,'` by configure."
32262 # First look for the input files in the build tree, otherwise in the
32264 ac_file_inputs
=`IFS=:
32265 for f in $ac_file_in; do
32267 -) echo $tmp/stdin ;;
32269 # Absolute (can't be DOS-style, as IFS=:)
32270 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32271 echo "$as_me: error: cannot find input file: $f" >&2;}
32272 { (exit 1); exit 1; }; }
32275 if test -f "$f"; then
32278 elif test -f "$srcdir/$f"; then
32283 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32284 echo "$as_me: error: cannot find input file: $f" >&2;}
32285 { (exit 1); exit 1; }; }
32288 done` ||
{ (exit 1); exit 1; }
32290 cat >>$CONFIG_STATUS <<_ACEOF
32294 cat >>$CONFIG_STATUS <<\_ACEOF
32296 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
32297 s
,@configure_input@
,$configure_input,;t t
32298 s
,@srcdir@
,$ac_srcdir,;t t
32299 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
32300 s
,@top_srcdir@
,$ac_top_srcdir,;t t
32301 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
32302 s
,@builddir@
,$ac_builddir,;t t
32303 s
,@abs_builddir@
,$ac_abs_builddir,;t t
32304 s
,@top_builddir@
,$ac_top_builddir,;t t
32305 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
32306 s
,@INSTALL@
,$ac_INSTALL,;t t
32307 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
32309 if test x"$ac_file" != x-; then
32310 mv $tmp/out $ac_file
32318 cat >>$CONFIG_STATUS <<\_ACEOF
32321 # CONFIG_HEADER section.
32324 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
32325 # NAME is the cpp macro being defined and VALUE is the value it is being given.
32327 # ac_d sets the value in "#define NAME VALUE" lines.
32328 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
32329 ac_dB
='[ ].*$,\1#\2'
32332 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
32333 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
32334 ac_uB
='$,\1#\2define\3'
32338 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
32339 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32341 - |
*:- |
*:-:* ) # input from stdin
32343 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32344 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32345 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32346 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
32347 * ) ac_file_in
=$ac_file.
in ;;
32350 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
32351 echo "$as_me: creating $ac_file" >&6;}
32353 # First look for the input files in the build tree, otherwise in the
32355 ac_file_inputs
=`IFS=:
32356 for f in $ac_file_in; do
32358 -) echo $tmp/stdin ;;
32360 # Absolute (can't be DOS-style, as IFS=:)
32361 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32362 echo "$as_me: error: cannot find input file: $f" >&2;}
32363 { (exit 1); exit 1; }; }
32364 # Do quote $f, to prevent DOS paths from being IFS'd.
32367 if test -f "$f"; then
32370 elif test -f "$srcdir/$f"; then
32375 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32376 echo "$as_me: error: cannot find input file: $f" >&2;}
32377 { (exit 1); exit 1; }; }
32380 done` ||
{ (exit 1); exit 1; }
32381 # Remove the trailing spaces.
32382 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
32386 # Transform confdefs.h into two sed scripts, `conftest.defines' and
32387 # `conftest.undefs', that substitutes the proper values into
32388 # config.h.in to produce config.h. The first handles `#define'
32389 # templates, and the second `#undef' templates.
32390 # And first: Protect against being on the right side of a sed subst in
32391 # config.status. Protect against being in an unquoted here document
32392 # in config.status.
32393 rm -f conftest.defines conftest.undefs
32394 # Using a here document instead of a string reduces the quoting nightmare.
32395 # Putting comments in sed scripts is not portable.
32397 # `end' is used to avoid that the second main sed command (meant for
32398 # 0-ary CPP macros) applies to n-ary macro definitions.
32399 # See the Autoconf documentation for `clear'.
32400 cat >confdef2sed.
sed <<\_ACEOF
32405 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
32407 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
32410 # If some macros were called several times there might be several times
32411 # the same #defines, which is useless. Nevertheless, we may not want to
32412 # sort them, since we want the *last* AC-DEFINE to be honored.
32413 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
32414 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
32415 rm -f confdef2sed.sed
32417 # This sed command replaces #undef with comments. This is necessary, for
32418 # example, in the case of _POSIX_SOURCE, which is predefined and required
32419 # on some systems where configure will not decide to define it.
32420 cat >>conftest.undefs <<\_ACEOF
32421 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
32424 # Break up conftest.defines because some shells have a limit on the size
32425 # of here documents, and old seds have small limits too (100 cmds).
32426 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
32427 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
32428 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
32429 echo ' :' >>$CONFIG_STATUS
32430 rm -f conftest.tail
32431 while grep . conftest.defines >/dev/null
32433 # Write a limited-size here document to $tmp/defines.sed.
32434 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
32435 # Speed up: don't consider the non `#define' lines.
32436 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
32437 # Work around the forget-to-reset-the-flag bug.
32438 echo 't clr' >>$CONFIG_STATUS
32439 echo ': clr' >>$CONFIG_STATUS
32440 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
32442 sed -f $tmp/defines.sed $tmp/in >$tmp/out
32444 mv $tmp/out $tmp/in
32446 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
32447 rm -f conftest.defines
32448 mv conftest.
tail conftest.defines
32450 rm -f conftest.defines
32451 echo ' fi # grep' >>$CONFIG_STATUS
32452 echo >>$CONFIG_STATUS
32454 # Break up conftest.undefs because some shells have a limit on the size
32455 # of here documents, and old seds have small limits too (100 cmds).
32456 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
32457 rm -f conftest.
tail
32458 while grep . conftest.undefs
>/dev
/null
32460 # Write a limited-size here document to $tmp/undefs.sed.
32461 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
32462 # Speed up: don't consider the non
`#undef'
32463 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
32464 # Work around the forget-to-reset-the-flag bug.
32465 echo 't clr' >>$CONFIG_STATUS
32466 echo ': clr' >>$CONFIG_STATUS
32467 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
32469 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
32471 mv $tmp/out $tmp/in
32473 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
32474 rm -f conftest.undefs
32475 mv conftest.tail conftest.undefs
32477 rm -f conftest.undefs
32479 cat >>$CONFIG_STATUS <<\_ACEOF
32480 # Let's still pretend it is `configure
' which instantiates (i.e., don't
32481 # use $as_me), people would be surprised to read:
32482 # /* config.h. Generated by config.status. */
32483 if test x
"$ac_file" = x-
; then
32484 echo "/* Generated by configure. */" >$tmp/config.h
32486 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
32488 cat $tmp/in >>$tmp/config.h
32490 if test x
"$ac_file" != x-
; then
32491 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
32492 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32493 echo "$as_me: $ac_file is unchanged" >&6;}
32495 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
32496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32497 X"$ac_file" : 'X\(//\)[^/]' \| \
32498 X"$ac_file" : 'X\(//\)$' \| \
32499 X"$ac_file" : 'X\(/\)' \| \
32500 . : '\(.\)' 2>/dev/null ||
32502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32504 /^X\(\/\/\)$/{ s//\1/; q; }
32505 /^X\(\/\).*/{ s//\1/; q; }
32507 { if $as_mkdir_p; then
32512 while test ! -d "$as_dir"; do
32513 as_dirs
="$as_dir $as_dirs"
32514 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32516 X"$as_dir" : 'X\(//\)[^/]' \| \
32517 X"$as_dir" : 'X\(//\)$' \| \
32518 X"$as_dir" : 'X\(/\)' \| \
32519 . : '\(.\)' 2>/dev/null ||
32521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32523 /^X\(\/\/\)$/{ s//\1/; q; }
32524 /^X\(\/\).*/{ s//\1/; q; }
32527 test ! -n "$as_dirs" || mkdir
$as_dirs
32528 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32529 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32530 { (exit 1); exit 1; }; }; }
32533 mv $tmp/config.h
$ac_file
32537 rm -f $tmp/config.h
32539 # Compute $ac_file's index in $config_headers.
32541 for _am_header
in $config_headers :; do
32542 case $_am_header in
32543 $ac_file |
$ac_file:* )
32546 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
32549 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
32550 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32551 X$ac_file : 'X\(//\)[^/]' \| \
32552 X$ac_file : 'X\(//\)$' \| \
32553 X$ac_file : 'X\(/\)' \| \
32554 . : '\(.\)' 2>/dev/null ||
32556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32558 /^X\(\/\/\)$/{ s//\1/; q; }
32559 /^X\(\/\).*/{ s//\1/; q; }
32560 s/.*/./; q'`/stamp-h
$_am_stamp_count
32563 cat >>$CONFIG_STATUS <<\_ACEOF
32566 # CONFIG_LINKS section.
32569 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
32570 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
32571 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32573 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
32574 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
32576 if test ! -r $srcdir/$ac_source; then
32577 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
32578 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
32579 { (exit 1); exit 1; }; }
32583 # Make relative symlinks.
32584 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
32585 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32586 X"$ac_dest" : 'X\(//\)[^/]' \| \
32587 X"$ac_dest" : 'X\(//\)$' \| \
32588 X"$ac_dest" : 'X\(/\)' \| \
32589 . : '\(.\)' 2>/dev/null ||
32591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32593 /^X\(\/\/\)$/{ s//\1/; q; }
32594 /^X\(\/\).*/{ s//\1/; q; }
32596 { if $as_mkdir_p; then
32597 mkdir
-p "$ac_dest_dir"
32599 as_dir
="$ac_dest_dir"
32601 while test ! -d "$as_dir"; do
32602 as_dirs
="$as_dir $as_dirs"
32603 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32605 X"$as_dir" : 'X\(//\)[^/]' \| \
32606 X"$as_dir" : 'X\(//\)$' \| \
32607 X"$as_dir" : 'X\(/\)' \| \
32608 . : '\(.\)' 2>/dev/null ||
32610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32612 /^X\(\/\/\)$/{ s//\1/; q; }
32613 /^X\(\/\).*/{ s//\1/; q; }
32616 test ! -n "$as_dirs" || mkdir
$as_dirs
32617 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
32618 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
32619 { (exit 1); exit 1; }; }; }
32623 if test "$ac_dest_dir" != .
; then
32624 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
32625 # A "../" for each directory in $ac_dir_suffix.
32626 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32628 ac_dir_suffix
= ac_top_builddir
=
32632 .
) # No --srcdir option. We are building in place.
32634 if test -z "$ac_top_builddir"; then
32637 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
32639 [\\/]* | ?
:[\\/]* ) # Absolute path.
32640 ac_srcdir
=$srcdir$ac_dir_suffix;
32641 ac_top_srcdir
=$srcdir ;;
32642 *) # Relative path.
32643 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
32644 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
32647 # Do not use `cd foo && pwd` to compute absolute paths, because
32648 # the directories may not exist.
32650 .
) ac_abs_builddir
="$ac_dest_dir";;
32652 case "$ac_dest_dir" in
32653 .
) ac_abs_builddir
=`pwd`;;
32654 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
32655 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
32658 case $ac_abs_builddir in
32659 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32661 case ${ac_top_builddir}.
in
32662 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
32663 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32664 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
32667 case $ac_abs_builddir in
32668 .
) ac_abs_srcdir
=$ac_srcdir;;
32671 .
) ac_abs_srcdir
=$ac_abs_builddir;;
32672 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
32673 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
32676 case $ac_abs_builddir in
32677 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
32679 case $ac_top_srcdir in
32680 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
32681 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
32682 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
32688 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
32689 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
32692 # Try a symlink, then a hard link, then a copy.
32693 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
32694 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
32695 cp -p $srcdir/$ac_source $ac_dest ||
32696 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
32697 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
32698 { (exit 1); exit 1; }; }
32701 cat >>$CONFIG_STATUS <<\_ACEOF
32704 # CONFIG_COMMANDS section.
32706 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
32707 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
32708 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
32709 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
32710 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32711 X"$ac_dest" : 'X\(//\)[^/]' \| \
32712 X"$ac_dest" : 'X\(//\)$' \| \
32713 X"$ac_dest" : 'X\(/\)' \| \
32714 . : '\(.\)' 2>/dev/null ||
32716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32718 /^X\(\/\/\)$/{ s//\1/; q; }
32719 /^X\(\/\).*/{ s//\1/; q; }
32721 { if $as_mkdir_p; then
32726 while test ! -d "$as_dir"; do
32727 as_dirs
="$as_dir $as_dirs"
32728 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32730 X"$as_dir" : 'X\(//\)[^/]' \| \
32731 X"$as_dir" : 'X\(//\)$' \| \
32732 X"$as_dir" : 'X\(/\)' \| \
32733 . : '\(.\)' 2>/dev/null ||
32735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32737 /^X\(\/\/\)$/{ s//\1/; q; }
32738 /^X\(\/\).*/{ s//\1/; q; }
32741 test ! -n "$as_dirs" || mkdir
$as_dirs
32742 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32743 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32744 { (exit 1); exit 1; }; }; }
32748 if test "$ac_dir" != .
; then
32749 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32750 # A "../" for each directory in $ac_dir_suffix.
32751 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32753 ac_dir_suffix
= ac_top_builddir
=
32757 .
) # No --srcdir option. We are building in place.
32759 if test -z "$ac_top_builddir"; then
32762 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
32764 [\\/]* | ?
:[\\/]* ) # Absolute path.
32765 ac_srcdir
=$srcdir$ac_dir_suffix;
32766 ac_top_srcdir
=$srcdir ;;
32767 *) # Relative path.
32768 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
32769 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
32772 # Do not use `cd foo && pwd` to compute absolute paths, because
32773 # the directories may not exist.
32775 .
) ac_abs_builddir
="$ac_dir";;
32778 .
) ac_abs_builddir
=`pwd`;;
32779 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
32780 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
32783 case $ac_abs_builddir in
32784 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32786 case ${ac_top_builddir}.
in
32787 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
32788 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
32789 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
32792 case $ac_abs_builddir in
32793 .
) ac_abs_srcdir
=$ac_srcdir;;
32796 .
) ac_abs_srcdir
=$ac_abs_builddir;;
32797 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
32798 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
32801 case $ac_abs_builddir in
32802 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
32804 case $ac_top_srcdir in
32805 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
32806 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
32807 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
32812 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
32813 echo "$as_me: executing $ac_dest commands" >&6;}
32816 # Only add multilib support code if we just rebuilt the top-level
32818 case " $CONFIG_FILES " in
32820 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
32823 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
32824 # Strip MF so we end up with the name of the file.
32825 mf
=`echo "$mf" | sed -e 's/:.*$//'`
32826 # Check whether this is an Automake generated Makefile or not.
32827 # We used to match only the files named `Makefile.in', but
32828 # some people rename them; so instead we look at the file content.
32829 # Grep'ing the first line is not enough: some people post-process
32830 # each Makefile.in and add a new line on top of each file to say so.
32831 # So let's grep whole file.
32832 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
32833 dirpart
=`(dirname "$mf") 2>/dev/null ||
32834 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32835 X"$mf" : 'X\(//\)[^/]' \| \
32836 X"$mf" : 'X\(//\)$' \| \
32837 X"$mf" : 'X\(/\)' \| \
32838 . : '\(.\)' 2>/dev/null ||
32840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32842 /^X\(\/\/\)$/{ s//\1/; q; }
32843 /^X\(\/\).*/{ s//\1/; q; }
32848 # Extract the definition of DEPDIR, am__include, and am__quote
32849 # from the Makefile without running `make'.
32850 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
32851 test -z "$DEPDIR" && continue
32852 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
32853 test -z "am__include" && continue
32854 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
32855 # When using ansi2knr, U may be empty or an underscore; expand it
32856 U
=`sed -n 's/^U = //p' < "$mf"`
32857 # Find all dependency output files, they are included files with
32858 # $(DEPDIR) in their names. We invoke sed twice because it is the
32859 # simplest approach to changing $(DEPDIR) to its actual value in the
32861 for file in `sed -n "
32862 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32863 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32864 # Make sure the directory exists.
32865 test -f "$dirpart/$file" && continue
32866 fdir
=`(dirname "$file") 2>/dev/null ||
32867 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32868 X"$file" : 'X\(//\)[^/]' \| \
32869 X"$file" : 'X\(//\)$' \| \
32870 X"$file" : 'X\(/\)' \| \
32871 . : '\(.\)' 2>/dev/null ||
32873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32875 /^X\(\/\/\)$/{ s//\1/; q; }
32876 /^X\(\/\).*/{ s//\1/; q; }
32878 { if $as_mkdir_p; then
32879 mkdir
-p $dirpart/$fdir
32881 as_dir
=$dirpart/$fdir
32883 while test ! -d "$as_dir"; do
32884 as_dirs
="$as_dir $as_dirs"
32885 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32887 X"$as_dir" : 'X\(//\)[^/]' \| \
32888 X"$as_dir" : 'X\(//\)$' \| \
32889 X"$as_dir" : 'X\(/\)' \| \
32890 . : '\(.\)' 2>/dev/null ||
32892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32894 /^X\(\/\/\)$/{ s//\1/; q; }
32895 /^X\(\/\).*/{ s//\1/; q; }
32898 test ! -n "$as_dirs" || mkdir
$as_dirs
32899 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32900 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32901 { (exit 1); exit 1; }; }; }
32903 # echo "creating $dirpart/$file"
32904 echo '# dummy' > "$dirpart/$file"
32910 # See if we are running on zsh, and set the options which allow our
32911 # commands through without removal of \ escapes.
32912 if test -n "${ZSH_VERSION+set}" ; then
32913 setopt NO_GLOB_SUBST
32916 cfgfile
="${ofile}T"
32917 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32920 cat <<_LT_EOF >> "$cfgfile"
32923 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32924 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
32925 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32926 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32928 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32929 # 2006, 2007, 2008 Free Software Foundation, Inc.
32930 # Written by Gordon Matzigkeit, 1996
32932 # This file is part of GNU Libtool.
32934 # GNU Libtool is free software; you can redistribute it and/or
32935 # modify it under the terms of the GNU General Public License as
32936 # published by the Free Software Foundation; either version 2 of
32937 # the License, or (at your option) any later version.
32939 # As a special exception to the GNU General Public License,
32940 # if you distribute this file as part of a program or library that
32941 # is built using GNU Libtool, you may include this file under the
32942 # same distribution terms that you use for the rest of that program.
32944 # GNU Libtool is distributed in the hope that it will be useful,
32945 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32946 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32947 # GNU General Public License for more details.
32949 # You should have received a copy of the GNU General Public License
32950 # along with GNU Libtool; see the file COPYING. If not, a copy
32951 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
32952 # obtained by writing to the Free Software Foundation, Inc.,
32953 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32956 # The names of the tagged configurations supported by this script.
32957 available_tags="CXX "
32959 # ### BEGIN LIBTOOL CONFIG
32961 # Whether or not to build static libraries.
32962 build_old_libs=$enable_static
32964 # Which release of libtool.m4 was used?
32965 macro_version=$macro_version
32966 macro_revision=$macro_revision
32968 # Whether or not to build shared libraries.
32969 build_libtool_libs=$enable_shared
32971 # What type of objects to build.
32974 # Whether or not to optimize for fast installation.
32975 fast_install=$enable_fast_install
32978 host_alias=$host_alias
32982 # The build system.
32983 build_alias=$build_alias
32987 # A sed program that does not truncate output.
32990 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32991 Xsed="\$SED -e 1s/^X//"
32993 # A grep program that handles long lines.
32999 # A literal string matcher.
33002 # A BSD- or MS-compatible name lister.
33005 # Whether we need soft or hard links.
33008 # What is the maximum length of a command?
33009 max_cmd_len=$max_cmd_len
33011 # Object file suffix (normally "o").
33014 # Executable file suffix (normally "").
33017 # whether the shell understands "unset".
33020 # turn spaces into newlines.
33023 # turn newlines into spaces.
33026 # How to create reloadable object files.
33027 reload_flag=$lt_reload_flag
33028 reload_cmds=$lt_reload_cmds
33030 # An object symbol dumper.
33031 OBJDUMP=$lt_OBJDUMP
33033 # Method to check whether dependent libraries are shared objects.
33034 deplibs_check_method=$lt_deplibs_check_method
33036 # Command to use when deplibs_check_method == "file_magic".
33037 file_magic_cmd=$lt_file_magic_cmd
33041 AR_FLAGS=$lt_AR_FLAGS
33043 # A symbol stripping program.
33046 # Commands used to install an old-style archive.
33048 old_postinstall_cmds=$lt_old_postinstall_cmds
33049 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33054 # LTCC compiler flags.
33055 LTCFLAGS=$lt_CFLAGS
33057 # Take the output of nm and produce a listing of raw symbols and C names.
33058 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33060 # Transform the output of nm in a proper C declaration.
33061 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33063 # Transform the output of nm in a C name address pair.
33064 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33066 # Transform the output of nm in a C name address pair when lib prefix is needed.
33067 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33069 # The name of the directory that contains temporary libtool files.
33072 # Shell to use when invoking shell scripts.
33075 # An echo program that does not interpret backslashes.
33078 # Used to examine libraries when file_magic_cmd begins with "file".
33079 MAGIC_CMD=$MAGIC_CMD
33081 # Must we lock files when doing compilation?
33082 need_locks=$lt_need_locks
33084 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33085 DSYMUTIL=$lt_DSYMUTIL
33087 # Tool to change global to local symbols on Mac OS X.
33090 # Tool to manipulate fat objects and archives on Mac OS X.
33093 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33096 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33097 OTOOL64=$lt_OTOOL64
33099 # Old archive suffix (normally "a").
33102 # Shared library suffix (normally ".so").
33103 shrext_cmds=$lt_shrext_cmds
33105 # The commands to extract the exported symbol list from a shared archive.
33106 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33108 # Variables whose values should be saved in libtool wrapper scripts and
33109 # restored at link time.
33110 variables_saved_for_relink=$lt_variables_saved_for_relink
33112 # Do we need the "lib" prefix for modules?
33113 need_lib_prefix=$need_lib_prefix
33115 # Do we need a version for libraries?
33116 need_version=$need_version
33118 # Library versioning type.
33119 version_type=$version_type
33121 # Shared library runtime path variable.
33122 runpath_var=$runpath_var
33124 # Shared library path variable.
33125 shlibpath_var=$shlibpath_var
33127 # Is shlibpath searched before the hard-coded library search path?
33128 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33130 # Format of library name prefix.
33131 libname_spec=$lt_libname_spec
33133 # List of archive names. First name is the real one, the rest are links.
33134 # The last name is the one that the linker finds with -lNAME
33135 library_names_spec=$lt_library_names_spec
33137 # The coded name of the library, if different from the real name.
33138 soname_spec=$lt_soname_spec
33140 # Command to use after installation of a shared archive.
33141 postinstall_cmds=$lt_postinstall_cmds
33143 # Command to use after uninstallation of a shared archive.
33144 postuninstall_cmds=$lt_postuninstall_cmds
33146 # Commands used to finish a libtool library installation in a directory.
33147 finish_cmds=$lt_finish_cmds
33149 # As "finish_cmds", except a single script fragment to be evaled but
33151 finish_eval=$lt_finish_eval
33153 # Whether we should hardcode library paths into libraries.
33154 hardcode_into_libs=$hardcode_into_libs
33156 # Compile-time system search path for libraries.
33157 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33159 # Run-time system search path for libraries.
33160 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33162 # Whether dlopen is supported.
33163 dlopen_support=$enable_dlopen
33165 # Whether dlopen of programs is supported.
33166 dlopen_self=$enable_dlopen_self
33168 # Whether dlopen of statically linked programs is supported.
33169 dlopen_self_static=$enable_dlopen_self_static
33171 # Commands to strip libraries.
33172 old_striplib=$lt_old_striplib
33173 striplib=$lt_striplib
33176 # The linker used to build libraries.
33179 # Commands used to build an old-style archive.
33180 old_archive_cmds=$lt_old_archive_cmds
33182 # A language specific compiler.
33185 # Is the compiler the GNU compiler?
33188 # Compiler flag to turn off builtin functions.
33189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33191 # How to pass a linker flag through the compiler.
33192 wl=$lt_lt_prog_compiler_wl
33194 # Additional compiler flags for building library objects.
33195 pic_flag=$lt_lt_prog_compiler_pic
33197 # Compiler flag to prevent dynamic linking.
33198 link_static_flag=$lt_lt_prog_compiler_static
33200 # Does compiler simultaneously support -c and -o options?
33201 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33203 # Whether or not to add -lc for building shared libraries.
33204 build_libtool_need_lc=$archive_cmds_need_lc
33206 # Whether or not to disallow shared libs when runtime libs are static.
33207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33209 # Compiler flag to allow reflexive dlopens.
33210 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33212 # Compiler flag to generate shared objects directly from archives.
33213 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33215 # Whether the compiler copes with passing no objects directly.
33216 compiler_needs_object=$lt_compiler_needs_object
33218 # Create an old-style archive from a shared archive.
33219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33221 # Create a temporary old-style archive to link instead of a shared archive.
33222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33224 # Commands used to build a shared archive.
33225 archive_cmds=$lt_archive_cmds
33226 archive_expsym_cmds=$lt_archive_expsym_cmds
33228 # Commands used to build a loadable module if different from building
33229 # a shared archive.
33230 module_cmds=$lt_module_cmds
33231 module_expsym_cmds=$lt_module_expsym_cmds
33233 # Whether we are building with GNU ld or not.
33234 with_gnu_ld=$lt_with_gnu_ld
33236 # Flag that allows shared libraries with undefined symbols to be built.
33237 allow_undefined_flag=$lt_allow_undefined_flag
33239 # Flag that enforces no undefined symbols.
33240 no_undefined_flag=$lt_no_undefined_flag
33242 # Flag to hardcode \$libdir into a binary during linking.
33243 # This must work even if \$libdir does not exist
33244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33246 # If ld is used when linking, flag to hardcode \$libdir into a binary
33247 # during linking. This must work even if \$libdir does not exist.
33248 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33250 # Whether we need a single "-rpath" flag with a separated argument.
33251 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33253 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33254 # DIR into the resulting binary.
33255 hardcode_direct=$hardcode_direct
33257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33258 # DIR into the resulting binary and the resulting library dependency is
33259 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33260 # library is relocated.
33261 hardcode_direct_absolute=$hardcode_direct_absolute
33263 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33264 # into the resulting binary.
33265 hardcode_minus_L=$hardcode_minus_L
33267 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33268 # into the resulting binary.
33269 hardcode_shlibpath_var=$hardcode_shlibpath_var
33271 # Set to "yes" if building a shared library automatically hardcodes DIR
33272 # into the library and all subsequent libraries and executables linked
33274 hardcode_automatic=$hardcode_automatic
33276 # Set to yes if linker adds runtime paths of dependent libraries
33277 # to runtime path list.
33278 inherit_rpath=$inherit_rpath
33280 # Whether libtool must link a program against all its dependency libraries.
33281 link_all_deplibs=$link_all_deplibs
33283 # Fix the shell variable \$srcfile for the compiler.
33284 fix_srcfile_path=$lt_fix_srcfile_path
33286 # Set to "yes" if exported symbols are required.
33287 always_export_symbols=$always_export_symbols
33289 # The commands to list exported symbols.
33290 export_symbols_cmds=$lt_export_symbols_cmds
33292 # Symbols that should not be listed in the preloaded symbols.
33293 exclude_expsyms=$lt_exclude_expsyms
33295 # Symbols that must always be exported.
33296 include_expsyms=$lt_include_expsyms
33298 # Commands necessary for linking programs (against libraries) with templates.
33299 prelink_cmds=$lt_prelink_cmds
33301 # Specify filename containing input files.
33302 file_list_spec=$lt_file_list_spec
33304 # How to hardcode a shared library path into an executable.
33305 hardcode_action=$hardcode_action
33307 # The directories searched by this compiler when creating a shared library.
33308 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33310 # Dependencies to place before and after the objects being linked to
33311 # create a shared library.
33312 predep_objects=$lt_predep_objects
33313 postdep_objects=$lt_postdep_objects
33314 predeps=$lt_predeps
33315 postdeps=$lt_postdeps
33317 # The library search path used internally by the compiler when linking
33318 # a shared library.
33319 compiler_lib_search_path=$lt_compiler_lib_search_path
33321 # ### END LIBTOOL CONFIG
33327 cat <<\_LT_EOF
>> "$cfgfile"
33328 # AIX sometimes has problems with the GCC collect2 program. For some
33329 # reason, if we set the COLLECT_NAMES environment variable, the problems
33330 # vanish in a puff of smoke.
33331 if test "X${COLLECT_NAMES+set}" != Xset
; then
33333 export COLLECT_NAMES
33340 ltmain
="$ac_aux_dir/ltmain.sh"
33343 # We use sed instead of cat because bash on DJGPP gets confused if
33344 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33345 # text mode, it properly converts lines to CR/LF. This bash problem
33346 # is reportedly fixed, but why not run on old versions too?
33347 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33348 ||
(rm -f "$cfgfile"; exit 1)
33352 cat << \_LT_EOF
>> "$cfgfile"
33354 # func_dirname file append nondir_replacement
33355 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33356 # otherwise set result to NONDIR_REPLACEMENT.
33360 */*) func_dirname_result
="${1%/*}${2}" ;;
33361 * ) func_dirname_result
="${3}" ;;
33365 # func_basename file
33368 func_basename_result
="${1##*/}"
33371 # func_dirname_and_basename file append nondir_replacement
33372 # perform func_basename and func_dirname in a single function
33374 # dirname: Compute the dirname of FILE. If nonempty,
33375 # add APPEND to the result, otherwise set result
33376 # to NONDIR_REPLACEMENT.
33377 # value returned in "$func_dirname_result"
33378 # basename: Compute filename of FILE.
33379 # value retuned in "$func_basename_result"
33380 # Implementation must be kept synchronized with func_dirname
33381 # and func_basename. For efficiency, we do not delegate to
33382 # those functions but instead duplicate the functionality here.
33383 func_dirname_and_basename
()
33386 */*) func_dirname_result
="${1%/*}${2}" ;;
33387 * ) func_dirname_result
="${3}" ;;
33389 func_basename_result
="${1##*/}"
33392 # func_stripname prefix suffix name
33393 # strip PREFIX and SUFFIX off of NAME.
33394 # PREFIX and SUFFIX must not contain globbing or regex special
33395 # characters, hashes, percent signs, but SUFFIX may contain a leading
33396 # dot (in which case that matches only a dot).
33399 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33400 # positional parameters, so assign one to ordinary parameter first.
33401 func_stripname_result
=${3}
33402 func_stripname_result
=${func_stripname_result#"${1}"}
33403 func_stripname_result
=${func_stripname_result%"${2}"}
33409 func_opt_split_opt
=${1%%=*}
33410 func_opt_split_arg
=${1#*=}
33417 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33418 *) func_lo2o_result
=${1} ;;
33422 # func_xform libobj-or-source
33425 func_xform_result
=${1%.*}.lo
33428 # func_arith arithmetic-term...
33431 func_arith_result
=$
(( $
* ))
33435 # STRING may not start with a hyphen.
33438 func_len_result
=${#1}
33443 *) # Bourne compatible functions.
33444 cat << \_LT_EOF
>> "$cfgfile"
33446 # func_dirname file append nondir_replacement
33447 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33448 # otherwise set result to NONDIR_REPLACEMENT.
33451 # Extract subdirectory from the argument.
33452 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33453 if test "X$func_dirname_result" = "X${1}"; then
33454 func_dirname_result
="${3}"
33456 func_dirname_result
="$func_dirname_result${2}"
33460 # func_basename file
33463 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
33467 # func_stripname prefix suffix name
33468 # strip PREFIX and SUFFIX off of NAME.
33469 # PREFIX and SUFFIX must not contain globbing or regex special
33470 # characters, hashes, percent signs, but SUFFIX may contain a leading
33471 # dot (in which case that matches only a dot).
33472 # func_strip_suffix prefix name
33476 .
*) func_stripname_result
=`$ECHO "X${3}" \
33477 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33478 *) func_stripname_result
=`$ECHO "X${3}" \
33479 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33484 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33485 my_sed_long_arg
='1s/^-[^=]*=//'
33490 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33491 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33497 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33500 # func_xform libobj-or-source
33503 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33506 # func_arith arithmetic-term...
33509 func_arith_result
=`expr "$@"`
33513 # STRING may not start with a hyphen.
33516 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33522 case $lt_shell_append in
33524 cat << \_LT_EOF
>> "$cfgfile"
33526 # func_append var value
33527 # Append VALUE to the end of shell variable VAR.
33535 cat << \_LT_EOF
>> "$cfgfile"
33537 # func_append var value
33538 # Append VALUE to the end of shell variable VAR.
33549 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33550 ||
(rm -f "$cfgfile"; exit 1)
33552 mv -f "$cfgfile" "$ofile" ||
33553 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33557 cat <<_LT_EOF >> "$ofile"
33559 # ### BEGIN LIBTOOL TAG CONFIG: CXX
33561 # The linker used to build libraries.
33564 # Commands used to build an old-style archive.
33565 old_archive_cmds=$lt_old_archive_cmds_CXX
33567 # A language specific compiler.
33568 CC=$lt_compiler_CXX
33570 # Is the compiler the GNU compiler?
33573 # Compiler flag to turn off builtin functions.
33574 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33576 # How to pass a linker flag through the compiler.
33577 wl=$lt_lt_prog_compiler_wl_CXX
33579 # Additional compiler flags for building library objects.
33580 pic_flag=$lt_lt_prog_compiler_pic_CXX
33582 # Compiler flag to prevent dynamic linking.
33583 link_static_flag=$lt_lt_prog_compiler_static_CXX
33585 # Does compiler simultaneously support -c and -o options?
33586 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33588 # Whether or not to add -lc for building shared libraries.
33589 build_libtool_need_lc=$archive_cmds_need_lc_CXX
33591 # Whether or not to disallow shared libs when runtime libs are static.
33592 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33594 # Compiler flag to allow reflexive dlopens.
33595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33597 # Compiler flag to generate shared objects directly from archives.
33598 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33600 # Whether the compiler copes with passing no objects directly.
33601 compiler_needs_object=$lt_compiler_needs_object_CXX
33603 # Create an old-style archive from a shared archive.
33604 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33606 # Create a temporary old-style archive to link instead of a shared archive.
33607 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33609 # Commands used to build a shared archive.
33610 archive_cmds=$lt_archive_cmds_CXX
33611 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33613 # Commands used to build a loadable module if different from building
33614 # a shared archive.
33615 module_cmds=$lt_module_cmds_CXX
33616 module_expsym_cmds=$lt_module_expsym_cmds_CXX
33618 # Whether we are building with GNU ld or not.
33619 with_gnu_ld=$lt_with_gnu_ld_CXX
33621 # Flag that allows shared libraries with undefined symbols to be built.
33622 allow_undefined_flag=$lt_allow_undefined_flag_CXX
33624 # Flag that enforces no undefined symbols.
33625 no_undefined_flag=$lt_no_undefined_flag_CXX
33627 # Flag to hardcode \$libdir into a binary during linking.
33628 # This must work even if \$libdir does not exist
33629 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33631 # If ld is used when linking, flag to hardcode \$libdir into a binary
33632 # during linking. This must work even if \$libdir does not exist.
33633 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33635 # Whether we need a single "-rpath" flag with a separated argument.
33636 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33638 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33639 # DIR into the resulting binary.
33640 hardcode_direct=$hardcode_direct_CXX
33642 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33643 # DIR into the resulting binary and the resulting library dependency is
33644 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33645 # library is relocated.
33646 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33648 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33649 # into the resulting binary.
33650 hardcode_minus_L=$hardcode_minus_L_CXX
33652 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33653 # into the resulting binary.
33654 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33656 # Set to "yes" if building a shared library automatically hardcodes DIR
33657 # into the library and all subsequent libraries and executables linked
33659 hardcode_automatic=$hardcode_automatic_CXX
33661 # Set to yes if linker adds runtime paths of dependent libraries
33662 # to runtime path list.
33663 inherit_rpath=$inherit_rpath_CXX
33665 # Whether libtool must link a program against all its dependency libraries.
33666 link_all_deplibs=$link_all_deplibs_CXX
33668 # Fix the shell variable \$srcfile for the compiler.
33669 fix_srcfile_path=$lt_fix_srcfile_path_CXX
33671 # Set to "yes" if exported symbols are required.
33672 always_export_symbols=$always_export_symbols_CXX
33674 # The commands to list exported symbols.
33675 export_symbols_cmds=$lt_export_symbols_cmds_CXX
33677 # Symbols that should not be listed in the preloaded symbols.
33678 exclude_expsyms=$lt_exclude_expsyms_CXX
33680 # Symbols that must always be exported.
33681 include_expsyms=$lt_include_expsyms_CXX
33683 # Commands necessary for linking programs (against libraries) with templates.
33684 prelink_cmds=$lt_prelink_cmds_CXX
33686 # Specify filename containing input files.
33687 file_list_spec=$lt_file_list_spec_CXX
33689 # How to hardcode a shared library path into an executable.
33690 hardcode_action=$hardcode_action_CXX
33692 # The directories searched by this compiler when creating a shared library.
33693 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
33695 # Dependencies to place before and after the objects being linked to
33696 # create a shared library.
33697 predep_objects=$lt_predep_objects_CXX
33698 postdep_objects=$lt_postdep_objects_CXX
33699 predeps=$lt_predeps_CXX
33700 postdeps=$lt_postdeps_CXX
33702 # The library search path used internally by the compiler when linking
33703 # a shared library.
33704 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
33706 # ### END LIBTOOL TAG CONFIG: CXX
33710 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
33712 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
33713 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
33714 ac_stdint
=$tmp/_stdint.h
33716 echo "#ifndef" $_ac_stdint_h >$ac_stdint
33717 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
33718 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
33719 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
33720 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
33721 if test "_$ac_cv_header_stdint_t" != "_" ; then
33722 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
33723 echo "#include <stdint.h>" >>$ac_stdint
33724 echo "#endif" >>$ac_stdint
33725 echo "#endif" >>$ac_stdint
33728 cat >>$ac_stdint <<STDINT_EOF
33730 /* ................... shortcircuit part ........................... */
33732 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
33733 #include <stdint.h>
33735 #include <stddef.h>
33737 /* .................... configured part ............................ */
33741 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
33742 if test "_$ac_cv_header_stdint_x" != "_" ; then
33743 ac_header
="$ac_cv_header_stdint_x"
33744 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
33746 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
33749 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
33750 if test "_$ac_cv_header_stdint_o" != "_" ; then
33751 ac_header
="$ac_cv_header_stdint_o"
33752 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
33754 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
33757 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
33758 if test "_$ac_cv_header_stdint_u" != "_" ; then
33759 ac_header
="$ac_cv_header_stdint_u"
33760 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
33762 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
33765 echo "" >>$ac_stdint
33767 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
33768 echo "#include <$ac_header>" >>$ac_stdint
33769 echo "" >>$ac_stdint
33772 echo "/* which 64bit typedef has been found */" >>$ac_stdint
33773 if test "$ac_cv_type_uint64_t" = "yes" ; then
33774 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
33776 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
33778 if test "$ac_cv_type_u_int64_t" = "yes" ; then
33779 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
33781 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
33783 echo "" >>$ac_stdint
33785 echo "/* which type model has been detected */" >>$ac_stdint
33786 if test "_$ac_cv_char_data_model" != "_" ; then
33787 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
33788 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
33790 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
33791 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
33793 echo "" >>$ac_stdint
33795 echo "/* whether int_least types were detected */" >>$ac_stdint
33796 if test "$ac_cv_type_int_least32_t" = "yes"; then
33797 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
33799 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
33801 echo "/* whether int_fast types were detected */" >>$ac_stdint
33802 if test "$ac_cv_type_int_fast32_t" = "yes"; then
33803 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
33805 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
33807 echo "/* whether intmax_t type was detected */" >>$ac_stdint
33808 if test "$ac_cv_type_intmax_t" = "yes"; then
33809 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
33811 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
33813 echo "" >>$ac_stdint
33815 cat >>$ac_stdint <<STDINT_EOF
33816 /* .................... detections part ............................ */
33818 /* whether we need to define bitspecific types from compiler base types */
33819 #ifndef _STDINT_HEADER_INTPTR
33820 #ifndef _STDINT_HEADER_UINT32
33821 #ifndef _STDINT_HEADER_U_INT32
33822 #define _STDINT_NEED_INT_MODEL_T
33824 #define _STDINT_HAVE_U_INT_TYPES
33829 #ifdef _STDINT_HAVE_U_INT_TYPES
33830 #undef _STDINT_NEED_INT_MODEL_T
33833 #ifdef _STDINT_CHAR_MODEL
33834 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
33835 #ifndef _STDINT_BYTE_MODEL
33836 #define _STDINT_BYTE_MODEL 12
33841 #ifndef _STDINT_HAVE_INT_LEAST32_T
33842 #define _STDINT_NEED_INT_LEAST_T
33845 #ifndef _STDINT_HAVE_INT_FAST32_T
33846 #define _STDINT_NEED_INT_FAST_T
33849 #ifndef _STDINT_HEADER_INTPTR
33850 #define _STDINT_NEED_INTPTR_T
33851 #ifndef _STDINT_HAVE_INTMAX_T
33852 #define _STDINT_NEED_INTMAX_T
33857 /* .................... definition part ............................ */
33859 /* some system headers have good uint64_t */
33860 #ifndef _HAVE_UINT64_T
33861 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
33862 #define _HAVE_UINT64_T
33863 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
33864 #define _HAVE_UINT64_T
33865 typedef u_int64_t uint64_t;
33869 #ifndef _HAVE_UINT64_T
33870 /* .. here are some common heuristics using compiler runtime specifics */
33871 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
33872 #define _HAVE_UINT64_T
33873 #define _HAVE_LONGLONG_UINT64_T
33874 typedef long long int64_t;
33875 typedef unsigned long long uint64_t;
33877 #elif !defined __STRICT_ANSI__
33878 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
33879 #define _HAVE_UINT64_T
33880 typedef __int64 int64_t;
33881 typedef unsigned __int64 uint64_t;
33883 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
33884 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
33885 #if !defined _NO_LONGLONG
33886 #define _HAVE_UINT64_T
33887 #define _HAVE_LONGLONG_UINT64_T
33888 typedef long long int64_t;
33889 typedef unsigned long long uint64_t;
33892 #elif defined __alpha || (defined __mips && defined _ABIN32)
33893 #if !defined _NO_LONGLONG
33894 typedef long int64_t;
33895 typedef unsigned long uint64_t;
33897 /* compiler/cpu type to define int64_t */
33902 #if defined _STDINT_HAVE_U_INT_TYPES
33903 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
33904 typedef u_int8_t uint8_t;
33905 typedef u_int16_t uint16_t;
33906 typedef u_int32_t uint32_t;
33908 /* glibc compatibility */
33909 #ifndef __int8_t_defined
33910 #define __int8_t_defined
33914 #ifdef _STDINT_NEED_INT_MODEL_T
33915 /* we must guess all the basic types. Apart from byte-adressable system, */
33916 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
33917 /* (btw, those nibble-addressable systems are way off, or so we assume) */
33920 #if defined _STDINT_BYTE_MODEL
33921 #if _STDINT_LONG_MODEL+0 == 242
33922 /* 2:4:2 = IP16 = a normal 16-bit system */
33923 typedef unsigned char uint8_t;
33924 typedef unsigned short uint16_t;
33925 typedef unsigned long uint32_t;
33926 #ifndef __int8_t_defined
33927 #define __int8_t_defined
33928 typedef char int8_t;
33929 typedef short int16_t;
33930 typedef long int32_t;
33932 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
33933 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
33934 /* 4:4:4 = ILP32 = a normal 32-bit system */
33935 typedef unsigned char uint8_t;
33936 typedef unsigned short uint16_t;
33937 typedef unsigned int uint32_t;
33938 #ifndef __int8_t_defined
33939 #define __int8_t_defined
33940 typedef char int8_t;
33941 typedef short int16_t;
33942 typedef int int32_t;
33944 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
33945 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
33946 /* 4:8:8 = LP64 = a normal 64-bit system */
33947 typedef unsigned char uint8_t;
33948 typedef unsigned short uint16_t;
33949 typedef unsigned int uint32_t;
33950 #ifndef __int8_t_defined
33951 #define __int8_t_defined
33952 typedef char int8_t;
33953 typedef short int16_t;
33954 typedef int int32_t;
33956 /* this system has a "long" of 64bit */
33957 #ifndef _HAVE_UINT64_T
33958 #define _HAVE_UINT64_T
33959 typedef unsigned long uint64_t;
33960 typedef long int64_t;
33962 #elif _STDINT_LONG_MODEL+0 == 448
33963 /* LLP64 a 64-bit system derived from a 32-bit system */
33964 typedef unsigned char uint8_t;
33965 typedef unsigned short uint16_t;
33966 typedef unsigned int uint32_t;
33967 #ifndef __int8_t_defined
33968 #define __int8_t_defined
33969 typedef char int8_t;
33970 typedef short int16_t;
33971 typedef int int32_t;
33973 /* assuming the system has a "long long" */
33974 #ifndef _HAVE_UINT64_T
33975 #define _HAVE_UINT64_T
33976 #define _HAVE_LONGLONG_UINT64_T
33977 typedef unsigned long long uint64_t;
33978 typedef long long int64_t;
33981 #define _STDINT_NO_INT32_T
33984 #define _STDINT_NO_INT8_T
33985 #define _STDINT_NO_INT32_T
33990 * quote from SunOS-5.8 sys/inttypes.h:
33991 * Use at your own risk. As of February 1996, the committee is squarely
33992 * behind the fixed sized types; the "least" and "fast" types are still being
33993 * discussed. The probability that the "fast" types may be removed before
33994 * the standard is finalized is high enough that they are not currently
33998 #if defined _STDINT_NEED_INT_LEAST_T
33999 typedef int8_t int_least8_t;
34000 typedef int16_t int_least16_t;
34001 typedef int32_t int_least32_t;
34002 #ifdef _HAVE_UINT64_T
34003 typedef int64_t int_least64_t;
34006 typedef uint8_t uint_least8_t;
34007 typedef uint16_t uint_least16_t;
34008 typedef uint32_t uint_least32_t;
34009 #ifdef _HAVE_UINT64_T
34010 typedef uint64_t uint_least64_t;
34015 #if defined _STDINT_NEED_INT_FAST_T
34016 typedef int8_t int_fast8_t;
34017 typedef int int_fast16_t;
34018 typedef int32_t int_fast32_t;
34019 #ifdef _HAVE_UINT64_T
34020 typedef int64_t int_fast64_t;
34023 typedef uint8_t uint_fast8_t;
34024 typedef unsigned uint_fast16_t;
34025 typedef uint32_t uint_fast32_t;
34026 #ifdef _HAVE_UINT64_T
34027 typedef uint64_t uint_fast64_t;
34032 #ifdef _STDINT_NEED_INTMAX_T
34033 #ifdef _HAVE_UINT64_T
34034 typedef int64_t intmax_t;
34035 typedef uint64_t uintmax_t;
34037 typedef long intmax_t;
34038 typedef unsigned long uintmax_t;
34042 #ifdef _STDINT_NEED_INTPTR_T
34043 #ifndef __intptr_t_defined
34044 #define __intptr_t_defined
34045 /* we encourage using "long" to store pointer values, never use "int" ! */
34046 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
34047 typedef unsigned int uintptr_t;
34048 typedef int intptr_t;
34049 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
34050 typedef unsigned long uintptr_t;
34051 typedef long intptr_t;
34052 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
34053 typedef uint64_t uintptr_t;
34054 typedef int64_t intptr_t;
34055 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
34056 typedef unsigned long uintptr_t;
34057 typedef long intptr_t;
34062 /* The ISO C99 standard specifies that in C++ implementations these
34063 should only be defined if explicitly requested. */
34064 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
34068 # define INT8_C(c) c
34069 # define INT16_C(c) c
34070 # define INT32_C(c) c
34071 # ifdef _HAVE_LONGLONG_UINT64_T
34072 # define INT64_C(c) c ## L
34074 # define INT64_C(c) c ## LL
34078 # define UINT8_C(c) c ## U
34079 # define UINT16_C(c) c ## U
34080 # define UINT32_C(c) c ## U
34081 # ifdef _HAVE_LONGLONG_UINT64_T
34082 # define UINT64_C(c) c ## UL
34084 # define UINT64_C(c) c ## ULL
34087 /* Maximal type. */
34088 # ifdef _HAVE_LONGLONG_UINT64_T
34089 # define INTMAX_C(c) c ## L
34090 # define UINTMAX_C(c) c ## UL
34092 # define INTMAX_C(c) c ## LL
34093 # define UINTMAX_C(c) c ## ULL
34096 /* literalnumbers */
34100 /* These limits are merily those of a two complement byte-oriented system */
34102 /* Minimum of signed integral types. */
34104 # define INT8_MIN (-128)
34107 # define INT16_MIN (-32767-1)
34110 # define INT32_MIN (-2147483647-1)
34113 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
34116 /* Maximum of signed integral types. */
34118 # define INT8_MAX (127)
34121 # define INT16_MAX (32767)
34124 # define INT32_MAX (2147483647)
34127 # define INT64_MAX (__INT64_C(9223372036854775807))
34130 /* Maximum of unsigned integral types. */
34132 # define UINT8_MAX (255)
34135 # define UINT16_MAX (65535)
34138 # define UINT32_MAX (4294967295U)
34141 # define UINT64_MAX (__UINT64_C(18446744073709551615))
34144 /* Minimum of signed integral types having a minimum size. */
34145 # define INT_LEAST8_MIN INT8_MIN
34146 # define INT_LEAST16_MIN INT16_MIN
34147 # define INT_LEAST32_MIN INT32_MIN
34148 # define INT_LEAST64_MIN INT64_MIN
34149 /* Maximum of signed integral types having a minimum size. */
34150 # define INT_LEAST8_MAX INT8_MAX
34151 # define INT_LEAST16_MAX INT16_MAX
34152 # define INT_LEAST32_MAX INT32_MAX
34153 # define INT_LEAST64_MAX INT64_MAX
34155 /* Maximum of unsigned integral types having a minimum size. */
34156 # define UINT_LEAST8_MAX UINT8_MAX
34157 # define UINT_LEAST16_MAX UINT16_MAX
34158 # define UINT_LEAST32_MAX UINT32_MAX
34159 # define UINT_LEAST64_MAX UINT64_MAX
34168 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
34169 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
34170 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
34172 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
34173 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34174 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
34175 X"$ac_stdint_h" : 'X\(//\)$' \| \
34176 X"$ac_stdint_h" : 'X\(/\)' \| \
34177 . : '\(.\)' 2>/dev/null ||
34178 echo X"$ac_stdint_h" |
34179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34181 /^X\(\/\/\)$/{ s//\1/; q; }
34182 /^X\(\/\).*/{ s//\1/; q; }
34184 { if $as_mkdir_p; then
34189 while test ! -d "$as_dir"; do
34190 as_dirs
="$as_dir $as_dirs"
34191 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
34192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34193 X"$as_dir" : 'X\(//\)[^/]' \| \
34194 X"$as_dir" : 'X\(//\)$' \| \
34195 X"$as_dir" : 'X\(/\)' \| \
34196 . : '\(.\)' 2>/dev/null ||
34198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34200 /^X\(\/\/\)$/{ s//\1/; q; }
34201 /^X\(\/\).*/{ s//\1/; q; }
34204 test ! -n "$as_dirs" || mkdir
$as_dirs
34205 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34206 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34207 { (exit 1); exit 1; }; }; }
34210 mv $ac_stdint $ac_stdint_h
34213 gappletviewer
) chmod 755 tools
/gappletviewer
;;
34214 gjarsigner
) chmod 755 tools
/gjarsigner
;;
34215 gkeytool
) chmod 755 tools
/gkeytool
;;
34216 gjar
) chmod 755 tools
/gjar
;;
34217 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
34218 gserialver
) chmod 755 tools
/gserialver
;;
34219 grmiregistry
) chmod 755 tools
/grmiregistry
;;
34220 gtnameserv
) chmod 755 tools
/gtnameserv
;;
34221 gorbd
) chmod 755 tools
/gorbd
;;
34222 grmid
) chmod 755 tools
/grmid
;;
34223 grmic
) chmod 755 tools
/grmic
;;
34224 gjavah
) chmod 755 tools
/gjavah
;;
34225 gjdoc
) chmod 755 tools
/gjdoc
;;
34226 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
34227 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
34232 cat >>$CONFIG_STATUS <<\_ACEOF
34234 { (exit 0); exit 0; }
34236 chmod +x
$CONFIG_STATUS
34237 ac_clean_files
=$ac_clean_files_save
34240 # configure is writing to config.log, and then calls config.status.
34241 # config.status does its own redirection, appending to config.log.
34242 # Unfortunately, on DOS this fails, as config.log is still kept open
34243 # by configure, so config.status won't be able to write to it; its
34244 # output is simply discarded. So we exec the FD to /dev/null,
34245 # effectively closing config.log, so it can be properly (re)opened and
34246 # appended to by config.status. When coming back to configure, we
34247 # need to make the FD available again.
34248 if test "$no_create" != yes; then
34250 ac_config_status_args
=
34251 test "$silent" = yes &&
34252 ac_config_status_args
="$ac_config_status_args --quiet"
34254 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34256 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34257 # would make configure fail if this is the last instruction.
34258 $ac_cs_success ||
{ (exit 1); exit 1; }
34262 # Create standard.omit based on decisions we just made.
34263 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
34264 if test x
$use_escher != xtrue
; then
34265 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit