2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.96-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.96-pre'
422 PACKAGE_STRING
='GNU Classpath 0.96-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 toolexeclibdir nativeexeclibdir glibjdir VM_BINARY CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS 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 USER_JAVAH CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC ECJ JAVAC FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_JAVAC_TRUE FOUND_JAVAC_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE 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 FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
467 # Initialize some variables set by options.
469 ac_init_version
=false
470 # The variables have the same names as the options, with
471 # dashes changed to underlines.
479 program_transform_name
=s
,x
,x
,
487 # Installation directory options.
488 # These are left unexpanded so users can "make install exec_prefix=/foo"
489 # and all the variables that are supposed to be based on exec_prefix
490 # by default will actually change.
491 # Use braces instead of parens because sh, perl, etc. also accept them.
492 bindir
='${exec_prefix}/bin'
493 sbindir
='${exec_prefix}/sbin'
494 libexecdir
='${exec_prefix}/libexec'
495 datadir
='${prefix}/share'
496 sysconfdir
='${prefix}/etc'
497 sharedstatedir
='${prefix}/com'
498 localstatedir
='${prefix}/var'
499 libdir
='${exec_prefix}/lib'
500 includedir
='${prefix}/include'
501 oldincludedir
='/usr/include'
502 infodir
='${prefix}/info'
503 mandir
='${prefix}/man'
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
515 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
517 # Accept the important Cygnus configure options, so we can diagnose typos.
521 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
523 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
526 -build |
--build |
--buil |
--bui |
--bu)
527 ac_prev
=build_alias
;;
528 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
529 build_alias
=$ac_optarg ;;
531 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
532 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
533 ac_prev
=cache_file
;;
534 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
535 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
536 cache_file
=$ac_optarg ;;
539 cache_file
=config.cache
;;
541 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
543 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
545 datadir
=$ac_optarg ;;
547 -disable-* |
--disable-*)
548 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
551 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
552 { (exit 1); exit 1; }; }
553 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
554 eval "enable_$ac_feature=no" ;;
556 -enable-* |
--enable-*)
557 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
558 # Reject names that are not valid shell variable names.
559 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
560 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561 { (exit 1); exit 1; }; }
562 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
564 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567 eval "enable_$ac_feature='$ac_optarg'" ;;
569 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
570 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
571 |
--exec |
--exe |
--ex)
572 ac_prev
=exec_prefix
;;
573 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
574 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
575 |
--exec=* |
--exe=* |
--ex=*)
576 exec_prefix
=$ac_optarg ;;
578 -gas |
--gas |
--ga |
--g)
579 # Obsolete; use --with-gas.
582 -help |
--help |
--hel |
--he |
-h)
584 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
585 ac_init_help
=recursive
;;
586 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
587 ac_init_help
=short
;;
589 -host |
--host |
--hos |
--ho)
590 ac_prev
=host_alias
;;
591 -host=* |
--host=* |
--hos=* |
--ho=*)
592 host_alias
=$ac_optarg ;;
594 -includedir |
--includedir |
--includedi |
--included |
--include \
595 |
--includ |
--inclu |
--incl |
--inc)
596 ac_prev
=includedir
;;
597 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
598 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
599 includedir
=$ac_optarg ;;
601 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
603 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
604 infodir
=$ac_optarg ;;
606 -libdir |
--libdir |
--libdi |
--libd)
608 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
611 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
612 |
--libexe |
--libex |
--libe)
613 ac_prev
=libexecdir
;;
614 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
615 |
--libexe=* |
--libex=* |
--libe=*)
616 libexecdir
=$ac_optarg ;;
618 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
619 |
--localstate |
--localstat |
--localsta |
--localst \
620 |
--locals |
--local |
--loca |
--loc |
--lo)
621 ac_prev
=localstatedir
;;
622 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
623 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
624 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
625 localstatedir
=$ac_optarg ;;
627 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
629 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
633 # Obsolete; use --without-fp.
636 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
637 |
--no-cr |
--no-c |
-n)
640 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
641 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
644 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
645 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
646 |
--oldin |
--oldi |
--old |
--ol |
--o)
647 ac_prev
=oldincludedir
;;
648 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
649 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
650 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
651 oldincludedir
=$ac_optarg ;;
653 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
655 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
658 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
659 |
--program-pre |
--program-pr |
--program-p)
660 ac_prev
=program_prefix
;;
661 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
662 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
663 program_prefix
=$ac_optarg ;;
665 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
666 |
--program-suf |
--program-su |
--program-s)
667 ac_prev
=program_suffix
;;
668 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
669 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
670 program_suffix
=$ac_optarg ;;
672 -program-transform-name |
--program-transform-name \
673 |
--program-transform-nam |
--program-transform-na \
674 |
--program-transform-n |
--program-transform- \
675 |
--program-transform |
--program-transfor \
676 |
--program-transfo |
--program-transf \
677 |
--program-trans |
--program-tran \
678 |
--progr-tra |
--program-tr |
--program-t)
679 ac_prev
=program_transform_name
;;
680 -program-transform-name=* |
--program-transform-name=* \
681 |
--program-transform-nam=* |
--program-transform-na=* \
682 |
--program-transform-n=* |
--program-transform-=* \
683 |
--program-transform=* |
--program-transfor=* \
684 |
--program-transfo=* |
--program-transf=* \
685 |
--program-trans=* |
--program-tran=* \
686 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
687 program_transform_name
=$ac_optarg ;;
689 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
690 |
-silent |
--silent |
--silen |
--sile |
--sil)
693 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
695 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
697 sbindir
=$ac_optarg ;;
699 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
700 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
701 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
703 ac_prev
=sharedstatedir
;;
704 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
705 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
706 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
708 sharedstatedir
=$ac_optarg ;;
710 -site |
--site |
--sit)
712 -site=* |
--site=* |
--sit=*)
715 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
717 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
720 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
721 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
722 ac_prev
=sysconfdir
;;
723 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
724 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
725 sysconfdir
=$ac_optarg ;;
727 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
728 ac_prev
=target_alias
;;
729 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
730 target_alias
=$ac_optarg ;;
732 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
735 -version |
--version |
--versio |
--versi |
--vers |
-V)
739 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
740 # Reject names that are not valid shell variable names.
741 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
742 { echo "$as_me: error: invalid package name: $ac_package" >&2
743 { (exit 1); exit 1; }; }
744 ac_package
=`echo $ac_package| sed 's/-/_/g'`
746 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749 eval "with_$ac_package='$ac_optarg'" ;;
751 -without-* |
--without-*)
752 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
753 # Reject names that are not valid shell variable names.
754 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
755 { echo "$as_me: error: invalid package name: $ac_package" >&2
756 { (exit 1); exit 1; }; }
757 ac_package
=`echo $ac_package | sed 's/-/_/g'`
758 eval "with_$ac_package=no" ;;
761 # Obsolete; use --with-x.
764 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
765 |
--x-incl |
--x-inc |
--x-in |
--x-i)
766 ac_prev
=x_includes
;;
767 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
768 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
769 x_includes
=$ac_optarg ;;
771 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
772 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
773 ac_prev
=x_libraries
;;
774 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
775 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
776 x_libraries
=$ac_optarg ;;
778 -*) { echo "$as_me: error: unrecognized option: $ac_option
779 Try \`$0 --help' for more information." >&2
780 { (exit 1); exit 1; }; }
784 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
787 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
788 { (exit 1); exit 1; }; }
789 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
790 eval "$ac_envvar='$ac_optarg'"
794 # FIXME: should be removed in autoconf 3.0.
795 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
797 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
798 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
804 if test -n "$ac_prev"; then
805 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
806 { echo "$as_me: error: missing argument to $ac_option" >&2
807 { (exit 1); exit 1; }; }
810 # Be sure to have absolute paths.
811 for ac_var
in exec_prefix prefix
813 eval ac_val
=$
`echo $ac_var`
815 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
816 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
817 { (exit 1); exit 1; }; };;
821 # Be sure to have absolute paths.
822 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
823 localstatedir libdir includedir oldincludedir infodir mandir
825 eval ac_val
=$
`echo $ac_var`
827 [\\/$
]* | ?
:[\\/]* ) ;;
828 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
829 { (exit 1); exit 1; }; };;
833 # There might be people who depend on the old broken behavior: `$host'
834 # used to hold the argument of --host etc.
835 # FIXME: To remove some day.
840 # FIXME: To remove some day.
841 if test "x$host_alias" != x
; then
842 if test "x$build_alias" = x
; then
843 cross_compiling
=maybe
844 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
845 If a cross compiler is detected then cross compile mode will be used." >&2
846 elif test "x$build_alias" != "x$host_alias"; then
852 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
854 test "$silent" = yes && exec 6>/dev
/null
857 # Find the source files, if location was not specified.
858 if test -z "$srcdir"; then
859 ac_srcdir_defaulted
=yes
860 # Try the directory containing this script, then its parent.
861 ac_confdir
=`(dirname "$0") 2>/dev/null ||
862 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
863 X"$0" : 'X\(//\)[^/]' \| \
864 X"$0" : 'X\(//\)$' \| \
865 X"$0" : 'X\(/\)' \| \
866 . : '\(.\)' 2>/dev/null ||
868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
870 /^X\(\/\/\)$/{ s//\1/; q; }
871 /^X\(\/\).*/{ s//\1/; q; }
874 if test ! -r $srcdir/$ac_unique_file; then
878 ac_srcdir_defaulted
=no
880 if test ! -r $srcdir/$ac_unique_file; then
881 if test "$ac_srcdir_defaulted" = yes; then
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
883 { (exit 1); exit 1; }; }
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
886 { (exit 1); exit 1; }; }
889 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
890 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
891 { (exit 1); exit 1; }; }
892 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
893 ac_env_build_alias_set
=${build_alias+set}
894 ac_env_build_alias_value
=$build_alias
895 ac_cv_env_build_alias_set
=${build_alias+set}
896 ac_cv_env_build_alias_value
=$build_alias
897 ac_env_host_alias_set
=${host_alias+set}
898 ac_env_host_alias_value
=$host_alias
899 ac_cv_env_host_alias_set
=${host_alias+set}
900 ac_cv_env_host_alias_value
=$host_alias
901 ac_env_target_alias_set
=${target_alias+set}
902 ac_env_target_alias_value
=$target_alias
903 ac_cv_env_target_alias_set
=${target_alias+set}
904 ac_cv_env_target_alias_value
=$target_alias
905 ac_env_CC_set
=${CC+set}
907 ac_cv_env_CC_set
=${CC+set}
908 ac_cv_env_CC_value
=$CC
909 ac_env_CFLAGS_set
=${CFLAGS+set}
910 ac_env_CFLAGS_value
=$CFLAGS
911 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
912 ac_cv_env_CFLAGS_value
=$CFLAGS
913 ac_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_env_LDFLAGS_value
=$LDFLAGS
915 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_cv_env_LDFLAGS_value
=$LDFLAGS
917 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_env_CPP_set
=${CPP+set}
922 ac_env_CPP_value
=$CPP
923 ac_cv_env_CPP_set
=${CPP+set}
924 ac_cv_env_CPP_value
=$CPP
925 ac_env_CXX_set
=${CXX+set}
926 ac_env_CXX_value
=$CXX
927 ac_cv_env_CXX_set
=${CXX+set}
928 ac_cv_env_CXX_value
=$CXX
929 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_env_CXXFLAGS_value
=$CXXFLAGS
931 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_env_CXXCPP_set
=${CXXCPP+set}
934 ac_env_CXXCPP_value
=$CXXCPP
935 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
936 ac_cv_env_CXXCPP_value
=$CXXCPP
939 # Report the --help message.
941 if test "$ac_init_help" = "long"; then
942 # Omit some internal or obsolete options to make the list less imposing.
943 # This message is too long to be a string in the A/UX 3.1 sh.
945 \`configure' configures GNU Classpath 0.96-pre to adapt to many kinds of systems.
947 Usage: $0 [OPTION]... [VAR=VALUE]...
949 To assign environment variables (e.g., CC, CFLAGS...), specify them as
950 VAR=VALUE. See below for descriptions of some of the useful variables.
952 Defaults for the options are specified in brackets.
955 -h, --help display this help and exit
956 --help=short display options specific to this package
957 --help=recursive display the short help of all the included packages
958 -V, --version display version information and exit
959 -q, --quiet, --silent do not print \`checking...' messages
960 --cache-file=FILE cache test results in FILE [disabled]
961 -C, --config-cache alias for \`--cache-file=config.cache'
962 -n, --no-create do not create output files
963 --srcdir=DIR find the sources in DIR [configure dir or \`..']
968 Installation directories:
969 --prefix=PREFIX install architecture-independent files in PREFIX
971 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
974 By default, \`make install' will install all the files in
975 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
976 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
977 for instance \`--prefix=\$HOME'.
979 For better control, use the options below.
981 Fine tuning of the installation directories:
982 --bindir=DIR user executables [EPREFIX/bin]
983 --sbindir=DIR system admin executables [EPREFIX/sbin]
984 --libexecdir=DIR program executables [EPREFIX/libexec]
985 --datadir=DIR read-only architecture-independent data [PREFIX/share]
986 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
987 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
988 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
989 --libdir=DIR object code libraries [EPREFIX/lib]
990 --includedir=DIR C header files [PREFIX/include]
991 --oldincludedir=DIR C header files for non-gcc [/usr/include]
992 --infodir=DIR info documentation [PREFIX/info]
993 --mandir=DIR man documentation [PREFIX/man]
999 --program-prefix=PREFIX prepend PREFIX to installed program names
1000 --program-suffix=SUFFIX append SUFFIX to installed program names
1001 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1004 --x-includes=DIR X include files are
in DIR
1005 --x-libraries=DIR X library files are
in DIR
1008 --build=BUILD configure
for building on BUILD
[guessed
]
1009 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1010 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1014 if test -n "$ac_init_help"; then
1015 case $ac_init_help in
1016 short | recursive
) echo "Configuration of GNU Classpath 0.96-pre:";;
1021 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1022 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1023 --enable-java-maintainer-mode
1024 allow rebuilding of .class and .h files
1025 --enable-generated-files-in-srcdir
1026 put copies of generated files
in source dir
1027 intended
for creating
source tarballs
for users
1028 without texinfo
, perl
, bison or flex.
1029 --enable-multilib build many library versions
(default
)
1030 --enable-collections create collections.jar default
=no
1031 --enable-jni compile JNI
source default
=yes
1032 --enable-core-jni compile JNI sources
for core default
=yes
1033 --enable-default-preferences-peer[=peer
type or class name
]
1034 specify one of
: "gconf" [default
] for a GConf based
1035 backend
, "file" for a
file based one
, "memory" for a
1036 transient one
, or a fully qualified class name
1037 implementing java.util.prefs.PreferencesFactory
1038 --disable-gconf-peer compile GConf native peers
(disabled by
1039 --disable-jni) default
=yes
1041 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1042 --disable-jni) default
=no
1043 --enable-Werror whether to compile C code with
-Werror which turns
1044 any compiler warning into a compilation failure
1046 --enable-default-toolkit
1047 fully qualified class name of default AWT toolkit
1048 --enable-xmlj compile native libxml
/xslt library default
=no
1049 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1051 --disable-dependency-tracking speeds up one-time build
1052 --enable-dependency-tracking do not reject slow dependency extractors
1053 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1055 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1057 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1059 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1061 --enable-regen-headers automatically regenerate JNI headers default
=no
1062 --enable-tool-wrappers create tool wrapper binaries default
=no
1063 --enable-static[=PKGS
]
1064 build static libraries
[default
=no
]
1065 --enable-shared[=PKGS
]
1066 build shared libraries
[default
=yes]
1067 --enable-fast-install[=PKGS
]
1068 optimize
for fast installation
[default
=yes]
1069 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1070 --disable-rpath do not hardcode runtime library paths
1071 --enable-maintainer-mode enable make rules and dependencies not useful
1072 (and sometimes confusing
) to the casual installer
1073 --enable-debug enable runtime debugging code
1074 --enable-load-library enable to use JNI native methods default
=yes
1075 --enable-java-lang-system-explicit-initialization
1076 will the VM explicitly invoke java.lang.System
's
1077 static initialization methods default=no
1078 --enable-examples enable build of the examples default=yes
1079 --enable-portable-native-sync
1080 synchronize VM threads portably
1081 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1084 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1085 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1086 --with-native-libdir sets the installation directory for native libraries
1087 default='${libdir}/${PACKAGE}'
1088 --with-glibj-dir sets the installation directory for glibj.zip
1089 default='${libdir}/${PACKAGE}'
1090 --with-vm sets the VM binary name
1091 default='${prefix}/bin
/jamvm
'
1092 --with-pic try to use only PIC/non-PIC objects [default=use
1094 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1095 --with-gnu-ld assume the C compiler uses GNU ld default=no
1096 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1097 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1098 --with-x use the X Window System
1099 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1100 systems use pkg-config.
1101 --with-javah specify path or name of a javah-like program
1102 --with-gcj bytecode compilation with gcj
1103 --with-jikes bytecode compilation with jikes
1104 --with-kjc bytecode compilation with kjc
1105 --with-ecj bytecode compilation with ecj
1106 --with-javac bytecode compilation with javac
1107 --with-classpath specify path to a classes.
zip like
file
1108 --with-vm-classes specify path to VM override
source files
1109 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1111 --with-fastjar=PATH define to use a fastjar style tool
1112 --with-glibj define what to
install (zip|flat|both|none|build
)
1114 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1115 --with-jay Regenerate the parsers with jay must be given the
1116 path to the jay executable
1117 --with-glibj-zip=ABS.PATH
1118 use prebuilt glibj.
zip class library
1119 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1121 Some influential environment variables
:
1122 CC C compiler
command
1123 CFLAGS C compiler flags
1124 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1125 nonstandard directory
<lib dir
>
1126 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1127 headers
in a nonstandard directory
<include dir
>
1129 CXX C
++ compiler
command
1130 CXXFLAGS C
++ compiler flags
1131 CXXCPP C
++ preprocessor
1133 Use these variables to override the choices made by
`configure' or to help
1134 it to find libraries and programs with nonstandard names/locations.
1136 Report bugs to <classpath@gnu.org>.
1140 if test "$ac_init_help" = "recursive"; then
1141 # If there are subdirs, report their specific --help.
1143 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1144 test -d $ac_dir || continue
1147 if test "$ac_dir" != .; then
1148 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1149 # A "../" for each directory in $ac_dir_suffix.
1150 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1152 ac_dir_suffix= ac_top_builddir=
1156 .) # No --srcdir option. We are building in place.
1158 if test -z "$ac_top_builddir"; then
1161 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1163 [\\/]* | ?:[\\/]* ) # Absolute path.
1164 ac_srcdir=$srcdir$ac_dir_suffix;
1165 ac_top_srcdir=$srcdir ;;
1167 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1168 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1171 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1172 # the directories may not exist.
1174 .) ac_abs_builddir="$ac_dir";;
1177 .) ac_abs_builddir=`pwd`;;
1178 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1179 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1182 case $ac_abs_builddir in
1183 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1185 case ${ac_top_builddir}. in
1186 .) ac_abs_top_builddir=$ac_abs_builddir;;
1187 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1188 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1191 case $ac_abs_builddir in
1192 .) ac_abs_srcdir=$ac_srcdir;;
1195 .) ac_abs_srcdir=$ac_abs_builddir;;
1196 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1197 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1200 case $ac_abs_builddir in
1201 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1203 case $ac_top_srcdir in
1204 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1205 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1206 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1211 # Check for guested configure; otherwise get Cygnus style configure.
1212 if test -f $ac_srcdir/configure.gnu; then
1214 $SHELL $ac_srcdir/configure.gnu --help=recursive
1215 elif test -f $ac_srcdir/configure; then
1217 $SHELL $ac_srcdir/configure --help=recursive
1218 elif test -f $ac_srcdir/configure.ac ||
1219 test -f $ac_srcdir/configure.in; then
1221 $ac_configure --help
1223 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1229 test -n "$ac_init_help" && exit 0
1230 if $ac_init_version; then
1232 GNU Classpath configure 0.96-pre
1233 generated by GNU Autoconf 2.59
1235 Copyright (C) 2003 Free Software Foundation, Inc.
1236 This configure script is free software; the Free Software Foundation
1237 gives unlimited permission to copy, distribute and modify it.
1243 This file contains any messages produced by compilers while
1244 running configure, to aid debugging if configure makes a mistake.
1246 It was created by GNU Classpath $as_me 0.96-pre, which was
1247 generated by GNU Autoconf 2.59. Invocation command line was
1258 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1259 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1260 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1261 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1262 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1264 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1265 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1267 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1268 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1269 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1270 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1271 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1272 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1273 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1281 test -z "$as_dir" && as_dir=.
1282 echo "PATH: $as_dir"
1297 # Keep a trace of the command line.
1298 # Strip out --no-create and --no-recursion so they do not pile up.
1299 # Strip out --silent because we don't want to record it for future runs.
1300 # Also quote any args containing shell meta-characters.
1301 # Make two passes to allow for proper duplicate-argument suppression.
1306 ac_must_keep_next=false
1312 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1314 | -silent | --silent | --silen | --sile | --sil)
1316 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1317 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1320 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1322 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1323 if test $ac_must_keep_next = true; then
1324 ac_must_keep_next=false # Got value, back to normal.
1327 *=* | --config-cache | -C | -disable-* | --disable-* \
1328 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1329 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1330 | -with-* | --with-* | -without-* | --without-* | --x)
1331 case "$ac_configure_args0 " in
1332 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1335 -* ) ac_must_keep_next=true ;;
1338 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1339 # Get rid of the leading space.
1345 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1346 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1348 # When interrupted or exit'd, cleanup temporary files, and complete
1349 # config.log. We remove comments because anyway the quotes in there
1350 # would cause problems or look ugly.
1351 # WARNING: Be sure not to use single quotes in there, as some shells,
1352 # such as our DU 5.0 friend, will then `close
' the trap.
1353 trap 'exit_status
=$?
1354 # Save into config.log some information that might help in debugging.
1359 ## ---------------- ##
1360 ## Cache variables. ##
1361 ## ---------------- ##
1364 # The following way of writing the cache mishandles newlines in values,
1367 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1370 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1382 ## ----------------- ##
1383 ## Output variables. ##
1384 ## ----------------- ##
1387 for ac_var
in $ac_subst_vars
1389 eval ac_val
=$
`echo $ac_var`
1390 echo "$ac_var='"'"'$ac_val'"'"'"
1394 if test -n "$ac_subst_files"; then
1401 for ac_var
in $ac_subst_files
1403 eval ac_val
=$
`echo $ac_var`
1404 echo "$ac_var='"'"'$ac_val'"'"'"
1409 if test -s confdefs.h
; then
1416 sed "/^$/d" confdefs.h |
sort
1419 test "$ac_signal" != 0 &&
1420 echo "$as_me: caught signal $ac_signal"
1421 echo "$as_me: exit $exit_status"
1423 rm -f core
*.core
&&
1424 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1427 for ac_signal in 1 2 13 15; do
1428 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1432 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1433 rm -rf conftest* confdefs.h
1434 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1437 # Predefined preprocessor variables.
1439 cat >>confdefs.h <<_ACEOF
1440 #define PACKAGE_NAME "$PACKAGE_NAME"
1444 cat >>confdefs.h <<_ACEOF
1445 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1449 cat >>confdefs.h <<_ACEOF
1450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1454 cat >>confdefs.h <<_ACEOF
1455 #define PACKAGE_STRING "$PACKAGE_STRING"
1459 cat >>confdefs.h <<_ACEOF
1460 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1464 # Let the site file select an alternate cache file if it wants to.
1465 # Prefer explicitly selected file to automatically selected ones.
1466 if test -z "$CONFIG_SITE"; then
1467 if test "x$prefix" != xNONE; then
1468 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1470 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1473 for ac_site_file in $CONFIG_SITE; do
1474 if test -r "$ac_site_file"; then
1475 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1476 echo "$as_me: loading site script $ac_site_file" >&6;}
1477 sed 's
/^
/|
/' "$ac_site_file" >&5
1482 if test -r "$cache_file"; then
1483 # Some versions of bash will fail to source /dev/null (special
1484 # files actually), so we avoid doing that.
1485 if test -f "$cache_file"; then
1486 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1487 echo "$as_me: loading cache $cache_file" >&6;}
1489 [\\/]* | ?:[\\/]* ) . $cache_file;;
1490 *) . ./$cache_file;;
1494 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1495 echo "$as_me: creating cache $cache_file" >&6;}
1499 # Check that the precious variables saved in the cache have kept the same
1501 ac_cache_corrupted=false
1502 for ac_var in `(set) 2>&1 |
1503 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1504 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1505 eval ac_new_set=\$ac_env_${ac_var}_set
1506 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1507 eval ac_new_val="\$ac_env_${ac_var}_value"
1508 case $ac_old_set,$ac_new_set in
1510 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1511 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1512 ac_cache_corrupted=: ;;
1514 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1515 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1516 ac_cache_corrupted=: ;;
1519 if test "x$ac_old_val" != "x$ac_new_val"; then
1520 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1521 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1522 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1523 echo "$as_me: former value: $ac_old_val" >&2;}
1524 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1525 echo "$as_me: current value: $ac_new_val" >&2;}
1526 ac_cache_corrupted=:
1529 # Pass precious variables to config.status.
1530 if test "$ac_new_set" = set; then
1532 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1533 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1534 *) ac_arg=$ac_var=$ac_new_val ;;
1536 case " $ac_configure_args " in
1537 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1538 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1542 if $ac_cache_corrupted; then
1543 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1544 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1545 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1546 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1547 { (exit 1); exit 1; }; }
1551 ac_cpp='$CPP $CPPFLAGS'
1552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1553 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1585 for ac_dir in ../.. $srcdir/../..; do
1586 if test -f $ac_dir/install-sh; then
1588 ac_install_sh="$ac_aux_dir/install-sh -c"
1590 elif test -f $ac_dir/install.sh; then
1592 ac_install_sh="$ac_aux_dir/install.sh -c"
1594 elif test -f $ac_dir/shtool; then
1596 ac_install_sh="$ac_aux_dir/shtool install -c"
1600 if test -z "$ac_aux_dir"; then
1601 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1602 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1603 { (exit 1); exit 1; }; }
1605 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1606 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1607 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1610 # Make sure we can run config.sub.
1611 $ac_config_sub sun4 >/dev/null 2>&1 ||
1612 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1613 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1614 { (exit 1); exit 1; }; }
1616 echo "$as_me:$LINENO: checking build system type" >&5
1617 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1618 if test "${ac_cv_build+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_build_alias=$build_alias
1622 test -z "$ac_cv_build_alias" &&
1623 ac_cv_build_alias=`$ac_config_guess`
1624 test -z "$ac_cv_build_alias" &&
1625 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1626 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1627 { (exit 1); exit 1; }; }
1628 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1629 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1630 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1631 { (exit 1); exit 1; }; }
1634 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1635 echo "${ECHO_T}$ac_cv_build" >&6
1637 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1638 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1639 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1642 echo "$as_me:$LINENO: checking host system type" >&5
1643 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1644 if test "${ac_cv_host+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 ac_cv_host_alias=$host_alias
1648 test -z "$ac_cv_host_alias" &&
1649 ac_cv_host_alias=$ac_cv_build_alias
1650 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1651 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1652 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1653 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1657 echo "${ECHO_T}$ac_cv_host" >&6
1659 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1660 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1661 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1664 echo "$as_me:$LINENO: checking target system type" >&5
1665 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1666 if test "${ac_cv_target+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 ac_cv_target_alias=$target_alias
1670 test "x$ac_cv_target_alias" = "x" &&
1671 ac_cv_target_alias=$ac_cv_host_alias
1672 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1673 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1674 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1675 { (exit 1); exit 1; }; }
1678 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1679 echo "${ECHO_T}$ac_cv_target" >&6
1680 target=$ac_cv_target
1681 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1682 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1683 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1686 # The aliases save the names the user supplied, while $host etc.
1687 # will get canonicalized.
1688 test -n "$target_alias" &&
1689 test "$program_prefix$program_suffix$program_transform_name" = \
1691 program_prefix=${target_alias}-
1693 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1694 if test "${enable_java_maintainer_mode+set}" = set; then
1695 enableval="$enable_java_maintainer_mode"
1700 if test "$enable_java_maintainer_mode" = yes; then
1701 JAVA_MAINTAINER_MODE_TRUE=
1702 JAVA_MAINTAINER_MODE_FALSE='#'
1704 JAVA_MAINTAINER_MODE_TRUE
='#'
1705 JAVA_MAINTAINER_MODE_FALSE
=
1709 # We would like to our source tree to be readonly. However when releases or
1710 # pre-releases are generated, the man pages need to be included as they are
1711 # converted from the texi files via perl which we don't require end users to
1713 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1715 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1716 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1717 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1718 if test "${enable_generated_files_in_srcdir+set}" = set; then
1719 enableval
="$enable_generated_files_in_srcdir"
1720 generated_files_in_srcdir
=$enableval
1722 generated_files_in_srcdir
=no
1725 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1726 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1729 if test x
$generated_files_in_srcdir = xyes
; then
1738 # Find the rest of the source tree framework.
1739 # Default to --enable-multilib
1740 # Check whether --enable-multilib or --disable-multilib was given.
1741 if test "${enable_multilib+set}" = set; then
1742 enableval
="$enable_multilib"
1743 case "$enableval" in
1744 yes) multilib
=yes ;;
1746 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1747 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1748 { (exit 1); exit 1; }; } ;;
1754 # We may get other options which we leave undocumented:
1755 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1756 # See config-ml.in if you want the gory details.
1758 if test "$srcdir" = "."; then
1759 if test "$with_target_subdir" != "."; then
1760 multi_basedir
="$srcdir/$with_multisrctop../../.."
1762 multi_basedir
="$srcdir/$with_multisrctop../.."
1765 multi_basedir
="$srcdir/../.."
1769 # Even if the default multilib is not a cross compilation,
1770 # it may be that some of the other multilibs are.
1771 if test $cross_compiling = no
&& test $multilib = yes \
1772 && test "x${with_multisubdir}" != x
; then
1773 cross_compiling
=maybe
1776 ac_config_commands
="$ac_config_commands default-1"
1779 if expr ${target_cpu} : '.*86' > /dev
/null
; then target_cpu
=x86
; fi
1792 CLASSPATH_MODULE
="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1795 CLASSPATH_CONVENIENCE
="-no-undefined"
1799 am__api_version
="1.9"
1800 # Find a good install program. We prefer a C program (faster),
1801 # so one script is as good as another. But avoid the broken or
1802 # incompatible versions:
1803 # SysV /etc/install, /usr/sbin/install
1804 # SunOS /usr/etc/install
1805 # IRIX /sbin/install
1807 # AmigaOS /C/install, which installs bootblocks on floppy discs
1808 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1809 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1810 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1811 # OS/2's system install, which has a completely different semantic
1812 # ./install, which can be erroneously created by make from ./install.sh.
1813 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1815 if test -z "$INSTALL"; then
1816 if test "${ac_cv_path_install+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir
=.
1824 # Account for people who put trailing slashes in PATH elements.
1826 .
/ | .
// |
/cC
/* | \
1827 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1828 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1831 # OSF1 and SCO ODT 3.0 have their own names for install.
1832 # Don't use installbsd from OSF since it installs stuff as root
1834 for ac_prog
in ginstall scoinst
install; do
1835 for ac_exec_ext
in '' $ac_executable_extensions; do
1836 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1837 if test $ac_prog = install &&
1838 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1839 # AIX install. It has an incompatible calling convention.
1841 elif test $ac_prog = install &&
1842 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1843 # program-specific install script used by HP pwplus--don't use.
1846 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1858 if test "${ac_cv_path_install+set}" = set; then
1859 INSTALL
=$ac_cv_path_install
1861 # As a last resort, use the slow shell script. We don't cache a
1862 # path for INSTALL within a source directory, because that will
1863 # break other packages using the cache if that directory is
1864 # removed, or if the path is relative.
1865 INSTALL
=$ac_install_sh
1868 echo "$as_me:$LINENO: result: $INSTALL" >&5
1869 echo "${ECHO_T}$INSTALL" >&6
1871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1872 # It thinks the first close brace ends the variable substitution.
1873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1877 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1879 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1880 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1883 echo timestamp
> conftest.
file
1884 # Do `set' in a subshell so we don't clobber the current shell's
1885 # arguments. Must try -L first in case configure is actually a
1886 # symlink; some systems play weird games with the mod time of symlinks
1887 # (eg FreeBSD returns the mod time of the symlink's containing
1890 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1891 if test "$*" = "X"; then
1893 set X
`ls -t $srcdir/configure conftest.file`
1896 if test "$*" != "X $srcdir/configure conftest.file" \
1897 && test "$*" != "X conftest.file $srcdir/configure"; then
1899 # If neither matched, then we have a broken ls. This can happen
1900 # if, for instance, CONFIG_SHELL is bash and it inherits a
1901 # broken ls alias from the environment. This has actually
1902 # happened. Such a system could not be considered "sane".
1903 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" >&5
1905 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1906 alias in your environment" >&2;}
1907 { (exit 1); exit 1; }; }
1910 test "$2" = conftest.
file
1916 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1917 Check your system clock" >&5
1918 echo "$as_me: error: newly created file is older than distributed files!
1919 Check your system clock" >&2;}
1920 { (exit 1); exit 1; }; }
1922 echo "$as_me:$LINENO: result: yes" >&5
1923 echo "${ECHO_T}yes" >&6
1924 test "$program_prefix" != NONE
&&
1925 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1926 # Use a double $ so make ignores it.
1927 test "$program_suffix" != NONE
&&
1928 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1929 # Double any \ or $. echo might interpret backslashes.
1930 # By default was `s,x,x', remove it if useless.
1931 cat <<\_ACEOF
>conftest.
sed
1932 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1934 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1937 # expand $ac_aux_dir to an absolute path
1938 am_aux_dir
=`cd $ac_aux_dir && pwd`
1940 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1941 # Use eval to expand $SHELL
1942 if eval "$MISSING --run true"; then
1943 am_missing_run
="$MISSING --run "
1946 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1947 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1950 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1951 # We used to keeping the `.' as first argument, in order to
1952 # allow $(mkdir_p) to be used without argument. As in
1953 # $(mkdir_p) $(somedir)
1954 # where $(somedir) is conditionally defined. However this is wrong
1956 # 1. if the package is installed by a user who cannot write `.'
1957 # make install will fail,
1958 # 2. the above comment should most certainly read
1959 # $(mkdir_p) $(DESTDIR)$(somedir)
1960 # so it does not work when $(somedir) is undefined and
1961 # $(DESTDIR) is not.
1962 # To support the latter case, we have to write
1963 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1964 # so the `.' trick is pointless.
1965 mkdir_p
='mkdir -p --'
1967 # On NextStep and OpenStep, the `mkdir' command does not
1968 # recognize any option. It will interpret all options as
1969 # directories to create, and then abort because `.' already
1971 for d
in .
/-p .
/--version;
1973 test -d $d && rmdir $d
1975 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1976 if test -f "$ac_aux_dir/mkinstalldirs"; then
1977 mkdir_p
='$(mkinstalldirs)'
1979 mkdir_p
='$(install_sh) -d'
1983 for ac_prog
in gawk mawk nawk
awk
1985 # Extract the first word of "$ac_prog", so it can be a program name with args.
1986 set dummy
$ac_prog; ac_word
=$2
1987 echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1989 if test "${ac_cv_prog_AWK+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 if test -n "$AWK"; then
1993 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir
=.
2000 for ac_exec_ext
in '' $ac_executable_extensions; do
2001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2002 ac_cv_prog_AWK
="$ac_prog"
2003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 if test -n "$AWK"; then
2013 echo "$as_me:$LINENO: result: $AWK" >&5
2014 echo "${ECHO_T}$AWK" >&6
2016 echo "$as_me:$LINENO: result: no" >&5
2017 echo "${ECHO_T}no" >&6
2020 test -n "$AWK" && break
2023 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2024 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2025 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2026 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 cat >conftest.
make <<\_ACEOF
2031 @
echo 'ac_maketemp="$(MAKE)"'
2033 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2034 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2035 if test -n "$ac_maketemp"; then
2036 eval ac_cv_prog_make_
${ac_make}_set
=yes
2038 eval ac_cv_prog_make_
${ac_make}_set
=no
2042 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2043 echo "$as_me:$LINENO: result: yes" >&5
2044 echo "${ECHO_T}yes" >&6
2047 echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6
2049 SET_MAKE
="MAKE=${MAKE-make}"
2052 rm -rf .tst
2>/dev
/null
2053 mkdir .tst
2>/dev
/null
2054 if test -d .tst
; then
2059 rmdir .tst
2>/dev
/null
2061 # test to see if srcdir already configured
2062 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2063 test -f $srcdir/config.status
; then
2064 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2065 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2066 { (exit 1); exit 1; }; }
2069 # test whether we have cygpath
2070 if test -z "$CYGPATH_W"; then
2071 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2072 CYGPATH_W
='cygpath -w'
2079 # Define the identity of the package.
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE "$PACKAGE"
2089 cat >>confdefs.h
<<_ACEOF
2090 #define VERSION "$VERSION"
2093 # Some tools Automake needs.
2095 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2098 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2101 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2104 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2107 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2109 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2111 # Installed binaries are usually stripped using `strip' when the user
2112 # run `make install-strip'. However `strip' might not be the right
2113 # tool to use in cross-compilation environments, therefore Automake
2114 # will honor the `STRIP' environment variable to overrule this program.
2115 if test "$cross_compiling" != no
; then
2116 if test -n "$ac_tool_prefix"; then
2117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_STRIP+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$STRIP"; then
2125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 STRIP
=$ac_cv_prog_STRIP
2144 if test -n "$STRIP"; then
2145 echo "$as_me:$LINENO: result: $STRIP" >&5
2146 echo "${ECHO_T}$STRIP" >&6
2148 echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2153 if test -z "$ac_cv_prog_STRIP"; then
2155 # Extract the first word of "strip", so it can be a program name with args.
2156 set dummy strip
; ac_word
=$2
2157 echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2159 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$ac_ct_STRIP"; then
2163 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_STRIP
="strip"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2182 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2183 if test -n "$ac_ct_STRIP"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2185 echo "${ECHO_T}$ac_ct_STRIP" >&6
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2193 STRIP
="$ac_cv_prog_STRIP"
2197 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2199 # We need awk for the "check" target. The system "awk" is bad on
2201 # Always define AMTAR for backward compatibility.
2203 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2206 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2207 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2208 # Loop over all known methods to create a tar archive until one works.
2209 _am_tools
='gnutar plaintar pax cpio none'
2210 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2211 # Do not fold the above two line into one, because Tru64 sh and
2212 # Solaris sh will not grok spaces in the rhs of `-'.
2213 for _am_tool
in $_am_tools
2217 for _am_tar
in tar gnutar gtar
;
2219 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2220 ($_am_tar --version) >&5 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } && break
2225 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2226 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2227 am__untar
="$_am_tar -xf -"
2230 # Must skip GNU tar: if it does not support --format= it doesn't create
2231 # ustar tarball either.
2232 (tar --version) >/dev
/null
2>&1 && continue
2233 am__tar
='tar chf - "$$tardir"'
2234 am__tar_
='tar chf - "$tardir"'
2235 am__untar
='tar xf -'
2238 am__tar
='pax -L -x ustar -w "$$tardir"'
2239 am__tar_
='pax -L -x ustar -w "$tardir"'
2243 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2244 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2245 am__untar
='cpio -i -H ustar -d'
2254 # If the value was cached, stop now. We just wanted to have am__tar
2255 # and am__untar set.
2256 test -n "${am_cv_prog_tar_ustar}" && break
2258 # tar/untar a dummy directory, and stop if the command works
2261 echo GrepMe
> conftest.dir
/file
2262 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2263 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }
2268 if test -s conftest.
tar; then
2269 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2270 ($am__untar <conftest.
tar) >&5 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }
2274 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2279 if test "${am_cv_prog_tar_ustar+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 am_cv_prog_tar_ustar
=$_am_tool
2285 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2286 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2292 ac_config_headers
="$ac_config_headers include/config.h"
2298 # Check whether --enable-collections or --disable-collections was given.
2299 if test "${enable_collections+set}" = set; then
2300 enableval
="$enable_collections"
2301 case x
"${enableval}" in
2302 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2303 xno
) COMPILE_COLLECTIONS
=no
;;
2304 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2305 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2308 COMPILE_COLLECTIONS
=no
2312 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2313 CREATE_COLLECTIONS_TRUE
=
2314 CREATE_COLLECTIONS_FALSE
='#'
2316 CREATE_COLLECTIONS_TRUE
='#'
2317 CREATE_COLLECTIONS_FALSE
=
2321 # Check whether --enable-jni or --disable-jni was given.
2322 if test "${enable_jni+set}" = set; then
2323 enableval
="$enable_jni"
2324 case "${enableval}" in
2325 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2326 no
) COMPILE_JNI
=no
;;
2327 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2334 if test "x${COMPILE_JNI}" = xyes
; then
2335 CREATE_JNI_LIBRARIES_TRUE
=
2336 CREATE_JNI_LIBRARIES_FALSE
='#'
2338 CREATE_JNI_LIBRARIES_TRUE
='#'
2339 CREATE_JNI_LIBRARIES_FALSE
=
2343 # Check whether --enable-core-jni or --disable-core-jni was given.
2344 if test "${enable_core_jni+set}" = set; then
2345 enableval
="$enable_core_jni"
2346 case "${enableval}" in
2347 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2348 no
) COMPILE_CORE_JNI
=no
;;
2349 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2352 COMPILE_CORE_JNI
=yes
2356 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2357 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2358 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2360 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2361 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2365 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2366 if test "${enable_default_preferences_peer+set}" = set; then
2367 enableval
="$enable_default_preferences_peer"
2368 case "${enableval}" in
2369 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2370 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2371 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2372 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2373 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2374 { (exit 1); exit 1; }; } ;;
2375 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2378 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2381 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2382 if test "${enable_gconf_peer+set}" = set; then
2383 enableval
="$enable_gconf_peer"
2384 case "${enableval}" in
2385 yes) COMPILE_GCONF_PEER
=yes ;;
2386 no
) COMPILE_GCONF_PEER
=no
;;
2387 *) COMPILE_GCONF_PEER
=yes ;;
2390 COMPILE_GCONF_PEER
=yes
2394 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2395 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2396 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2398 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2399 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2403 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2404 if test "${enable_gconf_peers+set}" = set; then
2405 enableval
="$enable_gconf_peers"
2406 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2407 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2408 { (exit 1); exit 1; }; }
2411 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2412 if test "${enable_gstreamer_peer+set}" = set; then
2413 enableval
="$enable_gstreamer_peer"
2414 case "${enableval}" in
2415 yes) COMPILE_GSTREAMER_PEER
=yes ;;
2416 no
) COMPILE_GSTREAMER_PEER
=no
;;
2417 *) COMPILE_GSTREAMER_PEER
=default
;;
2420 COMPILE_GSTREAMER_PEER
=default
2424 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
2425 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
2426 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
2428 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
2429 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
2433 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2434 if test "${enable_gstreamer_peers+set}" = set; then
2435 enableval
="$enable_gstreamer_peers"
2436 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2437 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2438 { (exit 1); exit 1; }; }
2441 # Check whether --enable-Werror or --disable-Werror was given.
2442 if test "${enable_Werror+set}" = set; then
2443 enableval
="$enable_Werror"
2444 case "${enableval}" in
2445 yes) ENABLE_WERROR
=yes ;;
2446 no
) ENABLE_WERROR
=no
;;
2447 *) ENABLE_WERROR
=default
;;
2450 ENABLE_WERROR
=default
2453 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2454 if test "${enable_default_toolkit+set}" = set; then
2455 enableval
="$enable_default_toolkit"
2458 default_toolkit
=$enable_default_toolkit
2459 if test "$default_toolkit" = ""; then
2460 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2464 # Check whether --enable-xmlj or --disable-xmlj was given.
2465 if test "${enable_xmlj+set}" = set; then
2466 enableval
="$enable_xmlj"
2467 case "${enableval}" in
2468 yes) COMPILE_XMLJ
=yes ;;
2469 no
) COMPILE_XMLJ
=no
;;
2470 *) COMPILE_XMLJ
=no
;;
2477 if test "x${COMPILE_XMLJ}" = xyes
; then
2478 CREATE_XMLJ_LIBRARY_TRUE
=
2479 CREATE_XMLJ_LIBRARY_FALSE
='#'
2481 CREATE_XMLJ_LIBRARY_TRUE
='#'
2482 CREATE_XMLJ_LIBRARY_FALSE
=
2486 DEPDIR
="${am__leading_dot}deps"
2488 ac_config_commands
="$ac_config_commands depfiles"
2491 am_make
=${MAKE-make}
2492 cat > confinc
<< 'END'
2497 # If we don't find an include directive, just comment out the code.
2498 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2499 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2503 # First try GNU make style include.
2504 echo "include confinc" > confmf
2505 # We grep out `Entering directory' and `Leaving directory'
2506 # messages which can occur if `w' ends up in MAKEFLAGS.
2507 # In particular we don't look at `^make:' because GNU make might
2508 # be invoked under some other name (usually "gmake"), in which
2509 # case it prints its new name instead of `make'.
2510 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2515 # Now try BSD make style include.
2516 if test "$am__include" = "#"; then
2517 echo '.include "confinc"' > confmf
2518 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2519 am__include
=.include
2526 echo "$as_me:$LINENO: result: $_am_result" >&5
2527 echo "${ECHO_T}$_am_result" >&6
2528 rm -f confinc confmf
2530 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2531 if test "${enable_dependency_tracking+set}" = set; then
2532 enableval
="$enable_dependency_tracking"
2535 if test "x$enable_dependency_tracking" != xno
; then
2536 am_depcomp
="$ac_aux_dir/depcomp"
2541 if test "x$enable_dependency_tracking" != xno; then
2552 ac_cpp
='$CPP $CPPFLAGS'
2553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC
="$CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 if test -n "$CC"; then
2585 echo "$as_me:$LINENO: result: $CC" >&5
2586 echo "${ECHO_T}$CC" >&6
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2593 if test -z "$ac_cv_prog_CC"; then
2595 # Extract the first word of "gcc", so it can be a program name with args.
2596 set dummy gcc
; ac_word
=$2
2597 echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$ac_ct_CC"; then
2603 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir
=.
2610 for ac_exec_ext
in '' $ac_executable_extensions; do
2611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2612 ac_cv_prog_ac_ct_CC
="gcc"
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2622 if test -n "$ac_ct_CC"; then
2623 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2624 echo "${ECHO_T}$ac_ct_CC" >&6
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2635 if test -z "$CC"; then
2636 if test -n "$ac_tool_prefix"; then
2637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2638 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_CC+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 if test -n "$CC"; then
2645 ac_cv_prog_CC
="$CC" # Let the user override the test.
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_exec_ext
in '' $ac_executable_extensions; do
2653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$CC"; then
2665 echo "$as_me:$LINENO: result: $CC" >&5
2666 echo "${ECHO_T}$CC" >&6
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2673 if test -z "$ac_cv_prog_CC"; then
2675 # Extract the first word of "cc", so it can be a program name with args.
2676 set dummy cc
; ac_word
=$2
2677 echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_ac_ct_CC
="cc"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2702 if test -n "$ac_ct_CC"; then
2703 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2704 echo "${ECHO_T}$ac_ct_CC" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2716 if test -z "$CC"; then
2717 # Extract the first word of "cc", so it can be a program name with args.
2718 set dummy cc
; ac_word
=$2
2719 echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2721 if test "${ac_cv_prog_CC+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC
="$CC" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2735 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2736 ac_prog_rejected
=yes
2740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test $ac_prog_rejected = yes; then
2747 # We found a bogon in the path, so make sure we never use it.
2748 set dummy
$ac_cv_prog_CC
2750 if test $# != 0; then
2751 # We chose a different compiler from the bogus one.
2752 # However, it has the same basename, so the bogon will be chosen
2753 # first if we set CC to just the basename; use the full file name.
2755 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2761 if test -n "$CC"; then
2762 echo "$as_me:$LINENO: result: $CC" >&5
2763 echo "${ECHO_T}$CC" >&6
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2770 if test -z "$CC"; then
2771 if test -n "$ac_tool_prefix"; then
2774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2775 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2776 echo "$as_me:$LINENO: checking for $ac_word" >&5
2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2778 if test "${ac_cv_prog_CC+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if test -n "$CC"; then
2782 ac_cv_prog_CC
="$CC" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 echo "$as_me:$LINENO: result: $CC" >&5
2803 echo "${ECHO_T}$CC" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2809 test -n "$CC" && break
2812 if test -z "$CC"; then
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy
$ac_prog; ac_word
=$2
2818 echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$ac_ct_CC"; then
2824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_CC
="$ac_prog"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2843 if test -n "$ac_ct_CC"; then
2844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2845 echo "${ECHO_T}$ac_ct_CC" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2851 test -n "$ac_ct_CC" && break
2860 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: no acceptable C compiler found in \$PATH
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2866 # Provide some information about the compiler.
2867 echo "$as_me:$LINENO:" \
2868 "checking for C compiler version" >&5
2869 ac_compiler
=`set X $ac_compile; echo $2`
2870 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2871 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2876 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }
2880 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2881 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }
2886 cat >conftest.
$ac_ext <<_ACEOF
2889 cat confdefs.h
>>conftest.
$ac_ext
2890 cat >>conftest.
$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2903 (eval $ac_link) 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; then
2912 if test x
$gcc_no_link = xyes
; then
2913 # Setting cross_compile will disable run tests; it will
2914 # also disable AC_CHECK_FILE but that's generally
2915 # correct if we can't link.
2919 cat >conftest.
$ac_ext <<_ACEOF
2922 cat confdefs.h
>>conftest.
$ac_ext
2923 cat >>conftest.
$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2934 ac_clean_files_save
=$ac_clean_files
2935 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2936 # Try to create an executable without -o first, disregard a.out.
2937 # It will help us diagnose broken compilers, and finding out an intuition
2939 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2940 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2941 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2942 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2943 (eval $ac_link_default) 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; then
2947 # Find the output, starting from the most likely. This scheme is
2948 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2951 # Be careful to initialize this variable, since it used to be cached.
2952 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2954 # b.out is created by i960 compilers.
2955 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2957 test -f "$ac_file" ||
continue
2959 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2962 # This is the source file.
2965 # We found the default executable, but exeext='' is most
2969 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2970 # FIXME: I believe we export ac_cv_exeext for Libtool,
2971 # but it would be cool to find out if it's true. Does anybody
2972 # maintain Libtool? --akim.
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.
$ac_ext >&5
2983 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2984 See \`config.log' for more details." >&5
2985 echo "$as_me: error: C compiler cannot create executables
2986 See \`config.log' for more details." >&2;}
2987 { (exit 77); exit 77; }; }
2990 ac_exeext
=$ac_cv_exeext
2991 echo "$as_me:$LINENO: result: $ac_file" >&5
2992 echo "${ECHO_T}$ac_file" >&6
2994 # Check the compiler produces executables we can run. If not, either
2995 # the compiler is broken, or we cross compile.
2996 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2997 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2998 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2999 # If not cross compiling, check that we can run a simple program.
3000 if test "$cross_compiling" != yes; then
3001 if { ac_try
='./$ac_file'
3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; }; then
3009 if test "$cross_compiling" = maybe
; then
3012 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3013 If you meant to cross compile, use \`--host'.
3014 See \`config.log' for more details." >&5
3015 echo "$as_me: error: cannot run C compiled programs.
3016 If you meant to cross compile, use \`--host'.
3017 See \`config.log' for more details." >&2;}
3018 { (exit 1); exit 1; }; }
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3025 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3026 ac_clean_files
=$ac_clean_files_save
3027 # Check the compiler produces executables we can run. If not, either
3028 # the compiler is broken, or we cross compile.
3029 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3030 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3031 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3032 echo "${ECHO_T}$cross_compiling" >&6
3034 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3035 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3037 (eval $ac_link) 2>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; then
3041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3043 # work properly (i.e., refer to `conftest.exe'), while it won't with
3045 for ac_file
in conftest.exe conftest conftest.
*; do
3046 test -f "$ac_file" ||
continue
3048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3049 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3057 See \`config.log' for more details." >&5
3058 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3059 See \`config.log' for more details." >&2;}
3060 { (exit 1); exit 1; }; }
3063 rm -f conftest
$ac_cv_exeext
3064 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3065 echo "${ECHO_T}$ac_cv_exeext" >&6
3067 rm -f conftest.
$ac_ext
3068 EXEEXT
=$ac_cv_exeext
3071 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3072 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3073 if test "${ac_cv_objext+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 cat >conftest.
$ac_ext <<_ACEOF
3079 cat confdefs.h
>>conftest.
$ac_ext
3080 cat >>conftest.
$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3091 rm -f conftest.o conftest.obj
3092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3093 (eval $ac_compile) 2>&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; then
3097 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3099 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3100 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.
$ac_ext >&5
3108 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3109 See \`config.log' for more details." >&5
3110 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3115 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3117 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3118 echo "${ECHO_T}$ac_cv_objext" >&6
3119 OBJEXT
=$ac_cv_objext
3121 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3122 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3144 rm -f conftest.
$ac_objext
3145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146 (eval $ac_compile) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } &&
3153 { ac_try
='test -z "$ac_c_werror_flag"
3154 || test ! -s conftest.err'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3177 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3178 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3179 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3180 ac_test_CFLAGS
=${CFLAGS+set}
3181 ac_save_CFLAGS
=$CFLAGS
3183 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3184 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3185 if test "${ac_cv_prog_cc_g+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 cat >conftest.
$ac_ext <<_ACEOF
3191 cat confdefs.h
>>conftest.
$ac_ext
3192 cat >>conftest.
$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3203 rm -f conftest.
$ac_objext
3204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3205 (eval $ac_compile) 2>conftest.er1
3207 grep -v '^ *+' conftest.er1
>conftest.err
3209 cat conftest.err
>&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try
='test -z "$ac_c_werror_flag"
3213 || test ! -s conftest.err'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try
='test -s conftest.$ac_objext'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.
$ac_ext >&5
3232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3235 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3236 if test "$ac_test_CFLAGS" = set; then
3237 CFLAGS
=$ac_save_CFLAGS
3238 elif test $ac_cv_prog_cc_g = yes; then
3239 if test "$GCC" = yes; then
3245 if test "$GCC" = yes; then
3251 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3252 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3253 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 ac_cv_prog_cc_stdc
=no
3258 cat >conftest.
$ac_ext <<_ACEOF
3261 cat confdefs.h
>>conftest.
$ac_ext
3262 cat >>conftest.
$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3266 #include <sys/types.h>
3267 #include <sys/stat.h>
3268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3269 struct buf { int x; };
3270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3271 static char *e (p, i)
3277 static char *f (char * (*g) (char **, int), char **p, ...)
3282 s = g (p, va_arg (v,int));
3287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3288 function prototypes and stuff, but not '\xHH' hex character constants.
3289 These don't provoke an error unfortunately, instead are silently treated
3290 as 'x'. The following induces an error, until -std1 is added to get
3291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3292 array size at least. It's necessary to write '\x00'==0 to get something
3293 that's true only with -std1. */
3294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3296 int test (int i, double x);
3297 struct s1 {int (*f) (int a);};
3298 struct s2 {int (*f) (double a);};
3299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3310 # Don't try gcc -ansi; that turns off useful extensions and
3311 # breaks some systems' header files.
3312 # AIX -qlanglvl=ansi
3313 # Ultrix and OSF/1 -std1
3314 # HP-UX 10.20 and later -Ae
3315 # HP-UX older versions -Aa -D_HPUX_SOURCE
3316 # SVR4 -Xc -D__EXTENSIONS__
3317 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3319 CC
="$ac_save_CC $ac_arg"
3320 rm -f conftest.
$ac_objext
3321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3322 (eval $ac_compile) 2>conftest.er1
3324 grep -v '^ *+' conftest.er1
>conftest.err
3326 cat conftest.err
>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } &&
3329 { ac_try
='test -z "$ac_c_werror_flag"
3330 || test ! -s conftest.err'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; } &&
3336 { ac_try
='test -s conftest.$ac_objext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3342 ac_cv_prog_cc_stdc
=$ac_arg
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3349 rm -f conftest.err conftest.
$ac_objext
3351 rm -f conftest.
$ac_ext conftest.
$ac_objext
3356 case "x$ac_cv_prog_cc_stdc" in
3358 echo "$as_me:$LINENO: result: none needed" >&5
3359 echo "${ECHO_T}none needed" >&6 ;;
3361 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3362 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3363 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3366 # Some people use a C++ compiler to compile C. Since we use `exit',
3367 # in C++ we need to declare it. In case someone uses the same compiler
3368 # for both compiling C and C++ we need to have the C++ compiler decide
3369 # the declaration of exit, since it's the most demanding environment.
3370 cat >conftest.
$ac_ext <<_ACEOF
3375 rm -f conftest.
$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>conftest.er1
3379 grep -v '^ *+' conftest.er1
>conftest.err
3381 cat conftest.err
>&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try
='test -z "$ac_c_werror_flag"
3385 || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try
='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3397 for ac_declaration
in \
3399 'extern "C" void std::exit (int) throw (); using std::exit;' \
3400 'extern "C" void std::exit (int); using std::exit;' \
3401 'extern "C" void exit (int) throw ();' \
3402 'extern "C" void exit (int);' \
3405 cat >conftest.
$ac_ext <<_ACEOF
3408 cat confdefs.h
>>conftest.
$ac_ext
3409 cat >>conftest.
$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3421 rm -f conftest.
$ac_objext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3423 (eval $ac_compile) 2>conftest.er1
3425 grep -v '^ *+' conftest.er1
>conftest.err
3427 cat conftest.err
>&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } &&
3430 { ac_try
='test -z "$ac_c_werror_flag"
3431 || test ! -s conftest.err'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; } &&
3437 { ac_try
='test -s conftest.$ac_objext'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.
$ac_ext >&5
3450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3451 cat >conftest.
$ac_ext <<_ACEOF
3454 cat confdefs.h
>>conftest.
$ac_ext
3455 cat >>conftest.
$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3466 rm -f conftest.
$ac_objext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3468 (eval $ac_compile) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1
>conftest.err
3472 cat conftest.err
>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try
='test -z "$ac_c_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try
='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.
$ac_ext >&5
3494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3497 if test -n "$ac_declaration"; then
3498 echo '#ifdef __cplusplus' >>confdefs.h
3499 echo $ac_declaration >>confdefs.h
3500 echo '#endif' >>confdefs.h
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3510 ac_cpp
='$CPP $CPPFLAGS'
3511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3515 depcc
="$CC" am_compiler_list
=
3517 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3518 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3519 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3523 # We make a subdir and do the tests there. Otherwise we can end up
3524 # making bogus files that we don't know about and never remove. For
3525 # instance it was reported that on HP-UX the gcc test will end up
3526 # making a dummy file named `D' -- because `-MD' means `put the output
3529 # Copy depcomp to subdir because otherwise we won't find it if we're
3530 # using a relative directory.
3531 cp "$am_depcomp" conftest.dir
3533 # We will build objects and dependencies in a subdirectory because
3534 # it helps to detect inapplicable dependency modes. For instance
3535 # both Tru64's cc and ICC support -MD to output dependencies as a
3536 # side effect of compilation, but ICC will put the dependencies in
3537 # the current directory while Tru64 will put them in the object
3541 am_cv_CC_dependencies_compiler_type
=none
3542 if test "$am_compiler_list" = ""; then
3543 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3545 for depmode
in $am_compiler_list; do
3546 # Setup a source with many dependencies, because some compilers
3547 # like to wrap large dependency lists on column 80 (with \), and
3548 # we should not choose a depcomp mode which is confused by this.
3550 # We need to recreate these files for each test, as the compiler may
3551 # overwrite some of them when testing with obscure command lines.
3552 # This happens at least with the AIX C compiler.
3554 for i
in 1 2 3 4 5 6; do
3555 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3556 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3557 # Solaris 8's {/usr,}/bin/sh.
3558 touch sub
/conftst
$i.h
3560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3564 # after this tag, mechanisms are not by side-effect, so they'll
3565 # only be used when explicitly requested
3566 if test "x$enable_dependency_tracking" = xyes
; then
3574 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3575 # mode. It turns out that the SunPro C++ compiler does not properly
3576 # handle `-M -o', and we need to detect this.
3577 if depmode
=$depmode \
3578 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3579 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3580 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3581 >/dev
/null
2>conftest.err
&&
3582 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3583 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3584 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3585 # icc doesn't choke on unknown options, it will just issue warnings
3586 # or remarks (even with -Werror). So we grep stderr for any message
3587 # that says an option was ignored or not supported.
3588 # When given -MP, icc 7.0 and 7.1 complain thusly:
3589 # icc: Command line warning: ignoring option '-M'; no argument required
3590 # The diagnosis changed in icc 8.0:
3591 # icc: Command line remark: option '-MP' not supported
3592 if (grep 'ignoring option' conftest.err ||
3593 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3594 am_cv_CC_dependencies_compiler_type
=$depmode
3603 am_cv_CC_dependencies_compiler_type
=none
3607 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3608 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3609 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3614 test "x$enable_dependency_tracking" != xno \
3615 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3617 am__fastdepCC_FALSE
='#'
3619 am__fastdepCC_TRUE
='#'
3620 am__fastdepCC_FALSE
=
3626 ac_cpp
='$CPP $CPPFLAGS'
3627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3630 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3631 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3632 # On Suns, sometimes $CPP names a directory.
3633 if test -n "$CPP" && test -d "$CPP"; then
3636 if test -z "$CPP"; then
3637 if test "${ac_cv_prog_CPP+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 # Double quotes because CPP needs to be expanded
3641 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3644 for ac_c_preproc_warn_flag
in '' yes
3646 # Use a header file that comes with gcc, so configuring glibc
3647 # with a fresh cross-compiler works.
3648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3649 # <limits.h> exists even on freestanding compilers.
3650 # On the NeXT, cc -E runs the code through the compiler's parser,
3651 # not just through cpp. "Syntax error" is here to catch this case.
3652 cat >conftest.
$ac_ext <<_ACEOF
3655 cat confdefs.h
>>conftest.
$ac_ext
3656 cat >>conftest.
$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3659 # include <limits.h>
3661 # include <assert.h>
3665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3668 grep -v '^ *+' conftest.er1
>conftest.err
3670 cat conftest.err
>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } >/dev
/null
; then
3673 if test -s conftest.err
; then
3674 ac_cpp_err
=$ac_c_preproc_warn_flag
3675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3682 if test -z "$ac_cpp_err"; then
3685 echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.
$ac_ext >&5
3688 # Broken: fails on valid input.
3691 rm -f conftest.err conftest.
$ac_ext
3693 # OK, works on sane cases. Now check whether non-existent headers
3694 # can be detected and how.
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3701 #include <ac_nonexistent.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
3721 # Broken: success on invalid input.
3724 echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.
$ac_ext >&5
3727 # Passes both tests.
3731 rm -f conftest.err conftest.
$ac_ext
3734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3735 rm -f conftest.err conftest.
$ac_ext
3736 if $ac_preproc_ok; then
3748 echo "$as_me:$LINENO: result: $CPP" >&5
3749 echo "${ECHO_T}$CPP" >&6
3751 for ac_c_preproc_warn_flag
in '' yes
3753 # Use a header file that comes with gcc, so configuring glibc
3754 # with a fresh cross-compiler works.
3755 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3756 # <limits.h> exists even on freestanding compilers.
3757 # On the NeXT, cc -E runs the code through the compiler's parser,
3758 # not just through cpp. "Syntax error" is here to catch this case.
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3766 # include <limits.h>
3768 # include <assert.h>
3772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3775 grep -v '^ *+' conftest.er1
>conftest.err
3777 cat conftest.err
>&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); } >/dev
/null
; then
3780 if test -s conftest.err
; then
3781 ac_cpp_err
=$ac_c_preproc_warn_flag
3782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3789 if test -z "$ac_cpp_err"; then
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 # Broken: fails on valid input.
3798 rm -f conftest.err conftest.
$ac_ext
3800 # OK, works on sane cases. Now check whether non-existent headers
3801 # can be detected and how.
3802 cat >conftest.
$ac_ext <<_ACEOF
3805 cat confdefs.h
>>conftest.
$ac_ext
3806 cat >>conftest.
$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <ac_nonexistent.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
3828 # Broken: success on invalid input.
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.
$ac_ext >&5
3834 # Passes both tests.
3838 rm -f conftest.err conftest.
$ac_ext
3841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3842 rm -f conftest.err conftest.
$ac_ext
3843 if $ac_preproc_ok; then
3846 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3847 See \`config.log' for more details." >&5
3848 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3849 See \`config.log' for more details." >&2;}
3850 { (exit 1); exit 1; }; }
3854 ac_cpp
='$CPP $CPPFLAGS'
3855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3860 echo "$as_me:$LINENO: checking for egrep" >&5
3861 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3862 if test "${ac_cv_prog_egrep+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3866 then ac_cv_prog_egrep
='grep -E'
3867 else ac_cv_prog_egrep
='egrep'
3870 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3871 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3872 EGREP
=$ac_cv_prog_egrep
3875 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3876 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3877 if test "${ac_cv_header_stdc+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3899 rm -f conftest.
$ac_objext
3900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3901 (eval $ac_compile) 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } &&
3908 { ac_try
='test -z "$ac_c_werror_flag"
3909 || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest.$ac_objext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_header_stdc
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_header_stdc
=no
3928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3930 if test $ac_cv_header_stdc = yes; then
3931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3932 cat >conftest.
$ac_ext <<_ACEOF
3935 cat confdefs.h
>>conftest.
$ac_ext
3936 cat >>conftest.
$ac_ext <<_ACEOF
3937 /* end confdefs.h. */
3941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3942 $EGREP "memchr" >/dev
/null
2>&1; then
3945 ac_cv_header_stdc
=no
3951 if test $ac_cv_header_stdc = yes; then
3952 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3963 $EGREP "free" >/dev
/null
2>&1; then
3966 ac_cv_header_stdc
=no
3972 if test $ac_cv_header_stdc = yes; then
3973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3974 if test "$cross_compiling" = yes; then
3977 cat >conftest.
$ac_ext <<_ACEOF
3980 cat confdefs.h
>>conftest.
$ac_ext
3981 cat >>conftest.
$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3984 #if ((' ' & 0x0FF) == 0x020)
3985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3988 # define ISLOWER(c) \
3989 (('a' <= (c) && (c) <= 'i') \
3990 || ('j' <= (c) && (c) <= 'r') \
3991 || ('s' <= (c) && (c) <= 'z'))
3992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4000 for (i = 0; i < 256; i++)
4001 if (XOR (islower (i), ISLOWER (i))
4002 || toupper (i) != TOUPPER (i))
4007 rm -f conftest
$ac_exeext
4008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4009 (eval $ac_link) 2>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4020 echo "$as_me: program exited with status $ac_status" >&5
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.
$ac_ext >&5
4025 ac_cv_header_stdc
=no
4027 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4031 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4032 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4033 if test $ac_cv_header_stdc = yes; then
4035 cat >>confdefs.h
<<\_ACEOF
4036 #define STDC_HEADERS 1
4041 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4051 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4052 inttypes.h stdint.h unistd.h
4054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4055 echo "$as_me:$LINENO: checking for $ac_header" >&5
4056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 cat >conftest.
$ac_ext <<_ACEOF
4063 cat confdefs.h
>>conftest.
$ac_ext
4064 cat >>conftest.
$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4066 $ac_includes_default
4068 #include <$ac_header>
4070 rm -f conftest.
$ac_objext
4071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4072 (eval $ac_compile) 2>conftest.er1
4074 grep -v '^ *+' conftest.er1
>conftest.err
4076 cat conftest.err
>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } &&
4079 { ac_try
='test -z "$ac_c_werror_flag"
4080 || test ! -s conftest.err'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; } &&
4086 { ac_try
='test -s conftest.$ac_objext'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4092 eval "$as_ac_Header=yes"
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.
$ac_ext >&5
4097 eval "$as_ac_Header=no"
4099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4104 cat >>confdefs.h
<<_ACEOF
4105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4113 # Check whether --enable-alsa or --disable-alsa was given.
4114 if test "${enable_alsa+set}" = set; then
4115 enableval
="$enable_alsa"
4116 case "${enableval}" in
4117 yes) COMPILE_ALSA
=yes ;;
4118 no
) COMPILE_ALSA
=no
;;
4119 *) COMPILE_ALSA
=yes ;;
4123 for ac_header
in alsa
/asoundlib.h
4125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4127 echo "$as_me:$LINENO: checking for $ac_header" >&5
4128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4135 # Is the header compilable?
4136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 $ac_includes_default
4145 #include <$ac_header>
4147 rm -f conftest.
$ac_objext
4148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4149 (eval $ac_compile) 2>conftest.er1
4151 grep -v '^ *+' conftest.er1
>conftest.err
4153 cat conftest.err
>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } &&
4156 { ac_try
='test -z "$ac_c_werror_flag"
4157 || test ! -s conftest.err'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try
='test -s conftest.$ac_objext'
4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; }; then
4169 ac_header_compiler
=yes
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4174 ac_header_compiler
=no
4176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4178 echo "${ECHO_T}$ac_header_compiler" >&6
4180 # Is the header present?
4181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4183 cat >conftest.
$ac_ext <<_ACEOF
4186 cat confdefs.h
>>conftest.
$ac_ext
4187 cat >>conftest.
$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 #include <$ac_header>
4191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4194 grep -v '^ *+' conftest.er1
>conftest.err
4196 cat conftest.err
>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } >/dev
/null
; then
4199 if test -s conftest.err
; then
4200 ac_cpp_err
=$ac_c_preproc_warn_flag
4201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4208 if test -z "$ac_cpp_err"; then
4209 ac_header_preproc
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_header_preproc
=no
4216 rm -f conftest.err conftest.
$ac_ext
4217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4218 echo "${ECHO_T}$ac_header_preproc" >&6
4220 # So? What about this header?
4221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4227 ac_header_preproc
=yes
4230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4244 ## -------------------------------- ##
4245 ## Report this to classpath@gnu.org ##
4246 ## -------------------------------- ##
4249 sed "s/^/$as_me: WARNING: /" >&2
4252 echo "$as_me:$LINENO: checking for $ac_header" >&5
4253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 eval "$as_ac_Header=\$ac_header_preproc"
4259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4264 cat >>confdefs.h
<<_ACEOF
4265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4267 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4268 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4269 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 ac_check_lib_save_LIBS
=$LIBS
4273 LIBS
="-lasound $LIBS"
4274 if test x
$gcc_no_link = xyes
; then
4275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4277 { (exit 1); exit 1; }; }
4279 cat >conftest.
$ac_ext <<_ACEOF
4282 cat confdefs.h
>>conftest.
$ac_ext
4283 cat >>conftest.
$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4286 /* Override any gcc2 internal prototype to avoid an error. */
4290 /* We use char because int might match the return type of a gcc2
4291 builtin and then its argument prototype would still apply. */
4292 char snd_seq_open ();
4301 rm -f conftest.
$ac_objext conftest
$ac_exeext
4302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303 (eval $ac_link) 2>conftest.er1
4305 grep -v '^ *+' conftest.er1
>conftest.err
4307 cat conftest.err
>&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } &&
4310 { ac_try
='test -z "$ac_c_werror_flag"
4311 || test ! -s conftest.err'
4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }; } &&
4317 { ac_try
='test -s conftest$ac_exeext'
4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; }; then
4323 ac_cv_lib_asound_snd_seq_open
=yes
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.
$ac_ext >&5
4328 ac_cv_lib_asound_snd_seq_open
=no
4330 rm -f conftest.err conftest.
$ac_objext \
4331 conftest
$ac_exeext conftest.
$ac_ext
4332 LIBS
=$ac_check_lib_save_LIBS
4334 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4335 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4336 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4351 if test "x${COMPILE_ALSA}" = xyes
; then
4352 CREATE_ALSA_LIBRARIES_TRUE
=
4353 CREATE_ALSA_LIBRARIES_FALSE
='#'
4355 CREATE_ALSA_LIBRARIES_TRUE
='#'
4356 CREATE_ALSA_LIBRARIES_FALSE
=
4360 # Check whether --enable-dssi or --disable-dssi was given.
4361 if test "${enable_dssi+set}" = set; then
4362 enableval
="$enable_dssi"
4363 case "${enableval}" in
4364 yes) COMPILE_DSSI
=yes ;;
4365 no
) COMPILE_DSSI
=no
;;
4366 *) COMPILE_DSSI
=yes ;;
4371 for ac_header
in dssi.h
4373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4375 echo "$as_me:$LINENO: checking for $ac_header" >&5
4376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4383 # Is the header compilable?
4384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4386 cat >conftest.
$ac_ext <<_ACEOF
4389 cat confdefs.h
>>conftest.
$ac_ext
4390 cat >>conftest.
$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4392 $ac_includes_default
4393 #include <$ac_header>
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>conftest.er1
4399 grep -v '^ *+' conftest.er1
>conftest.err
4401 cat conftest.err
>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } &&
4404 { ac_try
='test -z "$ac_c_werror_flag"
4405 || test ! -s conftest.err'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; } &&
4411 { ac_try
='test -s conftest.$ac_objext'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4417 ac_header_compiler
=yes
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.
$ac_ext >&5
4422 ac_header_compiler
=no
4424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4426 echo "${ECHO_T}$ac_header_compiler" >&6
4428 # Is the header present?
4429 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4437 #include <$ac_header>
4439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4442 grep -v '^ *+' conftest.er1
>conftest.err
4444 cat conftest.err
>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } >/dev
/null
; then
4447 if test -s conftest.err
; then
4448 ac_cpp_err
=$ac_c_preproc_warn_flag
4449 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4456 if test -z "$ac_cpp_err"; then
4457 ac_header_preproc
=yes
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.
$ac_ext >&5
4462 ac_header_preproc
=no
4464 rm -f conftest.err conftest.
$ac_ext
4465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4466 echo "${ECHO_T}$ac_header_preproc" >&6
4468 # So? What about this header?
4469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4471 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4472 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4474 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4475 ac_header_preproc
=yes
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4482 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4483 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4484 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4485 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4487 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4488 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4489 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4492 ## -------------------------------- ##
4493 ## Report this to classpath@gnu.org ##
4494 ## -------------------------------- ##
4497 sed "s/^/$as_me: WARNING: /" >&2
4500 echo "$as_me:$LINENO: checking for $ac_header" >&5
4501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 eval "$as_ac_Header=\$ac_header_preproc"
4507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4512 cat >>confdefs.h
<<_ACEOF
4513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4517 for ac_header
in jack
/jack.h
4519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4521 echo "$as_me:$LINENO: checking for $ac_header" >&5
4522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4529 # Is the header compilable?
4530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4538 $ac_includes_default
4539 #include <$ac_header>
4541 rm -f conftest.
$ac_objext
4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4543 (eval $ac_compile) 2>conftest.er1
4545 grep -v '^ *+' conftest.er1
>conftest.err
4547 cat conftest.err
>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -z "$ac_c_werror_flag"
4551 || test ! -s conftest.err'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; } &&
4557 { ac_try
='test -s conftest.$ac_objext'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; }; then
4563 ac_header_compiler
=yes
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4568 ac_header_compiler
=no
4570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4572 echo "${ECHO_T}$ac_header_compiler" >&6
4574 # Is the header present?
4575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4577 cat >conftest.
$ac_ext <<_ACEOF
4580 cat confdefs.h
>>conftest.
$ac_ext
4581 cat >>conftest.
$ac_ext <<_ACEOF
4582 /* end confdefs.h. */
4583 #include <$ac_header>
4585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4588 grep -v '^ *+' conftest.er1
>conftest.err
4590 cat conftest.err
>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); } >/dev
/null
; then
4593 if test -s conftest.err
; then
4594 ac_cpp_err
=$ac_c_preproc_warn_flag
4595 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4602 if test -z "$ac_cpp_err"; then
4603 ac_header_preproc
=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.
$ac_ext >&5
4608 ac_header_preproc
=no
4610 rm -f conftest.err conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4612 echo "${ECHO_T}$ac_header_preproc" >&6
4614 # So? What about this header?
4615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4621 ac_header_preproc
=yes
4624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4638 ## -------------------------------- ##
4639 ## Report this to classpath@gnu.org ##
4640 ## -------------------------------- ##
4643 sed "s/^/$as_me: WARNING: /" >&2
4646 echo "$as_me:$LINENO: checking for $ac_header" >&5
4647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 eval "$as_ac_Header=\$ac_header_preproc"
4653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4658 cat >>confdefs.h
<<_ACEOF
4659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4673 if test "x${COMPILE_DSSI}" = xyes
; then
4674 CREATE_DSSI_LIBRARIES_TRUE
=
4675 CREATE_DSSI_LIBRARIES_FALSE
='#'
4677 CREATE_DSSI_LIBRARIES_TRUE
='#'
4678 CREATE_DSSI_LIBRARIES_FALSE
=
4682 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4683 if test "${enable_gtk_peer+set}" = set; then
4684 enableval
="$enable_gtk_peer"
4685 case "${enableval}" in
4686 yes) COMPILE_GTK_PEER
=yes ;;
4687 no
) COMPILE_GTK_PEER
=no
;;
4688 *) COMPILE_GTK_PEER
=yes ;;
4691 COMPILE_GTK_PEER
=yes
4695 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4696 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4697 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4699 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4700 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4704 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4705 if test "${enable_gtk_peers+set}" = set; then
4706 enableval
="$enable_gtk_peers"
4707 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4708 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4709 { (exit 1); exit 1; }; }
4712 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4713 if test "${enable_qt_peer+set}" = set; then
4714 enableval
="$enable_qt_peer"
4715 case "${enableval}" in
4716 yes) COMPILE_QT_PEER
=yes ;;
4717 no
) COMPILE_QT_PEER
=no
;;
4718 *) COMPILE_QT_PEER
=yes ;;
4725 if test "x${COMPILE_QT_PEER}" = xyes
; then
4726 CREATE_QT_PEER_LIBRARIES_TRUE
=
4727 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4729 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4730 CREATE_QT_PEER_LIBRARIES_FALSE
=
4734 # Check whether --enable-plugin or --disable-plugin was given.
4735 if test "${enable_plugin+set}" = set; then
4736 enableval
="$enable_plugin"
4737 case "${enableval}" in
4738 yes) COMPILE_PLUGIN
=yes ;;
4739 no
) COMPILE_PLUGIN
=no
;;
4740 *) COMPILE_PLUGIN
=yes ;;
4747 if test "x${COMPILE_PLUGIN}" = xyes
; then
4749 CREATE_PLUGIN_FALSE
='#'
4751 CREATE_PLUGIN_TRUE
='#'
4752 CREATE_PLUGIN_FALSE
=
4757 multi_os_directory
=`$CC -print-multi-os-directory`
4758 case $multi_os_directory in
4759 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4760 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4766 # Check whether --with-native-libdir or --without-native-libdir was given.
4767 if test "${with_native_libdir+set}" = set; then
4768 withval
="$with_native_libdir"
4770 nativeexeclibdir
=${withval}
4774 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4781 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4782 if test "${with_glibj_dir+set}" = set; then
4783 withval
="$with_glibj_dir"
4789 glibjdir
='${datadir}/${PACKAGE}'
4796 # Check whether --with-vm or --without-vm was given.
4797 if test "${with_vm+set}" = set; then
4800 VM_BINARY
=${withval}
4804 VM_BINARY
='${prefix}/bin/jamvm'
4810 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4811 if test "${enable_regen_headers+set}" = set; then
4812 enableval
="$enable_regen_headers"
4813 case "${enableval}" in
4814 yes) REGENERATE_JNI_HEADERS
=yes ;;
4815 no
) REGENERATE_JNI_HEADERS
=no
;;
4816 *) REGENERATE_JNI_HEADERS
=no
;;
4819 REGENERATE_JNI_HEADERS
=no
4823 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4824 CREATE_JNI_HEADERS_TRUE
=
4825 CREATE_JNI_HEADERS_FALSE
='#'
4827 CREATE_JNI_HEADERS_TRUE
='#'
4828 CREATE_JNI_HEADERS_FALSE
=
4832 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4833 if test "${enable_tool_wrappers+set}" = set; then
4834 enableval
="$enable_tool_wrappers"
4835 case x
"${enableval}" in
4837 COMPILE_WRAPPERS
=yes;
4839 for ac_header
in ltdl.h
4841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4843 echo "$as_me:$LINENO: checking for $ac_header" >&5
4844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4851 # Is the header compilable?
4852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4854 cat >conftest.
$ac_ext <<_ACEOF
4857 cat confdefs.h
>>conftest.
$ac_ext
4858 cat >>conftest.
$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 $ac_includes_default
4861 #include <$ac_header>
4863 rm -f conftest.
$ac_objext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1
>conftest.err
4869 cat conftest.err
>&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try
='test -z "$ac_c_werror_flag"
4873 || test ! -s conftest.err'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try
='test -s conftest.$ac_objext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 ac_header_compiler
=yes
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.
$ac_ext >&5
4890 ac_header_compiler
=no
4892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4894 echo "${ECHO_T}$ac_header_compiler" >&6
4896 # Is the header present?
4897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4899 cat >conftest.
$ac_ext <<_ACEOF
4902 cat confdefs.h
>>conftest.
$ac_ext
4903 cat >>conftest.
$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4905 #include <$ac_header>
4907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } >/dev
/null
; then
4915 if test -s conftest.err
; then
4916 ac_cpp_err
=$ac_c_preproc_warn_flag
4917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4924 if test -z "$ac_cpp_err"; then
4925 ac_header_preproc
=yes
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.
$ac_ext >&5
4930 ac_header_preproc
=no
4932 rm -f conftest.err conftest.
$ac_ext
4933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4934 echo "${ECHO_T}$ac_header_preproc" >&6
4936 # So? What about this header?
4937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4943 ac_header_preproc
=yes
4946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4960 ## -------------------------------- ##
4961 ## Report this to classpath@gnu.org ##
4962 ## -------------------------------- ##
4965 sed "s/^/$as_me: WARNING: /" >&2
4968 echo "$as_me:$LINENO: checking for $ac_header" >&5
4969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 eval "$as_ac_Header=\$ac_header_preproc"
4975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4980 cat >>confdefs.h
<<_ACEOF
4981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4985 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4986 echo "$as_me: error: cannot find ltdl.h" >&2;}
4987 { (exit 1); exit 1; }; }
4993 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4994 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4995 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 ac_check_lib_save_LIBS
=$LIBS
5000 if test x
$gcc_no_link = xyes
; then
5001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5003 { (exit 1); exit 1; }; }
5005 cat >conftest.
$ac_ext <<_ACEOF
5008 cat confdefs.h
>>conftest.
$ac_ext
5009 cat >>conftest.
$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5012 /* Override any gcc2 internal prototype to avoid an error. */
5016 /* We use char because int might match the return type of a gcc2
5017 builtin and then its argument prototype would still apply. */
5027 rm -f conftest.
$ac_objext conftest
$ac_exeext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5029 (eval $ac_link) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1
>conftest.err
5033 cat conftest.err
>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try
='test -s conftest$ac_exeext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 ac_cv_lib_ltdl_lt_dlopen
=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.
$ac_ext >&5
5054 ac_cv_lib_ltdl_lt_dlopen
=no
5056 rm -f conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5058 LIBS
=$ac_check_lib_save_LIBS
5060 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5061 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5062 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5063 cat >>confdefs.h
<<_ACEOF
5064 #define HAVE_LIBLTDL 1
5070 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5071 echo "$as_me: error: cannot find libltdl" >&2;}
5072 { (exit 1); exit 1; }; }
5076 xno
) COMPILE_WRAPPERS
=no
;;
5077 x
) COMPILE_WRAPPERS
=yes ;;
5078 *) COMPILE_WRAPPERS
=yes ;;
5085 if test "x${COMPILE_WRAPPERS}" = xyes
; then
5086 CREATE_WRAPPERS_TRUE
=
5087 CREATE_WRAPPERS_FALSE
='#'
5089 CREATE_WRAPPERS_TRUE
='#'
5090 CREATE_WRAPPERS_FALSE
=
5094 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5095 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5097 if test "$LN_S" = "ln -s"; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5102 echo "${ECHO_T}no, using $LN_S" >&6
5105 # Find a good install program. We prefer a C program (faster),
5106 # so one script is as good as another. But avoid the broken or
5107 # incompatible versions:
5108 # SysV /etc/install, /usr/sbin/install
5109 # SunOS /usr/etc/install
5110 # IRIX /sbin/install
5112 # AmigaOS /C/install, which installs bootblocks on floppy discs
5113 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5114 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5115 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5116 # OS/2's system install, which has a completely different semantic
5117 # ./install, which can be erroneously created by make from ./install.sh.
5118 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5119 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5120 if test -z "$INSTALL"; then
5121 if test "${ac_cv_path_install+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 # Account for people who put trailing slashes in PATH elements.
5131 .
/ | .
// |
/cC
/* | \
5132 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5133 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5136 # OSF1 and SCO ODT 3.0 have their own names for install.
5137 # Don't use installbsd from OSF since it installs stuff as root
5139 for ac_prog
in ginstall scoinst
install; do
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5142 if test $ac_prog = install &&
5143 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5144 # AIX install. It has an incompatible calling convention.
5146 elif test $ac_prog = install &&
5147 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5148 # program-specific install script used by HP pwplus--don't use.
5151 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5163 if test "${ac_cv_path_install+set}" = set; then
5164 INSTALL
=$ac_cv_path_install
5166 # As a last resort, use the slow shell script. We don't cache a
5167 # path for INSTALL within a source directory, because that will
5168 # break other packages using the cache if that directory is
5169 # removed, or if the path is relative.
5170 INSTALL
=$ac_install_sh
5173 echo "$as_me:$LINENO: result: $INSTALL" >&5
5174 echo "${ECHO_T}$INSTALL" >&6
5176 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5177 # It thinks the first close brace ends the variable substitution.
5178 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5180 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5182 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5186 # Check whether --enable-static or --disable-static was given.
5187 if test "${enable_static+set}" = set; then
5188 enableval
="$enable_static"
5189 p
=${PACKAGE-default}
5191 yes) enable_static
=yes ;;
5192 no
) enable_static
=no
;;
5195 # Look at the argument we got. We use all the common list separators.
5196 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5197 for pkg
in $enableval; do
5199 if test "X$pkg" = "X$p"; then
5219 macro_version
='2.1a'
5220 macro_revision
='1.2435'
5233 ltmain
="$ac_aux_dir/ltmain.sh"
5243 # Check whether --enable-shared or --disable-shared was given.
5244 if test "${enable_shared+set}" = set; then
5245 enableval
="$enable_shared"
5246 p
=${PACKAGE-default}
5248 yes) enable_shared
=yes ;;
5249 no
) enable_shared
=no
;;
5252 # Look at the argument we got. We use all the common list separators.
5253 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5254 for pkg
in $enableval; do
5256 if test "X$pkg" = "X$p"; then
5276 # Check whether --with-pic or --without-pic was given.
5277 if test "${with_pic+set}" = set; then
5284 test -z "$pic_mode" && pic_mode
=default
5292 # Check whether --enable-fast-install or --disable-fast-install was given.
5293 if test "${enable_fast_install+set}" = set; then
5294 enableval
="$enable_fast_install"
5295 p
=${PACKAGE-default}
5297 yes) enable_fast_install
=yes ;;
5298 no
) enable_fast_install
=no
;;
5300 enable_fast_install
=no
5301 # Look at the argument we got. We use all the common list separators.
5302 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5303 for pkg
in $enableval; do
5305 if test "X$pkg" = "X$p"; then
5306 enable_fast_install
=yes
5313 enable_fast_install
=yes
5323 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5324 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5325 if test "${lt_cv_path_SED+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 # Loop through the user's path and test for sed and gsed.
5329 # Then use that list of sed's as ones to test for truncation.
5330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir
=.
5335 for lt_ac_prog
in sed gsed
; do
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5338 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5346 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5347 # along with /bin/sed that truncates output.
5348 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5349 test ! -f $lt_ac_sed && continue
5350 cat /dev
/null
> conftest.
in
5352 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5353 # Check for GNU sed and select it if it is found.
5354 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5355 lt_cv_path_SED
=$lt_ac_sed
5359 cat conftest.
in conftest.
in >conftest.tmp
5360 mv conftest.tmp conftest.
in
5361 cp conftest.
in conftest.
nl
5363 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5364 cmp -s conftest.out conftest.
nl ||
break
5365 # 10000 chars as input seems more than enough
5366 test $lt_ac_count -gt 10 && break
5367 lt_ac_count
=`expr $lt_ac_count + 1`
5368 if test $lt_ac_count -gt $lt_ac_max; then
5369 lt_ac_max
=$lt_ac_count
5370 lt_cv_path_SED
=$lt_ac_sed
5379 echo "$as_me:$LINENO: result: $SED" >&5
5380 echo "${ECHO_T}$SED" >&6
5382 test -z "$SED" && SED
=sed
5383 Xsed
="$SED -e 1s/^X//"
5395 echo "$as_me:$LINENO: checking for fgrep" >&5
5396 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5397 if test "${ac_cv_prog_fgrep+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5401 then ac_cv_prog_fgrep
='grep -F'
5402 else ac_cv_prog_fgrep
='fgrep'
5405 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5406 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5407 FGREP
=$ac_cv_prog_fgrep
5410 test -z "$GREP" && GREP
=grep
5430 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5431 if test "${with_gnu_ld+set}" = set; then
5432 withval
="$with_gnu_ld"
5433 test "$withval" = no || with_gnu_ld
=yes
5438 if test "$GCC" = yes; then
5439 # Check if gcc -print-prog-name=ld gives a path.
5440 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5441 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5444 # gcc leaves a trailing carriage return which upsets mingw
5445 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5447 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5450 # Accept absolute paths.
5452 re_direlt
='/[^/][^/]*/\.\./'
5453 # Canonicalize the pathname of ld
5454 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5455 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5456 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5458 test -z "$LD" && LD
="$ac_prog"
5461 # If it fails, then pretend we aren't using GCC.
5465 # If it is relative, then search for the first ld in PATH.
5469 elif test "$with_gnu_ld" = yes; then
5470 echo "$as_me:$LINENO: checking for GNU ld" >&5
5471 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5473 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5474 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5476 if test "${lt_cv_path_LD+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 if test -z "$LD"; then
5480 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5481 for ac_dir
in $PATH; do
5483 test -z "$ac_dir" && ac_dir
=.
5484 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5485 lt_cv_path_LD
="$ac_dir/$ac_prog"
5486 # Check to see if the program is GNU ld. I'd rather use --version,
5487 # but apparently some variants of GNU ld only accept -v.
5488 # Break only if it was the GNU/non-GNU ld that we prefer.
5489 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5490 *GNU
* |
*'with BFD'*)
5491 test "$with_gnu_ld" != no
&& break
5494 test "$with_gnu_ld" != yes && break
5501 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5506 if test -n "$LD"; then
5507 echo "$as_me:$LINENO: result: $LD" >&5
5508 echo "${ECHO_T}$LD" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5513 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5514 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5515 { (exit 1); exit 1; }; }
5516 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5517 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5518 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5522 case `$LD -v 2>&1 </dev/null` in
5523 *GNU
* |
*'with BFD'*)
5524 lt_cv_prog_gnu_ld
=yes
5527 lt_cv_prog_gnu_ld
=no
5531 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5532 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5533 with_gnu_ld
=$lt_cv_prog_gnu_ld
5544 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5545 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5546 if test "${lt_cv_path_NM+set}" = set; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 if test -n "$NM"; then
5550 # Let the user override the test.
5553 lt_nm_to_check
="${ac_tool_prefix}nm"
5554 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5555 lt_nm_to_check
="$lt_nm_to_check nm"
5557 for lt_tmp_nm
in $lt_nm_to_check; do
5558 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5559 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5561 test -z "$ac_dir" && ac_dir
=.
5562 tmp_nm
="$ac_dir/$lt_tmp_nm"
5563 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5564 # Check to see if the nm accepts a BSD-compat flag.
5565 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5566 # nm: unknown option "B" ignored
5567 # Tru64's nm complains that /dev/null is an invalid object file
5568 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5569 */dev
/null
* |
*'Invalid file or object type'*)
5570 lt_cv_path_NM
="$tmp_nm -B"
5574 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5576 lt_cv_path_NM
="$tmp_nm -p"
5580 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5581 continue # so that we can try to find one that supports BSD flags
5590 : ${lt_cv_path_NM=no}
5593 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5594 echo "${ECHO_T}$lt_cv_path_NM" >&6
5595 if test "$lt_cv_path_NM" != "no"; then
5598 # Didn't find any BSD compatible name lister, look for dumpbin.
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5604 echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5606 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 if test -n "$DUMPBIN"; then
5610 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir
=.
5617 for ac_exec_ext
in '' $ac_executable_extensions; do
5618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 DUMPBIN
=$ac_cv_prog_DUMPBIN
5629 if test -n "$DUMPBIN"; then
5630 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5631 echo "${ECHO_T}$DUMPBIN" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5637 test -n "$DUMPBIN" && break
5640 if test -z "$DUMPBIN"; then
5641 ac_ct_DUMPBIN
=$DUMPBIN
5642 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy
$ac_prog; ac_word
=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$ac_ct_DUMPBIN"; then
5652 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5671 if test -n "$ac_ct_DUMPBIN"; then
5672 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5673 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5679 test -n "$ac_ct_DUMPBIN" && break
5681 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5683 DUMPBIN
=$ac_ct_DUMPBIN
5687 if test "$DUMPBIN" != ":"; then
5691 test -z "$NM" && NM
=nm
5698 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5699 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5700 if test "${lt_cv_nm_interface+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 lt_cv_nm_interface
="BSD nm"
5704 echo "int some_variable = 0;" > conftest.
$ac_ext
5705 (eval echo "\"\$as_me:5705: $ac_compile\"" >&5)
5706 (eval "$ac_compile" 2>conftest.err
)
5707 cat conftest.err
>&5
5708 (eval echo "\"\$as_me:5708: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5709 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5710 cat conftest.err
>&5
5711 (eval echo "\"\$as_me:5711: output\"" >&5)
5712 cat conftest.out
>&5
5713 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5714 lt_cv_nm_interface
="MS dumpbin"
5718 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5719 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5721 # find the maximum length of command line arguments
5722 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5723 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5724 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 # On DJGPP, this test can blow up pretty badly due to problems in libc
5733 # (any single argument exceeding 2000 bytes causes a buffer overrun
5734 # during glob expansion). Even if it were fixed, the result of this
5735 # check would be larger than it should be.
5736 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5740 # Under GNU Hurd, this test is not required because there is
5741 # no limit to the length of command line arguments.
5742 # Libtool will interpret -1 as no limit whatsoever
5743 lt_cv_sys_max_cmd_len
=-1;
5747 # On Win9x/ME, this test blows up -- it succeeds, but takes
5748 # about 5 minutes as the teststring grows exponentially.
5749 # Worse, since 9x/ME are not pre-emptively multitasking,
5750 # you end up with a "frozen" computer, even though with patience
5751 # the test eventually succeeds (with a max line length of 256k).
5752 # Instead, let's just punt: use the minimum linelength reported by
5753 # all of the supported platforms: 8192 (on NT/2K/XP).
5754 lt_cv_sys_max_cmd_len
=8192;
5758 # On AmigaOS with pdksh, this test takes hours, literally.
5759 # So we just punt and use a minimum line length of 8192.
5760 lt_cv_sys_max_cmd_len
=8192;
5763 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5764 # This has been around since 386BSD, at least. Likely further.
5765 if test -x /sbin
/sysctl
; then
5766 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5767 elif test -x /usr
/sbin
/sysctl
; then
5768 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5770 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5772 # And add a safety zone
5773 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5774 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5778 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5779 lt_cv_sys_max_cmd_len
=196608
5783 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5784 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5785 # nice to cause kernel panics so lets avoid the loop below.
5786 # First set a reasonable default.
5787 lt_cv_sys_max_cmd_len
=16384
5789 if test -x /sbin
/sysconfig
; then
5790 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5791 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5796 lt_cv_sys_max_cmd_len
=102400
5798 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5799 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5800 if test -n "$kargmax"; then
5801 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5803 lt_cv_sys_max_cmd_len
=32768
5807 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5808 if test -n $lt_cv_sys_max_cmd_len; then
5809 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5810 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5812 # Make teststring a little bigger before we do anything with it.
5813 # a 1K string should be a reasonable start.
5814 for i
in 1 2 3 4 5 6 7 8 ; do
5815 teststring
=$teststring$teststring
5817 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5818 # If test is not a shell built-in, we'll probably end up computing a
5819 # maximum length that is only half of the actual maximum length, but
5821 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5822 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5823 test $i != 17 # 1/2 MB should be enough
5826 teststring
=$teststring$teststring
5828 # Only check the string length outside the loop.
5829 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5831 # Add a significant safety factor because C++ compilers can tack on
5832 # massive amounts of additional arguments before passing them to the
5833 # linker. It appears as though 1/2 is a usable value.
5834 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5841 if test -n $lt_cv_sys_max_cmd_len ; then
5842 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5843 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5845 echo "$as_me:$LINENO: result: none" >&5
5846 echo "${ECHO_T}none" >&6
5848 max_cmd_len
=$lt_cv_sys_max_cmd_len
5860 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5861 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5862 # Try some XSI features
5865 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5866 = c,a/b,, ) >/dev/null 2>&1 \
5868 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5869 echo "${ECHO_T}$xsi_shell" >&6
5872 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5873 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5875 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5877 && lt_shell_append=yes
5878 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5879 echo "${ECHO_T}$lt_shell_append" >&6
5882 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5892 # test EBCDIC or ASCII
5893 case `echo X|tr X '\101'` in
5894 A) # ASCII based system
5895 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5896 lt_SP2NL='tr \040 \012'
5897 lt_NL2SP='tr \015\012 \040\040'
5899 *) # EBCDIC based system
5900 lt_SP2NL='tr \100 \n'
5901 lt_NL2SP='tr \r\n \100\100'
5913 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5914 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5915 if test "${lt_cv_ld_reload_flag+set}" = set; then
5916 echo $ECHO_N "(cached
) $ECHO_C" >&6
5918 lt_cv_ld_reload_flag='-r'
5920 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5921 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5922 reload_flag=$lt_cv_ld_reload_flag
5923 case $reload_flag in
5925 *) reload_flag=" $reload_flag" ;;
5927 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5930 if test "$GCC" = yes; then
5931 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5933 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5947 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5948 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5949 if test "${lt_cv_deplibs_check_method+set}" = set; then
5950 echo $ECHO_N "(cached
) $ECHO_C" >&6
5952 lt_cv_file_magic_cmd='$MAGIC_CMD'
5953 lt_cv_file_magic_test_file=
5954 lt_cv_deplibs_check_method='unknown'
5955 # Need to set the preceding variable on all platforms that support
5956 # interlibrary dependencies.
5957 # 'none' -- dependencies not supported.
5958 # `unknown' -- same as none, but documents that we really don't know.
5959 # 'pass_all' -- all dependencies passed with no checks.
5960 # 'test_compile' -- check by making test program.
5961 # 'file_magic [[regex]]' -- check by looking for files in library path
5962 # which responds to the $file_magic_cmd with a given extended regex.
5963 # If you have `file' or equivalent on your system and you're not sure
5964 # whether `pass_all' will *always* work, you probably want this one.
5968 lt_cv_deplibs_check_method=pass_all
5972 lt_cv_deplibs_check_method=pass_all
5976 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5977 lt_cv_file_magic_cmd='/usr/bin/file -L'
5978 lt_cv_file_magic_test_file=/shlib/libc.so
5982 # func_win32_libid is a shell function defined in ltmain.sh
5983 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5984 lt_cv_file_magic_cmd='func_win32_libid'
5988 # Base MSYS/MinGW do not provide the 'file' command needed by
5989 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5990 # unless we find 'file', for example because we are cross-compiling.
5991 if ( file / ) >/dev/null 2>&1; then
5992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5993 lt_cv_file_magic_cmd='func_win32_libid'
5995 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5996 lt_cv_file_magic_cmd='$OBJDUMP -f'
6000 darwin* | rhapsody*)
6001 lt_cv_deplibs_check_method=pass_all
6004 freebsd* | dragonfly*)
6005 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6008 # Not sure whether the presence of OpenBSD here was a mistake.
6009 # Let's accept both of them until this is cleared up.
6010 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6011 lt_cv_file_magic_cmd=/usr/bin/file
6012 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6016 lt_cv_deplibs_check_method=pass_all
6021 lt_cv_deplibs_check_method=pass_all
6024 hpux10.20* | hpux11*)
6025 lt_cv_file_magic_cmd=/usr/bin/file
6028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6029 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6032 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]'
6033 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6037 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6043 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6047 irix5* | irix6* | nonstopux*)
6049 *-32|*"-32 ") libmagic=32-bit;;
6050 *-n32|*"-n32 ") libmagic=N32;;
6051 *-64|*"-64 ") libmagic=64-bit;;
6052 *) libmagic=never-match;;
6054 lt_cv_deplibs_check_method=pass_all
6057 # This must be Linux ELF.
6058 linux* | k*bsd*-gnu)
6059 lt_cv_deplibs_check_method=pass_all
6063 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6072 lt_cv_file_magic_cmd=/usr/bin/file
6073 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6077 lt_cv_deplibs_check_method=pass_all
6081 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6088 osf3* | osf4* | osf5*)
6089 lt_cv_deplibs_check_method=pass_all
6093 lt_cv_deplibs_check_method=pass_all
6097 lt_cv_deplibs_check_method=pass_all
6100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6101 lt_cv_deplibs_check_method=pass_all
6105 case $host_vendor in
6107 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]'
6108 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6111 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_file_magic_cmd='/bin/file'
6115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6118 lt_cv_file_magic_cmd='/bin/file'
6119 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6120 lt_cv_file_magic_test_file=/lib/libc.so
6123 lt_cv_deplibs_check_method=pass_all
6126 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method=pass_all
6137 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6138 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6139 file_magic_cmd=$lt_cv_file_magic_cmd
6140 deplibs_check_method=$lt_cv_deplibs_check_method
6141 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6154 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6156 set dummy ${ac_tool_prefix}ar; ac_word=$2
6157 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6158 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6159 if test "${ac_cv_prog_AR+set}" = set; then
6160 echo $ECHO_N "(cached
) $ECHO_C" >&6
6162 if test -n "$AR"; then
6163 ac_cv_prog_AR="$AR" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_AR="${ac_tool_prefix}ar"
6173 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6182 if test -n "$AR"; then
6183 echo "$as_me:$LINENO: result
: $AR" >&5
6184 echo "${ECHO_T}$AR" >&6
6186 echo "$as_me:$LINENO: result
: no
" >&5
6187 echo "${ECHO_T}no
" >&6
6191 if test -z "$ac_cv_prog_AR"; then
6193 # Extract the first word of "ar", so it can be a program name with args.
6194 set dummy ar; ac_word=$2
6195 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6196 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6197 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6198 echo $ECHO_N "(cached
) $ECHO_C" >&6
6200 if test -n "$ac_ct_AR"; then
6201 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6210 ac_cv_prog_ac_ct_AR="ar"
6211 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6217 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6221 if test -n "$ac_ct_AR"; then
6222 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6223 echo "${ECHO_T}$ac_ct_AR" >&6
6225 echo "$as_me:$LINENO: result
: no
" >&5
6226 echo "${ECHO_T}no
" >&6
6234 test -z "$AR" && AR=ar
6235 test -z "$AR_FLAGS" && AR_FLAGS=cru
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}strip; ac_word=$2
6250 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6251 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6252 if test "${ac_cv_prog_STRIP+set}" = set; then
6253 echo $ECHO_N "(cached
) $ECHO_C" >&6
6255 if test -n "$STRIP"; then
6256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6265 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6266 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6274 STRIP=$ac_cv_prog_STRIP
6275 if test -n "$STRIP"; then
6276 echo "$as_me:$LINENO: result
: $STRIP" >&5
6277 echo "${ECHO_T}$STRIP" >&6
6279 echo "$as_me:$LINENO: result
: no
" >&5
6280 echo "${ECHO_T}no
" >&6
6284 if test -z "$ac_cv_prog_STRIP"; then
6286 # Extract the first word of "strip
", so it can be a program name with args.
6287 set dummy strip; ac_word=$2
6288 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6289 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6291 echo $ECHO_N "(cached
) $ECHO_C" >&6
6293 if test -n "$ac_ct_STRIP"; then
6294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_ac_ct_STRIP="strip
"
6304 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6314 if test -n "$ac_ct_STRIP"; then
6315 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6316 echo "${ECHO_T}$ac_ct_STRIP" >&6
6318 echo "$as_me:$LINENO: result
: no
" >&5
6319 echo "${ECHO_T}no
" >&6
6324 STRIP="$ac_cv_prog_STRIP"
6327 test -z "$STRIP" && STRIP=:
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6337 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6339 if test "${ac_cv_prog_RANLIB+set}" = set; then
6340 echo $ECHO_N "(cached
) $ECHO_C" >&6
6342 if test -n "$RANLIB"; then
6343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 RANLIB=$ac_cv_prog_RANLIB
6362 if test -n "$RANLIB"; then
6363 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6364 echo "${ECHO_T}$RANLIB" >&6
6366 echo "$as_me:$LINENO: result
: no
" >&5
6367 echo "${ECHO_T}no
" >&6
6371 if test -z "$ac_cv_prog_RANLIB"; then
6372 ac_ct_RANLIB=$RANLIB
6373 # Extract the first word of "ranlib
", so it can be a program name with args.
6374 set dummy ranlib; ac_word=$2
6375 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6376 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6377 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6378 echo $ECHO_N "(cached
) $ECHO_C" >&6
6380 if test -n "$ac_ct_RANLIB"; then
6381 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6397 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6400 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6401 if test -n "$ac_ct_RANLIB"; then
6402 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6403 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6405 echo "$as_me:$LINENO: result
: no
" >&5
6406 echo "${ECHO_T}no
" >&6
6409 RANLIB=$ac_ct_RANLIB
6411 RANLIB="$ac_cv_prog_RANLIB"
6414 test -z "$RANLIB" && RANLIB=:
6421 # Determine commands to create old-style static archives.
6422 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6423 old_postinstall_cmds='chmod 644 $oldlib'
6424 old_postuninstall_cmds=
6426 if test -n "$RANLIB"; then
6429 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6432 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6435 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6471 # If no C compiler was specified, use CC.
6474 # If no C compiler flags were specified, use CFLAGS.
6475 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6477 # Allow CC to be a program name with arguments.
6481 # Check for command to grab the raw symbol name followed by C symbol from nm.
6482 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6483 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6484 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6485 echo $ECHO_N "(cached
) $ECHO_C" >&6
6488 # These are sane defaults that work on at least a few old systems.
6489 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6491 # Character class describing NM global symbol codes.
6492 symcode='[BCDEGRST]'
6494 # Regexp to match symbols that can be accessed directly from C.
6495 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6497 # Define system-specific variables.
6502 cygwin* | mingw* | pw32*)
6503 symcode='[ABCDGISTW]'
6506 if test "$host_cpu" = ia64; then
6507 symcode='[ABCDEGRST]'
6511 symcode='[BCDEGRST]'
6514 symcode='[BCDEGQRST]'
6525 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6533 # If we're using GNU nm, then use its standard symbol codes.
6534 case `$NM -V 2>&1` in
6535 *GNU* | *'with BFD'*)
6536 symcode='[ABCDGIRSTW]' ;;
6539 # Transform an extracted symbol line into a proper C declaration.
6540 # Some systems (esp. on ia64) link data and code symbols differently,
6541 # so use this general approach.
6542 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6544 # Transform an extracted symbol line into symbol name and symbol address
6545 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6547 # Handle CRLF in mingw tool chain
6551 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6555 # Try without a prefix underscore, then with it.
6556 for ac_symprfx in "" "_
"; do
6558 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6559 symxfrm="\\1 $ac_symprfx\\2 \\2"
6561 # Write the raw and C identifiers.
6562 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6563 # Fake it for dumpbin and say T for any non-static function
6564 # and D for any global variable.
6565 # Also find C++ and __fastcall symbols from MSVC++,
6566 # which start with @ or ?.
6567 lt_cv_sys_global_symbol_pipe="$AWK '"\
6568 " {last_section=section; section=\$ 3};"\
6569 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6570 " \$ 0!~/External *\|/{next};"\
6571 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6572 " {if(hide[section]) next};"\
6573 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6574 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6575 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6576 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6577 " ' prfx
=^
$ac_symprfx"
6579 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6582 # Check to see that the pipe works correctly.
6586 cat > conftest.$ac_ext <<_LT_EOF
6591 void nm_test_func(void);
6592 void nm_test_func(void){}
6596 int main(){nm_test_var='a';nm_test_func();return(0);}
6599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6600 (eval $ac_compile) 2>&5
6602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6603 (exit $ac_status); }; then
6604 # Now try to grab the symbols.
6606 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6607 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6610 (exit $ac_status); } && test -s "$nlist"; then
6611 # Try sorting and uniquifying the output.
6612 if sort "$nlist" | uniq > "$nlist"T; then
6613 mv -f "$nlist"T "$nlist"
6618 # Make sure that we snagged all the symbols we need.
6619 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6620 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6621 cat <<_LT_EOF > conftest.$ac_ext
6627 # Now generate the symbol file.
6628 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6630 cat <<_LT_EOF >> conftest.$ac_ext
6632 /* The mapping between symbol names and symbols. */
6637 lt__PROGRAM__LTX_preloaded_symbols[] =
6639 { "@PROGRAM@
", (void *) 0 },
6641 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6642 cat <<\_LT_EOF >> conftest.$ac_ext
6646 /* This works around a problem in FreeBSD linker */
6647 #ifdef FREEBSD_WORKAROUND
6648 static const void *lt_preloaded_setup() {
6649 return lt__PROGRAM__LTX_preloaded_symbols;
6657 # Now try linking the two files.
6658 mv conftest.$ac_objext conftstm.$ac_objext
6659 lt_save_LIBS="$LIBS"
6660 lt_save_CFLAGS="$CFLAGS"
6661 LIBS="conftstm.
$ac_objext"
6662 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6664 (eval $ac_link) 2>&5
6666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6667 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6670 LIBS="$lt_save_LIBS"
6671 CFLAGS="$lt_save_CFLAGS"
6673 echo "cannot
find nm_test_func
in $nlist" >&5
6676 echo "cannot
find nm_test_var
in $nlist" >&5
6679 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6682 echo "$progname: failed program was
:" >&5
6683 cat conftest.$ac_ext >&5
6685 rm -f conftest* conftst*
6687 # Do not use the global_symbol_pipe unless it works.
6688 if test "$pipe_works" = yes; then
6691 lt_cv_sys_global_symbol_pipe=
6697 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6698 lt_cv_sys_global_symbol_to_cdecl=
6700 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6701 echo "$as_me:$LINENO: result
: failed
" >&5
6702 echo "${ECHO_T}failed
" >&6
6704 echo "$as_me:$LINENO: result
: ok
" >&5
6705 echo "${ECHO_T}ok
" >&6
6724 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6725 if test "${enable_libtool_lock+set}" = set; then
6726 enableval="$enable_libtool_lock"
6729 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6731 # Some flags need to be propagated to the compiler or linker for good
6735 # Find out which ABI we are using.
6736 echo 'int i;' > conftest.$ac_ext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738 (eval $ac_compile) 2>&5
6740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6741 (exit $ac_status); }; then
6742 case `/usr/bin/file conftest.$ac_objext` in
6754 # Find out which ABI we are using.
6755 echo '#line 6755 "configure
"' > conftest.$ac_ext
6756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6757 (eval $ac_compile) 2>&5
6759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6760 (exit $ac_status); }; then
6761 if test "$lt_cv_prog_gnu_ld" = yes; then
6762 case `/usr/bin/file conftest.$ac_objext` in
6764 LD="${LD-ld} -melf32bsmip"
6767 LD="${LD-ld} -melf32bmipn32"
6770 LD="${LD-ld} -melf64bmip"
6774 case `/usr/bin/file conftest.$ac_objext` in
6790 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6791 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6792 # Find out which ABI we are using.
6793 echo 'int i;' > conftest.$ac_ext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6795 (eval $ac_compile) 2>&5
6797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6798 (exit $ac_status); }; then
6799 case `/usr/bin/file conftest.o` in
6802 x86_64-*kfreebsd*-gnu)
6803 LD="${LD-ld} -m elf_i386_fbsd
"
6806 LD="${LD-ld} -m elf_i386
"
6808 ppc64-*linux*|powerpc64-*linux*)
6809 LD="${LD-ld} -m elf32ppclinux
"
6812 LD="${LD-ld} -m elf_s390
"
6815 LD="${LD-ld} -m elf32_sparc
"
6821 x86_64-*kfreebsd*-gnu)
6822 LD="${LD-ld} -m elf_x86_64_fbsd
"
6825 LD="${LD-ld} -m elf_x86_64
"
6827 ppc*-*linux*|powerpc*-*linux*)
6828 LD="${LD-ld} -m elf64ppc
"
6830 s390*-*linux*|s390*-*tpf*)
6831 LD="${LD-ld} -m elf64_s390
"
6834 LD="${LD-ld} -m elf64_sparc
"
6844 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6845 SAVE_CFLAGS="$CFLAGS"
6846 CFLAGS="$CFLAGS -belf"
6847 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6848 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6849 if test "${lt_cv_cc_needs_belf+set}" = set; then
6850 echo $ECHO_N "(cached
) $ECHO_C" >&6
6853 ac_cpp='$CPP $CPPFLAGS'
6854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6858 if test x$gcc_no_link = xyes; then
6859 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6860 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6861 { (exit 1); exit 1; }; }
6863 cat >conftest.$ac_ext <<_ACEOF
6866 cat confdefs.h >>conftest.$ac_ext
6867 cat >>conftest.$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6878 rm -f conftest.$ac_objext conftest$ac_exeext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6880 (eval $ac_link) 2>conftest.er1
6882 grep -v '^ *+' conftest.er1 >conftest.err
6884 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_c_werror_flag"
6888 || test ! -s conftest.err'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6893 (exit $ac_status); }; } &&
6894 { ac_try='test -s conftest$ac_exeext'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6899 (exit $ac_status); }; }; then
6900 lt_cv_cc_needs_belf=yes
6902 echo "$as_me: failed program was
:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 lt_cv_cc_needs_belf=no
6907 rm -f conftest.err conftest.$ac_objext \
6908 conftest$ac_exeext conftest.$ac_ext
6910 ac_cpp='$CPP $CPPFLAGS'
6911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6916 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6917 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6918 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6919 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6920 CFLAGS="$SAVE_CFLAGS"
6924 # Find out which ABI we are using.
6925 echo 'int i;' > conftest.$ac_ext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927 (eval $ac_compile) 2>&5
6929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6930 (exit $ac_status); }; then
6931 case `/usr/bin/file conftest.o` in
6933 case $lt_cv_prog_gnu_ld in
6934 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6935 *) LD="${LD-ld} -64" ;;
6944 need_locks="$enable_libtool_lock"
6947 for ac_header in dlfcn.h
6949 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6950 echo "$as_me:$LINENO: checking
for $ac_header" >&5
6951 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
6952 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
6953 echo $ECHO_N "(cached
) $ECHO_C" >&6
6955 cat >conftest.$ac_ext <<_ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_c_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6986 (exit $ac_status); }; }; then
6987 eval "$as_ac_Header=yes"
6989 echo "$as_me: failed program was
:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 eval "$as_ac_Header=no
"
6994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6996 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
6997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6999 cat >>confdefs.h <<_ACEOF
7000 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7009 # This can be used to rebuild libtool when needed
7010 LIBTOOL_DEPS="$ltmain"
7012 # Always use our own libtool.
7013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7039 test -z "$LN_S" && LN_S="ln -s"
7054 if test -n "${ZSH_VERSION+set}" ; then
7055 setopt NO_GLOB_SUBST
7058 echo "$as_me:$LINENO: checking
for objdir
" >&5
7059 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7060 if test "${lt_cv_objdir+set}" = set; then
7061 echo $ECHO_N "(cached
) $ECHO_C" >&6
7063 rm -f .libs 2>/dev/null
7064 mkdir .libs 2>/dev/null
7065 if test -d .libs; then
7068 # MS-DOS does not allow filenames that begin with a dot.
7071 rmdir .libs 2>/dev/null
7073 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7074 echo "${ECHO_T}$lt_cv_objdir" >&6
7075 objdir=$lt_cv_objdir
7081 cat >>confdefs.h <<_ACEOF
7082 #define LT_OBJDIR "$lt_cv_objdir/"
7103 # AIX sometimes has problems with the GCC collect2 program. For some
7104 # reason, if we set the COLLECT_NAMES environment variable, the problems
7105 # vanish in a puff of smoke.
7106 if test "X
${COLLECT_NAMES+set}" != Xset; then
7108 export COLLECT_NAMES
7113 # Sed substitution that helps us do robust quoting. It backslashifies
7114 # metacharacters that are still active within double-quoted strings.
7115 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7117 # Same as above, but do not quote variable references.
7118 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7120 # Sed substitution to delay expansion of an escaped shell variable in a
7121 # double_quote_subst'ed string.
7122 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7124 # Sed substitution to delay expansion of an escaped single quote.
7125 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7127 # Sed substitution to avoid accidental globbing in evaled expressions
7128 no_glob_subst
='s/\*/\\\*/g'
7132 can_build_shared
=yes
7134 # All known linkers require a `.a' archive for static linking (except MSVC,
7135 # which needs '.lib').
7138 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7141 old_CFLAGS
="$CFLAGS"
7143 # Set sane defaults for various variables
7144 test -z "$CC" && CC
=cc
7145 test -z "$LTCC" && LTCC
=$CC
7146 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7147 test -z "$LD" && LD
=ld
7148 test -z "$ac_objext" && ac_objext
=o
7150 for cc_temp
in $compiler""; do
7152 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7153 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7158 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7161 # Only perform the check for file, if the check method requires it
7162 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7163 case $deplibs_check_method in
7165 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7166 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7167 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7168 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7176 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7177 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7178 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7179 for ac_dir
in $ac_dummy; do
7181 test -z "$ac_dir" && ac_dir
=.
7182 if test -f $ac_dir/${ac_tool_prefix}file; then
7183 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7184 if test -n "$file_magic_test_file"; then
7185 case $deplibs_check_method in
7187 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7188 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7189 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7190 $EGREP "$file_magic_regex" > /dev
/null
; then
7195 *** Warning: the command libtool uses to detect shared libraries,
7196 *** $file_magic_cmd, produces output that libtool cannot recognize.
7197 *** The result is that libtool may fail to recognize shared libraries
7198 *** as such. This will affect the creation of libtool libraries that
7199 *** depend on shared libraries, but programs linked with such libtool
7200 *** libraries will work regardless of this problem. Nevertheless, you
7201 *** may want to report the problem to your system manager and/or to
7202 *** bug-libtool@gnu.org
7212 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7217 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7218 if test -n "$MAGIC_CMD"; then
7219 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7220 echo "${ECHO_T}$MAGIC_CMD" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7230 if test -z "$lt_cv_path_MAGIC_CMD"; then
7231 if test -n "$ac_tool_prefix"; then
7232 echo "$as_me:$LINENO: checking for file" >&5
7233 echo $ECHO_N "checking for file... $ECHO_C" >&6
7234 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7242 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7243 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7244 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7245 for ac_dir
in $ac_dummy; do
7247 test -z "$ac_dir" && ac_dir
=.
7248 if test -f $ac_dir/file; then
7249 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7250 if test -n "$file_magic_test_file"; then
7251 case $deplibs_check_method in
7253 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7254 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7255 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7256 $EGREP "$file_magic_regex" > /dev
/null
; then
7261 *** Warning: the command libtool uses to detect shared libraries,
7262 *** $file_magic_cmd, produces output that libtool cannot recognize.
7263 *** The result is that libtool may fail to recognize shared libraries
7264 *** as such. This will affect the creation of libtool libraries that
7265 *** depend on shared libraries, but programs linked with such libtool
7266 *** libraries will work regardless of this problem. Nevertheless, you
7267 *** may want to report the problem to your system manager and/or to
7268 *** bug-libtool@gnu.org
7278 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7283 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7284 if test -n "$MAGIC_CMD"; then
7285 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7286 echo "${ECHO_T}$MAGIC_CMD" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7302 # Use C for the default configuration in the libtool script
7306 ac_cpp
='$CPP $CPPFLAGS'
7307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7312 # Source file extension for C test sources.
7315 # Object file extension for compiled C test sources.
7319 # Code to be used in simple compile tests
7320 lt_simple_compile_test_code
="int some_variable = 0;"
7322 # Code to be used in simple link tests
7323 lt_simple_link_test_code
='int main(){return(0);}'
7331 # If no C compiler was specified, use CC.
7334 # If no C compiler flags were specified, use CFLAGS.
7335 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7337 # Allow CC to be a program name with arguments.
7340 # Save the default compiler, since it gets overwritten when the other
7341 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7342 compiler_DEFAULT
=$CC
7344 # save warnings/boilerplate of simple test code
7345 ac_outfile
=conftest.
$ac_objext
7346 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7347 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7348 _lt_compiler_boilerplate
=`cat conftest.err`
7351 ac_outfile
=conftest.
$ac_objext
7352 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7353 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7354 _lt_linker_boilerplate
=`cat conftest.err`
7359 ## There is no encapsulation within the following macros, do not change
7360 ## the running order or otherwise move them around unless you know exactly
7361 ## what you are doing...
7362 if test -n "$compiler"; then
7364 lt_prog_compiler_no_builtin_flag
=
7366 if test "$GCC" = yes; then
7367 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7369 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7370 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7371 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 lt_cv_prog_compiler_rtti_exceptions
=no
7375 ac_outfile
=conftest.
$ac_objext
7376 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7377 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7378 # Insert the option either (1) after the last *FLAGS variable, or
7379 # (2) before a word containing "conftest.", or (3) at the end.
7380 # Note that $ac_compile itself does not contain backslashes and begins
7381 # with a dollar sign (not a hyphen), so the echo should work correctly.
7382 # The option is referenced via a variable to avoid confusing sed.
7383 lt_compile
=`echo "$ac_compile" | $SED \
7384 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7385 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7386 -e 's:$: $lt_compiler_flag:'`
7387 (eval echo "\"\$as_me:7387: $lt_compile\"" >&5)
7388 (eval "$lt_compile" 2>conftest.err
)
7390 cat conftest.err
>&5
7391 echo "$as_me:7391: \$? = $ac_status" >&5
7392 if (exit $ac_status) && test -s "$ac_outfile"; then
7393 # The compiler can only warn and ignore the option if not recognized
7394 # So say no if there are warnings other than the usual output.
7395 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7396 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7397 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7398 lt_cv_prog_compiler_rtti_exceptions
=yes
7404 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7405 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7407 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7408 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7420 lt_prog_compiler_wl
=
7421 lt_prog_compiler_pic
=
7422 lt_prog_compiler_static
=
7424 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7425 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7427 if test "$GCC" = yes; then
7428 lt_prog_compiler_wl
='-Wl,'
7429 lt_prog_compiler_static
='-static'
7433 # All AIX code is PIC.
7434 if test "$host_cpu" = ia64
; then
7435 # AIX 5 now supports IA64 processor
7436 lt_prog_compiler_static
='-Bstatic'
7441 if test "$host_cpu" = m68k
; then
7442 # FIXME: we need at least 68020 code to build shared libraries, but
7443 # adding the `-m68020' flag to GCC prevents building anything better,
7445 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7449 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7450 # PIC is the default for these OSes.
7453 mingw
* | cygwin
* | pw32
* | os2
*)
7454 # This hack is so that the source file can tell whether it is being
7455 # built for inclusion in a dll (and should export symbols for example).
7456 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7457 # (--disable-auto-import) libraries
7458 lt_prog_compiler_pic
='-DDLL_EXPORT'
7461 darwin
* | rhapsody
*)
7462 # PIC is the default on this platform
7463 # Common symbols not allowed in MH_DYLIB files
7464 lt_prog_compiler_pic
='-fno-common'
7468 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7475 lt_prog_compiler_pic
='-fPIC'
7481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7482 # Instead, we relocate shared libraries at runtime.
7486 # Just because we use GCC doesn't mean we suddenly get shared libraries
7487 # on systems that don't support them.
7488 lt_prog_compiler_can_build_shared
=no
7493 # QNX uses GNU C++, but need to define -shared option too, otherwise
7495 lt_prog_compiler_pic
='-fPIC -shared'
7499 if test -d /usr
/nec
; then
7500 lt_prog_compiler_pic
=-Kconform_pic
7505 lt_prog_compiler_pic
='-fPIC'
7509 # PORTME Check for flag to pass linker flags through the system compiler.
7512 lt_prog_compiler_wl
='-Wl,'
7513 if test "$host_cpu" = ia64
; then
7514 # AIX 5 now supports IA64 processor
7515 lt_prog_compiler_static
='-Bstatic'
7517 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7521 # PIC is the default on this platform
7522 # Common symbols not allowed in MH_DYLIB files
7523 case $cc_basename in
7525 lt_prog_compiler_pic
='-qnocommon'
7526 lt_prog_compiler_wl
='-Wl,'
7531 mingw
* | cygwin
* | pw32
* | os2
*)
7532 # This hack is so that the source file can tell whether it is being
7533 # built for inclusion in a dll (and should export symbols for example).
7534 lt_prog_compiler_pic
='-DDLL_EXPORT'
7537 hpux9
* | hpux10
* | hpux11
*)
7538 lt_prog_compiler_wl
='-Wl,'
7539 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7546 lt_prog_compiler_pic
='+Z'
7549 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7550 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7553 irix5
* | irix6
* | nonstopux
*)
7554 lt_prog_compiler_wl
='-Wl,'
7555 # PIC (with -KPIC) is the default.
7556 lt_prog_compiler_static
='-non_shared'
7559 linux
* | k
*bsd
*-gnu)
7560 case $cc_basename in
7562 lt_prog_compiler_wl
='-Wl,'
7563 lt_prog_compiler_pic
='-KPIC'
7564 lt_prog_compiler_static
='-static'
7566 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7567 # Portland Group compilers (*not* the Pentium gcc compiler,
7568 # which looks to be a dead project)
7569 lt_prog_compiler_wl
='-Wl,'
7570 lt_prog_compiler_pic
='-fpic'
7571 lt_prog_compiler_static
='-Bstatic'
7574 lt_prog_compiler_wl
='-Wl,'
7575 # All Alpha code is PIC.
7576 lt_prog_compiler_static
='-non_shared'
7579 case `$CC -V 2>&1 | sed 5q` in
7582 lt_prog_compiler_pic
='-KPIC'
7583 lt_prog_compiler_static
='-Bstatic'
7584 lt_prog_compiler_wl
='-Wl,'
7587 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7588 lt_prog_compiler_pic
='-KPIC'
7589 lt_prog_compiler_static
='-Bstatic'
7590 lt_prog_compiler_wl
=''
7598 lt_prog_compiler_pic
='-KPIC'
7599 lt_prog_compiler_static
='-Bstatic'
7603 # QNX uses GNU C++, but need to define -shared option too, otherwise
7605 lt_prog_compiler_pic
='-fPIC -shared'
7608 osf3
* | osf4
* | osf5
*)
7609 lt_prog_compiler_wl
='-Wl,'
7610 # All OSF/1 code is PIC.
7611 lt_prog_compiler_static
='-non_shared'
7615 lt_prog_compiler_static
='-non_shared'
7619 lt_prog_compiler_pic
='-KPIC'
7620 lt_prog_compiler_static
='-Bstatic'
7621 case $cc_basename in
7623 lt_prog_compiler_wl
='-Qoption ld ';;
7625 lt_prog_compiler_wl
='-Wl,';;
7630 lt_prog_compiler_wl
='-Qoption ld '
7631 lt_prog_compiler_pic
='-PIC'
7632 lt_prog_compiler_static
='-Bstatic'
7635 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7636 lt_prog_compiler_wl
='-Wl,'
7637 lt_prog_compiler_pic
='-KPIC'
7638 lt_prog_compiler_static
='-Bstatic'
7642 if test -d /usr
/nec
;then
7643 lt_prog_compiler_pic
='-Kconform_pic'
7644 lt_prog_compiler_static
='-Bstatic'
7648 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7649 lt_prog_compiler_wl
='-Wl,'
7650 lt_prog_compiler_pic
='-KPIC'
7651 lt_prog_compiler_static
='-Bstatic'
7655 lt_prog_compiler_wl
='-Wl,'
7656 lt_prog_compiler_can_build_shared
=no
7660 lt_prog_compiler_pic
='-pic'
7661 lt_prog_compiler_static
='-Bstatic'
7665 lt_prog_compiler_can_build_shared
=no
7671 # For platforms which do not support PIC, -DPIC is meaningless:
7673 lt_prog_compiler_pic
=
7676 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7679 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7680 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7688 # Check to make sure the PIC flag actually works.
7690 if test -n "$lt_prog_compiler_pic"; then
7691 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7692 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7693 if test "${lt_prog_compiler_pic_works+set}" = set; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 lt_prog_compiler_pic_works
=no
7697 ac_outfile
=conftest.
$ac_objext
7698 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7699 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7700 # Insert the option either (1) after the last *FLAGS variable, or
7701 # (2) before a word containing "conftest.", or (3) at the end.
7702 # Note that $ac_compile itself does not contain backslashes and begins
7703 # with a dollar sign (not a hyphen), so the echo should work correctly.
7704 # The option is referenced via a variable to avoid confusing sed.
7705 lt_compile
=`echo "$ac_compile" | $SED \
7706 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7708 -e 's:$: $lt_compiler_flag:'`
7709 (eval echo "\"\$as_me:7709: $lt_compile\"" >&5)
7710 (eval "$lt_compile" 2>conftest.err
)
7712 cat conftest.err
>&5
7713 echo "$as_me:7713: \$? = $ac_status" >&5
7714 if (exit $ac_status) && test -s "$ac_outfile"; then
7715 # The compiler can only warn and ignore the option if not recognized
7716 # So say no if there are warnings other than the usual output.
7717 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7718 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7719 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7720 lt_prog_compiler_pic_works
=yes
7726 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7727 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7729 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7730 case $lt_prog_compiler_pic in
7732 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7735 lt_prog_compiler_pic
=
7736 lt_prog_compiler_can_build_shared
=no
7747 # Check to make sure the static flag actually works.
7749 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7750 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7751 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7752 if test "${lt_prog_compiler_static_works+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 lt_prog_compiler_static_works
=no
7756 save_LDFLAGS
="$LDFLAGS"
7757 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7758 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7759 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7760 # The linker can only warn and ignore the option if not recognized
7761 # So say no if there are warnings
7762 if test -s conftest.err
; then
7763 # Append any errors to the config.log.
7764 cat conftest.err
1>&5
7765 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7766 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7767 if diff conftest.exp conftest.er2
>/dev
/null
; then
7768 lt_prog_compiler_static_works
=yes
7771 lt_prog_compiler_static_works
=yes
7775 LDFLAGS
="$save_LDFLAGS"
7778 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7779 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7781 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7784 lt_prog_compiler_static
=
7793 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7794 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7795 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 lt_cv_prog_compiler_c_o
=no
7799 $RM -r conftest
2>/dev
/null
7803 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7805 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7806 # Insert the option either (1) after the last *FLAGS variable, or
7807 # (2) before a word containing "conftest.", or (3) at the end.
7808 # Note that $ac_compile itself does not contain backslashes and begins
7809 # with a dollar sign (not a hyphen), so the echo should work correctly.
7810 lt_compile
=`echo "$ac_compile" | $SED \
7811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7813 -e 's:$: $lt_compiler_flag:'`
7814 (eval echo "\"\$as_me:7814: $lt_compile\"" >&5)
7815 (eval "$lt_compile" 2>out
/conftest.err
)
7817 cat out
/conftest.err
>&5
7818 echo "$as_me:7818: \$? = $ac_status" >&5
7819 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7821 # The compiler can only warn and ignore the option if not recognized
7822 # So say no if there are warnings
7823 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7824 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7825 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7826 lt_cv_prog_compiler_c_o
=yes
7831 # SGI C++ compiler will create directory out/ii_files/ for
7832 # template instantiation
7833 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7834 $RM out
/* && rmdir out
7840 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7841 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7848 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7849 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7850 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 lt_cv_prog_compiler_c_o
=no
7854 $RM -r conftest
2>/dev
/null
7858 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7860 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7861 # Insert the option either (1) after the last *FLAGS variable, or
7862 # (2) before a word containing "conftest.", or (3) at the end.
7863 # Note that $ac_compile itself does not contain backslashes and begins
7864 # with a dollar sign (not a hyphen), so the echo should work correctly.
7865 lt_compile
=`echo "$ac_compile" | $SED \
7866 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7868 -e 's:$: $lt_compiler_flag:'`
7869 (eval echo "\"\$as_me:7869: $lt_compile\"" >&5)
7870 (eval "$lt_compile" 2>out
/conftest.err
)
7872 cat out
/conftest.err
>&5
7873 echo "$as_me:7873: \$? = $ac_status" >&5
7874 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7876 # The compiler can only warn and ignore the option if not recognized
7877 # So say no if there are warnings
7878 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7879 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7880 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7881 lt_cv_prog_compiler_c_o
=yes
7886 # SGI C++ compiler will create directory out/ii_files/ for
7887 # template instantiation
7888 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7889 $RM out
/* && rmdir out
7895 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7896 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7901 hard_links
="nottested"
7902 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7903 # do not overwrite the value of need_locks provided by the user
7904 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7905 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7908 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7910 ln conftest.a conftest.b
2>&5 || hard_links
=no
7911 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7912 echo "$as_me:$LINENO: result: $hard_links" >&5
7913 echo "${ECHO_T}$hard_links" >&6
7914 if test "$hard_links" = no
; then
7915 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7916 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7928 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7929 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7932 allow_undefined_flag
=
7933 always_export_symbols
=no
7935 archive_expsym_cmds
=
7936 compiler_needs_object
=no
7937 enable_shared_with_static_runtimes
=no
7938 export_dynamic_flag_spec
=
7939 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7940 hardcode_automatic
=no
7942 hardcode_direct_absolute
=no
7943 hardcode_libdir_flag_spec
=
7944 hardcode_libdir_flag_spec_ld
=
7945 hardcode_libdir_separator
=
7947 hardcode_shlibpath_var
=unsupported
7949 link_all_deplibs
=unknown
7952 old_archive_from_new_cmds
=
7953 old_archive_from_expsyms_cmds
=
7954 thread_safe_flag_spec
=
7955 whole_archive_flag_spec
=
7956 # include_expsyms should be a list of space-separated symbols to be *always*
7957 # included in the symbol list
7959 # exclude_expsyms can be an extended regexp of symbols to exclude
7960 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7961 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7962 # as well as any symbol that contains `d'.
7963 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7964 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7965 # platforms (ab)use it in PIC code, but their linkers get confused if
7966 # the symbol is explicitly referenced. Since portable code cannot
7967 # rely on this symbol name, it's probably fine to never include it in
7968 # preloaded symbol tables.
7969 extract_expsyms_cmds
=
7972 cygwin
* | mingw
* | pw32
*)
7973 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7974 # When not using gcc, we currently assume that we are using
7975 # Microsoft Visual C++.
7976 if test "$GCC" != yes; then
7981 # we just hope/assume this is gcc and not c89 (= MSVC++)
7990 if test "$with_gnu_ld" = yes; then
7991 # If archive_cmds runs LD, not CC, wlarc should be empty
7994 # Set some defaults for GNU ld with shared library support. These
7995 # are reset later if shared libraries are not supported. Putting them
7996 # here allows them to be overridden if necessary.
7997 runpath_var
=LD_RUN_PATH
7998 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7999 export_dynamic_flag_spec
='${wl}--export-dynamic'
8000 # ancient GNU ld didn't support --whole-archive et. al.
8001 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8002 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8004 whole_archive_flag_spec
=
8006 supports_anon_versioning
=no
8007 case `$LD -v 2>&1` in
8008 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8009 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8010 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8011 *\
2.11.
*) ;; # other 2.11 versions
8012 *) supports_anon_versioning
=yes ;;
8015 # See if GNU ld supports shared libraries.
8017 aix3
* | aix4
* | aix5
*)
8018 # On AIX/PPC, the GNU linker is very broken
8019 if test "$host_cpu" != ia64
; then
8023 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8024 *** to be unable to reliably create shared libraries on AIX.
8025 *** Therefore, libtool is disabling shared libraries support. If you
8026 *** really care for shared libraries, you may want to modify your PATH
8027 *** so that a non-GNU linker is found, and then restart.
8034 if test "$host_cpu" = m68k
; then
8035 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)'
8036 hardcode_libdir_flag_spec
='-L$libdir'
8037 hardcode_minus_L
=yes
8040 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8041 # that the semantics of dynamic libraries on AmigaOS, at least up
8042 # to version 4, is to share data among multiple programs linked
8043 # with the same dynamic library. Since this doesn't match the
8044 # behavior of shared libraries on other platforms, we can't use
8050 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8051 allow_undefined_flag
=unsupported
8052 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8053 # support --undefined. This deserves some investigation. FIXME
8054 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8060 cygwin
* | mingw
* | pw32
*)
8061 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8062 # as there is no search path for DLLs.
8063 hardcode_libdir_flag_spec
='-L$libdir'
8064 allow_undefined_flag
=unsupported
8065 always_export_symbols
=no
8066 enable_shared_with_static_runtimes
=yes
8067 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8069 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8070 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8071 # If the export-symbols file already is a .def file (1st line
8072 # is EXPORTS), use it as is; otherwise, prepend...
8073 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8074 cp $export_symbols $output_objdir/$soname.def;
8076 echo EXPORTS > $output_objdir/$soname.def;
8077 cat $export_symbols >> $output_objdir/$soname.def;
8079 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8087 hardcode_shlibpath_var
=no
8088 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8089 export_dynamic_flag_spec
='${wl}-E'
8090 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8091 # Instead, shared libraries are loaded at an image base (0x10000000 by
8092 # default) and relocated if they conflict, which is a slow very memory
8093 # consuming and fragmenting process. To avoid this, we pick a random,
8094 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8095 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8096 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8097 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'
8100 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8102 if test "$host_os" = linux-dietlibc
; then
8103 case $cc_basename in
8104 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8107 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8108 && test "$tmp_diet" = no
8111 case $cc_basename,$host_cpu in
8112 pgcc
*) # Portland Group C compiler
8113 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'
8114 tmp_addflag
=' $pic_flag'
8116 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8117 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'
8118 tmp_addflag
=' $pic_flag -Mnomain' ;;
8119 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8120 tmp_addflag
=' -i_dynamic' ;;
8121 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8122 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8123 ifc
* | ifort
*) # Intel Fortran compiler
8124 tmp_addflag
=' -nofor_main' ;;
8126 case `$CC -V 2>&1 | sed 5q` in
8127 *Sun\ C
*) # Sun C 5.9
8128 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'
8129 compiler_needs_object
=yes
8130 tmp_sharedflag
='-G' ;;
8131 *Sun\ F
*) # Sun Fortran 8.3
8132 tmp_sharedflag
='-G' ;;
8134 tmp_sharedflag
='-shared' ;;
8136 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8138 if test "x$supports_anon_versioning" = xyes
; then
8139 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8141 echo "local: *; };" >> $output_objdir/$libname.ver~
8142 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8150 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8151 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8160 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8165 *** create shared libraries on Solaris systems. Therefore, libtool
8166 *** is disabling shared libraries support. We urge you to upgrade GNU
8167 *** binutils to release 2.9.1 or newer. Another option is to modify
8168 *** your PATH or compiler configuration so that the native linker is
8169 *** used, and then restart.
8172 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8180 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8181 case `$LD -v 2>&1` in
8182 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8187 *** reliably create shared libraries on SCO systems. Therefore, libtool
8188 *** is disabling shared libraries support. We urge you to upgrade GNU
8189 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8190 *** your PATH or compiler configuration so that the native linker is
8191 *** used, and then restart.
8196 # For security reasons, it is highly recommended that you always
8197 # use absolute paths for naming shared libraries, and exclude the
8198 # DT_RUNPATH tag from executables and libraries. But doing so
8199 # requires that you compile everything twice, which is a pain.
8200 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8212 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8215 hardcode_shlibpath_var
=no
8219 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8221 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8228 if test "$ld_shlibs" = no
; then
8230 hardcode_libdir_flag_spec
=
8231 export_dynamic_flag_spec
=
8232 whole_archive_flag_spec
=
8235 # PORTME fill in a description of your system's linker (not GNU ld)
8238 allow_undefined_flag
=unsupported
8239 always_export_symbols
=yes
8240 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'
8241 # Note: this linker hardcodes the directories in LIBPATH if there
8242 # are no directories specified by -L.
8243 hardcode_minus_L
=yes
8244 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8245 # Neither direct hardcoding nor static linking is supported with a
8247 hardcode_direct
=unsupported
8252 if test "$host_cpu" = ia64
; then
8253 # On IA64, the linker does run time linking by default, so we don't
8254 # have to do anything special.
8255 aix_use_runtimelinking
=no
8256 exp_sym_flag
='-Bexport'
8259 # If we're using GNU nm, then we don't want the "-C" option.
8260 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8261 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8262 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'
8264 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'
8266 aix_use_runtimelinking
=no
8268 # Test if we are trying to use run time linking or normal
8269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8270 # need to do runtime linking.
8271 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8272 for ld_flag
in $LDFLAGS; do
8273 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8274 aix_use_runtimelinking
=yes
8281 exp_sym_flag
='-bexport'
8282 no_entry_flag
='-bnoentry'
8285 # When large executables or shared objects are built, AIX ld can
8286 # have problems creating the table of contents. If linking a library
8287 # or program results in "error TOC overflow" add -mminimal-toc to
8288 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8289 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8293 hardcode_direct_absolute
=yes
8294 hardcode_libdir_separator
=':'
8295 link_all_deplibs
=yes
8296 file_list_spec
='${wl}-f,'
8298 if test "$GCC" = yes; then
8299 case $host_os in aix4.
[012]|aix4.
[012].
*)
8300 # We only want to do this on AIX 4.2 and lower, the check
8301 # below for broken collect2 doesn't work under 4.3+
8302 collect2name
=`${CC} -print-prog-name=collect2`
8303 if test -f "$collect2name" &&
8304 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8306 # We have reworked collect2
8309 # We have old collect2
8310 hardcode_direct
=unsupported
8311 # It fails to find uninstalled libraries when the uninstalled
8312 # path is not listed in the libpath. Setting hardcode_minus_L
8313 # to unsupported forces relinking
8314 hardcode_minus_L
=yes
8315 hardcode_libdir_flag_spec
='-L$libdir'
8316 hardcode_libdir_separator
=
8320 shared_flag
='-shared'
8321 if test "$aix_use_runtimelinking" = yes; then
8322 shared_flag
="$shared_flag "'${wl}-G'
8326 if test "$host_cpu" = ia64
; then
8327 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8328 # chokes on -Wl,-G. The following line is correct:
8331 if test "$aix_use_runtimelinking" = yes; then
8332 shared_flag
='${wl}-G'
8334 shared_flag
='${wl}-bM:SRE'
8339 # It seems that -bexpall does not export symbols beginning with
8340 # underscore (_), so it is better to generate a list of symbols to export.
8341 always_export_symbols
=yes
8342 if test "$aix_use_runtimelinking" = yes; then
8343 # Warning - without using the other runtime loading flags (-brtl),
8344 # -berok will link without error, but may produce a broken library.
8345 allow_undefined_flag
='-berok'
8346 # Determine the default libpath from the value encoded in an
8348 if test x
$gcc_no_link = xyes
; then
8349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8351 { (exit 1); exit 1; }; }
8353 cat >conftest.
$ac_ext <<_ACEOF
8356 cat confdefs.h
>>conftest.
$ac_ext
8357 cat >>conftest.
$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8368 rm -f conftest.
$ac_objext conftest
$ac_exeext
8369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8370 (eval $ac_link) 2>conftest.er1
8372 grep -v '^ *+' conftest.er1
>conftest.err
8374 cat conftest.err
>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } &&
8377 { ac_try
='test -z "$ac_c_werror_flag"
8378 || test ! -s conftest.err'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; } &&
8384 { ac_try
='test -s conftest$ac_exeext'
8385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8391 lt_aix_libpath_sed
='
8392 /Import File Strings/,/^$/ {
8398 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8399 # Check for a 64-bit object if we didn't find anything.
8400 if test -z "$aix_libpath"; then
8401 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.
$ac_ext >&5
8408 rm -f conftest.err conftest.
$ac_objext \
8409 conftest
$ac_exeext conftest.
$ac_ext
8410 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8412 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8413 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"
8415 if test "$host_cpu" = ia64
; then
8416 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8417 allow_undefined_flag
="-z nodefs"
8418 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"
8420 # Determine the default libpath from the value encoded in an
8422 if test x
$gcc_no_link = xyes
; then
8423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8425 { (exit 1); exit 1; }; }
8427 cat >conftest.
$ac_ext <<_ACEOF
8430 cat confdefs.h
>>conftest.
$ac_ext
8431 cat >>conftest.
$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8442 rm -f conftest.
$ac_objext conftest
$ac_exeext
8443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8444 (eval $ac_link) 2>conftest.er1
8446 grep -v '^ *+' conftest.er1
>conftest.err
8448 cat conftest.err
>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try
='test -z "$ac_c_werror_flag"
8452 || test ! -s conftest.err'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; } &&
8458 { ac_try
='test -s conftest$ac_exeext'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8465 lt_aix_libpath_sed
='
8466 /Import File Strings/,/^$/ {
8472 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8473 # Check for a 64-bit object if we didn't find anything.
8474 if test -z "$aix_libpath"; then
8475 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.
$ac_ext >&5
8482 rm -f conftest.err conftest.
$ac_objext \
8483 conftest
$ac_exeext conftest.
$ac_ext
8484 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8486 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8487 # Warning - without using the other run time loading flags,
8488 # -berok will link without error, but may produce a broken library.
8489 no_undefined_flag
=' ${wl}-bernotok'
8490 allow_undefined_flag
=' ${wl}-berok'
8491 # Exported symbols can be pulled into shared objects from archives
8492 whole_archive_flag_spec
='$convenience'
8493 archive_cmds_need_lc
=yes
8494 # This is similar to how AIX traditionally builds its shared libraries.
8495 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'
8501 if test "$host_cpu" = m68k
; then
8502 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)'
8503 hardcode_libdir_flag_spec
='-L$libdir'
8504 hardcode_minus_L
=yes
8506 # see comment about different semantics on the GNU ld section
8511 export_dynamic_flag_spec
=-rdynamic
8514 cygwin
* | mingw
* | pw32
*)
8515 # When not using gcc, we currently assume that we are using
8516 # Microsoft Visual C++.
8517 # hardcode_libdir_flag_spec is actually meaningless, as there is
8518 # no search path for DLLs.
8519 hardcode_libdir_flag_spec
=' '
8520 allow_undefined_flag
=unsupported
8521 # Tell ltmain to make .lib files, not .a files.
8523 # Tell ltmain to make .dll files, not .so files.
8525 # FIXME: Setting linknames here is a bad hack.
8526 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8527 # The linker will automatically build a .lib file if we build a DLL.
8528 old_archive_from_new_cmds
='true'
8529 # FIXME: Should let the user specify the lib program.
8530 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8531 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8532 enable_shared_with_static_runtimes
=yes
8535 darwin
* | rhapsody
*)
8537 rhapsody
* | darwin1.
[012])
8538 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8541 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8543 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8546 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8551 archive_cmds_need_lc
=no
8553 hardcode_automatic
=yes
8554 hardcode_shlibpath_var
=unsupported
8555 whole_archive_flag_spec
=''
8556 link_all_deplibs
=yes
8557 if test "$GCC" = yes ; then
8558 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 lt_cv_apple_cc_single_mod
=no
8562 if test -z "${LT_MULTI_MODULE}"; then
8563 # By default we will add the -single_module flag. You can override
8564 # by either setting the environment variable LT_MULTI_MODULE
8565 # non-empty at configure time, or by adding -multi-module to the
8567 echo "int foo(void){return 1;}" > conftest.c
8568 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8569 -dynamiclib ${wl}-single_module conftest.c
8570 if test -f libconftest.dylib
; then
8571 lt_cv_apple_cc_single_mod
=yes
8572 rm libconftest.dylib
8578 output_verbose_link_cmd
=echo
8579 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8580 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8581 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8583 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8584 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8586 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8587 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8589 case $cc_basename in
8591 output_verbose_link_cmd
=echo
8592 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8593 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8594 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8595 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8596 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8606 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8607 hardcode_libdir_flag_spec
='-L$libdir'
8608 hardcode_shlibpath_var
=no
8615 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8616 # support. Future versions do this automatically, but an explicit c++rt0.o
8617 # does not break anything, and helps significantly (at the cost of a little
8620 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8621 hardcode_libdir_flag_spec
='-R$libdir'
8623 hardcode_shlibpath_var
=no
8626 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8628 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8630 hardcode_minus_L
=yes
8631 hardcode_shlibpath_var
=no
8634 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8635 freebsd
* | dragonfly
*)
8636 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8637 hardcode_libdir_flag_spec
='-R$libdir'
8639 hardcode_shlibpath_var
=no
8643 if test "$GCC" = yes; then
8644 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'
8646 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'
8648 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8649 hardcode_libdir_separator
=:
8652 # hardcode_minus_L: Not really in the search PATH,
8653 # but as the default location of the library.
8654 hardcode_minus_L
=yes
8655 export_dynamic_flag_spec
='${wl}-E'
8659 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8660 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8664 if test "$with_gnu_ld" = no
; then
8665 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8666 hardcode_libdir_flag_spec_ld
='+b $libdir'
8667 hardcode_libdir_separator
=:
8669 hardcode_direct_absolute
=yes
8670 export_dynamic_flag_spec
='${wl}-E'
8671 # hardcode_minus_L: Not really in the search PATH,
8672 # but as the default location of the library.
8673 hardcode_minus_L
=yes
8678 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8681 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8684 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8687 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8693 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8696 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8699 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8703 if test "$with_gnu_ld" = no
; then
8704 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8705 hardcode_libdir_separator
=:
8710 hardcode_shlibpath_var
=no
8714 hardcode_direct_absolute
=yes
8715 export_dynamic_flag_spec
='${wl}-E'
8717 # hardcode_minus_L: Not really in the search PATH,
8718 # but as the default location of the library.
8719 hardcode_minus_L
=yes
8725 irix5
* | irix6
* | nonstopux
*)
8726 if test "$GCC" = yes; then
8727 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'
8728 # Try to use the -exported_symbol ld option, if it does not
8729 # work, assume that -exports_file does not work either and
8730 # implicitly export all symbols.
8731 save_LDFLAGS
="$LDFLAGS"
8732 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8733 if test x
$gcc_no_link = xyes
; then
8734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8736 { (exit 1); exit 1; }; }
8738 cat >conftest.
$ac_ext <<_ACEOF
8741 rm -f conftest.
$ac_objext conftest
$ac_exeext
8742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8743 (eval $ac_link) 2>conftest.er1
8745 grep -v '^ *+' conftest.er1
>conftest.err
8747 cat conftest.err
>&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } &&
8750 { ac_try
='test -z "$ac_c_werror_flag"
8751 || test ! -s conftest.err'
8752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); }; } &&
8757 { ac_try
='test -s conftest$ac_exeext'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; }; then
8763 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'
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.
$ac_ext >&5
8770 rm -f conftest.err conftest.
$ac_objext \
8771 conftest
$ac_exeext conftest.
$ac_ext
8772 LDFLAGS
="$save_LDFLAGS"
8774 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'
8775 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'
8777 archive_cmds_need_lc
='no'
8778 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8779 hardcode_libdir_separator
=:
8781 link_all_deplibs
=yes
8785 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8786 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8788 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8790 hardcode_libdir_flag_spec
='-R$libdir'
8792 hardcode_shlibpath_var
=no
8796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8799 hardcode_libdir_separator
=:
8800 hardcode_shlibpath_var
=no
8808 hardcode_shlibpath_var
=no
8809 hardcode_direct_absolute
=yes
8810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8811 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8813 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8814 export_dynamic_flag_spec
='${wl}-E'
8817 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8818 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8819 hardcode_libdir_flag_spec
='-R$libdir'
8822 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8830 hardcode_libdir_flag_spec
='-L$libdir'
8831 hardcode_minus_L
=yes
8832 allow_undefined_flag
=unsupported
8833 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'
8834 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8838 if test "$GCC" = yes; then
8839 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8840 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'
8842 allow_undefined_flag
=' -expect_unresolved \*'
8843 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'
8845 archive_cmds_need_lc
='no'
8846 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8847 hardcode_libdir_separator
=:
8850 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8851 if test "$GCC" = yes; then
8852 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8853 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'
8854 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8856 allow_undefined_flag
=' -expect_unresolved \*'
8857 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'
8858 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~
8859 $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'
8861 # Both c and cxx compiler support -rpath directly
8862 hardcode_libdir_flag_spec
='-rpath $libdir'
8864 archive_cmds_need_lc
='no'
8865 hardcode_libdir_separator
=:
8869 no_undefined_flag
=' -z defs'
8870 if test "$GCC" = yes; then
8872 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8873 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8874 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8876 case `$CC -V 2>&1` in
8879 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8880 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8881 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8885 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8886 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8887 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8891 hardcode_libdir_flag_spec
='-R$libdir'
8892 hardcode_shlibpath_var
=no
8894 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8896 # The compiler driver will combine and reorder linker options,
8897 # but understands `-z linker_flag'. GCC discards it without `$wl',
8898 # but is careful enough not to reorder.
8899 # Supported since Solaris 2.6 (maybe 2.5.1?)
8900 if test "$GCC" = yes; then
8901 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8903 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8907 link_all_deplibs
=yes
8911 if test "x$host_vendor" = xsequent
; then
8912 # Use $CC to link under sequent, because it throws in some extra .o
8913 # files that make .init and .fini sections work.
8914 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8916 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8918 hardcode_libdir_flag_spec
='-L$libdir'
8920 hardcode_minus_L
=yes
8921 hardcode_shlibpath_var
=no
8925 case $host_vendor in
8927 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8928 hardcode_direct
=yes # is this really true???
8931 ## LD is ld it makes a PLAMLIB
8932 ## CC just makes a GrossModule.
8933 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8934 reload_cmds
='$CC -r -o $output$reload_objs'
8938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8942 runpath_var
='LD_RUN_PATH'
8943 hardcode_shlibpath_var
=no
8947 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8948 hardcode_shlibpath_var
=no
8949 export_dynamic_flag_spec
='-Bexport'
8953 if test -d /usr
/nec
; then
8954 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8955 hardcode_shlibpath_var
=no
8956 runpath_var
=LD_RUN_PATH
8957 hardcode_runpath_var
=yes
8962 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8963 no_undefined_flag
='${wl}-z,text'
8964 archive_cmds_need_lc
=no
8965 hardcode_shlibpath_var
=no
8966 runpath_var
='LD_RUN_PATH'
8968 if test "$GCC" = yes; then
8969 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8970 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8973 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8977 sysv5
* | sco3.2v5
* | sco5v6
*)
8978 # Note: We can NOT use -z defs as we might desire, because we do not
8979 # link with -lc, and that would cause any symbols used from libc to
8980 # always be unresolved, which means just about no library would
8981 # ever link correctly. If we're not using GNU ld we use -z text
8982 # though, which does catch some bad symbols but isn't as heavy-handed
8984 no_undefined_flag
='${wl}-z,text'
8985 allow_undefined_flag
='${wl}-z,nodefs'
8986 archive_cmds_need_lc
=no
8987 hardcode_shlibpath_var
=no
8988 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8989 hardcode_libdir_separator
=':'
8990 link_all_deplibs
=yes
8991 export_dynamic_flag_spec
='${wl}-Bexport'
8992 runpath_var
='LD_RUN_PATH'
8994 if test "$GCC" = yes; then
8995 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8996 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8998 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9005 hardcode_libdir_flag_spec
='-L$libdir'
9006 hardcode_shlibpath_var
=no
9014 if test x
$host_vendor = xsni
; then
9016 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9017 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9023 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9024 echo "${ECHO_T}$ld_shlibs" >&6
9025 test "$ld_shlibs" = no
&& can_build_shared
=no
9027 with_gnu_ld
=$with_gnu_ld
9044 # Do we need to explicitly link libc?
9046 case "x$archive_cmds_need_lc" in
9048 # Assume -lc should be added
9049 archive_cmds_need_lc
=yes
9051 if test "$enable_shared" = yes && test "$GCC" = yes; then
9052 case $archive_cmds in
9054 # FIXME: we may have to deal with multi-command sequences.
9057 # Test whether the compiler implicitly links with -lc since on some
9058 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9059 # to ld, don't add -lc before -lgcc.
9060 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9061 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9063 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9066 (eval $ac_compile) 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } 2>conftest.err
; then
9072 libobjs
=conftest.
$ac_objext
9074 wl
=$lt_prog_compiler_wl
9075 pic_flag
=$lt_prog_compiler_pic
9081 lt_save_allow_undefined_flag
=$allow_undefined_flag
9082 allow_undefined_flag
=
9083 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9084 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); }
9089 archive_cmds_need_lc
=no
9091 archive_cmds_need_lc
=yes
9093 allow_undefined_flag
=$lt_save_allow_undefined_flag
9095 cat conftest.err
1>&5
9098 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9099 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9262 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9263 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9265 if test "$withGCC" = yes; then
9267 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9268 *) lt_awk_arg
="/^libraries:/" ;;
9270 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9271 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9272 # if the path contains ";" then we assume it to be the separator
9273 # otherwise default to the standard path separator (i.e. ":") - it is
9274 # assumed that no part of a normal pathname contains ";" but that should
9275 # okay in the real world where ";" in dirpaths is itself problematic.
9276 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9278 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9280 # Ok, now we have the path, separated by spaces, we can step through it
9281 # and add multilib dir if necessary.
9282 lt_tmp_lt_search_path_spec
=
9283 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9284 for lt_sys_path
in $lt_search_path_spec; do
9285 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9286 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9288 test -d "$lt_sys_path" && \
9289 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9292 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9293 BEGIN {RS=" "; FS="/|\n";} {
9296 for (lt_i = NF; lt_i > 0; lt_i--) {
9297 if ($lt_i != "" && $lt_i != ".") {
9298 if ($lt_i == "..") {
9301 if (lt_count == 0) {
9302 lt_foo="/" $lt_i lt_foo;
9309 if (lt_foo != "") { lt_freq[lt_foo]++; }
9310 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9312 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9314 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9317 libname_spec
='lib$name'
9325 shlibpath_overrides_runpath
=unknown
9327 dynamic_linker
="$host_os ld.so"
9328 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9329 need_lib_prefix
=unknown
9330 hardcode_into_libs
=no
9332 # when you set need_version to no, make sure it does not cause -set_version
9333 # flags to be left without arguments
9334 need_version
=unknown
9339 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9340 shlibpath_var
=LIBPATH
9342 # AIX 3 has no versioning support, so we append a major version to the name.
9343 soname_spec
='${libname}${release}${shared_ext}$major'
9350 hardcode_into_libs
=yes
9351 if test "$host_cpu" = ia64
; then
9352 # AIX 5 supports IA64
9353 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9354 shlibpath_var
=LD_LIBRARY_PATH
9356 # With GCC up to 2.95.x, collect2 would create an import file
9357 # for dependence libraries. The import file would start with
9358 # the line `#! .'. This would cause the generated library to
9359 # depend on `.', always an invalid library. This was fixed in
9360 # development snapshots of GCC prior to 3.0.
9362 aix4 | aix4.
[01] | aix4.
[01].
*)
9363 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9365 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9372 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9373 # soname into executable. Probably we can add versioning support to
9374 # collect2, so additional links can be useful in future.
9375 if test "$aix_use_runtimelinking" = yes; then
9376 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9377 # instead of lib<name>.a to let people know that these are not
9378 # typical AIX shared libraries.
9379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9381 # We preserve .a as extension for shared libraries through AIX4.2
9382 # and later when we are not doing run time linking.
9383 library_names_spec
='${libname}${release}.a $libname.a'
9384 soname_spec
='${libname}${release}${shared_ext}$major'
9386 shlibpath_var
=LIBPATH
9391 if test "$host_cpu" = m68k
; then
9392 library_names_spec
='$libname.ixlibrary $libname.a'
9393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9394 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'
9401 library_names_spec
='${libname}${shared_ext}'
9402 dynamic_linker
="$host_os ld.so"
9403 shlibpath_var
=LIBRARY_PATH
9409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9410 soname_spec
='${libname}${release}${shared_ext}$major'
9411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9412 shlibpath_var
=LD_LIBRARY_PATH
9413 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9414 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9415 # the default ld.so.conf also contains /usr/contrib/lib and
9416 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9417 # libtool to hard-code these into programs
9420 cygwin
* | mingw
* | pw32
*)
9421 version_type
=windows
9426 case $withGCC,$host_os in
9427 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9428 library_names_spec
='$libname.dll.a'
9429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9430 postinstall_cmds
='base_file=`basename \${file}`~
9431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9432 dldir=$destdir/`dirname \$dlpath`~
9433 test -d \$dldir || mkdir -p \$dldir~
9434 $install_prog $dir/$dlname \$dldir/$dlname~
9435 chmod a+x \$dldir/$dlname~
9436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9439 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9440 dlpath=$dir/\$dldll~
9442 shlibpath_overrides_runpath
=yes
9446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9447 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9448 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9451 # MinGW DLLs use traditional 'lib' prefix
9452 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9453 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9454 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9455 # It is most probably a Windows format PATH printed by
9456 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9457 # path with ; separators, and with drive letters. We can handle the
9458 # drive letters (cygwin fileutils understands them), so leave them,
9459 # especially as we might pass files found there to a mingw objdump,
9460 # which wouldn't understand a cygwinified path. Ahh.
9461 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9463 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9467 # pw32 DLLs use 'pw' prefix rather than 'lib'
9468 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9474 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9477 dynamic_linker
='Win32 ld.exe'
9478 # FIXME: first we should search . and the directory the executable is in
9482 darwin
* | rhapsody
*)
9483 dynamic_linker
="$host_os dyld"
9487 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9488 soname_spec
='${libname}${release}${major}$shared_ext'
9489 shlibpath_overrides_runpath
=yes
9490 shlibpath_var
=DYLD_LIBRARY_PATH
9491 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9493 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9494 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9502 soname_spec
='${libname}${release}${shared_ext}$major'
9503 shlibpath_var
=LD_LIBRARY_PATH
9510 freebsd
* | dragonfly
*)
9511 # DragonFly does not have aout. When/if they implement a new
9512 # versioning mechanism, adjust this.
9513 if test -x /usr
/bin
/objformat
; then
9514 objformat
=`/usr/bin/objformat`
9517 freebsd
[123]*) objformat
=aout
;;
9521 version_type
=freebsd-
$objformat
9522 case $version_type in
9524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9533 shlibpath_var
=LD_LIBRARY_PATH
9536 shlibpath_overrides_runpath
=yes
9538 freebsd3.
[01]* | freebsdelf3.
[01]*)
9539 shlibpath_overrides_runpath
=yes
9540 hardcode_into_libs
=yes
9542 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9543 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9544 shlibpath_overrides_runpath
=no
9545 hardcode_into_libs
=yes
9547 *) # from 4.6 on, and DragonFly
9548 shlibpath_overrides_runpath
=yes
9549 hardcode_into_libs
=yes
9558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9559 soname_spec
='${libname}${release}${shared_ext}$major'
9560 shlibpath_var
=LD_LIBRARY_PATH
9561 hardcode_into_libs
=yes
9564 hpux9
* | hpux10
* | hpux11
*)
9565 # Give a soname corresponding to the major version so that dld.sl refuses to
9566 # link against other versions.
9573 hardcode_into_libs
=yes
9574 dynamic_linker
="$host_os dld.so"
9575 shlibpath_var
=LD_LIBRARY_PATH
9576 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9578 soname_spec
='${libname}${release}${shared_ext}$major'
9579 if test "X$HPUX_IA64_MODE" = X32
; then
9580 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9582 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9584 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9588 hardcode_into_libs
=yes
9589 dynamic_linker
="$host_os dld.sl"
9590 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9591 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9593 soname_spec
='${libname}${release}${shared_ext}$major'
9594 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9595 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9599 dynamic_linker
="$host_os dld.sl"
9600 shlibpath_var
=SHLIB_PATH
9601 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9603 soname_spec
='${libname}${release}${shared_ext}$major'
9606 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9607 postinstall_cmds
='chmod 555 $lib'
9614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9615 soname_spec
='${libname}${release}${shared_ext}$major'
9616 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9617 shlibpath_var
=LD_LIBRARY_PATH
9618 shlibpath_overrides_runpath
=no
9619 hardcode_into_libs
=yes
9622 irix5
* | irix6
* | nonstopux
*)
9624 nonstopux
*) version_type
=nonstopux
;;
9626 if test "$lt_cv_prog_gnu_ld" = yes; then
9634 soname_spec
='${libname}${release}${shared_ext}$major'
9635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9637 irix5
* | nonstopux
*)
9641 case $LD in # libtool.m4 will add one of these switches to LD
9642 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9643 libsuff
= shlibsuff
= libmagic
=32-bit;;
9644 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9645 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9646 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9647 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9648 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9652 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9653 shlibpath_overrides_runpath
=no
9654 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9655 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9656 hardcode_into_libs
=yes
9659 # No shared lib support for Linux oldld, aout, or coff.
9660 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9664 # This must be Linux ELF.
9665 linux
* | k
*bsd
*-gnu)
9669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9670 soname_spec
='${libname}${release}${shared_ext}$major'
9671 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9672 shlibpath_var
=LD_LIBRARY_PATH
9673 shlibpath_overrides_runpath
=no
9674 # Some binutils ld are patched to set DT_RUNPATH
9675 save_LDFLAGS
=$LDFLAGS
9677 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9678 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9679 if test x
$gcc_no_link = xyes
; then
9680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9682 { (exit 1); exit 1; }; }
9684 cat >conftest.
$ac_ext <<_ACEOF
9687 cat confdefs.h
>>conftest.
$ac_ext
9688 cat >>conftest.
$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9699 rm -f conftest.
$ac_objext conftest
$ac_exeext
9700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9701 (eval $ac_link) 2>conftest.er1
9703 grep -v '^ *+' conftest.er1
>conftest.err
9705 cat conftest.err
>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try
='test -z "$ac_c_werror_flag"
9709 || test ! -s conftest.err'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; } &&
9715 { ac_try
='test -s conftest$ac_exeext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9721 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9722 shlibpath_overrides_runpath
=yes
9726 echo "$as_me: failed program was:" >&5
9727 sed 's/^/| /' conftest.
$ac_ext >&5
9730 rm -f conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 LDFLAGS
=$save_LDFLAGS
9735 # This implies no fast_install, which is unacceptable.
9736 # Some rework will be needed to allow for fast_install
9737 # before this can be enabled.
9738 hardcode_into_libs
=yes
9740 # Append ld.so.conf contents to the search path
9741 if test -f /etc
/ld.so.conf
; then
9742 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9743 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9746 # We used to test for /lib/ld.so.1 and disable shared libraries on
9747 # powerpc, because MkLinux only supported shared libraries with the
9748 # GNU dynamic linker. Since this was broken with cross compilers,
9749 # most powerpc-linux boxes support dynamic linking these days and
9750 # people can always --disable-shared, the test was removed, and we
9751 # assume the GNU/Linux dynamic linker is in use.
9752 dynamic_linker
='GNU/Linux ld.so'
9759 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9761 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9762 dynamic_linker
='NetBSD (a.out) ld.so'
9764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9766 dynamic_linker
='NetBSD ld.elf_so'
9768 shlibpath_var
=LD_LIBRARY_PATH
9769 shlibpath_overrides_runpath
=yes
9770 hardcode_into_libs
=yes
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9776 shlibpath_var
=LD_LIBRARY_PATH
9777 shlibpath_overrides_runpath
=yes
9784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9785 soname_spec
='${libname}${release}${shared_ext}$major'
9786 shlibpath_var
=LD_LIBRARY_PATH
9787 shlibpath_overrides_runpath
=no
9788 hardcode_into_libs
=yes
9789 dynamic_linker
='ldqnx.so'
9794 sys_lib_dlsearch_path_spec
="/usr/lib"
9796 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9798 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9799 *) need_version
=no
;;
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9803 shlibpath_var
=LD_LIBRARY_PATH
9804 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9806 openbsd2.
[89] | openbsd2.
[89].
*)
9807 shlibpath_overrides_runpath
=no
9810 shlibpath_overrides_runpath
=yes
9814 shlibpath_overrides_runpath
=yes
9819 libname_spec
='$name'
9822 library_names_spec
='$libname${shared_ext} $libname.a'
9823 dynamic_linker
='OS/2 ld.exe'
9824 shlibpath_var
=LIBPATH
9827 osf3
* | osf4
* | osf5
*)
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833 shlibpath_var
=LD_LIBRARY_PATH
9834 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9835 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9847 soname_spec
='${libname}${release}${shared_ext}$major'
9848 shlibpath_var
=LD_LIBRARY_PATH
9849 shlibpath_overrides_runpath
=yes
9850 hardcode_into_libs
=yes
9851 # ldd complains unless libraries are executable
9852 postinstall_cmds
='chmod +x $lib'
9857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9858 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9859 shlibpath_var
=LD_LIBRARY_PATH
9860 shlibpath_overrides_runpath
=yes
9861 if test "$with_gnu_ld" = yes; then
9869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9870 soname_spec
='${libname}${release}${shared_ext}$major'
9871 shlibpath_var
=LD_LIBRARY_PATH
9872 case $host_vendor in
9874 shlibpath_overrides_runpath
=no
9876 runpath_var
=LD_RUN_PATH
9884 shlibpath_overrides_runpath
=no
9885 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9891 if test -d /usr
/nec
;then
9893 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9894 soname_spec
='$libname${shared_ext}.$major'
9895 shlibpath_var
=LD_LIBRARY_PATH
9899 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9900 version_type
=freebsd-elf
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 shlibpath_overrides_runpath
=yes
9907 hardcode_into_libs
=yes
9908 if test "$with_gnu_ld" = yes; then
9909 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9911 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9914 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9918 sys_lib_dlsearch_path_spec
='/usr/lib'
9922 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9926 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 shlibpath_var
=LD_LIBRARY_PATH
9928 shlibpath_overrides_runpath
=no
9929 hardcode_into_libs
=yes
9934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935 soname_spec
='${libname}${release}${shared_ext}$major'
9936 shlibpath_var
=LD_LIBRARY_PATH
9943 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9944 echo "${ECHO_T}$dynamic_linker" >&6
9945 test "$dynamic_linker" = no
&& can_build_shared
=no
9947 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9948 if test "$GCC" = yes; then
9949 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10038 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10039 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10041 if test -n "$hardcode_libdir_flag_spec" ||
10042 test -n "$runpath_var" ||
10043 test "X$hardcode_automatic" = "Xyes" ; then
10045 # We can hardcode non-existent directories.
10046 if test "$hardcode_direct" != no
&&
10047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10048 # have to relink, otherwise we might link with an installed library
10049 # when we should be linking with a yet-to-be-installed one
10050 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10051 test "$hardcode_minus_L" != no
; then
10052 # Linking always hardcodes the temporary library directory.
10053 hardcode_action
=relink
10055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10056 hardcode_action
=immediate
10059 # We cannot hardcode anything, or else we can only hardcode existing
10061 hardcode_action
=unsupported
10063 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10064 echo "${ECHO_T}$hardcode_action" >&6
10066 if test "$hardcode_action" = relink ||
10067 test "$inherit_rpath" = yes; then
10068 # Fast installation is not supported
10069 enable_fast_install
=no
10070 elif test "$shlibpath_overrides_runpath" = yes ||
10071 test "$enable_shared" = no
; then
10072 # Fast installation is not necessary
10073 enable_fast_install
=needless
10081 if test "x$enable_dlopen" != xyes
; then
10082 enable_dlopen
=unknown
10083 enable_dlopen_self
=unknown
10084 enable_dlopen_self_static
=unknown
10091 lt_cv_dlopen
="load_add_on"
10093 lt_cv_dlopen_self
=yes
10097 lt_cv_dlopen
="LoadLibrary"
10102 lt_cv_dlopen
="dlopen"
10107 # if libdl is installed we need to link against it
10108 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10109 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10110 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10113 ac_check_lib_save_LIBS
=$LIBS
10115 if test x
$gcc_no_link = xyes
; then
10116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10118 { (exit 1); exit 1; }; }
10120 cat >conftest.
$ac_ext <<_ACEOF
10123 cat confdefs.h
>>conftest.
$ac_ext
10124 cat >>conftest.
$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10127 /* Override any gcc2 internal prototype to avoid an error. */
10131 /* We use char because int might match the return type of a gcc2
10132 builtin and then its argument prototype would still apply. */
10142 rm -f conftest.
$ac_objext conftest
$ac_exeext
10143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10144 (eval $ac_link) 2>conftest.er1
10146 grep -v '^ *+' conftest.er1
>conftest.err
10148 cat conftest.err
>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); } &&
10151 { ac_try
='test -z "$ac_c_werror_flag"
10152 || test ! -s conftest.err'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; } &&
10158 { ac_try
='test -s conftest$ac_exeext'
10159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then
10164 ac_cv_lib_dl_dlopen
=yes
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.
$ac_ext >&5
10169 ac_cv_lib_dl_dlopen
=no
10171 rm -f conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 LIBS
=$ac_check_lib_save_LIBS
10175 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10176 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10177 if test $ac_cv_lib_dl_dlopen = yes; then
10178 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10181 lt_cv_dlopen
="dyld"
10183 lt_cv_dlopen_self
=yes
10190 echo "$as_me:$LINENO: checking for shl_load" >&5
10191 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10192 if test "${ac_cv_func_shl_load+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 if test x
$gcc_no_link = xyes
; then
10196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10198 { (exit 1); exit 1; }; }
10200 cat >conftest.
$ac_ext <<_ACEOF
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10208 #define shl_load innocuous_shl_load
10210 /* System header to define __stub macros and hopefully few prototypes,
10211 which can conflict with char shl_load (); below.
10212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10213 <limits.h> exists even on freestanding compilers. */
10216 # include <limits.h>
10218 # include <assert.h>
10223 /* Override any gcc2 internal prototype to avoid an error. */
10228 /* We use char because int might match the return type of a gcc2
10229 builtin and then its argument prototype would still apply. */
10231 /* The GNU C library defines this for functions which it implements
10232 to always fail with ENOSYS. Some functions are actually named
10233 something starting with __ and the normal name is an alias. */
10234 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10237 char (*f) () = shl_load;
10246 return f != shl_load;
10251 rm -f conftest.
$ac_objext conftest
$ac_exeext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253 (eval $ac_link) 2>conftest.er1
10255 grep -v '^ *+' conftest.er1
>conftest.err
10257 cat conftest.err
>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try
='test -z "$ac_c_werror_flag"
10261 || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try
='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_func_shl_load
=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.
$ac_ext >&5
10278 ac_cv_func_shl_load
=no
10280 rm -f conftest.err conftest.
$ac_objext \
10281 conftest
$ac_exeext conftest.
$ac_ext
10283 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10284 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10285 if test $ac_cv_func_shl_load = yes; then
10286 lt_cv_dlopen
="shl_load"
10288 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10289 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10290 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 ac_check_lib_save_LIBS
=$LIBS
10295 if test x
$gcc_no_link = xyes
; then
10296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10298 { (exit 1); exit 1; }; }
10300 cat >conftest.
$ac_ext <<_ACEOF
10303 cat confdefs.h
>>conftest.
$ac_ext
10304 cat >>conftest.
$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10307 /* Override any gcc2 internal prototype to avoid an error. */
10311 /* We use char because int might match the return type of a gcc2
10312 builtin and then its argument prototype would still apply. */
10322 rm -f conftest.
$ac_objext conftest
$ac_exeext
10323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10324 (eval $ac_link) 2>conftest.er1
10326 grep -v '^ *+' conftest.er1
>conftest.err
10328 cat conftest.err
>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try
='test -z "$ac_c_werror_flag"
10332 || test ! -s conftest.err'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; } &&
10338 { ac_try
='test -s conftest$ac_exeext'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; }; then
10344 ac_cv_lib_dld_shl_load
=yes
10346 echo "$as_me: failed program was:" >&5
10347 sed 's/^/| /' conftest.
$ac_ext >&5
10349 ac_cv_lib_dld_shl_load
=no
10351 rm -f conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LIBS
=$ac_check_lib_save_LIBS
10355 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10356 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10357 if test $ac_cv_lib_dld_shl_load = yes; then
10358 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10360 echo "$as_me:$LINENO: checking for dlopen" >&5
10361 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10362 if test "${ac_cv_func_dlopen+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 if test x
$gcc_no_link = xyes
; then
10366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10368 { (exit 1); exit 1; }; }
10370 cat >conftest.
$ac_ext <<_ACEOF
10373 cat confdefs.h
>>conftest.
$ac_ext
10374 cat >>conftest.
$ac_ext <<_ACEOF
10375 /* end confdefs.h. */
10376 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10378 #define dlopen innocuous_dlopen
10380 /* System header to define __stub macros and hopefully few prototypes,
10381 which can conflict with char dlopen (); below.
10382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10383 <limits.h> exists even on freestanding compilers. */
10386 # include <limits.h>
10388 # include <assert.h>
10393 /* Override any gcc2 internal prototype to avoid an error. */
10398 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */
10401 /* The GNU C library defines this for functions which it implements
10402 to always fail with ENOSYS. Some functions are actually named
10403 something starting with __ and the normal name is an alias. */
10404 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10407 char (*f) () = dlopen;
10416 return f != dlopen;
10421 rm -f conftest.
$ac_objext conftest
$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>conftest.er1
10425 grep -v '^ *+' conftest.er1
>conftest.err
10427 cat conftest.err
>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try
='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try
='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_cv_func_dlopen
=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 ac_cv_func_dlopen
=no
10450 rm -f conftest.err conftest.
$ac_objext \
10451 conftest
$ac_exeext conftest.
$ac_ext
10453 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10454 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10455 if test $ac_cv_func_dlopen = yes; then
10456 lt_cv_dlopen
="dlopen"
10458 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10459 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10460 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_check_lib_save_LIBS
=$LIBS
10465 if test x
$gcc_no_link = xyes
; then
10466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10468 { (exit 1); exit 1; }; }
10470 cat >conftest.
$ac_ext <<_ACEOF
10473 cat confdefs.h
>>conftest.
$ac_ext
10474 cat >>conftest.
$ac_ext <<_ACEOF
10475 /* end confdefs.h. */
10477 /* Override any gcc2 internal prototype to avoid an error. */
10481 /* We use char because int might match the return type of a gcc2
10482 builtin and then its argument prototype would still apply. */
10492 rm -f conftest.
$ac_objext conftest
$ac_exeext
10493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10494 (eval $ac_link) 2>conftest.er1
10496 grep -v '^ *+' conftest.er1
>conftest.err
10498 cat conftest.err
>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } &&
10501 { ac_try
='test -z "$ac_c_werror_flag"
10502 || test ! -s conftest.err'
10503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10504 (eval $ac_try) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; } &&
10508 { ac_try
='test -s conftest$ac_exeext'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10514 ac_cv_lib_dl_dlopen
=yes
10516 echo "$as_me: failed program was:" >&5
10517 sed 's/^/| /' conftest.
$ac_ext >&5
10519 ac_cv_lib_dl_dlopen
=no
10521 rm -f conftest.err conftest.
$ac_objext \
10522 conftest
$ac_exeext conftest.
$ac_ext
10523 LIBS
=$ac_check_lib_save_LIBS
10525 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10526 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10527 if test $ac_cv_lib_dl_dlopen = yes; then
10528 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10530 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10531 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10532 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 ac_check_lib_save_LIBS
=$LIBS
10536 LIBS
="-lsvld $LIBS"
10537 if test x
$gcc_no_link = xyes
; then
10538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10540 { (exit 1); exit 1; }; }
10542 cat >conftest.
$ac_ext <<_ACEOF
10545 cat confdefs.h
>>conftest.
$ac_ext
10546 cat >>conftest.
$ac_ext <<_ACEOF
10547 /* end confdefs.h. */
10549 /* Override any gcc2 internal prototype to avoid an error. */
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10564 rm -f conftest.
$ac_objext conftest
$ac_exeext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10566 (eval $ac_link) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1
>conftest.err
10570 cat conftest.err
>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try
='test -z "$ac_c_werror_flag"
10574 || test ! -s conftest.err'
10575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10576 (eval $ac_try) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; } &&
10580 { ac_try
='test -s conftest$ac_exeext'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then
10586 ac_cv_lib_svld_dlopen
=yes
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.
$ac_ext >&5
10591 ac_cv_lib_svld_dlopen
=no
10593 rm -f conftest.err conftest.
$ac_objext \
10594 conftest
$ac_exeext conftest.
$ac_ext
10595 LIBS
=$ac_check_lib_save_LIBS
10597 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10598 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10599 if test $ac_cv_lib_svld_dlopen = yes; then
10600 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10602 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10603 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10604 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 ac_check_lib_save_LIBS
=$LIBS
10609 if test x
$gcc_no_link = xyes
; then
10610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10612 { (exit 1); exit 1; }; }
10614 cat >conftest.
$ac_ext <<_ACEOF
10617 cat confdefs.h
>>conftest.
$ac_ext
10618 cat >>conftest.
$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10621 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10636 rm -f conftest.
$ac_objext conftest
$ac_exeext
10637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10638 (eval $ac_link) 2>conftest.er1
10640 grep -v '^ *+' conftest.er1
>conftest.err
10642 cat conftest.err
>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } &&
10645 { ac_try
='test -z "$ac_c_werror_flag"
10646 || test ! -s conftest.err'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; } &&
10652 { ac_try
='test -s conftest$ac_exeext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 ac_cv_lib_dld_dld_link
=yes
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10663 ac_cv_lib_dld_dld_link
=no
10665 rm -f conftest.err conftest.
$ac_objext \
10666 conftest
$ac_exeext conftest.
$ac_ext
10667 LIBS
=$ac_check_lib_save_LIBS
10669 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10670 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10671 if test $ac_cv_lib_dld_dld_link = yes; then
10672 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10693 if test "x$lt_cv_dlopen" != xno
; then
10699 case $lt_cv_dlopen in
10701 save_CPPFLAGS
="$CPPFLAGS"
10702 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10704 save_LDFLAGS
="$LDFLAGS"
10705 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10708 LIBS
="$lt_cv_dlopen_libs $LIBS"
10710 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10711 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10712 if test "${lt_cv_dlopen_self+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 if test "$cross_compiling" = yes; then :
10716 lt_cv_dlopen_self
=cross
10718 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10719 lt_status
=$lt_dlunknown
10720 cat > conftest.
$ac_ext <<_LT_EOF
10721 #line 10721 "configure"
10722 #include "confdefs.h"
10731 # define LT_DLGLOBAL RTLD_GLOBAL
10734 # define LT_DLGLOBAL DL_GLOBAL
10736 # define LT_DLGLOBAL 0
10740 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10741 find out it does not work in some platform. */
10742 #ifndef LT_DLLAZY_OR_NOW
10744 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10747 # define LT_DLLAZY_OR_NOW DL_LAZY
10750 # define LT_DLLAZY_OR_NOW RTLD_NOW
10753 # define LT_DLLAZY_OR_NOW DL_NOW
10755 # define LT_DLLAZY_OR_NOW 0
10763 extern "C" void exit (int);
10766 void fnord() { int i=42;}
10769 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10770 int status = $lt_dlunknown;
10774 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10775 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10776 /* dlclose (self); */
10784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10785 (eval $ac_link) 2>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10789 (.
/conftest
; exit; ) >&5 2>/dev
/null
10791 case x
$lt_status in
10792 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10793 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10794 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10797 # compilation failed
10798 lt_cv_dlopen_self
=no
10805 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10806 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10808 if test "x$lt_cv_dlopen_self" = xyes
; then
10809 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10810 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10811 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10812 if test "${lt_cv_dlopen_self_static+set}" = set; then
10813 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 if test "$cross_compiling" = yes; then :
10816 lt_cv_dlopen_self_static
=cross
10818 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10819 lt_status
=$lt_dlunknown
10820 cat > conftest.
$ac_ext <<_LT_EOF
10821 #line 10821 "configure"
10822 #include "confdefs.h"
10831 # define LT_DLGLOBAL RTLD_GLOBAL
10834 # define LT_DLGLOBAL DL_GLOBAL
10836 # define LT_DLGLOBAL 0
10840 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10841 find out it does not work in some platform. */
10842 #ifndef LT_DLLAZY_OR_NOW
10844 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10847 # define LT_DLLAZY_OR_NOW DL_LAZY
10850 # define LT_DLLAZY_OR_NOW RTLD_NOW
10853 # define LT_DLLAZY_OR_NOW DL_NOW
10855 # define LT_DLLAZY_OR_NOW 0
10863 extern "C" void exit (int);
10866 void fnord() { int i=42;}
10869 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10870 int status = $lt_dlunknown;
10874 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10875 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10876 /* dlclose (self); */
10884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10885 (eval $ac_link) 2>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10889 (.
/conftest
; exit; ) >&5 2>/dev
/null
10891 case x
$lt_status in
10892 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10893 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10894 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10897 # compilation failed
10898 lt_cv_dlopen_self_static
=no
10905 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10906 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10909 CPPFLAGS
="$save_CPPFLAGS"
10910 LDFLAGS
="$save_LDFLAGS"
10915 case $lt_cv_dlopen_self in
10916 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10917 *) enable_dlopen_self
=unknown
;;
10920 case $lt_cv_dlopen_self_static in
10921 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10922 *) enable_dlopen_self_static
=unknown
;;
10944 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10945 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10946 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10947 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10948 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10949 echo "$as_me:$LINENO: result: yes" >&5
10950 echo "${ECHO_T}yes" >&6
10952 # FIXME - insert some real tests, host_os isn't really good enough
10955 if test -n "$STRIP" ; then
10956 striplib
="$STRIP -x"
10957 old_striplib
="$STRIP -S"
10958 echo "$as_me:$LINENO: result: yes" >&5
10959 echo "${ECHO_T}yes" >&6
10961 echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6
10966 echo "$as_me:$LINENO: result: no" >&5
10967 echo "${ECHO_T}no" >&6
10983 # Report which library types will actually be built
10984 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10985 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10986 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10987 echo "${ECHO_T}$can_build_shared" >&6
10989 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10990 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10991 test "$can_build_shared" = "no" && enable_shared
=no
10993 # On AIX, shared libraries and static libraries use the same namespace, and
10994 # are all built from PIC.
10997 test "$enable_shared" = yes && enable_static
=no
10998 if test -n "$RANLIB"; then
10999 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11000 postinstall_cmds
='$RANLIB $lib'
11005 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11006 test "$enable_shared" = yes && enable_static
=no
11010 echo "$as_me:$LINENO: result: $enable_shared" >&5
11011 echo "${ECHO_T}$enable_shared" >&6
11013 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11014 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11015 # Make sure either enable_shared or enable_static is yes.
11016 test "$enable_shared" = yes || enable_static
=yes
11017 echo "$as_me:$LINENO: result: $enable_static" >&5
11018 echo "${ECHO_T}$enable_static" >&6
11025 ac_cpp
='$CPP $CPPFLAGS'
11026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11044 ac_config_commands
="$ac_config_commands libtool"
11049 # Only expand once:
11053 ac_cpp
='$CPP $CPPFLAGS'
11054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11057 if test -n "$ac_tool_prefix"; then
11058 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11059 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11060 echo "$as_me:$LINENO: checking for $ac_word" >&5
11061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11062 if test "${ac_cv_prog_CC+set}" = set; then
11063 echo $ECHO_N "(cached) $ECHO_C" >&6
11065 if test -n "$CC"; then
11066 ac_cv_prog_CC
="$CC" # Let the user override the test.
11068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11069 for as_dir
in $PATH
11072 test -z "$as_dir" && as_dir
=.
11073 for ac_exec_ext
in '' $ac_executable_extensions; do
11074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11075 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11085 if test -n "$CC"; then
11086 echo "$as_me:$LINENO: result: $CC" >&5
11087 echo "${ECHO_T}$CC" >&6
11089 echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6
11094 if test -z "$ac_cv_prog_CC"; then
11096 # Extract the first word of "gcc", so it can be a program name with args.
11097 set dummy gcc
; ac_word
=$2
11098 echo "$as_me:$LINENO: checking for $ac_word" >&5
11099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 if test -n "$ac_ct_CC"; then
11104 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11107 for as_dir
in $PATH
11110 test -z "$as_dir" && as_dir
=.
11111 for ac_exec_ext
in '' $ac_executable_extensions; do
11112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11113 ac_cv_prog_ac_ct_CC
="gcc"
11114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11122 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11123 if test -n "$ac_ct_CC"; then
11124 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11125 echo "${ECHO_T}$ac_ct_CC" >&6
11127 echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6
11133 CC
="$ac_cv_prog_CC"
11136 if test -z "$CC"; then
11137 if test -n "$ac_tool_prefix"; then
11138 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11139 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11140 echo "$as_me:$LINENO: checking for $ac_word" >&5
11141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11142 if test "${ac_cv_prog_CC+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 if test -n "$CC"; then
11146 ac_cv_prog_CC
="$CC" # Let the user override the test.
11148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11149 for as_dir
in $PATH
11152 test -z "$as_dir" && as_dir
=.
11153 for ac_exec_ext
in '' $ac_executable_extensions; do
11154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11155 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 if test -n "$CC"; then
11166 echo "$as_me:$LINENO: result: $CC" >&5
11167 echo "${ECHO_T}$CC" >&6
11169 echo "$as_me:$LINENO: result: no" >&5
11170 echo "${ECHO_T}no" >&6
11174 if test -z "$ac_cv_prog_CC"; then
11176 # Extract the first word of "cc", so it can be a program name with args.
11177 set dummy cc
; ac_word
=$2
11178 echo "$as_me:$LINENO: checking for $ac_word" >&5
11179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 if test -n "$ac_ct_CC"; then
11184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11187 for as_dir
in $PATH
11190 test -z "$as_dir" && as_dir
=.
11191 for ac_exec_ext
in '' $ac_executable_extensions; do
11192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11193 ac_cv_prog_ac_ct_CC
="cc"
11194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11203 if test -n "$ac_ct_CC"; then
11204 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11205 echo "${ECHO_T}$ac_ct_CC" >&6
11207 echo "$as_me:$LINENO: result: no" >&5
11208 echo "${ECHO_T}no" >&6
11213 CC
="$ac_cv_prog_CC"
11217 if test -z "$CC"; then
11218 # Extract the first word of "cc", so it can be a program name with args.
11219 set dummy cc
; ac_word
=$2
11220 echo "$as_me:$LINENO: checking for $ac_word" >&5
11221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11222 if test "${ac_cv_prog_CC+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 if test -n "$CC"; then
11226 ac_cv_prog_CC
="$CC" # Let the user override the test.
11228 ac_prog_rejected
=no
11229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11230 for as_dir
in $PATH
11233 test -z "$as_dir" && as_dir
=.
11234 for ac_exec_ext
in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11237 ac_prog_rejected
=yes
11241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11247 if test $ac_prog_rejected = yes; then
11248 # We found a bogon in the path, so make sure we never use it.
11249 set dummy
$ac_cv_prog_CC
11251 if test $# != 0; then
11252 # We chose a different compiler from the bogus one.
11253 # However, it has the same basename, so the bogon will be chosen
11254 # first if we set CC to just the basename; use the full file name.
11256 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11262 if test -n "$CC"; then
11263 echo "$as_me:$LINENO: result: $CC" >&5
11264 echo "${ECHO_T}$CC" >&6
11266 echo "$as_me:$LINENO: result: no" >&5
11267 echo "${ECHO_T}no" >&6
11271 if test -z "$CC"; then
11272 if test -n "$ac_tool_prefix"; then
11275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11276 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11277 echo "$as_me:$LINENO: checking for $ac_word" >&5
11278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11279 if test "${ac_cv_prog_CC+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 if test -n "$CC"; then
11283 ac_cv_prog_CC
="$CC" # Let the user override the test.
11285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11286 for as_dir
in $PATH
11289 test -z "$as_dir" && as_dir
=.
11290 for ac_exec_ext
in '' $ac_executable_extensions; do
11291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11292 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11302 if test -n "$CC"; then
11303 echo "$as_me:$LINENO: result: $CC" >&5
11304 echo "${ECHO_T}$CC" >&6
11306 echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6
11310 test -n "$CC" && break
11313 if test -z "$CC"; then
11317 # Extract the first word of "$ac_prog", so it can be a program name with args.
11318 set dummy
$ac_prog; ac_word
=$2
11319 echo "$as_me:$LINENO: checking for $ac_word" >&5
11320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11322 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 if test -n "$ac_ct_CC"; then
11325 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11328 for as_dir
in $PATH
11331 test -z "$as_dir" && as_dir
=.
11332 for ac_exec_ext
in '' $ac_executable_extensions; do
11333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11334 ac_cv_prog_ac_ct_CC
="$ac_prog"
11335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11343 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11344 if test -n "$ac_ct_CC"; then
11345 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11346 echo "${ECHO_T}$ac_ct_CC" >&6
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11352 test -n "$ac_ct_CC" && break
11361 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11362 See \`config.log' for more details." >&5
11363 echo "$as_me: error: no acceptable C compiler found in \$PATH
11364 See \`config.log' for more details." >&2;}
11365 { (exit 1); exit 1; }; }
11367 # Provide some information about the compiler.
11368 echo "$as_me:$LINENO:" \
11369 "checking for C compiler version" >&5
11370 ac_compiler
=`set X $ac_compile; echo $2`
11371 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11372 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }
11376 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11377 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }
11381 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11382 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }
11387 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11388 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11389 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 cat >conftest.
$ac_ext <<_ACEOF
11395 cat confdefs.h
>>conftest.
$ac_ext
11396 cat >>conftest.
$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11410 rm -f conftest.
$ac_objext
11411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11412 (eval $ac_compile) 2>conftest.er1
11414 grep -v '^ *+' conftest.er1
>conftest.err
11416 cat conftest.err
>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); } &&
11419 { ac_try
='test -z "$ac_c_werror_flag"
11420 || test ! -s conftest.err'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; } &&
11426 { ac_try
='test -s conftest.$ac_objext'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; }; then
11432 ac_compiler_gnu
=yes
11434 echo "$as_me: failed program was:" >&5
11435 sed 's/^/| /' conftest.
$ac_ext >&5
11439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11440 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11443 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11445 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11446 ac_test_CFLAGS
=${CFLAGS+set}
11447 ac_save_CFLAGS
=$CFLAGS
11449 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11450 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11451 if test "${ac_cv_prog_cc_g+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 cat >conftest.
$ac_ext <<_ACEOF
11457 cat confdefs.h
>>conftest.
$ac_ext
11458 cat >>conftest.
$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11469 rm -f conftest.
$ac_objext
11470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11471 (eval $ac_compile) 2>conftest.er1
11473 grep -v '^ *+' conftest.er1
>conftest.err
11475 cat conftest.err
>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } &&
11478 { ac_try
='test -z "$ac_c_werror_flag"
11479 || test ! -s conftest.err'
11480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }; } &&
11485 { ac_try
='test -s conftest.$ac_objext'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; }; then
11491 ac_cv_prog_cc_g
=yes
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.
$ac_ext >&5
11498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11500 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11501 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11502 if test "$ac_test_CFLAGS" = set; then
11503 CFLAGS
=$ac_save_CFLAGS
11504 elif test $ac_cv_prog_cc_g = yes; then
11505 if test "$GCC" = yes; then
11511 if test "$GCC" = yes; then
11517 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11518 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11519 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 ac_cv_prog_cc_stdc
=no
11524 cat >conftest.
$ac_ext <<_ACEOF
11527 cat confdefs.h
>>conftest.
$ac_ext
11528 cat >>conftest.
$ac_ext <<_ACEOF
11529 /* end confdefs.h. */
11530 #include <stdarg.h>
11532 #include <sys/types.h>
11533 #include <sys/stat.h>
11534 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11535 struct buf { int x; };
11536 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11537 static char *e (p, i)
11543 static char *f (char * (*g) (char **, int), char **p, ...)
11548 s = g (p, va_arg (v,int));
11553 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11554 function prototypes and stuff, but not '\xHH' hex character constants.
11555 These don't provoke an error unfortunately, instead are silently treated
11556 as 'x'. The following induces an error, until -std1 is added to get
11557 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11558 array size at least. It's necessary to write '\x00'==0 to get something
11559 that's true only with -std1. */
11560 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11562 int test (int i, double x);
11563 struct s1 {int (*f) (int a);};
11564 struct s2 {int (*f) (double a);};
11565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11576 # Don't try gcc -ansi; that turns off useful extensions and
11577 # breaks some systems' header files.
11578 # AIX -qlanglvl=ansi
11579 # Ultrix and OSF/1 -std1
11580 # HP-UX 10.20 and later -Ae
11581 # HP-UX older versions -Aa -D_HPUX_SOURCE
11582 # SVR4 -Xc -D__EXTENSIONS__
11583 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11585 CC
="$ac_save_CC $ac_arg"
11586 rm -f conftest.
$ac_objext
11587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11588 (eval $ac_compile) 2>conftest.er1
11590 grep -v '^ *+' conftest.er1
>conftest.err
11592 cat conftest.err
>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); } &&
11595 { ac_try
='test -z "$ac_c_werror_flag"
11596 || test ! -s conftest.err'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; } &&
11602 { ac_try
='test -s conftest.$ac_objext'
11603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11604 (eval $ac_try) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; }; then
11608 ac_cv_prog_cc_stdc
=$ac_arg
11611 echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.
$ac_ext >&5
11615 rm -f conftest.err conftest.
$ac_objext
11617 rm -f conftest.
$ac_ext conftest.
$ac_objext
11622 case "x$ac_cv_prog_cc_stdc" in
11624 echo "$as_me:$LINENO: result: none needed" >&5
11625 echo "${ECHO_T}none needed" >&6 ;;
11627 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11628 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11629 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11632 # Some people use a C++ compiler to compile C. Since we use `exit',
11633 # in C++ we need to declare it. In case someone uses the same compiler
11634 # for both compiling C and C++ we need to have the C++ compiler decide
11635 # the declaration of exit, since it's the most demanding environment.
11636 cat >conftest.
$ac_ext <<_ACEOF
11637 #ifndef __cplusplus
11641 rm -f conftest.
$ac_objext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11643 (eval $ac_compile) 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try
='test -z "$ac_c_werror_flag"
11651 || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try
='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 for ac_declaration
in \
11665 'extern "C" void std::exit (int) throw (); using std::exit;' \
11666 'extern "C" void std::exit (int); using std::exit;' \
11667 'extern "C" void exit (int) throw ();' \
11668 'extern "C" void exit (int);' \
11671 cat >conftest.
$ac_ext <<_ACEOF
11674 cat confdefs.h
>>conftest.
$ac_ext
11675 cat >>conftest.
$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11678 #include <stdlib.h>
11687 rm -f conftest.
$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_c_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try
='test -z "$ac_c_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try
='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11763 if test -n "$ac_declaration"; then
11764 echo '#ifdef __cplusplus' >>confdefs.h
11765 echo $ac_declaration >>confdefs.h
11766 echo '#endif' >>confdefs.h
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.
$ac_ext >&5
11774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11776 ac_cpp
='$CPP $CPPFLAGS'
11777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11781 depcc
="$CC" am_compiler_list
=
11783 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11784 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11785 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11789 # We make a subdir and do the tests there. Otherwise we can end up
11790 # making bogus files that we don't know about and never remove. For
11791 # instance it was reported that on HP-UX the gcc test will end up
11792 # making a dummy file named `D' -- because `-MD' means `put the output
11795 # Copy depcomp to subdir because otherwise we won't find it if we're
11796 # using a relative directory.
11797 cp "$am_depcomp" conftest.dir
11799 # We will build objects and dependencies in a subdirectory because
11800 # it helps to detect inapplicable dependency modes. For instance
11801 # both Tru64's cc and ICC support -MD to output dependencies as a
11802 # side effect of compilation, but ICC will put the dependencies in
11803 # the current directory while Tru64 will put them in the object
11807 am_cv_CC_dependencies_compiler_type
=none
11808 if test "$am_compiler_list" = ""; then
11809 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11811 for depmode
in $am_compiler_list; do
11812 # Setup a source with many dependencies, because some compilers
11813 # like to wrap large dependency lists on column 80 (with \), and
11814 # we should not choose a depcomp mode which is confused by this.
11816 # We need to recreate these files for each test, as the compiler may
11817 # overwrite some of them when testing with obscure command lines.
11818 # This happens at least with the AIX C compiler.
11820 for i
in 1 2 3 4 5 6; do
11821 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11822 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11823 # Solaris 8's {/usr,}/bin/sh.
11824 touch sub
/conftst
$i.h
11826 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11830 # after this tag, mechanisms are not by side-effect, so they'll
11831 # only be used when explicitly requested
11832 if test "x$enable_dependency_tracking" = xyes
; then
11840 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11841 # mode. It turns out that the SunPro C++ compiler does not properly
11842 # handle `-M -o', and we need to detect this.
11843 if depmode
=$depmode \
11844 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
11845 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11846 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
11847 >/dev
/null
2>conftest.err
&&
11848 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11849 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
11850 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11851 # icc doesn't choke on unknown options, it will just issue warnings
11852 # or remarks (even with -Werror). So we grep stderr for any message
11853 # that says an option was ignored or not supported.
11854 # When given -MP, icc 7.0 and 7.1 complain thusly:
11855 # icc: Command line warning: ignoring option '-M'; no argument required
11856 # The diagnosis changed in icc 8.0:
11857 # icc: Command line remark: option '-MP' not supported
11858 if (grep 'ignoring option' conftest.err ||
11859 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11860 am_cv_CC_dependencies_compiler_type
=$depmode
11867 rm -rf conftest.dir
11869 am_cv_CC_dependencies_compiler_type
=none
11873 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11874 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
11875 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11880 test "x$enable_dependency_tracking" != xno \
11881 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11882 am__fastdepCC_TRUE
=
11883 am__fastdepCC_FALSE
='#'
11885 am__fastdepCC_TRUE
='#'
11886 am__fastdepCC_FALSE
=
11890 if test "x$CC" != xcc
; then
11891 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11892 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
11894 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11895 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
11897 set dummy
$CC; ac_cc
=`echo $2 |
11898 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11899 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 cat >conftest.
$ac_ext <<_ACEOF
11905 cat confdefs.h
>>conftest.
$ac_ext
11906 cat >>conftest.
$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11917 # Make sure it works both with $CC and with simple cc.
11918 # We do the test twice because some compilers refuse to overwrite an
11919 # existing .o file with -o, though they will create one.
11920 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11921 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); };
11932 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11933 if test "x$CC" != xcc
; then
11934 # Test first that cc exists at all.
11935 if { ac_try
='cc -c conftest.$ac_ext >&5'
11936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11937 (eval $ac_try) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }; }; then
11941 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11942 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); };
11956 # cc exists but doesn't like -o.
11957 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
11962 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
11967 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
11968 echo "$as_me:$LINENO: result: yes" >&5
11969 echo "${ECHO_T}yes" >&6
11971 echo "$as_me:$LINENO: result: no" >&5
11972 echo "${ECHO_T}no" >&6
11974 cat >>confdefs.h
<<\_ACEOF
11975 #define NO_MINUS_C_MINUS_O 1
11980 # FIXME: we rely on the cache variable name because
11981 # there is no other way.
11983 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11984 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
11985 # Losing compiler, so override with the script.
11986 # FIXME: It is wrong to rewrite CC.
11987 # But if we don't then we get into trouble of one sort or another.
11988 # A longer-term fix would be to have automake use am__CC in this case,
11989 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11990 CC
="$am_aux_dir/compile $CC"
11994 ac_cpp
='$CPP $CPPFLAGS'
11995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11998 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11999 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12000 # On Suns, sometimes $CPP names a directory.
12001 if test -n "$CPP" && test -d "$CPP"; then
12004 if test -z "$CPP"; then
12005 if test "${ac_cv_prog_CPP+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 # Double quotes because CPP needs to be expanded
12009 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12011 ac_preproc_ok
=false
12012 for ac_c_preproc_warn_flag
in '' yes
12014 # Use a header file that comes with gcc, so configuring glibc
12015 # with a fresh cross-compiler works.
12016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12017 # <limits.h> exists even on freestanding compilers.
12018 # On the NeXT, cc -E runs the code through the compiler's parser,
12019 # not just through cpp. "Syntax error" is here to catch this case.
12020 cat >conftest.
$ac_ext <<_ACEOF
12023 cat confdefs.h
>>conftest.
$ac_ext
12024 cat >>conftest.
$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 # include <limits.h>
12029 # include <assert.h>
12033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12036 grep -v '^ *+' conftest.er1
>conftest.err
12038 cat conftest.err
>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } >/dev
/null
; then
12041 if test -s conftest.err
; then
12042 ac_cpp_err
=$ac_c_preproc_warn_flag
12043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12050 if test -z "$ac_cpp_err"; then
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.
$ac_ext >&5
12056 # Broken: fails on valid input.
12059 rm -f conftest.err conftest.
$ac_ext
12061 # OK, works on sane cases. Now check whether non-existent headers
12062 # can be detected and how.
12063 cat >conftest.
$ac_ext <<_ACEOF
12066 cat confdefs.h
>>conftest.
$ac_ext
12067 cat >>conftest.
$ac_ext <<_ACEOF
12068 /* end confdefs.h. */
12069 #include <ac_nonexistent.h>
12071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12074 grep -v '^ *+' conftest.er1
>conftest.err
12076 cat conftest.err
>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } >/dev
/null
; then
12079 if test -s conftest.err
; then
12080 ac_cpp_err
=$ac_c_preproc_warn_flag
12081 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12088 if test -z "$ac_cpp_err"; then
12089 # Broken: success on invalid input.
12092 echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.
$ac_ext >&5
12095 # Passes both tests.
12099 rm -f conftest.err conftest.
$ac_ext
12102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12103 rm -f conftest.err conftest.
$ac_ext
12104 if $ac_preproc_ok; then
12109 ac_cv_prog_CPP
=$CPP
12112 CPP
=$ac_cv_prog_CPP
12114 ac_cv_prog_CPP
=$CPP
12116 echo "$as_me:$LINENO: result: $CPP" >&5
12117 echo "${ECHO_T}$CPP" >&6
12118 ac_preproc_ok
=false
12119 for ac_c_preproc_warn_flag
in '' yes
12121 # Use a header file that comes with gcc, so configuring glibc
12122 # with a fresh cross-compiler works.
12123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12124 # <limits.h> exists even on freestanding compilers.
12125 # On the NeXT, cc -E runs the code through the compiler's parser,
12126 # not just through cpp. "Syntax error" is here to catch this case.
12127 cat >conftest.
$ac_ext <<_ACEOF
12130 cat confdefs.h
>>conftest.
$ac_ext
12131 cat >>conftest.
$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12134 # include <limits.h>
12136 # include <assert.h>
12140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12143 grep -v '^ *+' conftest.er1
>conftest.err
12145 cat conftest.err
>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); } >/dev
/null
; then
12148 if test -s conftest.err
; then
12149 ac_cpp_err
=$ac_c_preproc_warn_flag
12150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12157 if test -z "$ac_cpp_err"; then
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.
$ac_ext >&5
12163 # Broken: fails on valid input.
12166 rm -f conftest.err conftest.
$ac_ext
12168 # OK, works on sane cases. Now check whether non-existent headers
12169 # can be detected and how.
12170 cat >conftest.
$ac_ext <<_ACEOF
12173 cat confdefs.h
>>conftest.
$ac_ext
12174 cat >>conftest.
$ac_ext <<_ACEOF
12175 /* end confdefs.h. */
12176 #include <ac_nonexistent.h>
12178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12181 grep -v '^ *+' conftest.er1
>conftest.err
12183 cat conftest.err
>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } >/dev
/null
; then
12186 if test -s conftest.err
; then
12187 ac_cpp_err
=$ac_c_preproc_warn_flag
12188 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12195 if test -z "$ac_cpp_err"; then
12196 # Broken: success on invalid input.
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.
$ac_ext >&5
12202 # Passes both tests.
12206 rm -f conftest.err conftest.
$ac_ext
12209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12210 rm -f conftest.err conftest.
$ac_ext
12211 if $ac_preproc_ok; then
12214 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12215 See \`config.log' for more details." >&5
12216 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12217 See \`config.log' for more details." >&2;}
12218 { (exit 1); exit 1; }; }
12222 ac_cpp
='$CPP $CPPFLAGS'
12223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12228 ac_cpp
='$CXXCPP $CPPFLAGS'
12229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12232 if test -n "$ac_tool_prefix"; then
12233 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12237 echo "$as_me:$LINENO: checking for $ac_word" >&5
12238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12239 if test "${ac_cv_prog_CXX+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 if test -n "$CXX"; then
12243 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12246 for as_dir
in $PATH
12249 test -z "$as_dir" && as_dir
=.
12250 for ac_exec_ext
in '' $ac_executable_extensions; do
12251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12252 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12261 CXX
=$ac_cv_prog_CXX
12262 if test -n "$CXX"; then
12263 echo "$as_me:$LINENO: result: $CXX" >&5
12264 echo "${ECHO_T}$CXX" >&6
12266 echo "$as_me:$LINENO: result: no" >&5
12267 echo "${ECHO_T}no" >&6
12270 test -n "$CXX" && break
12273 if test -z "$CXX"; then
12275 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12277 # Extract the first word of "$ac_prog", so it can be a program name with args.
12278 set dummy
$ac_prog; ac_word
=$2
12279 echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 if test -n "$ac_ct_CXX"; then
12285 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12288 for as_dir
in $PATH
12291 test -z "$as_dir" && as_dir
=.
12292 for ac_exec_ext
in '' $ac_executable_extensions; do
12293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12294 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12304 if test -n "$ac_ct_CXX"; then
12305 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12306 echo "${ECHO_T}$ac_ct_CXX" >&6
12308 echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6
12312 test -n "$ac_ct_CXX" && break
12314 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12320 # Provide some information about the compiler.
12321 echo "$as_me:$LINENO:" \
12322 "checking for C++ compiler version" >&5
12323 ac_compiler
=`set X $ac_compile; echo $2`
12324 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12325 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }
12329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12330 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }
12334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12335 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }
12340 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12341 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 cat >conftest.
$ac_ext <<_ACEOF
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12363 rm -f conftest.
$ac_objext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12365 (eval $ac_compile) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_cxx_werror_flag"
12373 || test ! -s conftest.err'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; } &&
12379 { ac_try
='test -s conftest.$ac_objext'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; }; then
12385 ac_compiler_gnu
=yes
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12393 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12396 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12397 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12398 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12399 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12400 ac_save_CXXFLAGS
=$CXXFLAGS
12402 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12403 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12404 if test "${ac_cv_prog_cxx_g+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 cat >conftest.
$ac_ext <<_ACEOF
12410 cat confdefs.h
>>conftest.
$ac_ext
12411 cat >>conftest.
$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12422 rm -f conftest.
$ac_objext
12423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12424 (eval $ac_compile) 2>conftest.er1
12426 grep -v '^ *+' conftest.er1
>conftest.err
12428 cat conftest.err
>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } &&
12431 { ac_try
='test -z "$ac_cxx_werror_flag"
12432 || test ! -s conftest.err'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; } &&
12438 { ac_try
='test -s conftest.$ac_objext'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; }; then
12444 ac_cv_prog_cxx_g
=yes
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.
$ac_ext >&5
12449 ac_cv_prog_cxx_g
=no
12451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12453 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12454 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12455 if test "$ac_test_CXXFLAGS" = set; then
12456 CXXFLAGS
=$ac_save_CXXFLAGS
12457 elif test $ac_cv_prog_cxx_g = yes; then
12458 if test "$GXX" = yes; then
12464 if test "$GXX" = yes; then
12470 for ac_declaration
in \
12472 'extern "C" void std::exit (int) throw (); using std::exit;' \
12473 'extern "C" void std::exit (int); using std::exit;' \
12474 'extern "C" void exit (int) throw ();' \
12475 'extern "C" void exit (int);' \
12478 cat >conftest.
$ac_ext <<_ACEOF
12481 cat confdefs.h
>>conftest.
$ac_ext
12482 cat >>conftest.
$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12485 #include <stdlib.h>
12494 rm -f conftest.
$ac_objext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try
='test -z "$ac_cxx_werror_flag"
12504 || test ! -s conftest.err'
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); }; } &&
12510 { ac_try
='test -s conftest.$ac_objext'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.
$ac_ext >&5
12523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12539 rm -f conftest.
$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_cxx_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12570 if test -n "$ac_declaration"; then
12571 echo '#ifdef __cplusplus' >>confdefs.h
12572 echo $ac_declaration >>confdefs.h
12573 echo '#endif' >>confdefs.h
12577 ac_cpp
='$CPP $CPPFLAGS'
12578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12582 depcc
="$CXX" am_compiler_list
=
12584 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12585 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12586 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12590 # We make a subdir and do the tests there. Otherwise we can end up
12591 # making bogus files that we don't know about and never remove. For
12592 # instance it was reported that on HP-UX the gcc test will end up
12593 # making a dummy file named `D' -- because `-MD' means `put the output
12596 # Copy depcomp to subdir because otherwise we won't find it if we're
12597 # using a relative directory.
12598 cp "$am_depcomp" conftest.dir
12600 # We will build objects and dependencies in a subdirectory because
12601 # it helps to detect inapplicable dependency modes. For instance
12602 # both Tru64's cc and ICC support -MD to output dependencies as a
12603 # side effect of compilation, but ICC will put the dependencies in
12604 # the current directory while Tru64 will put them in the object
12608 am_cv_CXX_dependencies_compiler_type
=none
12609 if test "$am_compiler_list" = ""; then
12610 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12612 for depmode
in $am_compiler_list; do
12613 # Setup a source with many dependencies, because some compilers
12614 # like to wrap large dependency lists on column 80 (with \), and
12615 # we should not choose a depcomp mode which is confused by this.
12617 # We need to recreate these files for each test, as the compiler may
12618 # overwrite some of them when testing with obscure command lines.
12619 # This happens at least with the AIX C compiler.
12621 for i
in 1 2 3 4 5 6; do
12622 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12623 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12624 # Solaris 8's {/usr,}/bin/sh.
12625 touch sub
/conftst
$i.h
12627 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12631 # after this tag, mechanisms are not by side-effect, so they'll
12632 # only be used when explicitly requested
12633 if test "x$enable_dependency_tracking" = xyes
; then
12641 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12642 # mode. It turns out that the SunPro C++ compiler does not properly
12643 # handle `-M -o', and we need to detect this.
12644 if depmode
=$depmode \
12645 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12646 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12647 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12648 >/dev
/null
2>conftest.err
&&
12649 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12650 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12651 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12652 # icc doesn't choke on unknown options, it will just issue warnings
12653 # or remarks (even with -Werror). So we grep stderr for any message
12654 # that says an option was ignored or not supported.
12655 # When given -MP, icc 7.0 and 7.1 complain thusly:
12656 # icc: Command line warning: ignoring option '-M'; no argument required
12657 # The diagnosis changed in icc 8.0:
12658 # icc: Command line remark: option '-MP' not supported
12659 if (grep 'ignoring option' conftest.err ||
12660 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12661 am_cv_CXX_dependencies_compiler_type
=$depmode
12668 rm -rf conftest.dir
12670 am_cv_CXX_dependencies_compiler_type
=none
12674 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12675 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12676 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12681 test "x$enable_dependency_tracking" != xno \
12682 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12683 am__fastdepCXX_TRUE
=
12684 am__fastdepCXX_FALSE
='#'
12686 am__fastdepCXX_TRUE
='#'
12687 am__fastdepCXX_FALSE
=
12693 ac_cpp
='$CXXCPP $CPPFLAGS'
12694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12697 if test -n "$ac_tool_prefix"; then
12698 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12701 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12702 echo "$as_me:$LINENO: checking for $ac_word" >&5
12703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12704 if test "${ac_cv_prog_CXX+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12707 if test -n "$CXX"; then
12708 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12711 for as_dir
in $PATH
12714 test -z "$as_dir" && as_dir
=.
12715 for ac_exec_ext
in '' $ac_executable_extensions; do
12716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12717 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12726 CXX
=$ac_cv_prog_CXX
12727 if test -n "$CXX"; then
12728 echo "$as_me:$LINENO: result: $CXX" >&5
12729 echo "${ECHO_T}$CXX" >&6
12731 echo "$as_me:$LINENO: result: no" >&5
12732 echo "${ECHO_T}no" >&6
12735 test -n "$CXX" && break
12738 if test -z "$CXX"; then
12740 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12742 # Extract the first word of "$ac_prog", so it can be a program name with args.
12743 set dummy
$ac_prog; ac_word
=$2
12744 echo "$as_me:$LINENO: checking for $ac_word" >&5
12745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12746 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 if test -n "$ac_ct_CXX"; then
12750 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12753 for as_dir
in $PATH
12756 test -z "$as_dir" && as_dir
=.
12757 for ac_exec_ext
in '' $ac_executable_extensions; do
12758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12759 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12768 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12769 if test -n "$ac_ct_CXX"; then
12770 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12771 echo "${ECHO_T}$ac_ct_CXX" >&6
12773 echo "$as_me:$LINENO: result: no" >&5
12774 echo "${ECHO_T}no" >&6
12777 test -n "$ac_ct_CXX" && break
12779 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12785 # Provide some information about the compiler.
12786 echo "$as_me:$LINENO:" \
12787 "checking for C++ compiler version" >&5
12788 ac_compiler
=`set X $ac_compile; echo $2`
12789 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12790 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }
12794 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12795 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }
12799 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12800 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }
12805 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12806 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12807 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -z "$ac_cxx_werror_flag"
12838 || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_compiler_gnu
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12861 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12862 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12863 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12864 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12865 ac_save_CXXFLAGS
=$CXXFLAGS
12867 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12868 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12869 if test "${ac_cv_prog_cxx_g+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12887 rm -f conftest.
$ac_objext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>conftest.er1
12891 grep -v '^ *+' conftest.er1
>conftest.err
12893 cat conftest.err
>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try
='test -z "$ac_cxx_werror_flag"
12897 || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try
='test -s conftest.$ac_objext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 ac_cv_prog_cxx_g
=yes
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.
$ac_ext >&5
12914 ac_cv_prog_cxx_g
=no
12916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12918 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12919 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12920 if test "$ac_test_CXXFLAGS" = set; then
12921 CXXFLAGS
=$ac_save_CXXFLAGS
12922 elif test $ac_cv_prog_cxx_g = yes; then
12923 if test "$GXX" = yes; then
12929 if test "$GXX" = yes; then
12935 for ac_declaration
in \
12937 'extern "C" void std::exit (int) throw (); using std::exit;' \
12938 'extern "C" void std::exit (int); using std::exit;' \
12939 'extern "C" void exit (int) throw ();' \
12940 'extern "C" void exit (int);' \
12943 cat >conftest.
$ac_ext <<_ACEOF
12946 cat confdefs.h
>>conftest.
$ac_ext
12947 cat >>conftest.
$ac_ext <<_ACEOF
12948 /* end confdefs.h. */
12950 #include <stdlib.h>
12959 rm -f conftest.
$ac_objext
12960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12961 (eval $ac_compile) 2>conftest.er1
12963 grep -v '^ *+' conftest.er1
>conftest.err
12965 cat conftest.err
>&5
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); } &&
12968 { ac_try
='test -z "$ac_cxx_werror_flag"
12969 || test ! -s conftest.err'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; } &&
12975 { ac_try
='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.
$ac_ext >&5
12988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12989 cat >conftest.
$ac_ext <<_ACEOF
12992 cat confdefs.h
>>conftest.
$ac_ext
12993 cat >>conftest.
$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
13004 rm -f conftest.
$ac_objext
13005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13006 (eval $ac_compile) 2>conftest.er1
13008 grep -v '^ *+' conftest.er1
>conftest.err
13010 cat conftest.err
>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } &&
13013 { ac_try
='test -z "$ac_cxx_werror_flag"
13014 || test ! -s conftest.err'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; } &&
13020 { ac_try
='test -s conftest.$ac_objext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.
$ac_ext >&5
13032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13035 if test -n "$ac_declaration"; then
13036 echo '#ifdef __cplusplus' >>confdefs.h
13037 echo $ac_declaration >>confdefs.h
13038 echo '#endif' >>confdefs.h
13042 ac_cpp
='$CPP $CPPFLAGS'
13043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13047 depcc
="$CXX" am_compiler_list
=
13049 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13050 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13051 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13055 # We make a subdir and do the tests there. Otherwise we can end up
13056 # making bogus files that we don't know about and never remove. For
13057 # instance it was reported that on HP-UX the gcc test will end up
13058 # making a dummy file named `D' -- because `-MD' means `put the output
13061 # Copy depcomp to subdir because otherwise we won't find it if we're
13062 # using a relative directory.
13063 cp "$am_depcomp" conftest.dir
13065 # We will build objects and dependencies in a subdirectory because
13066 # it helps to detect inapplicable dependency modes. For instance
13067 # both Tru64's cc and ICC support -MD to output dependencies as a
13068 # side effect of compilation, but ICC will put the dependencies in
13069 # the current directory while Tru64 will put them in the object
13073 am_cv_CXX_dependencies_compiler_type
=none
13074 if test "$am_compiler_list" = ""; then
13075 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13077 for depmode
in $am_compiler_list; do
13078 # Setup a source with many dependencies, because some compilers
13079 # like to wrap large dependency lists on column 80 (with \), and
13080 # we should not choose a depcomp mode which is confused by this.
13082 # We need to recreate these files for each test, as the compiler may
13083 # overwrite some of them when testing with obscure command lines.
13084 # This happens at least with the AIX C compiler.
13086 for i
in 1 2 3 4 5 6; do
13087 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13088 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13089 # Solaris 8's {/usr,}/bin/sh.
13090 touch sub
/conftst
$i.h
13092 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13096 # after this tag, mechanisms are not by side-effect, so they'll
13097 # only be used when explicitly requested
13098 if test "x$enable_dependency_tracking" = xyes
; then
13106 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13107 # mode. It turns out that the SunPro C++ compiler does not properly
13108 # handle `-M -o', and we need to detect this.
13109 if depmode
=$depmode \
13110 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13111 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13112 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13113 >/dev
/null
2>conftest.err
&&
13114 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13115 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13116 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13117 # icc doesn't choke on unknown options, it will just issue warnings
13118 # or remarks (even with -Werror). So we grep stderr for any message
13119 # that says an option was ignored or not supported.
13120 # When given -MP, icc 7.0 and 7.1 complain thusly:
13121 # icc: Command line warning: ignoring option '-M'; no argument required
13122 # The diagnosis changed in icc 8.0:
13123 # icc: Command line remark: option '-MP' not supported
13124 if (grep 'ignoring option' conftest.err ||
13125 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13126 am_cv_CXX_dependencies_compiler_type
=$depmode
13133 rm -rf conftest.dir
13135 am_cv_CXX_dependencies_compiler_type
=none
13139 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13140 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13141 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13146 test "x$enable_dependency_tracking" != xno \
13147 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13148 am__fastdepCXX_TRUE
=
13149 am__fastdepCXX_FALSE
='#'
13151 am__fastdepCXX_TRUE
='#'
13152 am__fastdepCXX_FALSE
=
13156 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13157 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13158 (test "X$CXX" != "Xg++"))) ; then
13160 ac_cpp
='$CXXCPP $CPPFLAGS'
13161 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13164 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13165 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13166 if test -z "$CXXCPP"; then
13167 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 # Double quotes because CXXCPP needs to be expanded
13171 for CXXCPP
in "$CXX -E" "/lib/cpp"
13173 ac_preproc_ok
=false
13174 for ac_cxx_preproc_warn_flag
in '' yes
13176 # Use a header file that comes with gcc, so configuring glibc
13177 # with a fresh cross-compiler works.
13178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13179 # <limits.h> exists even on freestanding compilers.
13180 # On the NeXT, cc -E runs the code through the compiler's parser,
13181 # not just through cpp. "Syntax error" is here to catch this case.
13182 cat >conftest.
$ac_ext <<_ACEOF
13185 cat confdefs.h
>>conftest.
$ac_ext
13186 cat >>conftest.
$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13189 # include <limits.h>
13191 # include <assert.h>
13195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13198 grep -v '^ *+' conftest.er1
>conftest.err
13200 cat conftest.err
>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } >/dev
/null
; then
13203 if test -s conftest.err
; then
13204 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13205 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13212 if test -z "$ac_cpp_err"; then
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.
$ac_ext >&5
13218 # Broken: fails on valid input.
13221 rm -f conftest.err conftest.
$ac_ext
13223 # OK, works on sane cases. Now check whether non-existent headers
13224 # can be detected and how.
13225 cat >conftest.
$ac_ext <<_ACEOF
13228 cat confdefs.h
>>conftest.
$ac_ext
13229 cat >>conftest.
$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13231 #include <ac_nonexistent.h>
13233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } >/dev
/null
; then
13241 if test -s conftest.err
; then
13242 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13243 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13250 if test -z "$ac_cpp_err"; then
13251 # Broken: success on invalid input.
13254 echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.
$ac_ext >&5
13257 # Passes both tests.
13261 rm -f conftest.err conftest.
$ac_ext
13264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13265 rm -f conftest.err conftest.
$ac_ext
13266 if $ac_preproc_ok; then
13271 ac_cv_prog_CXXCPP
=$CXXCPP
13274 CXXCPP
=$ac_cv_prog_CXXCPP
13276 ac_cv_prog_CXXCPP
=$CXXCPP
13278 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13279 echo "${ECHO_T}$CXXCPP" >&6
13280 ac_preproc_ok
=false
13281 for ac_cxx_preproc_warn_flag
in '' yes
13283 # Use a header file that comes with gcc, so configuring glibc
13284 # with a fresh cross-compiler works.
13285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13286 # <limits.h> exists even on freestanding compilers.
13287 # On the NeXT, cc -E runs the code through the compiler's parser,
13288 # not just through cpp. "Syntax error" is here to catch this case.
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13296 # include <limits.h>
13298 # include <assert.h>
13302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev
/null
; then
13310 if test -s conftest.err
; then
13311 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13312 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13319 if test -z "$ac_cpp_err"; then
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 # Broken: fails on valid input.
13328 rm -f conftest.err conftest.
$ac_ext
13330 # OK, works on sane cases. Now check whether non-existent headers
13331 # can be detected and how.
13332 cat >conftest.
$ac_ext <<_ACEOF
13335 cat confdefs.h
>>conftest.
$ac_ext
13336 cat >>conftest.
$ac_ext <<_ACEOF
13337 /* end confdefs.h. */
13338 #include <ac_nonexistent.h>
13340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13343 grep -v '^ *+' conftest.er1
>conftest.err
13345 cat conftest.err
>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); } >/dev
/null
; then
13348 if test -s conftest.err
; then
13349 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13350 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13357 if test -z "$ac_cpp_err"; then
13358 # Broken: success on invalid input.
13361 echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.
$ac_ext >&5
13364 # Passes both tests.
13368 rm -f conftest.err conftest.
$ac_ext
13371 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13372 rm -f conftest.err conftest.
$ac_ext
13373 if $ac_preproc_ok; then
13376 _lt_caught_CXX_error
=yes
13380 ac_cpp
='$CPP $CPPFLAGS'
13381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13386 _lt_caught_CXX_error
=yes
13393 ac_cpp
='$CXXCPP $CPPFLAGS'
13394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13398 archive_cmds_need_lc_CXX
=no
13399 allow_undefined_flag_CXX
=
13400 always_export_symbols_CXX
=no
13401 archive_expsym_cmds_CXX
=
13402 compiler_needs_object_CXX
=no
13403 export_dynamic_flag_spec_CXX
=
13404 hardcode_direct_CXX
=no
13405 hardcode_direct_absolute_CXX
=no
13406 hardcode_libdir_flag_spec_CXX
=
13407 hardcode_libdir_flag_spec_ld_CXX
=
13408 hardcode_libdir_separator_CXX
=
13409 hardcode_minus_L_CXX
=no
13410 hardcode_shlibpath_var_CXX
=unsupported
13411 hardcode_automatic_CXX
=no
13412 inherit_rpath_CXX
=no
13414 module_expsym_cmds_CXX
=
13415 link_all_deplibs_CXX
=unknown
13416 old_archive_cmds_CXX
=$old_archive_cmds
13417 no_undefined_flag_CXX
=
13418 whole_archive_flag_spec_CXX
=
13419 enable_shared_with_static_runtimes_CXX
=no
13421 # Source file extension for C++ test sources.
13424 # Object file extension for compiled C++ test sources.
13428 # No sense in running all these tests if we already determined that
13429 # the CXX compiler isn't working. Some variables (like enable_shared)
13430 # are currently assumed to apply to all compilers on this platform,
13431 # and will be corrupted by setting them based on a non-working compiler.
13432 if test "$_lt_caught_CXX_error" != yes; then
13433 # Code to be used in simple compile tests
13434 lt_simple_compile_test_code
="int some_variable = 0;"
13436 # Code to be used in simple link tests
13437 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13439 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13446 # If no C compiler was specified, use CC.
13449 # If no C compiler flags were specified, use CFLAGS.
13450 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13452 # Allow CC to be a program name with arguments.
13456 # save warnings/boilerplate of simple test code
13457 ac_outfile
=conftest.
$ac_objext
13458 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13459 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13460 _lt_compiler_boilerplate
=`cat conftest.err`
13463 ac_outfile
=conftest.
$ac_objext
13464 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13465 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13466 _lt_linker_boilerplate
=`cat conftest.err`
13470 # Allow CC to be a program name with arguments.
13475 lt_save_with_gnu_ld
=$with_gnu_ld
13476 lt_save_path_LD
=$lt_cv_path_LD
13477 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13478 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13480 $as_unset lt_cv_prog_gnu_ld
13482 if test -n "${lt_cv_path_LDCXX+set}"; then
13483 lt_cv_path_LD
=$lt_cv_path_LDCXX
13485 $as_unset lt_cv_path_LD
13487 test -z "${LDCXX+set}" || LD
=$LDCXX
13491 for cc_temp
in $compiler""; do
13493 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13494 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13499 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13502 if test -n "$compiler"; then
13503 # We don't want -fno-exception when compiling C++ code, so set the
13504 # no_builtin_flag separately
13505 if test "$GXX" = yes; then
13506 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13508 lt_prog_compiler_no_builtin_flag_CXX
=
13511 if test "$GXX" = yes; then
13512 # Set up default GNU C++ configuration
13516 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13517 if test "${with_gnu_ld+set}" = set; then
13518 withval
="$with_gnu_ld"
13519 test "$withval" = no || with_gnu_ld
=yes
13524 if test "$GCC" = yes; then
13525 # Check if gcc -print-prog-name=ld gives a path.
13526 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13527 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13530 # gcc leaves a trailing carriage return which upsets mingw
13531 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13533 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13536 # Accept absolute paths.
13538 re_direlt
='/[^/][^/]*/\.\./'
13539 # Canonicalize the pathname of ld
13540 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13541 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13542 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13544 test -z "$LD" && LD
="$ac_prog"
13547 # If it fails, then pretend we aren't using GCC.
13551 # If it is relative, then search for the first ld in PATH.
13552 with_gnu_ld
=unknown
13555 elif test "$with_gnu_ld" = yes; then
13556 echo "$as_me:$LINENO: checking for GNU ld" >&5
13557 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13559 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13560 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13562 if test "${lt_cv_path_LD+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 if test -z "$LD"; then
13566 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13567 for ac_dir
in $PATH; do
13569 test -z "$ac_dir" && ac_dir
=.
13570 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13571 lt_cv_path_LD
="$ac_dir/$ac_prog"
13572 # Check to see if the program is GNU ld. I'd rather use --version,
13573 # but apparently some variants of GNU ld only accept -v.
13574 # Break only if it was the GNU/non-GNU ld that we prefer.
13575 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13576 *GNU
* |
*'with BFD'*)
13577 test "$with_gnu_ld" != no
&& break
13580 test "$with_gnu_ld" != yes && break
13587 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13591 LD
="$lt_cv_path_LD"
13592 if test -n "$LD"; then
13593 echo "$as_me:$LINENO: result: $LD" >&5
13594 echo "${ECHO_T}$LD" >&6
13596 echo "$as_me:$LINENO: result: no" >&5
13597 echo "${ECHO_T}no" >&6
13599 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13600 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13601 { (exit 1); exit 1; }; }
13602 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13603 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13604 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13608 case `$LD -v 2>&1 </dev/null` in
13609 *GNU
* |
*'with BFD'*)
13610 lt_cv_prog_gnu_ld
=yes
13613 lt_cv_prog_gnu_ld
=no
13617 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13618 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13619 with_gnu_ld
=$lt_cv_prog_gnu_ld
13627 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13628 # archiving commands below assume that GNU ld is being used.
13629 if test "$with_gnu_ld" = yes; then
13630 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13631 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'
13633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13634 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13636 # If archive_cmds runs LD, not CC, wlarc should be empty
13637 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13638 # investigate it a little bit more. (MM)
13641 # ancient GNU ld didn't support --whole-archive et. al.
13642 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13643 $GREP 'no-whole-archive' > /dev
/null
; then
13644 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13646 whole_archive_flag_spec_CXX
=
13652 # A generic and very simple default shared library creation
13653 # command for GNU C++ for the case where it uses the native
13654 # linker, instead of GNU ld. If possible, this setting should
13655 # overridden to take advantage of the native linker features on
13656 # the platform it is being used on.
13657 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13660 # Commands to make compiler produce verbose output that lists
13661 # what "hidden" libraries, object files and flags are used when
13662 # linking a shared library.
13663 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13671 # PORTME: fill in a description of your system's C++ link characteristics
13672 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13673 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13677 # FIXME: insert proper C++ library support
13681 if test "$host_cpu" = ia64
; then
13682 # On IA64, the linker does run time linking by default, so we don't
13683 # have to do anything special.
13684 aix_use_runtimelinking
=no
13685 exp_sym_flag
='-Bexport'
13688 aix_use_runtimelinking
=no
13690 # Test if we are trying to use run time linking or normal
13691 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13692 # need to do runtime linking.
13693 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13694 for ld_flag
in $LDFLAGS; do
13697 aix_use_runtimelinking
=yes
13705 exp_sym_flag
='-bexport'
13706 no_entry_flag
='-bnoentry'
13709 # When large executables or shared objects are built, AIX ld can
13710 # have problems creating the table of contents. If linking a library
13711 # or program results in "error TOC overflow" add -mminimal-toc to
13712 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13713 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13715 archive_cmds_CXX
=''
13716 hardcode_direct_CXX
=yes
13717 hardcode_direct_absolute_CXX
=yes
13718 hardcode_libdir_separator_CXX
=':'
13719 link_all_deplibs_CXX
=yes
13720 file_list_spec_CXX
='${wl}-f,'
13722 if test "$GXX" = yes; then
13723 case $host_os in aix4.
[012]|aix4.
[012].
*)
13724 # We only want to do this on AIX 4.2 and lower, the check
13725 # below for broken collect2 doesn't work under 4.3+
13726 collect2name
=`${CC} -print-prog-name=collect2`
13727 if test -f "$collect2name" &&
13728 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13730 # We have reworked collect2
13733 # We have old collect2
13734 hardcode_direct_CXX
=unsupported
13735 # It fails to find uninstalled libraries when the uninstalled
13736 # path is not listed in the libpath. Setting hardcode_minus_L
13737 # to unsupported forces relinking
13738 hardcode_minus_L_CXX
=yes
13739 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13740 hardcode_libdir_separator_CXX
=
13743 shared_flag
='-shared'
13744 if test "$aix_use_runtimelinking" = yes; then
13745 shared_flag
="$shared_flag "'${wl}-G'
13749 if test "$host_cpu" = ia64
; then
13750 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13751 # chokes on -Wl,-G. The following line is correct:
13754 if test "$aix_use_runtimelinking" = yes; then
13755 shared_flag
='${wl}-G'
13757 shared_flag
='${wl}-bM:SRE'
13762 # It seems that -bexpall does not export symbols beginning with
13763 # underscore (_), so it is better to generate a list of symbols to
13765 always_export_symbols_CXX
=yes
13766 if test "$aix_use_runtimelinking" = yes; then
13767 # Warning - without using the other runtime loading flags (-brtl),
13768 # -berok will link without error, but may produce a broken library.
13769 allow_undefined_flag_CXX
='-berok'
13770 # Determine the default libpath from the value encoded in an empty
13772 if test x
$gcc_no_link = xyes
; then
13773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13775 { (exit 1); exit 1; }; }
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13792 rm -f conftest.
$ac_objext conftest
$ac_exeext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13794 (eval $ac_link) 2>conftest.er1
13796 grep -v '^ *+' conftest.er1
>conftest.err
13798 cat conftest.err
>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try
='test -z "$ac_cxx_werror_flag"
13802 || test ! -s conftest.err'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; } &&
13808 { ac_try
='test -s conftest$ac_exeext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13815 lt_aix_libpath_sed
='
13816 /Import File Strings/,/^$/ {
13822 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13823 # Check for a 64-bit object if we didn't find anything.
13824 if test -z "$aix_libpath"; then
13825 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13832 rm -f conftest.err conftest.
$ac_objext \
13833 conftest
$ac_exeext conftest.
$ac_ext
13834 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13836 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13838 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"
13840 if test "$host_cpu" = ia64
; then
13841 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13842 allow_undefined_flag_CXX
="-z nodefs"
13843 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"
13845 # Determine the default libpath from the value encoded in an
13846 # empty executable.
13847 if test x
$gcc_no_link = xyes
; then
13848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13850 { (exit 1); exit 1; }; }
13852 cat >conftest.
$ac_ext <<_ACEOF
13855 cat confdefs.h
>>conftest.
$ac_ext
13856 cat >>conftest.
$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13867 rm -f conftest.
$ac_objext conftest
$ac_exeext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13869 (eval $ac_link) 2>conftest.er1
13871 grep -v '^ *+' conftest.er1
>conftest.err
13873 cat conftest.err
>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try
='test -z "$ac_cxx_werror_flag"
13877 || test ! -s conftest.err'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; } &&
13883 { ac_try
='test -s conftest$ac_exeext'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; }; then
13890 lt_aix_libpath_sed
='
13891 /Import File Strings/,/^$/ {
13897 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13898 # Check for a 64-bit object if we didn't find anything.
13899 if test -z "$aix_libpath"; then
13900 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.
$ac_ext >&5
13907 rm -f conftest.err conftest.
$ac_objext \
13908 conftest
$ac_exeext conftest.
$ac_ext
13909 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13911 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13912 # Warning - without using the other run time loading flags,
13913 # -berok will link without error, but may produce a broken library.
13914 no_undefined_flag_CXX
=' ${wl}-bernotok'
13915 allow_undefined_flag_CXX
=' ${wl}-berok'
13916 # Exported symbols can be pulled into shared objects from archives
13917 whole_archive_flag_spec_CXX
='$convenience'
13918 archive_cmds_need_lc_CXX
=yes
13919 # This is similar to how AIX traditionally builds its shared
13921 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'
13927 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13928 allow_undefined_flag_CXX
=unsupported
13929 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13930 # support --undefined. This deserves some investigation. FIXME
13931 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13938 case $cc_basename in
13940 # FIXME: insert proper C++ library support
13946 cygwin
* | mingw
* | pw32
*)
13947 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13948 # as there is no search path for DLLs.
13949 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13950 allow_undefined_flag_CXX
=unsupported
13951 always_export_symbols_CXX
=no
13952 enable_shared_with_static_runtimes_CXX
=yes
13954 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13955 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'
13956 # If the export-symbols file already is a .def file (1st line
13957 # is EXPORTS), use it as is; otherwise, prepend...
13958 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13959 cp $export_symbols $output_objdir/$soname.def;
13961 echo EXPORTS > $output_objdir/$soname.def;
13962 cat $export_symbols >> $output_objdir/$soname.def;
13964 $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'
13969 darwin
* | rhapsody
*)
13971 rhapsody
* | darwin1.
[012])
13972 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
13975 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13977 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13980 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
13985 archive_cmds_need_lc_CXX
=no
13986 hardcode_direct_CXX
=no
13987 hardcode_automatic_CXX
=yes
13988 hardcode_shlibpath_var_CXX
=unsupported
13989 whole_archive_flag_spec_CXX
=''
13990 link_all_deplibs_CXX
=yes
13992 if test "$GXX" = yes ; then
13993 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 lt_cv_apple_cc_single_mod
=no
13997 if test -z "${LT_MULTI_MODULE}"; then
13998 # By default we will add the -single_module flag. You can override
13999 # by either setting the environment variable LT_MULTI_MODULE
14000 # non-empty at configure time, or by adding -multi-module to the
14002 echo "int foo(void){return 1;}" > conftest.c
14003 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14004 -dynamiclib ${wl}-single_module conftest.c
14005 if test -f libconftest.dylib
; then
14006 lt_cv_apple_cc_single_mod
=yes
14007 rm libconftest.dylib
14009 rm conftest.
$ac_ext
14013 output_verbose_link_cmd
=echo
14014 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
14015 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14016 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14018 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'
14019 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14021 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14022 module_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14024 case $cc_basename in
14026 output_verbose_link_cmd
=echo
14027 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
14028 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14029 # Don't fix this by using the ld -exported_symbols_list flag,
14030 # it doesn't exist in older darwin lds
14031 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14032 module_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14042 case $cc_basename in
14044 # FIXME: insert proper C++ library support
14048 # Green Hills C++ Compiler
14049 # FIXME: insert proper C++ library support
14053 # FIXME: insert proper C++ library support
14060 # C++ shared libraries reported to be fairly broken before
14066 archive_cmds_need_lc_CXX
=no
14069 freebsd
* | dragonfly
*)
14070 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14079 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14080 hardcode_libdir_separator_CXX
=:
14081 export_dynamic_flag_spec_CXX
='${wl}-E'
14082 hardcode_direct_CXX
=yes
14083 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14084 # but as the default
14085 # location of the library.
14087 case $cc_basename in
14089 # FIXME: insert proper C++ library support
14093 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'
14094 # Commands to make compiler produce verbose output that lists
14095 # what "hidden" libraries, object files and flags are used when
14096 # linking a shared library.
14098 # There doesn't appear to be a way to prevent this compiler from
14099 # explicitly linking system object files so we need to strip them
14100 # from the output so that they don't get included in the library
14102 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'
14105 if test "$GXX" = yes; then
14106 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'
14108 # FIXME: insert proper C++ library support
14116 if test $with_gnu_ld = no
; then
14117 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14118 hardcode_libdir_separator_CXX
=:
14124 export_dynamic_flag_spec_CXX
='${wl}-E'
14130 hardcode_direct_CXX
=no
14131 hardcode_shlibpath_var_CXX
=no
14134 hardcode_direct_CXX
=yes
14135 hardcode_direct_absolute_CXX
=yes
14136 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14137 # but as the default
14138 # location of the library.
14142 case $cc_basename in
14144 # FIXME: insert proper C++ library support
14150 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14153 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14156 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14159 # Commands to make compiler produce verbose output that lists
14160 # what "hidden" libraries, object files and flags are used when
14161 # linking a shared library.
14163 # There doesn't appear to be a way to prevent this compiler from
14164 # explicitly linking system object files so we need to strip them
14165 # from the output so that they don't get included in the library
14167 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'
14170 if test "$GXX" = yes; then
14171 if test $with_gnu_ld = no
; then
14174 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14177 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14180 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'
14185 # FIXME: insert proper C++ library support
14193 hardcode_direct_CXX
=no
14194 hardcode_shlibpath_var_CXX
=no
14195 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14196 export_dynamic_flag_spec_CXX
='${wl}-E'
14197 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14198 # Instead, shared libraries are loaded at an image base (0x10000000 by
14199 # default) and relocated if they conflict, which is a slow very memory
14200 # consuming and fragmenting process. To avoid this, we pick a random,
14201 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14202 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14203 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'
14204 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'
14207 case $cc_basename in
14210 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'
14212 # Archives containing C++ object files must be created using
14213 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14214 # necessary to make sure instantiated templates are included
14216 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14219 if test "$GXX" = yes; then
14220 if test "$with_gnu_ld" = no
; then
14221 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'
14223 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'
14226 link_all_deplibs_CXX
=yes
14229 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14230 hardcode_libdir_separator_CXX
=:
14231 inherit_rpath_CXX
=yes
14234 linux
* | k
*bsd
*-gnu)
14235 case $cc_basename in
14237 # Kuck and Associates, Inc. (KAI) C++ Compiler
14239 # KCC will only create a shared library if the output file
14240 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14241 # to its proper name (with version) after linking.
14242 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'
14243 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'
14244 # Commands to make compiler produce verbose output that lists
14245 # what "hidden" libraries, object files and flags are used when
14246 # linking a shared library.
14248 # There doesn't appear to be a way to prevent this compiler from
14249 # explicitly linking system object files so we need to strip them
14250 # from the output so that they don't get included in the library
14252 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'
14254 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14255 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14257 # Archives containing C++ object files must be created using
14258 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14259 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14264 # version 8.0 and above of icpc choke on multiply defined symbols
14265 # if we add $predep_objects and $postdep_objects, however 7.1 and
14266 # earlier do not add the objects themselves.
14267 case `$CC -V 2>&1` in
14269 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14270 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'
14272 *) # Version 8.0 or newer
14275 ia64
*) tmp_idyn
=' -i_dynamic';;
14277 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14278 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'
14281 archive_cmds_need_lc_CXX
=no
14282 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14283 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14284 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14287 # Portland Group C++ compiler
14290 prelink_cmds_CXX
='tpldir=Template.dir~
14292 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14293 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14294 old_archive_cmds_CXX
='tpldir=Template.dir~
14296 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14297 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14299 archive_cmds_CXX
='tpldir=Template.dir~
14301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14302 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14303 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14305 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14306 $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'
14308 *) # Version 6 will use weak symbols
14309 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14310 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'
14314 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14315 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14316 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'
14320 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14321 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'
14323 runpath_var
=LD_RUN_PATH
14324 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14325 hardcode_libdir_separator_CXX
=:
14327 # Commands to make compiler produce verbose output that lists
14328 # what "hidden" libraries, object files and flags are used when
14329 # linking a shared library.
14331 # There doesn't appear to be a way to prevent this compiler from
14332 # explicitly linking system object files so we need to strip them
14333 # from the output so that they don't get included in the library
14335 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'
14338 case `$CC -V 2>&1 | sed 5q` in
14341 no_undefined_flag_CXX
=' -zdefs'
14342 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14343 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'
14344 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14345 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'
14346 compiler_needs_object_CXX
=yes
14348 # Not sure whether something based on
14349 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14351 output_verbose_link_cmd
='echo'
14353 # Archives containing C++ object files must be created using
14354 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14355 # necessary to make sure instantiated templates are included
14357 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14365 # FIXME: insert proper C++ library support
14370 # FIXME: insert proper C++ library support
14375 case $cc_basename in
14377 # FIXME: insert proper C++ library support
14381 # FIXME: insert proper C++ library support
14388 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14389 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14391 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14392 hardcode_direct_CXX
=yes
14393 hardcode_shlibpath_var_CXX
=no
14395 # Workaround some broken pre-1.5 toolchains
14396 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14404 # C++ shared libraries are fairly broken
14409 hardcode_direct_CXX
=yes
14410 hardcode_shlibpath_var_CXX
=no
14411 hardcode_direct_absolute_CXX
=yes
14412 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14413 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14414 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14415 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14416 export_dynamic_flag_spec_CXX
='${wl}-E'
14417 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14419 output_verbose_link_cmd
=echo
14422 osf3
* | osf4
* | osf5
*)
14423 case $cc_basename in
14425 # Kuck and Associates, Inc. (KAI) C++ Compiler
14427 # KCC will only create a shared library if the output file
14428 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14429 # to its proper name (with version) after linking.
14430 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'
14432 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14433 hardcode_libdir_separator_CXX
=:
14435 # Archives containing C++ object files must be created using
14436 # the KAI C++ compiler.
14438 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14439 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14443 # Rational C++ 2.4.1
14444 # FIXME: insert proper C++ library support
14450 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14451 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'
14452 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14455 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14456 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'
14457 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14458 echo "-hidden">> $lib.exp~
14459 $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~
14461 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14465 hardcode_libdir_separator_CXX
=:
14467 # Commands to make compiler produce verbose output that lists
14468 # what "hidden" libraries, object files and flags are used when
14469 # linking a shared library.
14471 # There doesn't appear to be a way to prevent this compiler from
14472 # explicitly linking system object files so we need to strip them
14473 # from the output so that they don't get included in the library
14475 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'
14478 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14479 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14482 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'
14485 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'
14489 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14490 hardcode_libdir_separator_CXX
=:
14492 # Commands to make compiler produce verbose output that lists
14493 # what "hidden" libraries, object files and flags are used when
14494 # linking a shared library.
14495 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14498 # FIXME: insert proper C++ library support
14506 # FIXME: insert proper C++ library support
14511 case $cc_basename in
14514 # FIXME: insert proper C++ library support
14519 # FIXME: insert proper C++ library support
14523 # FIXME: insert proper C++ library support
14530 case $cc_basename in
14532 # Sun C++ 4.2, 5.x and Centerline C++
14533 archive_cmds_need_lc_CXX
=yes
14534 no_undefined_flag_CXX
=' -zdefs'
14535 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14536 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14537 $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'
14539 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14540 hardcode_shlibpath_var_CXX
=no
14542 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14544 # The compiler driver will combine and reorder linker options,
14545 # but understands `-z linker_flag'.
14546 # Supported since Solaris 2.6 (maybe 2.5.1?)
14547 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14550 link_all_deplibs_CXX
=yes
14552 output_verbose_link_cmd
='echo'
14554 # Archives containing C++ object files must be created using
14555 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14556 # necessary to make sure instantiated templates are included
14558 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14561 # Green Hills C++ Compiler
14562 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14564 # The C++ compiler must be used to create the archive.
14565 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14568 # GNU C++ compiler with Solaris linker
14569 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14570 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14571 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14572 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14573 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14574 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14576 # Commands to make compiler produce verbose output that lists
14577 # what "hidden" libraries, object files and flags are used when
14578 # linking a shared library.
14579 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14581 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14583 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14584 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14585 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14587 # Commands to make compiler produce verbose output that lists
14588 # what "hidden" libraries, object files and flags are used when
14589 # linking a shared library.
14590 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14593 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14595 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14597 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14605 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14606 no_undefined_flag_CXX
='${wl}-z,text'
14607 archive_cmds_need_lc_CXX
=no
14608 hardcode_shlibpath_var_CXX
=no
14609 runpath_var
='LD_RUN_PATH'
14611 case $cc_basename in
14613 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14614 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14617 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14623 sysv5
* | sco3.2v5
* | sco5v6
*)
14624 # Note: We can NOT use -z defs as we might desire, because we do not
14625 # link with -lc, and that would cause any symbols used from libc to
14626 # always be unresolved, which means just about no library would
14627 # ever link correctly. If we're not using GNU ld we use -z text
14628 # though, which does catch some bad symbols but isn't as heavy-handed
14630 no_undefined_flag_CXX
='${wl}-z,text'
14631 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14632 archive_cmds_need_lc_CXX
=no
14633 hardcode_shlibpath_var_CXX
=no
14634 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14635 hardcode_libdir_separator_CXX
=':'
14636 link_all_deplibs_CXX
=yes
14637 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14638 runpath_var
='LD_RUN_PATH'
14640 case $cc_basename in
14642 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14643 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14646 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14647 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 case $cc_basename in
14655 # NonStop-UX NCC 3.20
14656 # FIXME: insert proper C++ library support
14660 # FIXME: insert proper C++ library support
14667 # FIXME: insert proper C++ library support
14672 # FIXME: insert proper C++ library support
14677 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14678 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14679 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14685 ## There is no encapsulation within the following macros, do not change
14686 ## the running order or otherwise move them around unless you know exactly
14687 ## what you are doing...
14688 # Dependencies to place before and after the object being linked:
14689 predep_objects_CXX
=
14690 postdep_objects_CXX
=
14693 compiler_lib_search_path_CXX
=
14695 cat > conftest.
$ac_ext <<_LT_EOF
14699 Foo (void) { a = 0; }
14705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14706 (eval $ac_compile) 2>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; then
14710 # Parse the compiler output and extract the necessary
14711 # objects, libraries and library flags.
14713 # Sentinel used to keep track of whether or not we are before
14714 # the conftest object file.
14715 pre_test_object_deps_done
=no
14717 # The `*' in the case matches for architectures that use `case' in
14718 # $output_verbose_cmd can trigger glob expansion during the loop
14719 # eval without this substitution.
14720 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14722 for p
in `eval $output_verbose_link_cmd`; do
14726 # Some compilers place space between "-{L,R}" and the path.
14727 # Remove the space.
14728 if test $p = "-L" ||
14729 test $p = "-R"; then
14736 if test "$pre_test_object_deps_done" = no
; then
14739 # Internal compiler library paths should come after those
14740 # provided the user. The postdeps already come after the
14741 # user supplied libs so there is no need to process them.
14742 if test -z "$compiler_lib_search_path_CXX"; then
14743 compiler_lib_search_path_CXX
="${prev}${p}"
14745 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14748 # The "-l" case would never come before the object being
14749 # linked, so don't bother handling this case.
14752 if test -z "$postdeps_CXX"; then
14753 postdeps_CXX
="${prev}${p}"
14755 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14761 # This assumes that the test object file only shows up
14762 # once in the compiler output.
14763 if test "$p" = "conftest.$objext"; then
14764 pre_test_object_deps_done
=yes
14768 if test "$pre_test_object_deps_done" = no
; then
14769 if test -z "$predep_objects_CXX"; then
14770 predep_objects_CXX
="$p"
14772 predep_objects_CXX
="$predep_objects_CXX $p"
14775 if test -z "$postdep_objects_CXX"; then
14776 postdep_objects_CXX
="$p"
14778 postdep_objects_CXX
="$postdep_objects_CXX $p"
14783 *) ;; # Ignore the rest.
14791 echo "libtool.m4: error: problem compiling CXX test program"
14794 $RM -f confest.
$objext
14796 # PORTME: override above test on systems where it is broken
14799 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14800 # hack all around it, let's just trust "g++" to DTRT.
14801 predep_objects_CXX
=
14802 postdep_objects_CXX
=
14807 case `$CC -V 2>&1 | sed 5q` in
14811 # The more standards-conforming stlport4 library is
14812 # incompatible with the Cstd library. Avoid specifying
14813 # it if it's in CXXFLAGS. Ignore libCrun as
14814 # -library=stlport4 depends on it.
14815 case " $CXX $CXXFLAGS " in
14816 *" -library=stlport4 "*)
14817 solaris_use_stlport4
=yes
14821 if test "$solaris_use_stlport4" != yes; then
14822 postdeps_CXX
='-library=Cstd -library=Crun'
14829 case $cc_basename in
14831 # The more standards-conforming stlport4 library is
14832 # incompatible with the Cstd library. Avoid specifying
14833 # it if it's in CXXFLAGS. Ignore libCrun as
14834 # -library=stlport4 depends on it.
14835 case " $CXX $CXXFLAGS " in
14836 *" -library=stlport4 "*)
14837 solaris_use_stlport4
=yes
14841 # Adding this requires a known-good setup of shared libraries for
14842 # Sun compiler versions before 5.6, else PIC objects from an old
14843 # archive will be linked into the output, leading to subtle bugs.
14844 if test "$solaris_use_stlport4" != yes; then
14845 postdeps_CXX
='-library=Cstd -library=Crun'
14853 case " $postdeps_CXX " in
14854 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14882 lt_prog_compiler_wl_CXX
=
14883 lt_prog_compiler_pic_CXX
=
14884 lt_prog_compiler_static_CXX
=
14886 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14887 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14889 # C++ specific cases for pic, static, wl, etc.
14890 if test "$GXX" = yes; then
14891 lt_prog_compiler_wl_CXX
='-Wl,'
14892 lt_prog_compiler_static_CXX
='-static'
14896 # All AIX code is PIC.
14897 if test "$host_cpu" = ia64
; then
14898 # AIX 5 now supports IA64 processor
14899 lt_prog_compiler_static_CXX
='-Bstatic'
14903 if test "$host_cpu" = m68k
; then
14904 # FIXME: we need at least 68020 code to build shared libraries, but
14905 # adding the `-m68020' flag to GCC prevents building anything better,
14907 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14910 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14911 # PIC is the default for these OSes.
14913 mingw
* | cygwin
* | os2
* | pw32
*)
14914 # This hack is so that the source file can tell whether it is being
14915 # built for inclusion in a dll (and should export symbols for example).
14916 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14917 # (--disable-auto-import) libraries
14918 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14920 darwin
* | rhapsody
*)
14921 # PIC is the default on this platform
14922 # Common symbols not allowed in MH_DYLIB files
14923 lt_prog_compiler_pic_CXX
='-fno-common'
14926 # DJGPP does not support shared libraries at all
14927 lt_prog_compiler_pic_CXX
=
14930 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14931 # Instead, we relocate shared libraries at runtime.
14934 if test -d /usr
/nec
; then
14935 lt_prog_compiler_pic_CXX
=-Kconform_pic
14939 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14940 # not for PA HP-UX.
14945 lt_prog_compiler_pic_CXX
='-fPIC'
14950 # QNX uses GNU C++, but need to define -shared option too, otherwise
14951 # it will coredump.
14952 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14955 lt_prog_compiler_pic_CXX
='-fPIC'
14961 # All AIX code is PIC.
14962 if test "$host_cpu" = ia64
; then
14963 # AIX 5 now supports IA64 processor
14964 lt_prog_compiler_static_CXX
='-Bstatic'
14966 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14970 case $cc_basename in
14972 # Green Hills C++ Compiler
14973 # _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"
14978 # PIC is the default on this platform
14979 # Common symbols not allowed in MH_DYLIB files
14980 case $cc_basename in
14982 lt_prog_compiler_pic_CXX
='-qnocommon'
14983 lt_prog_compiler_wl_CXX
='-Wl,'
14988 case $cc_basename in
14990 lt_prog_compiler_pic_CXX
='-KPIC'
14993 # Green Hills C++ Compiler
14994 lt_prog_compiler_pic_CXX
='-pic'
15000 freebsd
* | dragonfly
*)
15001 # FreeBSD uses GNU C++
15003 hpux9
* | hpux10
* | hpux11
*)
15004 case $cc_basename in
15006 lt_prog_compiler_wl_CXX
='-Wl,'
15007 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15008 if test "$host_cpu" != ia64
; then
15009 lt_prog_compiler_pic_CXX
='+Z'
15013 lt_prog_compiler_wl_CXX
='-Wl,'
15014 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15020 lt_prog_compiler_pic_CXX
='+Z'
15029 # This is c89, which is MS Visual C++ (no shared libs)
15030 # Anyone wants to do a port?
15032 irix5
* | irix6
* | nonstopux
*)
15033 case $cc_basename in
15035 lt_prog_compiler_wl_CXX
='-Wl,'
15036 lt_prog_compiler_static_CXX
='-non_shared'
15037 # CC pic flag -KPIC is the default.
15043 linux
* | k
*bsd
*-gnu)
15044 case $cc_basename in
15047 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15048 lt_prog_compiler_pic_CXX
='-fPIC'
15052 lt_prog_compiler_wl_CXX
='-Wl,'
15053 lt_prog_compiler_pic_CXX
='-KPIC'
15054 lt_prog_compiler_static_CXX
='-static'
15057 # Portland Group C++ compiler
15058 lt_prog_compiler_wl_CXX
='-Wl,'
15059 lt_prog_compiler_pic_CXX
='-fpic'
15060 lt_prog_compiler_static_CXX
='-Bstatic'
15064 # Make sure the PIC flag is empty. It appears that all Alpha
15065 # Linux and Compaq Tru64 Unix objects are PIC.
15066 lt_prog_compiler_pic_CXX
=
15067 lt_prog_compiler_static_CXX
='-non_shared'
15070 case `$CC -V 2>&1 | sed 5q` in
15073 lt_prog_compiler_pic_CXX
='-KPIC'
15074 lt_prog_compiler_static_CXX
='-Bstatic'
15075 lt_prog_compiler_wl_CXX
='-Qoption ld '
15086 case $cc_basename in
15088 lt_prog_compiler_pic_CXX
='-W c,exportall'
15097 # QNX uses GNU C++, but need to define -shared option too, otherwise
15098 # it will coredump.
15099 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15101 osf3
* | osf4
* | osf5
*)
15102 case $cc_basename in
15104 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15107 # Rational C++ 2.4.1
15108 lt_prog_compiler_pic_CXX
='-pic'
15111 # Digital/Compaq C++
15112 lt_prog_compiler_wl_CXX
='-Wl,'
15113 # Make sure the PIC flag is empty. It appears that all Alpha
15114 # Linux and Compaq Tru64 Unix objects are PIC.
15115 lt_prog_compiler_pic_CXX
=
15116 lt_prog_compiler_static_CXX
='-non_shared'
15125 case $cc_basename in
15127 # Sun C++ 4.2, 5.x and Centerline C++
15128 lt_prog_compiler_pic_CXX
='-KPIC'
15129 lt_prog_compiler_static_CXX
='-Bstatic'
15130 lt_prog_compiler_wl_CXX
='-Qoption ld '
15133 # Green Hills C++ Compiler
15134 lt_prog_compiler_pic_CXX
='-PIC'
15141 case $cc_basename in
15144 lt_prog_compiler_pic_CXX
='-pic'
15145 lt_prog_compiler_static_CXX
='-Bstatic'
15149 lt_prog_compiler_pic_CXX
='-pic'
15155 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15156 case $cc_basename in
15158 lt_prog_compiler_wl_CXX
='-Wl,'
15159 lt_prog_compiler_pic_CXX
='-KPIC'
15160 lt_prog_compiler_static_CXX
='-Bstatic'
15165 case $cc_basename in
15167 # NonStop-UX NCC 3.20
15168 lt_prog_compiler_pic_CXX
='-KPIC'
15177 lt_prog_compiler_can_build_shared_CXX
=no
15183 # For platforms which do not support PIC, -DPIC is meaningless:
15185 lt_prog_compiler_pic_CXX
=
15188 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15191 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15192 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15197 # Check to make sure the PIC flag actually works.
15199 if test -n "$lt_prog_compiler_pic_CXX"; then
15200 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15201 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15202 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15203 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 lt_prog_compiler_pic_works_CXX
=no
15206 ac_outfile
=conftest.
$ac_objext
15207 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15208 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15209 # Insert the option either (1) after the last *FLAGS variable, or
15210 # (2) before a word containing "conftest.", or (3) at the end.
15211 # Note that $ac_compile itself does not contain backslashes and begins
15212 # with a dollar sign (not a hyphen), so the echo should work correctly.
15213 # The option is referenced via a variable to avoid confusing sed.
15214 lt_compile
=`echo "$ac_compile" | $SED \
15215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15217 -e 's:$: $lt_compiler_flag:'`
15218 (eval echo "\"\$as_me:15218: $lt_compile\"" >&5)
15219 (eval "$lt_compile" 2>conftest.err
)
15221 cat conftest.err
>&5
15222 echo "$as_me:15222: \$? = $ac_status" >&5
15223 if (exit $ac_status) && test -s "$ac_outfile"; then
15224 # The compiler can only warn and ignore the option if not recognized
15225 # So say no if there are warnings other than the usual output.
15226 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15227 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15228 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15229 lt_prog_compiler_pic_works_CXX
=yes
15235 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15236 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15238 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
15239 case $lt_prog_compiler_pic_CXX in
15241 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15244 lt_prog_compiler_pic_CXX
=
15245 lt_prog_compiler_can_build_shared_CXX
=no
15253 # Check to make sure the static flag actually works.
15255 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15256 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15257 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15258 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 lt_prog_compiler_static_works_CXX
=no
15262 save_LDFLAGS
="$LDFLAGS"
15263 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15264 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15265 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15266 # The linker can only warn and ignore the option if not recognized
15267 # So say no if there are warnings
15268 if test -s conftest.err
; then
15269 # Append any errors to the config.log.
15270 cat conftest.err
1>&5
15271 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15272 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15273 if diff conftest.exp conftest.er2
>/dev
/null
; then
15274 lt_prog_compiler_static_works_CXX
=yes
15277 lt_prog_compiler_static_works_CXX
=yes
15281 LDFLAGS
="$save_LDFLAGS"
15284 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15285 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15287 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
15290 lt_prog_compiler_static_CXX
=
15296 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15297 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15298 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 lt_cv_prog_compiler_c_o_CXX
=no
15302 $RM -r conftest
2>/dev
/null
15306 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15308 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15309 # Insert the option either (1) after the last *FLAGS variable, or
15310 # (2) before a word containing "conftest.", or (3) at the end.
15311 # Note that $ac_compile itself does not contain backslashes and begins
15312 # with a dollar sign (not a hyphen), so the echo should work correctly.
15313 lt_compile
=`echo "$ac_compile" | $SED \
15314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15316 -e 's:$: $lt_compiler_flag:'`
15317 (eval echo "\"\$as_me:15317: $lt_compile\"" >&5)
15318 (eval "$lt_compile" 2>out
/conftest.err
)
15320 cat out
/conftest.err
>&5
15321 echo "$as_me:15321: \$? = $ac_status" >&5
15322 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15324 # The compiler can only warn and ignore the option if not recognized
15325 # So say no if there are warnings
15326 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15327 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15328 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15329 lt_cv_prog_compiler_c_o_CXX
=yes
15334 # SGI C++ compiler will create directory out/ii_files/ for
15335 # template instantiation
15336 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15337 $RM out
/* && rmdir out
15343 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15344 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15348 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15349 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15350 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 lt_cv_prog_compiler_c_o_CXX
=no
15354 $RM -r conftest
2>/dev
/null
15358 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15360 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15361 # Insert the option either (1) after the last *FLAGS variable, or
15362 # (2) before a word containing "conftest.", or (3) at the end.
15363 # Note that $ac_compile itself does not contain backslashes and begins
15364 # with a dollar sign (not a hyphen), so the echo should work correctly.
15365 lt_compile
=`echo "$ac_compile" | $SED \
15366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15368 -e 's:$: $lt_compiler_flag:'`
15369 (eval echo "\"\$as_me:15369: $lt_compile\"" >&5)
15370 (eval "$lt_compile" 2>out
/conftest.err
)
15372 cat out
/conftest.err
>&5
15373 echo "$as_me:15373: \$? = $ac_status" >&5
15374 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15376 # The compiler can only warn and ignore the option if not recognized
15377 # So say no if there are warnings
15378 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15379 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15380 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15381 lt_cv_prog_compiler_c_o_CXX
=yes
15386 # SGI C++ compiler will create directory out/ii_files/ for
15387 # template instantiation
15388 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15389 $RM out
/* && rmdir out
15395 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15396 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15401 hard_links
="nottested"
15402 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15403 # do not overwrite the value of need_locks provided by the user
15404 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15405 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15408 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15410 ln conftest.a conftest.b
2>&5 || hard_links
=no
15411 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15412 echo "$as_me:$LINENO: result: $hard_links" >&5
15413 echo "${ECHO_T}$hard_links" >&6
15414 if test "$hard_links" = no
; then
15415 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15416 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15425 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15426 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15428 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15431 # If we're using GNU nm, then we don't want the "-C" option.
15432 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15433 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15434 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'
15436 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'
15440 export_symbols_cmds_CXX
="$ltdll_cmds"
15443 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'
15446 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15450 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15451 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15452 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15454 with_gnu_ld_CXX
=$with_gnu_ld
15462 # Do we need to explicitly link libc?
15464 case "x$archive_cmds_need_lc_CXX" in
15466 # Assume -lc should be added
15467 archive_cmds_need_lc_CXX
=yes
15469 if test "$enable_shared" = yes && test "$GCC" = yes; then
15470 case $archive_cmds_CXX in
15472 # FIXME: we may have to deal with multi-command sequences.
15475 # Test whether the compiler implicitly links with -lc since on some
15476 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15477 # to ld, don't add -lc before -lgcc.
15478 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15479 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15481 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15484 (eval $ac_compile) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } 2>conftest.err
; then
15490 libobjs
=conftest.
$ac_objext
15492 wl
=$lt_prog_compiler_wl_CXX
15493 pic_flag
=$lt_prog_compiler_pic_CXX
15499 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15500 allow_undefined_flag_CXX
=
15501 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15502 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }
15507 archive_cmds_need_lc_CXX
=no
15509 archive_cmds_need_lc_CXX
=yes
15511 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15513 cat conftest.err
1>&5
15516 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15517 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15587 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15588 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15590 library_names_spec
=
15591 libname_spec
='lib$name'
15595 postuninstall_cmds
=
15599 shlibpath_overrides_runpath
=unknown
15601 dynamic_linker
="$host_os ld.so"
15602 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15603 need_lib_prefix
=unknown
15604 hardcode_into_libs
=no
15606 # when you set need_version to no, make sure it does not cause -set_version
15607 # flags to be left without arguments
15608 need_version
=unknown
15613 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15614 shlibpath_var
=LIBPATH
15616 # AIX 3 has no versioning support, so we append a major version to the name.
15617 soname_spec
='${libname}${release}${shared_ext}$major'
15624 hardcode_into_libs
=yes
15625 if test "$host_cpu" = ia64
; then
15626 # AIX 5 supports IA64
15627 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15628 shlibpath_var
=LD_LIBRARY_PATH
15630 # With GCC up to 2.95.x, collect2 would create an import file
15631 # for dependence libraries. The import file would start with
15632 # the line `#! .'. This would cause the generated library to
15633 # depend on `.', always an invalid library. This was fixed in
15634 # development snapshots of GCC prior to 3.0.
15636 aix4 | aix4.
[01] | aix4.
[01].
*)
15637 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15639 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15642 can_build_shared
=no
15646 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15647 # soname into executable. Probably we can add versioning support to
15648 # collect2, so additional links can be useful in future.
15649 if test "$aix_use_runtimelinking" = yes; then
15650 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15651 # instead of lib<name>.a to let people know that these are not
15652 # typical AIX shared libraries.
15653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15655 # We preserve .a as extension for shared libraries through AIX4.2
15656 # and later when we are not doing run time linking.
15657 library_names_spec
='${libname}${release}.a $libname.a'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15660 shlibpath_var
=LIBPATH
15665 if test "$host_cpu" = m68k
; then
15666 library_names_spec
='$libname.ixlibrary $libname.a'
15667 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15668 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'
15675 library_names_spec
='${libname}${shared_ext}'
15676 dynamic_linker
="$host_os ld.so"
15677 shlibpath_var
=LIBRARY_PATH
15683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15684 soname_spec
='${libname}${release}${shared_ext}$major'
15685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15686 shlibpath_var
=LD_LIBRARY_PATH
15687 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15688 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15689 # the default ld.so.conf also contains /usr/contrib/lib and
15690 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15691 # libtool to hard-code these into programs
15694 cygwin
* | mingw
* | pw32
*)
15695 version_type
=windows
15700 case $withGCC,$host_os in
15701 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15702 library_names_spec
='$libname.dll.a'
15703 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15704 postinstall_cmds
='base_file=`basename \${file}`~
15705 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15706 dldir=$destdir/`dirname \$dlpath`~
15707 test -d \$dldir || mkdir -p \$dldir~
15708 $install_prog $dir/$dlname \$dldir/$dlname~
15709 chmod a+x \$dldir/$dlname~
15710 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15711 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15713 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15714 dlpath=$dir/\$dldll~
15716 shlibpath_overrides_runpath
=yes
15720 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15721 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15722 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15725 # MinGW DLLs use traditional 'lib' prefix
15726 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15727 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15728 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15729 # It is most probably a Windows format PATH printed by
15730 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15731 # path with ; separators, and with drive letters. We can handle the
15732 # drive letters (cygwin fileutils understands them), so leave them,
15733 # especially as we might pass files found there to a mingw objdump,
15734 # which wouldn't understand a cygwinified path. Ahh.
15735 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15737 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15741 # pw32 DLLs use 'pw' prefix rather than 'lib'
15742 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15748 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15751 dynamic_linker
='Win32 ld.exe'
15752 # FIXME: first we should search . and the directory the executable is in
15756 darwin
* | rhapsody
*)
15757 dynamic_linker
="$host_os dyld"
15758 version_type
=darwin
15761 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15762 soname_spec
='${libname}${release}${major}$shared_ext'
15763 shlibpath_overrides_runpath
=yes
15764 shlibpath_var
=DYLD_LIBRARY_PATH
15765 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15767 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15775 soname_spec
='${libname}${release}${shared_ext}$major'
15776 shlibpath_var
=LD_LIBRARY_PATH
15783 freebsd
* | dragonfly
*)
15784 # DragonFly does not have aout. When/if they implement a new
15785 # versioning mechanism, adjust this.
15786 if test -x /usr
/bin
/objformat
; then
15787 objformat
=`/usr/bin/objformat`
15790 freebsd
[123]*) objformat
=aout
;;
15791 *) objformat
=elf
;;
15794 version_type
=freebsd-
$objformat
15795 case $version_type in
15797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15802 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15806 shlibpath_var
=LD_LIBRARY_PATH
15809 shlibpath_overrides_runpath
=yes
15811 freebsd3.
[01]* | freebsdelf3.
[01]*)
15812 shlibpath_overrides_runpath
=yes
15813 hardcode_into_libs
=yes
15815 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15816 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15817 shlibpath_overrides_runpath
=no
15818 hardcode_into_libs
=yes
15820 *) # from 4.6 on, and DragonFly
15821 shlibpath_overrides_runpath
=yes
15822 hardcode_into_libs
=yes
15831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15832 soname_spec
='${libname}${release}${shared_ext}$major'
15833 shlibpath_var
=LD_LIBRARY_PATH
15834 hardcode_into_libs
=yes
15837 hpux9
* | hpux10
* | hpux11
*)
15838 # Give a soname corresponding to the major version so that dld.sl refuses to
15839 # link against other versions.
15846 hardcode_into_libs
=yes
15847 dynamic_linker
="$host_os dld.so"
15848 shlibpath_var
=LD_LIBRARY_PATH
15849 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15851 soname_spec
='${libname}${release}${shared_ext}$major'
15852 if test "X$HPUX_IA64_MODE" = X32
; then
15853 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15855 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15857 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15861 hardcode_into_libs
=yes
15862 dynamic_linker
="$host_os dld.sl"
15863 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15864 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15866 soname_spec
='${libname}${release}${shared_ext}$major'
15867 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15868 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15872 dynamic_linker
="$host_os dld.sl"
15873 shlibpath_var
=SHLIB_PATH
15874 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15876 soname_spec
='${libname}${release}${shared_ext}$major'
15879 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15880 postinstall_cmds
='chmod 555 $lib'
15887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15888 soname_spec
='${libname}${release}${shared_ext}$major'
15889 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15890 shlibpath_var
=LD_LIBRARY_PATH
15891 shlibpath_overrides_runpath
=no
15892 hardcode_into_libs
=yes
15895 irix5
* | irix6
* | nonstopux
*)
15897 nonstopux
*) version_type
=nonstopux
;;
15899 if test "$lt_cv_prog_gnu_ld" = yes; then
15907 soname_spec
='${libname}${release}${shared_ext}$major'
15908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15910 irix5
* | nonstopux
*)
15911 libsuff
= shlibsuff
=
15914 case $LD in # libtool.m4 will add one of these switches to LD
15915 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15916 libsuff
= shlibsuff
= libmagic
=32-bit;;
15917 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15918 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15919 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15920 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15921 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15925 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15926 shlibpath_overrides_runpath
=no
15927 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15928 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15929 hardcode_into_libs
=yes
15932 # No shared lib support for Linux oldld, aout, or coff.
15933 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15937 # This must be Linux ELF.
15938 linux
* | k
*bsd
*-gnu)
15942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15943 soname_spec
='${libname}${release}${shared_ext}$major'
15944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15945 shlibpath_var
=LD_LIBRARY_PATH
15946 shlibpath_overrides_runpath
=no
15947 # Some binutils ld are patched to set DT_RUNPATH
15948 save_LDFLAGS
=$LDFLAGS
15949 save_libdir
=$libdir
15950 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15951 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15952 if test x
$gcc_no_link = xyes
; then
15953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15955 { (exit 1); exit 1; }; }
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15972 rm -f conftest.
$ac_objext conftest
$ac_exeext
15973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15974 (eval $ac_link) 2>conftest.er1
15976 grep -v '^ *+' conftest.er1
>conftest.err
15978 cat conftest.err
>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } &&
15981 { ac_try
='test -z "$ac_cxx_werror_flag"
15982 || test ! -s conftest.err'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; } &&
15988 { ac_try
='test -s conftest$ac_exeext'
15989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15990 (eval $ac_try) 2>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); }; }; then
15994 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15995 shlibpath_overrides_runpath
=yes
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.
$ac_ext >&5
16003 rm -f conftest.err conftest.
$ac_objext \
16004 conftest
$ac_exeext conftest.
$ac_ext
16005 LDFLAGS
=$save_LDFLAGS
16006 libdir
=$save_libdir
16008 # This implies no fast_install, which is unacceptable.
16009 # Some rework will be needed to allow for fast_install
16010 # before this can be enabled.
16011 hardcode_into_libs
=yes
16013 # Append ld.so.conf contents to the search path
16014 if test -f /etc
/ld.so.conf
; then
16015 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16016 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16019 # We used to test for /lib/ld.so.1 and disable shared libraries on
16020 # powerpc, because MkLinux only supported shared libraries with the
16021 # GNU dynamic linker. Since this was broken with cross compilers,
16022 # most powerpc-linux boxes support dynamic linking these days and
16023 # people can always --disable-shared, the test was removed, and we
16024 # assume the GNU/Linux dynamic linker is in use.
16025 dynamic_linker
='GNU/Linux ld.so'
16032 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16035 dynamic_linker
='NetBSD (a.out) ld.so'
16037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16038 soname_spec
='${libname}${release}${shared_ext}$major'
16039 dynamic_linker
='NetBSD ld.elf_so'
16041 shlibpath_var
=LD_LIBRARY_PATH
16042 shlibpath_overrides_runpath
=yes
16043 hardcode_into_libs
=yes
16048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16049 shlibpath_var
=LD_LIBRARY_PATH
16050 shlibpath_overrides_runpath
=yes
16057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16058 soname_spec
='${libname}${release}${shared_ext}$major'
16059 shlibpath_var
=LD_LIBRARY_PATH
16060 shlibpath_overrides_runpath
=no
16061 hardcode_into_libs
=yes
16062 dynamic_linker
='ldqnx.so'
16067 sys_lib_dlsearch_path_spec
="/usr/lib"
16069 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16071 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16072 *) need_version
=no
;;
16074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16076 shlibpath_var
=LD_LIBRARY_PATH
16077 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16079 openbsd2.
[89] | openbsd2.
[89].
*)
16080 shlibpath_overrides_runpath
=no
16083 shlibpath_overrides_runpath
=yes
16087 shlibpath_overrides_runpath
=yes
16092 libname_spec
='$name'
16095 library_names_spec
='$libname${shared_ext} $libname.a'
16096 dynamic_linker
='OS/2 ld.exe'
16097 shlibpath_var
=LIBPATH
16100 osf3
* | osf4
* | osf5
*)
16104 soname_spec
='${libname}${release}${shared_ext}$major'
16105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16106 shlibpath_var
=LD_LIBRARY_PATH
16107 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16108 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16120 soname_spec
='${libname}${release}${shared_ext}$major'
16121 shlibpath_var
=LD_LIBRARY_PATH
16122 shlibpath_overrides_runpath
=yes
16123 hardcode_into_libs
=yes
16124 # ldd complains unless libraries are executable
16125 postinstall_cmds
='chmod +x $lib'
16130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16131 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16132 shlibpath_var
=LD_LIBRARY_PATH
16133 shlibpath_overrides_runpath
=yes
16134 if test "$with_gnu_ld" = yes; then
16142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16143 soname_spec
='${libname}${release}${shared_ext}$major'
16144 shlibpath_var
=LD_LIBRARY_PATH
16145 case $host_vendor in
16147 shlibpath_overrides_runpath
=no
16149 runpath_var
=LD_RUN_PATH
16157 shlibpath_overrides_runpath
=no
16158 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16164 if test -d /usr
/nec
;then
16166 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16167 soname_spec
='$libname${shared_ext}.$major'
16168 shlibpath_var
=LD_LIBRARY_PATH
16172 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16173 version_type
=freebsd-elf
16176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16177 soname_spec
='${libname}${release}${shared_ext}$major'
16178 shlibpath_var
=LD_LIBRARY_PATH
16179 shlibpath_overrides_runpath
=yes
16180 hardcode_into_libs
=yes
16181 if test "$with_gnu_ld" = yes; then
16182 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16184 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16187 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16191 sys_lib_dlsearch_path_spec
='/usr/lib'
16195 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16199 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16200 shlibpath_var
=LD_LIBRARY_PATH
16201 shlibpath_overrides_runpath
=no
16202 hardcode_into_libs
=yes
16207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16208 soname_spec
='${libname}${release}${shared_ext}$major'
16209 shlibpath_var
=LD_LIBRARY_PATH
16216 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16217 echo "${ECHO_T}$dynamic_linker" >&6
16218 test "$dynamic_linker" = no
&& can_build_shared
=no
16220 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16221 if test "$GCC" = yes; then
16222 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16260 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16261 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16262 hardcode_action_CXX
=
16263 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16264 test -n "$runpath_var_CXX" ||
16265 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16267 # We can hardcode non-existent directories.
16268 if test "$hardcode_direct_CXX" != no
&&
16269 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16270 # have to relink, otherwise we might link with an installed library
16271 # when we should be linking with a yet-to-be-installed one
16272 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16273 test "$hardcode_minus_L_CXX" != no
; then
16274 # Linking always hardcodes the temporary library directory.
16275 hardcode_action_CXX
=relink
16277 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16278 hardcode_action_CXX
=immediate
16281 # We cannot hardcode anything, or else we can only hardcode existing
16283 hardcode_action_CXX
=unsupported
16285 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16286 echo "${ECHO_T}$hardcode_action_CXX" >&6
16288 if test "$hardcode_action_CXX" = relink ||
16289 test "$inherit_rpath_CXX" = yes; then
16290 # Fast installation is not supported
16291 enable_fast_install
=no
16292 elif test "$shlibpath_overrides_runpath" = yes ||
16293 test "$enable_shared" = no
; then
16294 # Fast installation is not necessary
16295 enable_fast_install
=needless
16304 fi # test -n "$compiler"
16310 with_gnu_ld
=$lt_save_with_gnu_ld
16311 lt_cv_path_LDCXX
=$lt_cv_path_LD
16312 lt_cv_path_LD
=$lt_save_path_LD
16313 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16314 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16315 fi # test "$_lt_caught_CXX_error" != yes
16318 ac_cpp
='$CPP $CPPFLAGS'
16319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16325 # Handle -Werror default case.
16326 if test "$ENABLE_WERROR" = default
; then
16329 if test "$GCC" = yes; then
16336 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16337 # Extract the first word of "perl", so it can be a program name with args.
16338 set dummy perl
; ac_word
=$2
16339 echo "$as_me:$LINENO: checking for $ac_word" >&5
16340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16341 if test "${ac_cv_path_PERL+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16350 for as_dir
in $PATH
16353 test -z "$as_dir" && as_dir
=.
16354 for ac_exec_ext
in '' $ac_executable_extensions; do
16355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16356 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16366 PERL
=$ac_cv_path_PERL
16368 if test -n "$PERL"; then
16369 echo "$as_me:$LINENO: result: $PERL" >&5
16370 echo "${ECHO_T}$PERL" >&6
16372 echo "$as_me:$LINENO: result: no" >&5
16373 echo "${ECHO_T}no" >&6
16378 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16380 ac_config_commands
="$ac_config_commands mkcollections.pl"
16384 if test "x${COMPILE_JNI}" = xyes
; then
16388 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16389 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16390 if test "${cv_c_gcc_attribute_supported+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16394 cat >conftest.
$ac_ext <<_ACEOF
16397 cat confdefs.h
>>conftest.
$ac_ext
16398 cat >>conftest.
$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16404 extern int testfunction(int x) __attribute__((,,))
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag"
16419 || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try
='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 cv_c_gcc_attribute_supported
=yes
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 cv_c_gcc_attribute_supported
=no
16438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16442 if test "x$cv_c_gcc_attribute_supported" = xyes
; then
16444 echo "$as_me:$LINENO: result: yes" >&5
16445 echo "${ECHO_T}yes" >&6
16447 cat >>confdefs.h
<<\_ACEOF
16448 #define HAVE_GNUC25_ATTRIB
16454 echo "$as_me:$LINENO: result: no" >&5
16455 echo "${ECHO_T}no" >&6
16468 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16469 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16470 if test "${cv_c_gcc_attribute_unused+set}" = set; then
16471 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 cat >conftest.
$ac_ext <<_ACEOF
16477 cat confdefs.h
>>conftest.
$ac_ext
16478 cat >>conftest.
$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16484 extern int testfunction(int x) __attribute__((unused))
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 cv_c_gcc_attribute_unused
=yes
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 cv_c_gcc_attribute_unused
=no
16518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16522 if test "x$cv_c_gcc_attribute_unused" = xyes
; then
16524 echo "$as_me:$LINENO: result: yes" >&5
16525 echo "${ECHO_T}yes" >&6
16527 cat >>confdefs.h
<<\_ACEOF
16528 #define HAVE_GNUC25_UNUSED
16534 echo "$as_me:$LINENO: result: no" >&5
16535 echo "${ECHO_T}no" >&6
16544 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16545 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16546 if test "${ac_cv_header_stdc+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 cat >conftest.
$ac_ext <<_ACEOF
16552 cat confdefs.h
>>conftest.
$ac_ext
16553 cat >>conftest.
$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 #include <stdlib.h>
16556 #include <stdarg.h>
16557 #include <string.h>
16568 rm -f conftest.
$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try
='test -z "$ac_c_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try
='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_header_stdc
=yes
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ac_cv_header_stdc
=no
16597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16599 if test $ac_cv_header_stdc = yes; then
16600 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16601 cat >conftest.
$ac_ext <<_ACEOF
16604 cat confdefs.h
>>conftest.
$ac_ext
16605 cat >>conftest.
$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 #include <string.h>
16610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16611 $EGREP "memchr" >/dev
/null
2>&1; then
16614 ac_cv_header_stdc
=no
16620 if test $ac_cv_header_stdc = yes; then
16621 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16622 cat >conftest.
$ac_ext <<_ACEOF
16625 cat confdefs.h
>>conftest.
$ac_ext
16626 cat >>conftest.
$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 #include <stdlib.h>
16631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16632 $EGREP "free" >/dev
/null
2>&1; then
16635 ac_cv_header_stdc
=no
16641 if test $ac_cv_header_stdc = yes; then
16642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16643 if test "$cross_compiling" = yes; then
16646 cat >conftest.
$ac_ext <<_ACEOF
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16653 #if ((' ' & 0x0FF) == 0x020)
16654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16657 # define ISLOWER(c) \
16658 (('a' <= (c) && (c) <= 'i') \
16659 || ('j' <= (c) && (c) <= 'r') \
16660 || ('s' <= (c) && (c) <= 'z'))
16661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16669 for (i = 0; i < 256; i++)
16670 if (XOR (islower (i), ISLOWER (i))
16671 || toupper (i) != TOUPPER (i))
16676 rm -f conftest
$ac_exeext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16678 (eval $ac_link) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16689 echo "$as_me: program exited with status $ac_status" >&5
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.
$ac_ext >&5
16693 ( exit $ac_status )
16694 ac_cv_header_stdc
=no
16696 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16700 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16701 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16702 if test $ac_cv_header_stdc = yes; then
16704 cat >>confdefs.h
<<\_ACEOF
16705 #define STDC_HEADERS 1
16711 echo "$as_me:$LINENO: checking size of void *" >&5
16712 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16713 if test "${ac_cv_sizeof_void_p+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16717 cat >conftest.
$ac_ext <<_ACEOF
16720 cat confdefs.h
>>conftest.
$ac_ext
16721 cat >>conftest.
$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 #include "confdefs.h"
16724 #include <sys/types.h>
16730 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16735 rm -f conftest.
$ac_objext
16736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16737 (eval $ac_compile) 2>conftest.er1
16739 grep -v '^ *+' conftest.er1
>conftest.err
16741 cat conftest.err
>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } &&
16744 { ac_try
='test -z "$ac_c_werror_flag"
16745 || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try
='test -s conftest.$ac_objext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16757 ac_cv_sizeof_void_p
=$ac_size
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16764 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16769 if test x
$ac_cv_sizeof_void_p = x
; then
16770 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16771 echo "$as_me: error: cannot determine a size for void *" >&2;}
16772 { (exit 1); exit 1; }; }
16774 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16775 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16777 cat >>confdefs.h
<<_ACEOF
16778 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16783 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16784 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16785 if test "${ac_cv_c_bigendian+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 ac_cv_c_bigendian
=unknown
16789 # See if sys/param.h defines the BYTE_ORDER macro.
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 #include <sys/types.h>
16797 #include <sys/param.h>
16802 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16803 bogus endian macros
16809 rm -f conftest.
$ac_objext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16811 (eval $ac_compile) 2>conftest.er1
16813 grep -v '^ *+' conftest.er1
>conftest.err
16815 cat conftest.err
>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } &&
16818 { ac_try
='test -z "$ac_c_werror_flag"
16819 || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try
='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 # It does; now see whether it defined to BIG_ENDIAN or not.
16832 cat >conftest.
$ac_ext <<_ACEOF
16835 cat confdefs.h
>>conftest.
$ac_ext
16836 cat >>conftest.
$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16838 #include <sys/types.h>
16839 #include <sys/param.h>
16844 #if BYTE_ORDER != BIG_ENDIAN
16851 rm -f conftest.
$ac_objext
16852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16853 (eval $ac_compile) 2>conftest.er1
16855 grep -v '^ *+' conftest.er1
>conftest.err
16857 cat conftest.err
>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } &&
16860 { ac_try
='test -z "$ac_c_werror_flag"
16861 || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try
='test -s conftest.$ac_objext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_cv_c_bigendian
=yes
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16878 ac_cv_c_bigendian
=no
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.
$ac_ext >&5
16886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16887 if test $ac_cv_c_bigendian = unknown
; then
16888 if test "$cross_compiling" = yes; then
16889 echo $ac_n "cross-compiling... " 2>&6
16891 cat >conftest.
$ac_ext <<_ACEOF
16894 cat confdefs.h
>>conftest.
$ac_ext
16895 cat >>conftest.
$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16898 /* Are we little or big endian? From Harbison&Steele. */
16902 char c[sizeof (long)];
16905 exit (u.c[sizeof (long) - 1] == 1);
16908 rm -f conftest
$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_cv_c_bigendian
=no
16921 echo "$as_me: program exited with status $ac_status" >&5
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 ( exit $ac_status )
16926 ac_cv_c_bigendian
=yes
16928 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16932 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16933 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16934 if test $ac_cv_c_bigendian = unknown
; then
16935 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
16936 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
16938 cat >conftest.c
<<EOF
16939 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16940 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16941 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16942 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16943 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16944 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16945 int main() { _ascii (); _ebcdic (); return 0; }
16947 if test -f conftest.c
; then
16948 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16949 if test `grep -l BIGenDianSyS conftest.o` ; then
16950 echo $ac_n ' big endian probe OK, ' 1>&6
16951 ac_cv_c_bigendian
=yes
16953 if test `grep -l LiTTleEnDian conftest.o` ; then
16954 echo $ac_n ' little endian probe OK, ' 1>&6
16955 if test $ac_cv_c_bigendian = yes ; then
16956 ac_cv_c_bigendian
=unknown
;
16958 ac_cv_c_bigendian
=no
16961 echo $ac_n 'guessing bigendian ... ' >&6
16964 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16965 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16967 if test $ac_cv_c_bigendian = yes; then
16969 cat >>confdefs.h
<<\_ACEOF
16970 #define WORDS_BIGENDIAN 1
16974 cat >>confdefs.h
<<\_ACEOF
16975 #define HOST_WORDS_BIG_ENDIAN 1
16983 cat >>confdefs.h
<<_ACEOF
16984 #define BYTEORDER $BYTEORDER
16987 if test $ac_cv_c_bigendian = unknown
; then
16988 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
16989 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
16990 { (exit 1); exit 1; }; }
17013 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17015 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17022 sys
/event.h sys
/epoll.h \
17025 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17027 echo "$as_me:$LINENO: checking for $ac_header" >&5
17028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17035 # Is the header compilable?
17036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17038 cat >conftest.
$ac_ext <<_ACEOF
17041 cat confdefs.h
>>conftest.
$ac_ext
17042 cat >>conftest.
$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 $ac_includes_default
17045 #include <$ac_header>
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_c_werror_flag"
17057 || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try
='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_header_compiler
=yes
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17074 ac_header_compiler
=no
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17078 echo "${ECHO_T}$ac_header_compiler" >&6
17080 # Is the header present?
17081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev
/null
; then
17099 if test -s conftest.err
; then
17100 ac_cpp_err
=$ac_c_preproc_warn_flag
17101 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17108 if test -z "$ac_cpp_err"; then
17109 ac_header_preproc
=yes
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 ac_header_preproc
=no
17116 rm -f conftest.err conftest.
$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17118 echo "${ECHO_T}$ac_header_preproc" >&6
17120 # So? What about this header?
17121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17127 ac_header_preproc
=yes
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17144 ## -------------------------------- ##
17145 ## Report this to classpath@gnu.org ##
17146 ## -------------------------------- ##
17149 sed "s/^/$as_me: WARNING: /" >&2
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 eval "$as_ac_Header=\$ac_header_preproc"
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h
<<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17173 cat >conftest.
$ac_ext <<_ACEOF
17176 cat confdefs.h
>>conftest.
$ac_ext
17177 cat >>conftest.
$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 #include <stdint.h>
17182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17183 $EGREP "uint32_t" >/dev
/null
2>&1; then
17185 cat >>confdefs.h
<<\_ACEOF
17186 #define HAVE_INT32_DEFINED 1
17192 cat >conftest.
$ac_ext <<_ACEOF
17195 cat confdefs.h
>>conftest.
$ac_ext
17196 cat >>conftest.
$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17198 #include <inttypes.h>
17201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17202 $EGREP "uint32_t" >/dev
/null
2>&1; then
17204 cat >>confdefs.h
<<\_ACEOF
17205 #define HAVE_INT32_DEFINED 1
17211 cat >conftest.
$ac_ext <<_ACEOF
17214 cat confdefs.h
>>conftest.
$ac_ext
17215 cat >>conftest.
$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 #include <sys/types.h>
17220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17221 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17223 cat >>confdefs.h
<<\_ACEOF
17224 #define HAVE_BSD_INT32_DEFINED 1
17230 cat >conftest.
$ac_ext <<_ACEOF
17233 cat confdefs.h
>>conftest.
$ac_ext
17234 cat >>conftest.
$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #include <sys/config.h>
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17242 cat >>confdefs.h
<<\_ACEOF
17243 #define HAVE_BSD_INT32_DEFINED 1
17250 echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
17251 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6
17252 if test "${ac_cv_search_inet_pton+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 ac_func_search_save_LIBS
=$LIBS
17256 ac_cv_search_inet_pton
=no
17257 if test x
$gcc_no_link = xyes
; then
17258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17260 { (exit 1); exit 1; }; }
17262 cat >conftest.
$ac_ext <<_ACEOF
17265 cat confdefs.h
>>conftest.
$ac_ext
17266 cat >>conftest.
$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17269 /* Override any gcc2 internal prototype to avoid an error. */
17273 /* We use char because int might match the return type of a gcc2
17274 builtin and then its argument prototype would still apply. */
17284 rm -f conftest.
$ac_objext conftest
$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286 (eval $ac_link) 2>conftest.er1
17288 grep -v '^ *+' conftest.er1
>conftest.err
17290 cat conftest.err
>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try
='test -z "$ac_c_werror_flag"
17294 || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try
='test -s conftest$ac_exeext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 ac_cv_search_inet_pton
="none required"
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.
$ac_ext >&5
17312 rm -f conftest.err conftest.
$ac_objext \
17313 conftest
$ac_exeext conftest.
$ac_ext
17314 if test "$ac_cv_search_inet_pton" = no
; then
17315 for ac_lib
in nsl
; do
17316 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17317 if test x
$gcc_no_link = xyes
; then
17318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17320 { (exit 1); exit 1; }; }
17322 cat >conftest.
$ac_ext <<_ACEOF
17325 cat confdefs.h
>>conftest.
$ac_ext
17326 cat >>conftest.
$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17329 /* Override any gcc2 internal prototype to avoid an error. */
17333 /* We use char because int might match the return type of a gcc2
17334 builtin and then its argument prototype would still apply. */
17344 rm -f conftest.
$ac_objext conftest
$ac_exeext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17346 (eval $ac_link) 2>conftest.er1
17348 grep -v '^ *+' conftest.er1
>conftest.err
17350 cat conftest.err
>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try
='test -z "$ac_c_werror_flag"
17354 || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try
='test -s conftest$ac_exeext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_cv_search_inet_pton
="-l$ac_lib"
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17373 rm -f conftest.err conftest.
$ac_objext \
17374 conftest
$ac_exeext conftest.
$ac_ext
17377 LIBS
=$ac_func_search_save_LIBS
17379 echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
17380 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6
17381 if test "$ac_cv_search_inet_pton" != no
; then
17382 test "$ac_cv_search_inet_pton" = "none required" || LIBS
="$ac_cv_search_inet_pton $LIBS"
17441 for ac_func
in ftruncate fsync
select \
17442 gethostname socket strerror fork pipe execve open close \
17443 lseek fstat
read readv
write writev htonl memset htons connect \
17444 getsockname getpeername
bind listen accept \
17445 recvfrom send sendto setsockopt getsockopt
time mktime \
17446 gethostbyname_r localtime_r \
17449 mmap munmap mincore msync madvise getpagesize sysconf \
17451 inet_aton inet_addr inet_pton \
17452 getifaddrs kqueue kevent epoll_create \
17453 readdir_r getloadavg
17455 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17456 echo "$as_me:$LINENO: checking for $ac_func" >&5
17457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17458 if eval "test \"\${$as_ac_var+set}\" = set"; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 if test x
$gcc_no_link = xyes
; then
17462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17464 { (exit 1); exit 1; }; }
17466 cat >conftest.
$ac_ext <<_ACEOF
17469 cat confdefs.h
>>conftest.
$ac_ext
17470 cat >>conftest.
$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17474 #define $ac_func innocuous_$ac_func
17476 /* System header to define __stub macros and hopefully few prototypes,
17477 which can conflict with char $ac_func (); below.
17478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17479 <limits.h> exists even on freestanding compilers. */
17482 # include <limits.h>
17484 # include <assert.h>
17489 /* Override any gcc2 internal prototype to avoid an error. */
17494 /* We use char because int might match the return type of a gcc2
17495 builtin and then its argument prototype would still apply. */
17497 /* The GNU C library defines this for functions which it implements
17498 to always fail with ENOSYS. Some functions are actually named
17499 something starting with __ and the normal name is an alias. */
17500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17503 char (*f) () = $ac_func;
17512 return f != $ac_func;
17517 rm -f conftest.
$ac_objext conftest
$ac_exeext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17519 (eval $ac_link) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_c_werror_flag"
17527 || test ! -s conftest.err'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; } &&
17533 { ac_try
='test -s conftest$ac_exeext'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; }; then
17539 eval "$as_ac_var=yes"
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.
$ac_ext >&5
17544 eval "$as_ac_var=no"
17546 rm -f conftest.err conftest.
$ac_objext \
17547 conftest
$ac_exeext conftest.
$ac_ext
17549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17551 if test `eval echo '${'$as_ac_var'}'` = yes; then
17552 cat >>confdefs.h
<<_ACEOF
17553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17561 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17562 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17563 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 ac_check_lib_save_LIBS
=$LIBS
17567 LIBS
="-lmagic $LIBS"
17568 if test x
$gcc_no_link = xyes
; then
17569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17571 { (exit 1); exit 1; }; }
17573 cat >conftest.
$ac_ext <<_ACEOF
17576 cat confdefs.h
>>conftest.
$ac_ext
17577 cat >>conftest.
$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17580 /* Override any gcc2 internal prototype to avoid an error. */
17584 /* We use char because int might match the return type of a gcc2
17585 builtin and then its argument prototype would still apply. */
17586 char magic_open ();
17595 rm -f conftest.
$ac_objext conftest
$ac_exeext
17596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17597 (eval $ac_link) 2>conftest.er1
17599 grep -v '^ *+' conftest.er1
>conftest.err
17601 cat conftest.err
>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try
='test -z "$ac_c_werror_flag"
17605 || test ! -s conftest.err'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; } &&
17611 { ac_try
='test -s conftest$ac_exeext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 ac_cv_lib_magic_magic_open
=yes
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17622 ac_cv_lib_magic_magic_open
=no
17624 rm -f conftest.err conftest.
$ac_objext \
17625 conftest
$ac_exeext conftest.
$ac_ext
17626 LIBS
=$ac_check_lib_save_LIBS
17628 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17629 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17630 if test $ac_cv_lib_magic_magic_open = yes; then
17636 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17637 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <netinet/in.h>
17648 struct sockaddr_in6 addr6;
17653 rm -f conftest.
$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17676 cat >>confdefs.h
<<\_ACEOF
17677 #define HAVE_INET6 1
17680 echo "$as_me:$LINENO: result: yes" >&5
17681 echo "${ECHO_T}yes" >&6
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.
$ac_ext >&5
17686 echo "$as_me:$LINENO: result: no" >&5
17687 echo "${ECHO_T}no" >&6
17689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17691 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17692 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17693 if test "${ac_cv_header_time+set}" = set; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 #include <sys/types.h>
17703 #include <sys/time.h>
17709 if ((struct tm *) 0)
17715 rm -f conftest.
$ac_objext
17716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17717 (eval $ac_compile) 2>conftest.er1
17719 grep -v '^ *+' conftest.er1
>conftest.err
17721 cat conftest.err
>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); } &&
17724 { ac_try
='test -z "$ac_c_werror_flag"
17725 || test ! -s conftest.err'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; } &&
17731 { ac_try
='test -s conftest.$ac_objext'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 ac_cv_header_time
=yes
17739 echo "$as_me: failed program was:" >&5
17740 sed 's/^/| /' conftest.
$ac_ext >&5
17742 ac_cv_header_time
=no
17744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17747 echo "${ECHO_T}$ac_cv_header_time" >&6
17748 if test $ac_cv_header_time = yes; then
17750 cat >>confdefs.h
<<\_ACEOF
17751 #define TIME_WITH_SYS_TIME 1
17756 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17757 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17758 if test "${ac_cv_struct_tm+set}" = set; then
17759 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 cat >conftest.
$ac_ext <<_ACEOF
17764 cat confdefs.h
>>conftest.
$ac_ext
17765 cat >>conftest.
$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 #include <sys/types.h>
17773 struct tm *tp; tp->tm_sec;
17778 rm -f conftest.
$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17782 grep -v '^ *+' conftest.er1
>conftest.err
17784 cat conftest.err
>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try
='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try
='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 ac_cv_struct_tm
=time.h
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.
$ac_ext >&5
17805 ac_cv_struct_tm
=sys
/time.h
17807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17809 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17810 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17811 if test $ac_cv_struct_tm = sys
/time.h
; then
17813 cat >>confdefs.h
<<\_ACEOF
17814 #define TM_IN_SYS_TIME 1
17819 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17820 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17821 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 #include <sys/types.h>
17831 #include <$ac_cv_struct_tm>
17837 static struct tm ac_aggr;
17838 if (ac_aggr.tm_zone)
17844 rm -f conftest.
$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17848 grep -v '^ *+' conftest.er1
>conftest.err
17850 cat conftest.err
>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try
='test -z "$ac_c_werror_flag"
17854 || test ! -s conftest.err'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try
='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17866 ac_cv_member_struct_tm_tm_zone
=yes
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 cat >conftest.
$ac_ext <<_ACEOF
17874 cat confdefs.h
>>conftest.
$ac_ext
17875 cat >>conftest.
$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <sys/types.h>
17878 #include <$ac_cv_struct_tm>
17884 static struct tm ac_aggr;
17885 if (sizeof ac_aggr.tm_zone)
17891 rm -f conftest.
$ac_objext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17893 (eval $ac_compile) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try
='test -z "$ac_c_werror_flag"
17901 || test ! -s conftest.err'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; } &&
17907 { ac_try
='test -s conftest.$ac_objext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_cv_member_struct_tm_tm_zone
=yes
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.
$ac_ext >&5
17918 ac_cv_member_struct_tm_tm_zone
=no
17920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17924 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
17925 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
17926 if test $ac_cv_member_struct_tm_tm_zone = yes; then
17928 cat >>confdefs.h
<<_ACEOF
17929 #define HAVE_STRUCT_TM_TM_ZONE 1
17935 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17937 cat >>confdefs.h
<<\_ACEOF
17938 #define HAVE_TM_ZONE 1
17942 echo "$as_me:$LINENO: checking for tzname" >&5
17943 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
17944 if test "${ac_cv_var_tzname+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 if test x
$gcc_no_link = xyes
; then
17948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17950 { (exit 1); exit 1; }; }
17952 cat >conftest.
$ac_ext <<_ACEOF
17955 cat confdefs.h
>>conftest.
$ac_ext
17956 cat >>conftest.
$ac_ext <<_ACEOF
17957 /* end confdefs.h. */
17959 #ifndef tzname /* For SGI. */
17960 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
17971 rm -f conftest.
$ac_objext conftest
$ac_exeext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17973 (eval $ac_link) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_c_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try
='test -s conftest$ac_exeext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 ac_cv_var_tzname
=yes
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.
$ac_ext >&5
17998 ac_cv_var_tzname
=no
18000 rm -f conftest.err conftest.
$ac_objext \
18001 conftest
$ac_exeext conftest.
$ac_ext
18003 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
18004 echo "${ECHO_T}$ac_cv_var_tzname" >&6
18005 if test $ac_cv_var_tzname = yes; then
18007 cat >>confdefs.h
<<\_ACEOF
18008 #define HAVE_TZNAME 1
18015 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
18016 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
18017 cat >conftest.
$ac_ext <<_ACEOF
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18027 struct tm tim; tim.tm_gmtoff = 0;
18032 rm -f conftest.
$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18036 grep -v '^ *+' conftest.er1
>conftest.err
18038 cat conftest.err
>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try
='test -s conftest.$ac_objext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18055 cat >>confdefs.h
<<\_ACEOF
18056 #define STRUCT_TM_HAS_GMTOFF 1
18059 echo "$as_me:$LINENO: result: yes" >&5
18060 echo "${ECHO_T}yes" >&6
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.
$ac_ext >&5
18065 echo "$as_me:$LINENO: result: no" >&5
18066 echo "${ECHO_T}no" >&6
18067 echo "$as_me:$LINENO: checking for global timezone variable" >&5
18068 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
18069 cat >conftest.
$ac_ext <<_ACEOF
18072 cat confdefs.h
>>conftest.
$ac_ext
18073 cat >>conftest.
$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18079 void i(){long z2 = 2*timezone;}
18084 rm -f conftest.
$ac_objext
18085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18086 (eval $ac_compile) 2>conftest.er1
18088 grep -v '^ *+' conftest.er1
>conftest.err
18090 cat conftest.err
>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } &&
18093 { ac_try
='test -z "$ac_c_werror_flag"
18094 || test ! -s conftest.err'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try
='test -s conftest.$ac_objext'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; }; then
18107 cat >>confdefs.h
<<\_ACEOF
18108 #define HAVE_TIMEZONE 1
18111 echo "$as_me:$LINENO: result: yes" >&5
18112 echo "${ECHO_T}yes" >&6
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 echo "$as_me:$LINENO: result: no" >&5
18118 echo "${ECHO_T}no" >&6
18119 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
18120 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
18121 cat >conftest.
$ac_ext <<_ACEOF
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18131 long z2 = _timezone;
18136 rm -f conftest.
$ac_objext
18137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18138 (eval $ac_compile) 2>conftest.er1
18140 grep -v '^ *+' conftest.er1
>conftest.err
18142 cat conftest.err
>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } &&
18145 { ac_try
='test -z "$ac_c_werror_flag"
18146 || test ! -s conftest.err'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; } &&
18152 { ac_try
='test -s conftest.$ac_objext'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; }; then
18159 cat >>confdefs.h
<<\_ACEOF
18160 #define HAVE_UNDERSCORE_TIMEZONE 1
18163 echo "$as_me:$LINENO: result: yes" >&5
18164 echo "${ECHO_T}yes" >&6
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18169 echo "$as_me:$LINENO: result: no" >&5
18170 echo "${ECHO_T}no" >&6
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18178 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18179 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18180 if test "${ac_cv_c_const+set}" = set; then
18181 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 cat >conftest.
$ac_ext <<_ACEOF
18186 cat confdefs.h
>>conftest.
$ac_ext
18187 cat >>conftest.
$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18193 /* FIXME: Include the comments suggested by Paul. */
18194 #ifndef __cplusplus
18195 /* Ultrix mips cc rejects this. */
18196 typedef int charset[2];
18198 /* SunOS 4.1.1 cc rejects this. */
18199 char const *const *ccp;
18201 /* NEC SVR4.0.2 mips cc rejects this. */
18202 struct point {int x, y;};
18203 static struct point const zero = {0,0};
18204 /* AIX XL C 1.02.0.0 rejects this.
18205 It does not let you subtract one const X* pointer from another in
18206 an arm of an if-expression whose if-part is not a constant
18208 const char *g = "string";
18209 ccp = &g + (g ? g-g : 0);
18210 /* HPUX 7.0 cc rejects these. */
18213 ccp = (char const *const *) p;
18214 { /* SCO 3.2v4 cc rejects this. */
18216 char const *s = 0 ? (char *) 0 : (char const *) 0;
18220 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18221 int x[] = {25, 17};
18222 const int *foo = &x[0];
18225 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18226 typedef const int *iptr;
18230 { /* AIX XL C 1.02.0.0 rejects this saying
18231 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18232 struct s { int j; const int *ap[3]; };
18233 struct s *b; b->j = 5;
18235 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18236 const int foo = 10;
18244 rm -f conftest.
$ac_objext
18245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18246 (eval $ac_compile) 2>conftest.er1
18248 grep -v '^ *+' conftest.er1
>conftest.err
18250 cat conftest.err
>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } &&
18253 { ac_try
='test -z "$ac_c_werror_flag"
18254 || test ! -s conftest.err'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try
='test -s conftest.$ac_objext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.
$ac_ext >&5
18273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18275 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18276 echo "${ECHO_T}$ac_cv_c_const" >&6
18277 if test $ac_cv_c_const = no
; then
18279 cat >>confdefs.h
<<\_ACEOF
18285 echo "$as_me:$LINENO: checking for inline" >&5
18286 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18287 if test "${ac_cv_c_inline+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 for ac_kw
in inline __inline__ __inline
; do
18292 cat >conftest.
$ac_ext <<_ACEOF
18295 cat confdefs.h
>>conftest.
$ac_ext
18296 cat >>conftest.
$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #ifndef __cplusplus
18300 static $ac_kw foo_t static_foo () {return 0; }
18301 $ac_kw foo_t foo () {return 0; }
18305 rm -f conftest.
$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18309 grep -v '^ *+' conftest.er1
>conftest.err
18311 cat conftest.err
>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try
='test -z "$ac_c_werror_flag"
18315 || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try
='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_cv_c_inline
=$ac_kw; break
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.
$ac_ext >&5
18333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18337 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18338 echo "${ECHO_T}$ac_cv_c_inline" >&6
18341 case $ac_cv_c_inline in
18344 case $ac_cv_c_inline in
18346 *) ac_val
=$ac_cv_c_inline;;
18348 cat >>confdefs.h
<<_ACEOF
18349 #ifndef __cplusplus
18350 #define inline $ac_val
18356 echo "$as_me:$LINENO: checking for __attribute__" >&5
18357 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18358 if test "${ac_cv_c_attribute+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 cat >conftest.
$ac_ext <<_ACEOF
18365 cat confdefs.h
>>conftest.
$ac_ext
18366 cat >>conftest.
$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 void foo(void) __attribute__ ((__noreturn__));
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_c_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try
='test -s conftest.$ac_objext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 ac_cv_c_attribute
=yes
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.
$ac_ext >&5
18398 ac_cv_c_attribute
=no
18401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18404 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18405 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18408 case $ac_cv_c_attribute in
18411 cat >>confdefs.h
<<_ACEOF
18412 #define __attribute__(x) /* nothing */
18420 ac_cpp
='$CPP $CPPFLAGS'
18421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18425 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
18426 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
18428 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
18429 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 ################################################################
18435 ac_cv_func_which_gethostbyname_r
=unknown
18438 # ONE ARGUMENT (sanity check)
18441 # This should fail, as there is no variant of gethostbyname_r() that takes
18442 # a single argument. If it actually compiles, then we can assume that
18443 # netdb.h is not declaring the function, and the compiler is thereby
18444 # assuming an implicit prototype. In which case, we're out of luck.
18446 cat >conftest.
$ac_ext <<_ACEOF
18449 cat confdefs.h
>>conftest.
$ac_ext
18450 cat >>conftest.
$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18457 char *name = "www.gnu.org";
18458 (void)gethostbyname_r(name) /* ; */
18464 rm -f conftest.
$ac_objext
18465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18466 (eval $ac_compile) 2>conftest.er1
18468 grep -v '^ *+' conftest.er1
>conftest.err
18470 cat conftest.err
>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } &&
18473 { ac_try
='test -z "$ac_c_werror_flag"
18474 || test ! -s conftest.err'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; } &&
18480 { ac_try
='test -s conftest.$ac_objext'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18486 ac_cv_func_which_gethostbyname_r
=no
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18499 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18501 cat >conftest.
$ac_ext <<_ACEOF
18504 cat confdefs.h
>>conftest.
$ac_ext
18505 cat >>conftest.
$ac_ext <<_ACEOF
18506 /* end confdefs.h. */
18512 char *name = "www.gnu.org";
18513 struct hostent ret, *retp;
18517 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
18523 rm -f conftest.
$ac_objext
18524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18525 (eval $ac_compile) 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try
='test -z "$ac_c_werror_flag"
18533 || test ! -s conftest.err'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; } &&
18539 { ac_try
='test -s conftest.$ac_objext'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18545 ac_cv_func_which_gethostbyname_r
=six
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18560 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18562 cat >conftest.
$ac_ext <<_ACEOF
18565 cat confdefs.h
>>conftest.
$ac_ext
18566 cat >>conftest.
$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18573 char *name = "www.gnu.org";
18574 struct hostent ret;
18578 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
18584 rm -f conftest.
$ac_objext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18586 (eval $ac_compile) 2>conftest.er1
18588 grep -v '^ *+' conftest.er1
>conftest.err
18590 cat conftest.err
>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try
='test -z "$ac_c_werror_flag"
18594 || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try
='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 ac_cv_func_which_gethostbyname_r
=five
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18618 # (e.g. AIX, HP-UX, Tru64)
18621 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18634 char *name = "www.gnu.org";
18635 struct hostent ret;
18636 struct hostent_data data;
18637 (void)gethostbyname_r(name, &ret, &data) /* ; */
18643 rm -f conftest.
$ac_objext
18644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18645 (eval $ac_compile) 2>conftest.er1
18647 grep -v '^ *+' conftest.er1
>conftest.err
18649 cat conftest.err
>&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } &&
18652 { ac_try
='test -z "$ac_c_werror_flag"
18653 || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try
='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18665 ac_cv_func_which_gethostbyname_r
=three
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.
$ac_ext >&5
18671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18675 ################################################################
18680 case "$ac_cv_func_which_gethostbyname_r" in
18682 echo "$as_me:$LINENO: result: three" >&5
18683 echo "${ECHO_T}three" >&6
18685 cat >>confdefs.h
<<\_ACEOF
18686 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
18692 echo "$as_me:$LINENO: result: five" >&5
18693 echo "${ECHO_T}five" >&6
18695 cat >>confdefs.h
<<\_ACEOF
18696 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
18702 echo "$as_me:$LINENO: result: six" >&5
18703 echo "${ECHO_T}six" >&6
18705 cat >>confdefs.h
<<\_ACEOF
18706 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
18712 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
18713 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
18717 echo "$as_me:$LINENO: result: can't tell" >&5
18718 echo "${ECHO_T}can't tell" >&6
18722 { { echo "$as_me:$LINENO: error: internal error" >&5
18723 echo "$as_me: error: internal error" >&2;}
18724 { (exit 1); exit 1; }; }
18729 ac_cpp
='$CPP $CPPFLAGS'
18730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18738 if test "X$prefix" = "XNONE"; then
18739 acl_final_prefix
="$ac_default_prefix"
18741 acl_final_prefix
="$prefix"
18743 if test "X$exec_prefix" = "XNONE"; then
18744 acl_final_exec_prefix
='${prefix}'
18746 acl_final_exec_prefix
="$exec_prefix"
18748 acl_save_prefix
="$prefix"
18749 prefix
="$acl_final_prefix"
18750 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
18751 prefix
="$acl_save_prefix"
18754 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18755 if test "${with_gnu_ld+set}" = set; then
18756 withval
="$with_gnu_ld"
18757 test "$withval" = no || with_gnu_ld
=yes
18761 # Prepare PATH_SEPARATOR.
18762 # The user is always right.
18763 if test "${PATH_SEPARATOR+set}" != set; then
18764 echo "#! /bin/sh" >conf$$.sh
18765 echo "exit 0" >>conf$$.sh
18767 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18775 if test "$GCC" = yes; then
18776 # Check if gcc -print-prog-name=ld gives a path.
18777 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18778 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18781 # gcc leaves a trailing carriage return which upsets mingw
18782 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18784 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18787 # Accept absolute paths.
18788 [\\/]* |
[A-Za-z
]:[\\/]*)
18789 re_direlt
='/[^/][^/]*/\.\./'
18790 # Canonicalize the path of ld
18791 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18792 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18793 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18795 test -z "$LD" && LD
="$ac_prog"
18798 # If it fails, then pretend we aren't using GCC.
18802 # If it is relative, then search for the first ld in PATH.
18803 with_gnu_ld
=unknown
18806 elif test "$with_gnu_ld" = yes; then
18807 echo "$as_me:$LINENO: checking for GNU ld" >&5
18808 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18810 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18811 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18813 if test "${acl_cv_path_LD+set}" = set; then
18814 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 if test -z "$LD"; then
18817 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18818 for ac_dir
in $PATH; do
18819 test -z "$ac_dir" && ac_dir
=.
18820 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18821 acl_cv_path_LD
="$ac_dir/$ac_prog"
18822 # Check to see if the program is GNU ld. I'd rather use --version,
18823 # but apparently some GNU ld's only accept -v.
18824 # Break only if it was the GNU/non-GNU ld that we prefer.
18825 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
18826 test "$with_gnu_ld" != no
&& break
18828 test "$with_gnu_ld" != yes && break
18834 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18838 LD
="$acl_cv_path_LD"
18839 if test -n "$LD"; then
18840 echo "$as_me:$LINENO: result: $LD" >&5
18841 echo "${ECHO_T}$LD" >&6
18843 echo "$as_me:$LINENO: result: no" >&5
18844 echo "${ECHO_T}no" >&6
18846 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18847 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18848 { (exit 1); exit 1; }; }
18849 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18850 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18851 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18855 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
18856 acl_cv_prog_gnu_ld
=yes
18858 acl_cv_prog_gnu_ld
=no
18861 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18862 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18863 with_gnu_ld
=$acl_cv_prog_gnu_ld
18867 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18868 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18869 if test "${acl_cv_rpath+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18874 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18876 rm -f .
/conftest.sh
18880 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18881 echo "${ECHO_T}$acl_cv_rpath" >&6
18883 libext
="$acl_cv_libext"
18884 shlibext
="$acl_cv_shlibext"
18885 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18886 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18887 hardcode_direct
="$acl_cv_hardcode_direct"
18888 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18889 # Check whether --enable-rpath or --disable-rpath was given.
18890 if test "${enable_rpath+set}" = set; then
18891 enableval
="$enable_rpath"
18905 acl_save_prefix
="$prefix"
18906 prefix
="$acl_final_prefix"
18907 acl_save_exec_prefix
="$exec_prefix"
18908 exec_prefix
="$acl_final_exec_prefix"
18910 eval additional_includedir
=\"$includedir\"
18911 eval additional_libdir
=\"$libdir\"
18913 exec_prefix
="$acl_save_exec_prefix"
18914 prefix
="$acl_save_prefix"
18917 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
18918 if test "${with_libiconv_prefix+set}" = set; then
18919 withval
="$with_libiconv_prefix"
18921 if test "X$withval" = "Xno"; then
18924 if test "X$withval" = "X"; then
18926 acl_save_prefix
="$prefix"
18927 prefix
="$acl_final_prefix"
18928 acl_save_exec_prefix
="$exec_prefix"
18929 exec_prefix
="$acl_final_exec_prefix"
18931 eval additional_includedir
=\"$includedir\"
18932 eval additional_libdir
=\"$libdir\"
18934 exec_prefix
="$acl_save_exec_prefix"
18935 prefix
="$acl_save_prefix"
18938 additional_includedir
="$withval/include"
18939 additional_libdir
="$withval/lib"
18949 names_already_handled
=
18950 names_next_round
='iconv '
18951 while test -n "$names_next_round"; do
18952 names_this_round
="$names_next_round"
18954 for name
in $names_this_round; do
18956 for n
in $names_already_handled; do
18957 if test "$n" = "$name"; then
18958 already_handled
=yes
18962 if test -z "$already_handled"; then
18963 names_already_handled
="$names_already_handled $name"
18964 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18965 eval value
=\"\
$HAVE_LIB$uppername\"
18966 if test -n "$value"; then
18967 if test "$value" = yes; then
18968 eval value
=\"\
$LIB$uppername\"
18969 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18970 eval value
=\"\
$LTLIB$uppername\"
18971 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18980 if test $use_additional = yes; then
18981 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18982 found_dir
="$additional_libdir"
18983 found_so
="$additional_libdir/lib$name.$shlibext"
18984 if test -f "$additional_libdir/lib$name.la"; then
18985 found_la
="$additional_libdir/lib$name.la"
18988 if test -f "$additional_libdir/lib$name.$libext"; then
18989 found_dir
="$additional_libdir"
18990 found_a
="$additional_libdir/lib$name.$libext"
18991 if test -f "$additional_libdir/lib$name.la"; then
18992 found_la
="$additional_libdir/lib$name.la"
18997 if test "X$found_dir" = "X"; then
18998 for x
in $LDFLAGS $LTLIBICONV; do
19000 acl_save_prefix
="$prefix"
19001 prefix
="$acl_final_prefix"
19002 acl_save_exec_prefix
="$exec_prefix"
19003 exec_prefix
="$acl_final_exec_prefix"
19005 exec_prefix
="$acl_save_exec_prefix"
19006 prefix
="$acl_save_prefix"
19010 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19011 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19013 found_so
="$dir/lib$name.$shlibext"
19014 if test -f "$dir/lib$name.la"; then
19015 found_la
="$dir/lib$name.la"
19018 if test -f "$dir/lib$name.$libext"; then
19020 found_a
="$dir/lib$name.$libext"
19021 if test -f "$dir/lib$name.la"; then
19022 found_la
="$dir/lib$name.la"
19028 if test "X$found_dir" != "X"; then
19033 if test "X$found_dir" != "X"; then
19034 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19035 if test "X$found_so" != "X"; then
19036 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
19037 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19040 for x
in $ltrpathdirs; do
19041 if test "X$x" = "X$found_dir"; then
19046 if test -z "$haveit"; then
19047 ltrpathdirs
="$ltrpathdirs $found_dir"
19049 if test "$hardcode_direct" = yes; then
19050 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19052 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
19053 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19055 for x
in $rpathdirs; do
19056 if test "X$x" = "X$found_dir"; then
19061 if test -z "$haveit"; then
19062 rpathdirs
="$rpathdirs $found_dir"
19066 for x
in $LDFLAGS $LIBICONV; do
19068 acl_save_prefix
="$prefix"
19069 prefix
="$acl_final_prefix"
19070 acl_save_exec_prefix
="$exec_prefix"
19071 exec_prefix
="$acl_final_exec_prefix"
19073 exec_prefix
="$acl_save_exec_prefix"
19074 prefix
="$acl_save_prefix"
19076 if test "X$x" = "X-L$found_dir"; then
19081 if test -z "$haveit"; then
19082 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19084 if test "$hardcode_minus_L" != no
; then
19085 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19087 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
19093 if test "X$found_a" != "X"; then
19094 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
19096 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19099 additional_includedir
=
19100 case "$found_dir" in
19102 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
19103 additional_includedir
="$basedir/include"
19106 if test "X$additional_includedir" != "X"; then
19107 if test "X$additional_includedir" != "X/usr/include"; then
19109 if test "X$additional_includedir" = "X/usr/local/include"; then
19110 if test -n "$GCC"; then
19112 linux
*) haveit
=yes;;
19116 if test -z "$haveit"; then
19117 for x
in $CPPFLAGS $INCICONV; do
19119 acl_save_prefix
="$prefix"
19120 prefix
="$acl_final_prefix"
19121 acl_save_exec_prefix
="$exec_prefix"
19122 exec_prefix
="$acl_final_exec_prefix"
19124 exec_prefix
="$acl_save_exec_prefix"
19125 prefix
="$acl_save_prefix"
19127 if test "X$x" = "X-I$additional_includedir"; then
19132 if test -z "$haveit"; then
19133 if test -d "$additional_includedir"; then
19134 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19140 if test -n "$found_la"; then
19141 save_libdir
="$libdir"
19142 case "$found_la" in
19143 */* |
*\\*) .
"$found_la" ;;
19144 *) .
"./$found_la" ;;
19146 libdir
="$save_libdir"
19147 for dep
in $dependency_libs; do
19150 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
19151 if test "X$additional_libdir" != "X/usr/lib"; then
19153 if test "X$additional_libdir" = "X/usr/local/lib"; then
19154 if test -n "$GCC"; then
19156 linux
*) haveit
=yes;;
19160 if test -z "$haveit"; then
19162 for x
in $LDFLAGS $LIBICONV; do
19164 acl_save_prefix
="$prefix"
19165 prefix
="$acl_final_prefix"
19166 acl_save_exec_prefix
="$exec_prefix"
19167 exec_prefix
="$acl_final_exec_prefix"
19169 exec_prefix
="$acl_save_exec_prefix"
19170 prefix
="$acl_save_prefix"
19172 if test "X$x" = "X-L$additional_libdir"; then
19177 if test -z "$haveit"; then
19178 if test -d "$additional_libdir"; then
19179 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19183 for x
in $LDFLAGS $LTLIBICONV; do
19185 acl_save_prefix
="$prefix"
19186 prefix
="$acl_final_prefix"
19187 acl_save_exec_prefix
="$exec_prefix"
19188 exec_prefix
="$acl_final_exec_prefix"
19190 exec_prefix
="$acl_save_exec_prefix"
19191 prefix
="$acl_save_prefix"
19193 if test "X$x" = "X-L$additional_libdir"; then
19198 if test -z "$haveit"; then
19199 if test -d "$additional_libdir"; then
19200 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19207 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
19208 if test "$enable_rpath" != no
; then
19210 for x
in $rpathdirs; do
19211 if test "X$x" = "X$dir"; then
19216 if test -z "$haveit"; then
19217 rpathdirs
="$rpathdirs $dir"
19220 for x
in $ltrpathdirs; do
19221 if test "X$x" = "X$dir"; then
19226 if test -z "$haveit"; then
19227 ltrpathdirs
="$ltrpathdirs $dir"
19232 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19235 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19238 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
19239 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19245 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
19246 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19252 if test "X$rpathdirs" != "X"; then
19253 if test -n "$hardcode_libdir_separator"; then
19255 for found_dir
in $rpathdirs; do
19256 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19258 acl_save_libdir
="$libdir"
19260 eval flag
=\"$hardcode_libdir_flag_spec\"
19261 libdir
="$acl_save_libdir"
19262 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19264 for found_dir
in $rpathdirs; do
19265 acl_save_libdir
="$libdir"
19266 libdir
="$found_dir"
19267 eval flag
=\"$hardcode_libdir_flag_spec\"
19268 libdir
="$acl_save_libdir"
19269 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19273 if test "X$ltrpathdirs" != "X"; then
19274 for found_dir
in $ltrpathdirs; do
19275 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19285 am_save_CPPFLAGS
="$CPPFLAGS"
19287 for element
in $INCICONV; do
19289 for x
in $CPPFLAGS; do
19291 acl_save_prefix
="$prefix"
19292 prefix
="$acl_final_prefix"
19293 acl_save_exec_prefix
="$exec_prefix"
19294 exec_prefix
="$acl_final_exec_prefix"
19296 exec_prefix
="$acl_save_exec_prefix"
19297 prefix
="$acl_save_prefix"
19299 if test "X$x" = "X$element"; then
19304 if test -z "$haveit"; then
19305 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19310 echo "$as_me:$LINENO: checking for iconv" >&5
19311 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
19312 if test "${am_cv_func_iconv+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 am_cv_func_iconv
="no, consider installing GNU libiconv"
19318 if test x
$gcc_no_link = xyes
; then
19319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19321 { (exit 1); exit 1; }; }
19323 cat >conftest.
$ac_ext <<_ACEOF
19326 cat confdefs.h
>>conftest.
$ac_ext
19327 cat >>conftest.
$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 #include <stdlib.h>
19334 iconv_t cd = iconv_open("","");
19335 iconv(cd,NULL,NULL,NULL,NULL);
19341 rm -f conftest.
$ac_objext conftest
$ac_exeext
19342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19343 (eval $ac_link) 2>conftest.er1
19345 grep -v '^ *+' conftest.er1
>conftest.err
19347 cat conftest.err
>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } &&
19350 { ac_try
='test -z "$ac_c_werror_flag"
19351 || test ! -s conftest.err'
19352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19353 (eval $ac_try) 2>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); }; } &&
19357 { ac_try
='test -s conftest$ac_exeext'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; }; then
19363 am_cv_func_iconv
=yes
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.
$ac_ext >&5
19369 rm -f conftest.err conftest.
$ac_objext \
19370 conftest
$ac_exeext conftest.
$ac_ext
19371 if test "$am_cv_func_iconv" != yes; then
19372 am_save_LIBS
="$LIBS"
19373 LIBS
="$LIBS $LIBICONV"
19374 if test x
$gcc_no_link = xyes
; then
19375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19377 { (exit 1); exit 1; }; }
19379 cat >conftest.
$ac_ext <<_ACEOF
19382 cat confdefs.h
>>conftest.
$ac_ext
19383 cat >>conftest.
$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <stdlib.h>
19390 iconv_t cd = iconv_open("","");
19391 iconv(cd,NULL,NULL,NULL,NULL);
19397 rm -f conftest.
$ac_objext conftest
$ac_exeext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19399 (eval $ac_link) 2>conftest.er1
19401 grep -v '^ *+' conftest.er1
>conftest.err
19403 cat conftest.err
>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try
='test -z "$ac_c_werror_flag"
19407 || test ! -s conftest.err'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try
='test -s conftest$ac_exeext'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; }; then
19419 am_cv_lib_iconv
=yes
19420 am_cv_func_iconv
=yes
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.
$ac_ext >&5
19426 rm -f conftest.err conftest.
$ac_objext \
19427 conftest
$ac_exeext conftest.
$ac_ext
19428 LIBS
="$am_save_LIBS"
19432 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
19433 echo "${ECHO_T}$am_cv_func_iconv" >&6
19434 if test "$am_cv_func_iconv" = yes; then
19436 cat >>confdefs.h
<<\_ACEOF
19437 #define HAVE_ICONV 1
19441 if test "$am_cv_lib_iconv" = yes; then
19442 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
19443 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
19444 echo "$as_me:$LINENO: result: $LIBICONV" >&5
19445 echo "${ECHO_T}$LIBICONV" >&6
19447 CPPFLAGS
="$am_save_CPPFLAGS"
19454 if test "$am_cv_func_iconv" = yes; then
19455 echo "$as_me:$LINENO: checking for iconv declaration" >&5
19456 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
19457 if test "${am_cv_proto_iconv+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 cat >conftest.
$ac_ext <<_ACEOF
19464 cat confdefs.h
>>conftest.
$ac_ext
19465 cat >>conftest.
$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19468 #include <stdlib.h>
19474 #if defined(__STDC__) || defined(__cplusplus)
19475 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19488 rm -f conftest.
$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19492 grep -v '^ *+' conftest.er1
>conftest.err
19494 cat conftest.err
>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try
='test -z "$ac_c_werror_flag"
19498 || test ! -s conftest.err'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; } &&
19504 { ac_try
='test -s conftest.$ac_objext'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; }; then
19510 am_cv_proto_iconv_arg1
=""
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.
$ac_ext >&5
19515 am_cv_proto_iconv_arg1
="const"
19517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19518 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);"
19521 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19522 echo "$as_me:$LINENO: result: ${ac_t:-
19523 }$am_cv_proto_iconv" >&5
19524 echo "${ECHO_T}${ac_t:-
19525 }$am_cv_proto_iconv" >&6
19527 cat >>confdefs.h
<<_ACEOF
19528 #define ICONV_CONST $am_cv_proto_iconv_arg1
19534 if test "x${GCC}" = xyes
; then
19536 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
19539 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
19543 if test "x${ENABLE_WERROR}" = xyes
; then
19544 ERROR_CFLAGS
='-Werror'
19549 if test "x${COMPILE_XMLJ}" = xyes
; then
19553 if test -z "$PKG_CONFIG"; then
19554 # Extract the first word of "pkg-config", so it can be a program name with args.
19555 set dummy pkg-config
; ac_word
=$2
19556 echo "$as_me:$LINENO: checking for $ac_word" >&5
19557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19558 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 case $PKG_CONFIG in
19563 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19567 for as_dir
in $PATH
19570 test -z "$as_dir" && as_dir
=.
19571 for ac_exec_ext
in '' $ac_executable_extensions; do
19572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19573 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19580 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19584 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19586 if test -n "$PKG_CONFIG"; then
19587 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19588 echo "${ECHO_T}$PKG_CONFIG" >&6
19590 echo "$as_me:$LINENO: result: no" >&5
19591 echo "${ECHO_T}no" >&6
19596 if test "$PKG_CONFIG" = "no" ; then
19597 echo "*** The pkg-config script could not be found. Make sure it is"
19598 echo "*** in your path, or set the PKG_CONFIG environment variable"
19599 echo "*** to the full path to pkg-config."
19600 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19602 PKG_CONFIG_MIN_VERSION
=0.9.0
19603 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19604 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
19605 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
19607 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
19608 echo "$as_me:$LINENO: result: yes" >&5
19609 echo "${ECHO_T}yes" >&6
19612 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
19613 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
19614 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
19615 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
19616 echo "${ECHO_T}$XML_CFLAGS" >&6
19618 echo "$as_me:$LINENO: checking XML_LIBS" >&5
19619 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
19620 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
19621 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
19622 echo "${ECHO_T}$XML_LIBS" >&6
19626 ## If we have a custom action on failure, don't print errors, but
19627 ## do set a variable so people can do so.
19628 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
19629 echo $XML_PKG_ERRORS
19635 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19636 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19640 if test $succeeded = yes; then
19643 { { 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
19644 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;}
19645 { (exit 1); exit 1; }; }
19651 if test -z "$PKG_CONFIG"; then
19652 # Extract the first word of "pkg-config", so it can be a program name with args.
19653 set dummy pkg-config
; ac_word
=$2
19654 echo "$as_me:$LINENO: checking for $ac_word" >&5
19655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19656 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19657 echo $ECHO_N "(cached) $ECHO_C" >&6
19659 case $PKG_CONFIG in
19661 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19665 for as_dir
in $PATH
19668 test -z "$as_dir" && as_dir
=.
19669 for ac_exec_ext
in '' $ac_executable_extensions; do
19670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19671 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19682 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19684 if test -n "$PKG_CONFIG"; then
19685 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19686 echo "${ECHO_T}$PKG_CONFIG" >&6
19688 echo "$as_me:$LINENO: result: no" >&5
19689 echo "${ECHO_T}no" >&6
19694 if test "$PKG_CONFIG" = "no" ; then
19695 echo "*** The pkg-config script could not be found. Make sure it is"
19696 echo "*** in your path, or set the PKG_CONFIG environment variable"
19697 echo "*** to the full path to pkg-config."
19698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19700 PKG_CONFIG_MIN_VERSION
=0.9.0
19701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19702 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19703 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19705 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19706 echo "$as_me:$LINENO: result: yes" >&5
19707 echo "${ECHO_T}yes" >&6
19710 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19711 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19712 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19713 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19714 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19716 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19717 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19718 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19719 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19720 echo "${ECHO_T}$XSLT_LIBS" >&6
19724 ## If we have a custom action on failure, don't print errors, but
19725 ## do set a variable so people can do so.
19726 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19727 echo $XSLT_PKG_ERRORS
19733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19738 if test $succeeded = yes; then
19741 { { 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
19742 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;}
19743 { (exit 1); exit 1; }; }
19752 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19753 echo "$as_me:$LINENO: checking for X" >&5
19754 echo $ECHO_N "checking for X... $ECHO_C" >&6
19757 # Check whether --with-x or --without-x was given.
19758 if test "${with_x+set}" = set; then
19762 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19763 if test "x$with_x" = xno
; then
19764 # The user explicitly disabled X.
19767 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19768 # Both variables are already set.
19771 if test "${ac_cv_have_x+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 # One or both of the vars are not set, and there is no cached value.
19775 ac_x_includes
=no ac_x_libraries
=no
19776 rm -fr conftest.dir
19777 if mkdir conftest.dir
; then
19779 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19780 cat >Imakefile
<<'_ACEOF'
19782 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19784 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19786 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19787 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19788 for ac_extension
in a so sl
; do
19789 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19790 test -f $ac_im_libdir/libX11.
$ac_extension; then
19791 ac_im_usrlibdir
=$ac_im_libdir; break
19794 # Screen out bogus values from the imake configuration. They are
19795 # bogus both because they are the default anyway, and because
19796 # using them would break gcc on systems where it needs fixed includes.
19797 case $ac_im_incroot in
19799 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19801 case $ac_im_usrlibdir in
19802 /usr
/lib |
/lib
) ;;
19803 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19807 rm -fr conftest.dir
19810 # Standard set of common directories for X headers.
19811 # Check X11 before X11Rn because it is often a symlink to the current release.
19823 /usr/local/X11/include
19824 /usr/local/X11R6/include
19825 /usr/local/X11R5/include
19826 /usr/local/X11R4/include
19828 /usr/local/include/X11
19829 /usr/local/include/X11R6
19830 /usr/local/include/X11R5
19831 /usr/local/include/X11R4
19835 /usr/XFree86/include/X11
19839 /usr/unsupported/include
19840 /usr/athena/include
19841 /usr/local/x11r5/include
19842 /usr/lpp/Xamples/include
19844 /usr/openwin/include
19845 /usr/openwin/share/include'
19847 if test "$ac_x_includes" = no
; then
19848 # Guess where to find include files, by looking for Intrinsic.h.
19849 # First, try using that file with no special directory specified.
19850 cat >conftest.
$ac_ext <<_ACEOF
19853 cat confdefs.h
>>conftest.
$ac_ext
19854 cat >>conftest.
$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 #include <X11/Intrinsic.h>
19858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19861 grep -v '^ *+' conftest.er1
>conftest.err
19863 cat conftest.err
>&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } >/dev
/null
; then
19866 if test -s conftest.err
; then
19867 ac_cpp_err
=$ac_c_preproc_warn_flag
19868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19875 if test -z "$ac_cpp_err"; then
19876 # We can compile using X headers with no special include directory.
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.
$ac_ext >&5
19882 for ac_dir
in $ac_x_header_dirs; do
19883 if test -r "$ac_dir/X11/Intrinsic.h"; then
19884 ac_x_includes
=$ac_dir
19889 rm -f conftest.err conftest.
$ac_ext
19890 fi # $ac_x_includes = no
19892 if test "$ac_x_libraries" = no
; then
19893 # Check for the libraries.
19894 # See if we find them without any special options.
19895 # Don't add to $LIBS permanently.
19898 if test x
$gcc_no_link = xyes
; then
19899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19901 { (exit 1); exit 1; }; }
19903 cat >conftest.
$ac_ext <<_ACEOF
19906 cat confdefs.h
>>conftest.
$ac_ext
19907 cat >>conftest.
$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 #include <X11/Intrinsic.h>
19918 rm -f conftest.
$ac_objext conftest
$ac_exeext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19920 (eval $ac_link) 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try
='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try
='test -s conftest$ac_exeext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19941 # We can link X programs with no special library path.
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19948 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19950 # Don't even attempt the hair of trying to link an X program!
19951 for ac_extension
in a so sl
; do
19952 if test -r $ac_dir/libXt.
$ac_extension; then
19953 ac_x_libraries
=$ac_dir
19959 rm -f conftest.err conftest.
$ac_objext \
19960 conftest
$ac_exeext conftest.
$ac_ext
19961 fi # $ac_x_libraries = no
19963 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19964 # Didn't find X anywhere. Cache the known absence of X.
19965 ac_cv_have_x
="have_x=no"
19967 # Record where we found X for the cache.
19968 ac_cv_have_x
="have_x=yes \
19969 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19974 eval "$ac_cv_have_x"
19977 if test "$have_x" != yes; then
19978 echo "$as_me:$LINENO: result: $have_x" >&5
19979 echo "${ECHO_T}$have_x" >&6
19982 # If each of the values was on the command line, it overrides each guess.
19983 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19984 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19985 # Update the cache value to reflect the command line values.
19986 ac_cv_have_x
="have_x=yes \
19987 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19988 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19989 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19992 if test "$no_x" = yes; then
19993 # Not all programs may use this symbol, but it does not hurt to define it.
19995 cat >>confdefs.h
<<\_ACEOF
19996 #define X_DISPLAY_MISSING 1
19999 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20001 if test -n "$x_includes"; then
20002 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20005 # It would also be nice to do this for all -L options, not just this one.
20006 if test -n "$x_libraries"; then
20007 X_LIBS
="$X_LIBS -L$x_libraries"
20008 # For Solaris; some versions of Sun CC require a space after -R and
20009 # others require no space. Words are not sufficient . . . .
20010 case `(uname -sr) 2>/dev/null` in
20012 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20013 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20014 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20015 if test x
$gcc_no_link = xyes
; then
20016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20018 { (exit 1); exit 1; }; }
20020 cat >conftest.
$ac_ext <<_ACEOF
20023 cat confdefs.h
>>conftest.
$ac_ext
20024 cat >>conftest.
$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20035 rm -f conftest.
$ac_objext conftest
$ac_exeext
20036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037 (eval $ac_link) 2>conftest.er1
20039 grep -v '^ *+' conftest.er1
>conftest.err
20041 cat conftest.err
>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } &&
20044 { ac_try
='test -z "$ac_c_werror_flag"
20045 || test ! -s conftest.err'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; } &&
20051 { ac_try
='test -s conftest$ac_exeext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20064 rm -f conftest.err conftest.
$ac_objext \
20065 conftest
$ac_exeext conftest.
$ac_ext
20066 if test $ac_R_nospace = yes; then
20067 echo "$as_me:$LINENO: result: no" >&5
20068 echo "${ECHO_T}no" >&6
20069 X_LIBS
="$X_LIBS -R$x_libraries"
20071 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20072 if test x
$gcc_no_link = xyes
; then
20073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20075 { (exit 1); exit 1; }; }
20077 cat >conftest.
$ac_ext <<_ACEOF
20080 cat confdefs.h
>>conftest.
$ac_ext
20081 cat >>conftest.
$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20092 rm -f conftest.
$ac_objext conftest
$ac_exeext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20094 (eval $ac_link) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1
>conftest.err
20098 cat conftest.err
>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try
='test -z "$ac_c_werror_flag"
20102 || test ! -s conftest.err'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try
='test -s conftest$ac_exeext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.
$ac_ext >&5
20121 rm -f conftest.err conftest.
$ac_objext \
20122 conftest
$ac_exeext conftest.
$ac_ext
20123 if test $ac_R_space = yes; then
20124 echo "$as_me:$LINENO: result: yes" >&5
20125 echo "${ECHO_T}yes" >&6
20126 X_LIBS
="$X_LIBS -R $x_libraries"
20128 echo "$as_me:$LINENO: result: neither works" >&5
20129 echo "${ECHO_T}neither works" >&6
20132 LIBS
=$ac_xsave_LIBS
20136 # Check for system-dependent libraries X programs must link with.
20137 # Do this before checking for the system-independent R6 libraries
20138 # (-lICE), since we may need -lsocket or whatever for X linking.
20140 if test "$ISC" = yes; then
20141 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20143 # Martyn Johnson says this is needed for Ultrix, if the X
20144 # libraries were built with DECnet support. And Karl Berry says
20145 # the Alpha needs dnet_stub (dnet does not exist).
20146 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20147 if test x
$gcc_no_link = xyes
; then
20148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20150 { (exit 1); exit 1; }; }
20152 cat >conftest.
$ac_ext <<_ACEOF
20155 cat confdefs.h
>>conftest.
$ac_ext
20156 cat >>conftest.
$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20159 /* Override any gcc2 internal prototype to avoid an error. */
20163 /* We use char because int might match the return type of a gcc2
20164 builtin and then its argument prototype would still apply. */
20165 char XOpenDisplay ();
20174 rm -f conftest.
$ac_objext conftest
$ac_exeext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20176 (eval $ac_link) 2>conftest.er1
20178 grep -v '^ *+' conftest.er1
>conftest.err
20180 cat conftest.err
>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try
='test -z "$ac_c_werror_flag"
20184 || test ! -s conftest.err'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; } &&
20190 { ac_try
='test -s conftest$ac_exeext'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; }; then
20198 echo "$as_me: failed program was:" >&5
20199 sed 's/^/| /' conftest.
$ac_ext >&5
20201 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20202 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20203 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20204 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 ac_check_lib_save_LIBS
=$LIBS
20207 LIBS
="-ldnet $LIBS"
20208 if test x
$gcc_no_link = xyes
; then
20209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20211 { (exit 1); exit 1; }; }
20213 cat >conftest.
$ac_ext <<_ACEOF
20216 cat confdefs.h
>>conftest.
$ac_ext
20217 cat >>conftest.
$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20220 /* Override any gcc2 internal prototype to avoid an error. */
20224 /* We use char because int might match the return type of a gcc2
20225 builtin and then its argument prototype would still apply. */
20235 rm -f conftest.
$ac_objext conftest
$ac_exeext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237 (eval $ac_link) 2>conftest.er1
20239 grep -v '^ *+' conftest.er1
>conftest.err
20241 cat conftest.err
>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try
='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try
='test -s conftest$ac_exeext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_cv_lib_dnet_dnet_ntoa
=yes
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.
$ac_ext >&5
20262 ac_cv_lib_dnet_dnet_ntoa
=no
20264 rm -f conftest.err conftest.
$ac_objext \
20265 conftest
$ac_exeext conftest.
$ac_ext
20266 LIBS
=$ac_check_lib_save_LIBS
20268 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20269 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20270 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20274 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20275 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20276 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20277 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 ac_check_lib_save_LIBS
=$LIBS
20281 LIBS
="-ldnet_stub $LIBS"
20282 if test x
$gcc_no_link = xyes
; then
20283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20285 { (exit 1); exit 1; }; }
20287 cat >conftest.
$ac_ext <<_ACEOF
20290 cat confdefs.h
>>conftest.
$ac_ext
20291 cat >>conftest.
$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20294 /* Override any gcc2 internal prototype to avoid an error. */
20298 /* We use char because int might match the return type of a gcc2
20299 builtin and then its argument prototype would still apply. */
20309 rm -f conftest.
$ac_objext conftest
$ac_exeext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20311 (eval $ac_link) 2>conftest.er1
20313 grep -v '^ *+' conftest.er1
>conftest.err
20315 cat conftest.err
>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try
='test -z "$ac_c_werror_flag"
20319 || test ! -s conftest.err'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; } &&
20325 { ac_try
='test -s conftest$ac_exeext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.
$ac_ext >&5
20336 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20338 rm -f conftest.err conftest.
$ac_objext \
20339 conftest
$ac_exeext conftest.
$ac_ext
20340 LIBS
=$ac_check_lib_save_LIBS
20342 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20343 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20344 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20345 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20350 rm -f conftest.err conftest.
$ac_objext \
20351 conftest
$ac_exeext conftest.
$ac_ext
20352 LIBS
="$ac_xsave_LIBS"
20354 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20355 # to get the SysV transport functions.
20356 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20358 # The nsl library prevents programs from opening the X display
20359 # on Irix 5.2, according to T.E. Dickey.
20360 # The functions gethostbyname, getservbyname, and inet_addr are
20361 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20362 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20363 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20364 if test "${ac_cv_func_gethostbyname+set}" = set; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 if test x
$gcc_no_link = xyes
; then
20368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20370 { (exit 1); exit 1; }; }
20372 cat >conftest.
$ac_ext <<_ACEOF
20375 cat confdefs.h
>>conftest.
$ac_ext
20376 cat >>conftest.
$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20380 #define gethostbyname innocuous_gethostbyname
20382 /* System header to define __stub macros and hopefully few prototypes,
20383 which can conflict with char gethostbyname (); below.
20384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20385 <limits.h> exists even on freestanding compilers. */
20388 # include <limits.h>
20390 # include <assert.h>
20393 #undef gethostbyname
20395 /* Override any gcc2 internal prototype to avoid an error. */
20400 /* We use char because int might match the return type of a gcc2
20401 builtin and then its argument prototype would still apply. */
20402 char gethostbyname ();
20403 /* The GNU C library defines this for functions which it implements
20404 to always fail with ENOSYS. Some functions are actually named
20405 something starting with __ and the normal name is an alias. */
20406 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20409 char (*f) () = gethostbyname;
20418 return f != gethostbyname;
20423 rm -f conftest.
$ac_objext conftest
$ac_exeext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20425 (eval $ac_link) 2>conftest.er1
20427 grep -v '^ *+' conftest.er1
>conftest.err
20429 cat conftest.err
>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try
='test -z "$ac_c_werror_flag"
20433 || test ! -s conftest.err'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try
='test -s conftest$ac_exeext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_func_gethostbyname
=yes
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_cv_func_gethostbyname
=no
20452 rm -f conftest.err conftest.
$ac_objext \
20453 conftest
$ac_exeext conftest.
$ac_ext
20455 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20456 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20458 if test $ac_cv_func_gethostbyname = no
; then
20459 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20460 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20461 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 ac_check_lib_save_LIBS
=$LIBS
20466 if test x
$gcc_no_link = xyes
; then
20467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20469 { (exit 1); exit 1; }; }
20471 cat >conftest.
$ac_ext <<_ACEOF
20474 cat confdefs.h
>>conftest.
$ac_ext
20475 cat >>conftest.
$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20478 /* Override any gcc2 internal prototype to avoid an error. */
20482 /* We use char because int might match the return type of a gcc2
20483 builtin and then its argument prototype would still apply. */
20484 char gethostbyname ();
20493 rm -f conftest.
$ac_objext conftest
$ac_exeext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20495 (eval $ac_link) 2>conftest.er1
20497 grep -v '^ *+' conftest.er1
>conftest.err
20499 cat conftest.err
>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try
='test -z "$ac_c_werror_flag"
20503 || test ! -s conftest.err'
20504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20505 (eval $ac_try) 2>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; } &&
20509 { ac_try
='test -s conftest$ac_exeext'
20510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511 (eval $ac_try) 2>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); }; }; then
20515 ac_cv_lib_nsl_gethostbyname
=yes
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.
$ac_ext >&5
20520 ac_cv_lib_nsl_gethostbyname
=no
20522 rm -f conftest.err conftest.
$ac_objext \
20523 conftest
$ac_exeext conftest.
$ac_ext
20524 LIBS
=$ac_check_lib_save_LIBS
20526 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20527 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20528 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20529 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20532 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20533 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20534 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20535 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 ac_check_lib_save_LIBS
=$LIBS
20540 if test x
$gcc_no_link = xyes
; then
20541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20543 { (exit 1); exit 1; }; }
20545 cat >conftest.
$ac_ext <<_ACEOF
20548 cat confdefs.h
>>conftest.
$ac_ext
20549 cat >>conftest.
$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20552 /* Override any gcc2 internal prototype to avoid an error. */
20556 /* We use char because int might match the return type of a gcc2
20557 builtin and then its argument prototype would still apply. */
20558 char gethostbyname ();
20567 rm -f conftest.
$ac_objext conftest
$ac_exeext
20568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20569 (eval $ac_link) 2>conftest.er1
20571 grep -v '^ *+' conftest.er1
>conftest.err
20573 cat conftest.err
>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } &&
20576 { ac_try
='test -z "$ac_c_werror_flag"
20577 || test ! -s conftest.err'
20578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20579 (eval $ac_try) 2>&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); }; } &&
20583 { ac_try
='test -s conftest$ac_exeext'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; }; then
20589 ac_cv_lib_bsd_gethostbyname
=yes
20591 echo "$as_me: failed program was:" >&5
20592 sed 's/^/| /' conftest.
$ac_ext >&5
20594 ac_cv_lib_bsd_gethostbyname
=no
20596 rm -f conftest.err conftest.
$ac_objext \
20597 conftest
$ac_exeext conftest.
$ac_ext
20598 LIBS
=$ac_check_lib_save_LIBS
20600 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20601 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20602 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20609 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20610 # socket/setsockopt and other routines are undefined under SCO ODT
20611 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20612 # on later versions), says Simon Leinen: it contains gethostby*
20613 # variants that don't use the name server (or something). -lsocket
20614 # must be given before -lnsl if both are needed. We assume that
20615 # if connect needs -lnsl, so does gethostbyname.
20616 echo "$as_me:$LINENO: checking for connect" >&5
20617 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20618 if test "${ac_cv_func_connect+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 if test x
$gcc_no_link = xyes
; then
20622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20624 { (exit 1); exit 1; }; }
20626 cat >conftest.
$ac_ext <<_ACEOF
20629 cat confdefs.h
>>conftest.
$ac_ext
20630 cat >>conftest.
$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20634 #define connect innocuous_connect
20636 /* System header to define __stub macros and hopefully few prototypes,
20637 which can conflict with char connect (); below.
20638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20639 <limits.h> exists even on freestanding compilers. */
20642 # include <limits.h>
20644 # include <assert.h>
20649 /* Override any gcc2 internal prototype to avoid an error. */
20654 /* We use char because int might match the return type of a gcc2
20655 builtin and then its argument prototype would still apply. */
20657 /* The GNU C library defines this for functions which it implements
20658 to always fail with ENOSYS. Some functions are actually named
20659 something starting with __ and the normal name is an alias. */
20660 #if defined (__stub_connect) || defined (__stub___connect)
20663 char (*f) () = connect;
20672 return f != connect;
20677 rm -f conftest.
$ac_objext conftest
$ac_exeext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20679 (eval $ac_link) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -z "$ac_c_werror_flag"
20687 || test ! -s conftest.err'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; } &&
20693 { ac_try
='test -s conftest$ac_exeext'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_cv_func_connect
=yes
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.
$ac_ext >&5
20704 ac_cv_func_connect
=no
20706 rm -f conftest.err conftest.
$ac_objext \
20707 conftest
$ac_exeext conftest.
$ac_ext
20709 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20710 echo "${ECHO_T}$ac_cv_func_connect" >&6
20712 if test $ac_cv_func_connect = no
; then
20713 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20714 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20715 if test "${ac_cv_lib_socket_connect+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 ac_check_lib_save_LIBS
=$LIBS
20719 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20720 if test x
$gcc_no_link = xyes
; then
20721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20723 { (exit 1); exit 1; }; }
20725 cat >conftest.
$ac_ext <<_ACEOF
20728 cat confdefs.h
>>conftest.
$ac_ext
20729 cat >>conftest.
$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20732 /* Override any gcc2 internal prototype to avoid an error. */
20736 /* We use char because int might match the return type of a gcc2
20737 builtin and then its argument prototype would still apply. */
20747 rm -f conftest.
$ac_objext conftest
$ac_exeext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749 (eval $ac_link) 2>conftest.er1
20751 grep -v '^ *+' conftest.er1
>conftest.err
20753 cat conftest.err
>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try
='test -z "$ac_c_werror_flag"
20757 || test ! -s conftest.err'
20758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759 (eval $ac_try) 2>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; } &&
20763 { ac_try
='test -s conftest$ac_exeext'
20764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765 (eval $ac_try) 2>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); }; }; then
20769 ac_cv_lib_socket_connect
=yes
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.
$ac_ext >&5
20774 ac_cv_lib_socket_connect
=no
20776 rm -f conftest.err conftest.
$ac_objext \
20777 conftest
$ac_exeext conftest.
$ac_ext
20778 LIBS
=$ac_check_lib_save_LIBS
20780 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20781 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20782 if test $ac_cv_lib_socket_connect = yes; then
20783 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20788 # Guillermo Gomez says -lposix is necessary on A/UX.
20789 echo "$as_me:$LINENO: checking for remove" >&5
20790 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20791 if test "${ac_cv_func_remove+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 if test x
$gcc_no_link = xyes
; then
20795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20797 { (exit 1); exit 1; }; }
20799 cat >conftest.
$ac_ext <<_ACEOF
20802 cat confdefs.h
>>conftest.
$ac_ext
20803 cat >>conftest.
$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20807 #define remove innocuous_remove
20809 /* System header to define __stub macros and hopefully few prototypes,
20810 which can conflict with char remove (); below.
20811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20812 <limits.h> exists even on freestanding compilers. */
20815 # include <limits.h>
20817 # include <assert.h>
20822 /* Override any gcc2 internal prototype to avoid an error. */
20827 /* We use char because int might match the return type of a gcc2
20828 builtin and then its argument prototype would still apply. */
20830 /* The GNU C library defines this for functions which it implements
20831 to always fail with ENOSYS. Some functions are actually named
20832 something starting with __ and the normal name is an alias. */
20833 #if defined (__stub_remove) || defined (__stub___remove)
20836 char (*f) () = remove;
20845 return f != remove;
20850 rm -f conftest.
$ac_objext conftest
$ac_exeext
20851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20852 (eval $ac_link) 2>conftest.er1
20854 grep -v '^ *+' conftest.er1
>conftest.err
20856 cat conftest.err
>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
20859 { ac_try
='test -z "$ac_c_werror_flag"
20860 || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try
='test -s conftest$ac_exeext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_cv_func_remove
=yes
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 ac_cv_func_remove
=no
20879 rm -f conftest.err conftest.
$ac_objext \
20880 conftest
$ac_exeext conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20883 echo "${ECHO_T}$ac_cv_func_remove" >&6
20885 if test $ac_cv_func_remove = no
; then
20886 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20887 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20888 if test "${ac_cv_lib_posix_remove+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 ac_check_lib_save_LIBS
=$LIBS
20892 LIBS
="-lposix $LIBS"
20893 if test x
$gcc_no_link = xyes
; then
20894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20896 { (exit 1); exit 1; }; }
20898 cat >conftest.
$ac_ext <<_ACEOF
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20905 /* Override any gcc2 internal prototype to avoid an error. */
20909 /* We use char because int might match the return type of a gcc2
20910 builtin and then its argument prototype would still apply. */
20920 rm -f conftest.
$ac_objext conftest
$ac_exeext
20921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20922 (eval $ac_link) 2>conftest.er1
20924 grep -v '^ *+' conftest.er1
>conftest.err
20926 cat conftest.err
>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try
='test -z "$ac_c_werror_flag"
20930 || test ! -s conftest.err'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; } &&
20936 { ac_try
='test -s conftest$ac_exeext'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; }; then
20942 ac_cv_lib_posix_remove
=yes
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.
$ac_ext >&5
20947 ac_cv_lib_posix_remove
=no
20949 rm -f conftest.err conftest.
$ac_objext \
20950 conftest
$ac_exeext conftest.
$ac_ext
20951 LIBS
=$ac_check_lib_save_LIBS
20953 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20954 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20955 if test $ac_cv_lib_posix_remove = yes; then
20956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20961 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20962 echo "$as_me:$LINENO: checking for shmat" >&5
20963 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20964 if test "${ac_cv_func_shmat+set}" = set; then
20965 echo $ECHO_N "(cached) $ECHO_C" >&6
20967 if test x
$gcc_no_link = xyes
; then
20968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20970 { (exit 1); exit 1; }; }
20972 cat >conftest.
$ac_ext <<_ACEOF
20975 cat confdefs.h
>>conftest.
$ac_ext
20976 cat >>conftest.
$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20980 #define shmat innocuous_shmat
20982 /* System header to define __stub macros and hopefully few prototypes,
20983 which can conflict with char shmat (); below.
20984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20985 <limits.h> exists even on freestanding compilers. */
20988 # include <limits.h>
20990 # include <assert.h>
20995 /* Override any gcc2 internal prototype to avoid an error. */
21000 /* We use char because int might match the return type of a gcc2
21001 builtin and then its argument prototype would still apply. */
21003 /* The GNU C library defines this for functions which it implements
21004 to always fail with ENOSYS. Some functions are actually named
21005 something starting with __ and the normal name is an alias. */
21006 #if defined (__stub_shmat) || defined (__stub___shmat)
21009 char (*f) () = shmat;
21023 rm -f conftest.
$ac_objext conftest
$ac_exeext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21025 (eval $ac_link) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_c_werror_flag"
21033 || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try
='test -s conftest$ac_exeext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_cv_func_shmat
=yes
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21050 ac_cv_func_shmat
=no
21052 rm -f conftest.err conftest.
$ac_objext \
21053 conftest
$ac_exeext conftest.
$ac_ext
21055 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21056 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21058 if test $ac_cv_func_shmat = no
; then
21059 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21060 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21061 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21062 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 ac_check_lib_save_LIBS
=$LIBS
21066 if test x
$gcc_no_link = xyes
; then
21067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21069 { (exit 1); exit 1; }; }
21071 cat >conftest.
$ac_ext <<_ACEOF
21074 cat confdefs.h
>>conftest.
$ac_ext
21075 cat >>conftest.
$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21078 /* Override any gcc2 internal prototype to avoid an error. */
21082 /* We use char because int might match the return type of a gcc2
21083 builtin and then its argument prototype would still apply. */
21093 rm -f conftest.
$ac_objext conftest
$ac_exeext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21095 (eval $ac_link) 2>conftest.er1
21097 grep -v '^ *+' conftest.er1
>conftest.err
21099 cat conftest.err
>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try
='test -z "$ac_c_werror_flag"
21103 || test ! -s conftest.err'
21104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21105 (eval $ac_try) 2>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; } &&
21109 { ac_try
='test -s conftest$ac_exeext'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; }; then
21115 ac_cv_lib_ipc_shmat
=yes
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.
$ac_ext >&5
21120 ac_cv_lib_ipc_shmat
=no
21122 rm -f conftest.err conftest.
$ac_objext \
21123 conftest
$ac_exeext conftest.
$ac_ext
21124 LIBS
=$ac_check_lib_save_LIBS
21126 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21127 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21128 if test $ac_cv_lib_ipc_shmat = yes; then
21129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21135 # Check for libraries that X11R6 Xt/Xaw programs need.
21136 ac_save_LDFLAGS
=$LDFLAGS
21137 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21138 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21139 # check for ICE first), but we must link in the order -lSM -lICE or
21140 # we get undefined symbols. So assume we have SM if we have ICE.
21141 # These have to be linked with before -lX11, unlike the other
21142 # libraries we check for below, so use a different variable.
21143 # John Interrante, Karl Berry
21144 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21145 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21146 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 ac_check_lib_save_LIBS
=$LIBS
21150 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21151 if test x
$gcc_no_link = xyes
; then
21152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21154 { (exit 1); exit 1; }; }
21156 cat >conftest.
$ac_ext <<_ACEOF
21159 cat confdefs.h
>>conftest.
$ac_ext
21160 cat >>conftest.
$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21163 /* Override any gcc2 internal prototype to avoid an error. */
21167 /* We use char because int might match the return type of a gcc2
21168 builtin and then its argument prototype would still apply. */
21169 char IceConnectionNumber ();
21173 IceConnectionNumber ();
21178 rm -f conftest.
$ac_objext conftest
$ac_exeext
21179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21180 (eval $ac_link) 2>conftest.er1
21182 grep -v '^ *+' conftest.er1
>conftest.err
21184 cat conftest.err
>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); } &&
21187 { ac_try
='test -z "$ac_c_werror_flag"
21188 || test ! -s conftest.err'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; } &&
21194 { ac_try
='test -s conftest$ac_exeext'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_cv_lib_ICE_IceConnectionNumber
=yes
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.
$ac_ext >&5
21205 ac_cv_lib_ICE_IceConnectionNumber
=no
21207 rm -f conftest.err conftest.
$ac_objext \
21208 conftest
$ac_exeext conftest.
$ac_ext
21209 LIBS
=$ac_check_lib_save_LIBS
21211 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21212 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21213 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21214 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21217 LDFLAGS
=$ac_save_LDFLAGS
21221 if test "$no_x" = yes; then
21222 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
21223 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
21224 { (exit 1); exit 1; }; }
21226 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21227 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
21228 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21229 echo $ECHO_N "(cached) $ECHO_C" >&6
21231 ac_check_lib_save_LIBS
=$LIBS
21232 LIBS
="-lXtst ${X_LIBS} $LIBS"
21233 if test x
$gcc_no_link = xyes
; then
21234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21236 { (exit 1); exit 1; }; }
21238 cat >conftest.
$ac_ext <<_ACEOF
21241 cat confdefs.h
>>conftest.
$ac_ext
21242 cat >>conftest.
$ac_ext <<_ACEOF
21243 /* end confdefs.h. */
21245 /* Override any gcc2 internal prototype to avoid an error. */
21249 /* We use char because int might match the return type of a gcc2
21250 builtin and then its argument prototype would still apply. */
21251 char XTestQueryExtension ();
21255 XTestQueryExtension ();
21260 rm -f conftest.
$ac_objext conftest
$ac_exeext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21262 (eval $ac_link) 2>conftest.er1
21264 grep -v '^ *+' conftest.er1
>conftest.err
21266 cat conftest.err
>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try
='test -z "$ac_c_werror_flag"
21270 || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try
='test -s conftest$ac_exeext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_lib_Xtst_XTestQueryExtension
=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.
$ac_ext >&5
21287 ac_cv_lib_Xtst_XTestQueryExtension
=no
21289 rm -f conftest.err conftest.
$ac_objext \
21290 conftest
$ac_exeext conftest.
$ac_ext
21291 LIBS
=$ac_check_lib_save_LIBS
21293 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21294 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
21295 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
21296 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
21298 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
21299 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
21300 { (exit 1); exit 1; }; }
21307 if test -z "$PKG_CONFIG"; then
21308 # Extract the first word of "pkg-config", so it can be a program name with args.
21309 set dummy pkg-config
; ac_word
=$2
21310 echo "$as_me:$LINENO: checking for $ac_word" >&5
21311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21312 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21313 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 case $PKG_CONFIG in
21317 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21321 for as_dir
in $PATH
21324 test -z "$as_dir" && as_dir
=.
21325 for ac_exec_ext
in '' $ac_executable_extensions; do
21326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21327 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21334 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21338 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21340 if test -n "$PKG_CONFIG"; then
21341 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21342 echo "${ECHO_T}$PKG_CONFIG" >&6
21344 echo "$as_me:$LINENO: result: no" >&5
21345 echo "${ECHO_T}no" >&6
21350 if test "$PKG_CONFIG" = "no" ; then
21351 echo "*** The pkg-config script could not be found. Make sure it is"
21352 echo "*** in your path, or set the PKG_CONFIG environment variable"
21353 echo "*** to the full path to pkg-config."
21354 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21356 PKG_CONFIG_MIN_VERSION
=0.9.0
21357 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21358 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21359 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
21361 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21362 echo "$as_me:$LINENO: result: yes" >&5
21363 echo "${ECHO_T}yes" >&6
21366 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21367 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
21368 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21369 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21370 echo "${ECHO_T}$GTK_CFLAGS" >&6
21372 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21373 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
21374 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21375 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21376 echo "${ECHO_T}$GTK_LIBS" >&6
21380 ## If we have a custom action on failure, don't print errors, but
21381 ## do set a variable so people can do so.
21382 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21383 echo $GTK_PKG_ERRORS
21389 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21390 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21394 if test $succeeded = yes; then
21397 { { 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
21398 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;}
21399 { (exit 1); exit 1; }; }
21405 if test -z "$PKG_CONFIG"; then
21406 # Extract the first word of "pkg-config", so it can be a program name with args.
21407 set dummy pkg-config
; ac_word
=$2
21408 echo "$as_me:$LINENO: checking for $ac_word" >&5
21409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21410 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 case $PKG_CONFIG in
21415 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21419 for as_dir
in $PATH
21422 test -z "$as_dir" && as_dir
=.
21423 for ac_exec_ext
in '' $ac_executable_extensions; do
21424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21425 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21436 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21438 if test -n "$PKG_CONFIG"; then
21439 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21440 echo "${ECHO_T}$PKG_CONFIG" >&6
21442 echo "$as_me:$LINENO: result: no" >&5
21443 echo "${ECHO_T}no" >&6
21448 if test "$PKG_CONFIG" = "no" ; then
21449 echo "*** The pkg-config script could not be found. Make sure it is"
21450 echo "*** in your path, or set the PKG_CONFIG environment variable"
21451 echo "*** to the full path to pkg-config."
21452 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21454 PKG_CONFIG_MIN_VERSION
=0.9.0
21455 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21456 echo "$as_me:$LINENO: checking for freetype2" >&5
21457 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
21459 if $PKG_CONFIG --exists "freetype2" ; then
21460 echo "$as_me:$LINENO: result: yes" >&5
21461 echo "${ECHO_T}yes" >&6
21464 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
21465 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
21466 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
21467 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
21468 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
21470 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
21471 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
21472 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
21473 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
21474 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
21476 FREETYPE2_CFLAGS
=""
21478 ## If we have a custom action on failure, don't print errors, but
21479 ## do set a variable so people can do so.
21480 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
21481 echo $FREETYPE2_PKG_ERRORS
21487 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21488 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21492 if test $succeeded = yes; then
21495 { { 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
21496 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;}
21497 { (exit 1); exit 1; }; }
21503 if test -z "$PKG_CONFIG"; then
21504 # Extract the first word of "pkg-config", so it can be a program name with args.
21505 set dummy pkg-config
; ac_word
=$2
21506 echo "$as_me:$LINENO: checking for $ac_word" >&5
21507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 case $PKG_CONFIG in
21513 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21517 for as_dir
in $PATH
21520 test -z "$as_dir" && as_dir
=.
21521 for ac_exec_ext
in '' $ac_executable_extensions; do
21522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21523 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21530 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21534 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21536 if test -n "$PKG_CONFIG"; then
21537 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21538 echo "${ECHO_T}$PKG_CONFIG" >&6
21540 echo "$as_me:$LINENO: result: no" >&5
21541 echo "${ECHO_T}no" >&6
21546 if test "$PKG_CONFIG" = "no" ; then
21547 echo "*** The pkg-config script could not be found. Make sure it is"
21548 echo "*** in your path, or set the PKG_CONFIG environment variable"
21549 echo "*** to the full path to pkg-config."
21550 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21552 PKG_CONFIG_MIN_VERSION
=0.9.0
21553 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21554 echo "$as_me:$LINENO: checking for pangoft2" >&5
21555 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21557 if $PKG_CONFIG --exists "pangoft2" ; then
21558 echo "$as_me:$LINENO: result: yes" >&5
21559 echo "${ECHO_T}yes" >&6
21562 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21563 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21564 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21565 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21566 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21568 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21569 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21570 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21571 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21572 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21576 ## If we have a custom action on failure, don't print errors, but
21577 ## do set a variable so people can do so.
21578 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21579 echo $PANGOFT2_PKG_ERRORS
21585 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21586 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21590 if test $succeeded = yes; then
21593 { { 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
21594 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;}
21595 { (exit 1); exit 1; }; }
21601 if test -z "$PKG_CONFIG"; then
21602 # Extract the first word of "pkg-config", so it can be a program name with args.
21603 set dummy pkg-config
; ac_word
=$2
21604 echo "$as_me:$LINENO: checking for $ac_word" >&5
21605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 case $PKG_CONFIG in
21611 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21615 for as_dir
in $PATH
21618 test -z "$as_dir" && as_dir
=.
21619 for ac_exec_ext
in '' $ac_executable_extensions; do
21620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21621 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21632 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21634 if test -n "$PKG_CONFIG"; then
21635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21636 echo "${ECHO_T}$PKG_CONFIG" >&6
21638 echo "$as_me:$LINENO: result: no" >&5
21639 echo "${ECHO_T}no" >&6
21644 if test "$PKG_CONFIG" = "no" ; then
21645 echo "*** The pkg-config script could not be found. Make sure it is"
21646 echo "*** in your path, or set the PKG_CONFIG environment variable"
21647 echo "*** to the full path to pkg-config."
21648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21650 PKG_CONFIG_MIN_VERSION
=0.9.0
21651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21652 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
21653 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
21655 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
21656 echo "$as_me:$LINENO: result: yes" >&5
21657 echo "${ECHO_T}yes" >&6
21660 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
21661 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
21662 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
21663 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
21664 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
21666 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
21667 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
21668 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
21669 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
21670 echo "${ECHO_T}$CAIRO_LIBS" >&6
21674 ## If we have a custom action on failure, don't print errors, but
21675 ## do set a variable so people can do so.
21676 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
21677 echo $CAIRO_PKG_ERRORS
21683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21688 if test $succeeded = yes; then
21691 { { 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
21692 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;}
21693 { (exit 1); exit 1; }; }
21696 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
21697 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
21698 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 ac_check_lib_save_LIBS
=$LIBS
21702 LIBS
="-lXrender ${X_LIBS} $LIBS"
21703 if test x
$gcc_no_link = xyes
; then
21704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21706 { (exit 1); exit 1; }; }
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21715 /* Override any gcc2 internal prototype to avoid an error. */
21719 /* We use char because int might match the return type of a gcc2
21720 builtin and then its argument prototype would still apply. */
21721 char XRenderQueryExtension ();
21725 XRenderQueryExtension ();
21730 rm -f conftest.
$ac_objext conftest
$ac_exeext
21731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21732 (eval $ac_link) 2>conftest.er1
21734 grep -v '^ *+' conftest.er1
>conftest.err
21736 cat conftest.err
>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } &&
21739 { ac_try
='test -z "$ac_c_werror_flag"
21740 || test ! -s conftest.err'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; } &&
21746 { ac_try
='test -s conftest$ac_exeext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21752 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.
$ac_ext >&5
21757 ac_cv_lib_Xrender_XRenderQueryExtension
=no
21759 rm -f conftest.err conftest.
$ac_objext \
21760 conftest
$ac_exeext conftest.
$ac_ext
21761 LIBS
=$ac_check_lib_save_LIBS
21763 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21764 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21765 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21767 cat >>confdefs.h
<<\_ACEOF
21768 #define HAVE_XRENDER 1
21770 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
21776 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21777 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21778 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 ac_check_lib_save_LIBS
=$LIBS
21782 LIBS
="-lXrandr ${X_LIBS} $LIBS"
21783 if test x
$gcc_no_link = xyes
; then
21784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21786 { (exit 1); exit 1; }; }
21788 cat >conftest.
$ac_ext <<_ACEOF
21791 cat confdefs.h
>>conftest.
$ac_ext
21792 cat >>conftest.
$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21795 /* Override any gcc2 internal prototype to avoid an error. */
21799 /* We use char because int might match the return type of a gcc2
21800 builtin and then its argument prototype would still apply. */
21801 char XRRQueryExtension ();
21805 XRRQueryExtension ();
21810 rm -f conftest.
$ac_objext conftest
$ac_exeext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21812 (eval $ac_link) 2>conftest.er1
21814 grep -v '^ *+' conftest.er1
>conftest.err
21816 cat conftest.err
>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } &&
21819 { ac_try
='test -z "$ac_c_werror_flag"
21820 || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try
='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 ac_cv_lib_Xrandr_XRRQueryExtension
=no
21839 rm -f conftest.err conftest.
$ac_objext \
21840 conftest
$ac_exeext conftest.
$ac_ext
21841 LIBS
=$ac_check_lib_save_LIBS
21843 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21844 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21845 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21847 cat >>confdefs.h
<<\_ACEOF
21848 #define HAVE_XRANDR 1
21850 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
21865 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
21869 if test -z "$PKG_CONFIG"; then
21870 # Extract the first word of "pkg-config", so it can be a program name with args.
21871 set dummy pkg-config
; ac_word
=$2
21872 echo "$as_me:$LINENO: checking for $ac_word" >&5
21873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21874 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 case $PKG_CONFIG in
21879 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21883 for as_dir
in $PATH
21886 test -z "$as_dir" && as_dir
=.
21887 for ac_exec_ext
in '' $ac_executable_extensions; do
21888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21889 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21896 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21900 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21902 if test -n "$PKG_CONFIG"; then
21903 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21904 echo "${ECHO_T}$PKG_CONFIG" >&6
21906 echo "$as_me:$LINENO: result: no" >&5
21907 echo "${ECHO_T}no" >&6
21912 if test "$PKG_CONFIG" = "no" ; then
21913 echo "*** The pkg-config script could not be found. Make sure it is"
21914 echo "*** in your path, or set the PKG_CONFIG environment variable"
21915 echo "*** to the full path to pkg-config."
21916 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21918 PKG_CONFIG_MIN_VERSION
=0.9.0
21919 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21920 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
21921 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
21923 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
21924 echo "$as_me:$LINENO: result: yes" >&5
21925 echo "${ECHO_T}yes" >&6
21928 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
21929 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
21930 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
21931 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
21932 echo "${ECHO_T}$GCONF_CFLAGS" >&6
21934 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
21935 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
21936 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
21937 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
21938 echo "${ECHO_T}$GCONF_LIBS" >&6
21942 ## If we have a custom action on failure, don't print errors, but
21943 ## do set a variable so people can do so.
21944 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
21945 echo $GCONF_PKG_ERRORS
21951 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21952 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21956 if test $succeeded = yes; then
21959 { { 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
21960 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;}
21961 { (exit 1); exit 1; }; }
21969 if test -z "$PKG_CONFIG"; then
21970 # Extract the first word of "pkg-config", so it can be a program name with args.
21971 set dummy pkg-config
; ac_word
=$2
21972 echo "$as_me:$LINENO: checking for $ac_word" >&5
21973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 case $PKG_CONFIG in
21979 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21983 for as_dir
in $PATH
21986 test -z "$as_dir" && as_dir
=.
21987 for ac_exec_ext
in '' $ac_executable_extensions; do
21988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21989 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22000 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22002 if test -n "$PKG_CONFIG"; then
22003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22004 echo "${ECHO_T}$PKG_CONFIG" >&6
22006 echo "$as_me:$LINENO: result: no" >&5
22007 echo "${ECHO_T}no" >&6
22012 if test "$PKG_CONFIG" = "no" ; then
22013 echo "*** The pkg-config script could not be found. Make sure it is"
22014 echo "*** in your path, or set the PKG_CONFIG environment variable"
22015 echo "*** to the full path to pkg-config."
22016 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22018 PKG_CONFIG_MIN_VERSION
=0.9.0
22019 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22020 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
22021 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
22023 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
22024 echo "$as_me:$LINENO: result: yes" >&5
22025 echo "${ECHO_T}yes" >&6
22028 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
22029 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
22030 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
22031 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
22032 echo "${ECHO_T}$GDK_CFLAGS" >&6
22034 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
22035 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
22036 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
22037 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
22038 echo "${ECHO_T}$GDK_LIBS" >&6
22042 ## If we have a custom action on failure, don't print errors, but
22043 ## do set a variable so people can do so.
22044 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
22045 echo $GDK_PKG_ERRORS
22051 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22052 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22056 if test $succeeded = yes; then
22059 { { 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
22060 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;}
22061 { (exit 1); exit 1; }; }
22066 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
22067 if test "$USE_GCONF_PREFS_PEER" = ""; then
22068 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
22072 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
22073 GST_MAJORMINOR
=0.10
22074 GST_REQUIRED
=0.10.10
22079 if test -z "$PKG_CONFIG"; then
22080 # Extract the first word of "pkg-config", so it can be a program name with args.
22081 set dummy pkg-config
; ac_word
=$2
22082 echo "$as_me:$LINENO: checking for $ac_word" >&5
22083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22084 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 case $PKG_CONFIG in
22089 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22093 for as_dir
in $PATH
22096 test -z "$as_dir" && as_dir
=.
22097 for ac_exec_ext
in '' $ac_executable_extensions; do
22098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22099 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22106 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22110 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22112 if test -n "$PKG_CONFIG"; then
22113 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22114 echo "${ECHO_T}$PKG_CONFIG" >&6
22116 echo "$as_me:$LINENO: result: no" >&5
22117 echo "${ECHO_T}no" >&6
22122 if test "$PKG_CONFIG" = "no" ; then
22123 echo "*** The pkg-config script could not be found. Make sure it is"
22124 echo "*** in your path, or set the PKG_CONFIG environment variable"
22125 echo "*** to the full path to pkg-config."
22126 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22128 PKG_CONFIG_MIN_VERSION
=0.9.0
22129 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22130 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22131 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22133 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22134 echo "$as_me:$LINENO: result: yes" >&5
22135 echo "${ECHO_T}yes" >&6
22138 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
22139 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
22140 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22141 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
22142 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
22144 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
22145 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
22146 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22147 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
22148 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
22150 GSTREAMER_CFLAGS
=""
22152 ## If we have a custom action on failure, don't print errors, but
22153 ## do set a variable so people can do so.
22154 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22155 echo $GSTREAMER_PKG_ERRORS
22161 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22162 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22166 if test $succeeded = yes; then
22169 { { 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
22170 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;}
22171 { (exit 1); exit 1; }; }
22180 if test -z "$PKG_CONFIG"; then
22181 # Extract the first word of "pkg-config", so it can be a program name with args.
22182 set dummy pkg-config
; ac_word
=$2
22183 echo "$as_me:$LINENO: checking for $ac_word" >&5
22184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22185 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 case $PKG_CONFIG in
22190 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22194 for as_dir
in $PATH
22197 test -z "$as_dir" && as_dir
=.
22198 for ac_exec_ext
in '' $ac_executable_extensions; do
22199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22200 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22211 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22213 if test -n "$PKG_CONFIG"; then
22214 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22215 echo "${ECHO_T}$PKG_CONFIG" >&6
22217 echo "$as_me:$LINENO: result: no" >&5
22218 echo "${ECHO_T}no" >&6
22223 if test "$PKG_CONFIG" = "no" ; then
22224 echo "*** The pkg-config script could not be found. Make sure it is"
22225 echo "*** in your path, or set the PKG_CONFIG environment variable"
22226 echo "*** to the full path to pkg-config."
22227 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22229 PKG_CONFIG_MIN_VERSION
=0.9.0
22230 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22231 echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22232 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22234 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22235 echo "$as_me:$LINENO: result: yes" >&5
22236 echo "${ECHO_T}yes" >&6
22239 echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
22240 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
22241 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22242 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
22243 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
22245 echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
22246 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
22247 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22248 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
22249 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
22251 GSTREAMER_BASE_CFLAGS
=""
22252 GSTREAMER_BASE_LIBS
=""
22253 ## If we have a custom action on failure, don't print errors, but
22254 ## do set a variable so people can do so.
22255 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22256 echo $GSTREAMER_BASE_PKG_ERRORS
22262 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22263 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22267 if test $succeeded = yes; then
22270 { { 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
22271 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;}
22272 { (exit 1); exit 1; }; }
22281 if test -z "$PKG_CONFIG"; then
22282 # Extract the first word of "pkg-config", so it can be a program name with args.
22283 set dummy pkg-config
; ac_word
=$2
22284 echo "$as_me:$LINENO: checking for $ac_word" >&5
22285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22286 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 case $PKG_CONFIG in
22291 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22295 for as_dir
in $PATH
22298 test -z "$as_dir" && as_dir
=.
22299 for ac_exec_ext
in '' $ac_executable_extensions; do
22300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22301 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22308 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22312 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22314 if test -n "$PKG_CONFIG"; then
22315 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22316 echo "${ECHO_T}$PKG_CONFIG" >&6
22318 echo "$as_me:$LINENO: result: no" >&5
22319 echo "${ECHO_T}no" >&6
22324 if test "$PKG_CONFIG" = "no" ; then
22325 echo "*** The pkg-config script could not be found. Make sure it is"
22326 echo "*** in your path, or set the PKG_CONFIG environment variable"
22327 echo "*** to the full path to pkg-config."
22328 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22330 PKG_CONFIG_MIN_VERSION
=0.9.0
22331 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22332 echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22333 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22335 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22336 echo "$as_me:$LINENO: result: yes" >&5
22337 echo "${ECHO_T}yes" >&6
22340 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22341 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
22342 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22343 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22344 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
22346 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
22347 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
22348 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22349 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
22350 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
22352 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
22353 GSTREAMER_PLUGINS_BASE_LIBS
=""
22354 ## If we have a custom action on failure, don't print errors, but
22355 ## do set a variable so people can do so.
22356 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22357 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
22363 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22364 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22368 if test $succeeded = yes; then
22371 { { 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
22372 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;}
22373 { (exit 1); exit 1; }; }
22379 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
22382 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
22383 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
22388 if test "x${COMPILE_QT_PEER}" = xyes
; then
22392 if test -z "$PKG_CONFIG"; then
22393 # Extract the first word of "pkg-config", so it can be a program name with args.
22394 set dummy pkg-config
; ac_word
=$2
22395 echo "$as_me:$LINENO: checking for $ac_word" >&5
22396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22397 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22398 echo $ECHO_N "(cached) $ECHO_C" >&6
22400 case $PKG_CONFIG in
22402 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22406 for as_dir
in $PATH
22409 test -z "$as_dir" && as_dir
=.
22410 for ac_exec_ext
in '' $ac_executable_extensions; do
22411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22412 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22419 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22423 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22425 if test -n "$PKG_CONFIG"; then
22426 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22427 echo "${ECHO_T}$PKG_CONFIG" >&6
22429 echo "$as_me:$LINENO: result: no" >&5
22430 echo "${ECHO_T}no" >&6
22435 if test "$PKG_CONFIG" = "no" ; then
22436 echo "*** The pkg-config script could not be found. Make sure it is"
22437 echo "*** in your path, or set the PKG_CONFIG environment variable"
22438 echo "*** to the full path to pkg-config."
22439 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22441 PKG_CONFIG_MIN_VERSION
=0.9.0
22442 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22443 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
22444 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
22446 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
22447 echo "$as_me:$LINENO: result: yes" >&5
22448 echo "${ECHO_T}yes" >&6
22451 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
22452 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
22453 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
22454 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
22455 echo "${ECHO_T}$QT_CFLAGS" >&6
22457 echo "$as_me:$LINENO: checking QT_LIBS" >&5
22458 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
22459 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
22460 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
22461 echo "${ECHO_T}$QT_LIBS" >&6
22465 ## If we have a custom action on failure, don't print errors, but
22466 ## do set a variable so people can do so.
22467 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
22474 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22475 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22479 if test $succeeded = yes; then
22485 if test "x$HAVE_QT4" = "xyes"; then
22486 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
22487 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
22488 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22489 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
22490 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22491 if eval "test \"\${$as_ac_File+set}\" = set"; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 test "$cross_compiling" = yes &&
22495 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22496 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22497 { (exit 1); exit 1; }; }
22498 if test -r "$QT_INCLUDE_DIR/QWidget"; then
22499 eval "$as_ac_File=yes"
22501 eval "$as_ac_File=no"
22504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22505 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22506 if test `eval echo '${'$as_ac_File'}'` = yes; then
22507 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
22508 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
22510 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22511 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
22512 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22513 if eval "test \"\${$as_ac_File+set}\" = set"; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 test "$cross_compiling" = yes &&
22517 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22518 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22519 { (exit 1); exit 1; }; }
22520 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
22521 eval "$as_ac_File=yes"
22523 eval "$as_ac_File=no"
22526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22527 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22528 if test `eval echo '${'$as_ac_File'}'` = yes; then
22529 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
22531 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
22532 echo "$as_me: WARNING: QWidget not found" >&2;}
22537 # Extract the first word of "moc", so it can be a program name with args.
22538 set dummy moc
; ac_word
=$2
22539 echo "$as_me:$LINENO: checking for $ac_word" >&5
22540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22541 if test "${ac_cv_prog_MOC+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 if test -n "$MOC"; then
22545 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22548 for as_dir
in $PATH
22551 test -z "$as_dir" && as_dir
=.
22552 for ac_exec_ext
in '' $ac_executable_extensions; do
22553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22554 ac_cv_prog_MOC
="moc"
22555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22563 MOC
=$ac_cv_prog_MOC
22564 if test -n "$MOC"; then
22565 echo "$as_me:$LINENO: result: $MOC" >&5
22566 echo "${ECHO_T}$MOC" >&6
22568 echo "$as_me:$LINENO: result: no" >&5
22569 echo "${ECHO_T}no" >&6
22572 # Extract the first word of "moc-qt4", so it can be a program name with args.
22573 set dummy moc-qt4
; ac_word
=$2
22574 echo "$as_me:$LINENO: checking for $ac_word" >&5
22575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22576 if test "${ac_cv_prog_MOC+set}" = set; then
22577 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 if test -n "$MOC"; then
22580 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22583 for as_dir
in $PATH
22586 test -z "$as_dir" && as_dir
=.
22587 for ac_exec_ext
in '' $ac_executable_extensions; do
22588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22589 ac_cv_prog_MOC
="moc-qt4"
22590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22598 MOC
=$ac_cv_prog_MOC
22599 if test -n "$MOC"; then
22600 echo "$as_me:$LINENO: result: $MOC" >&5
22601 echo "${ECHO_T}$MOC" >&6
22603 echo "$as_me:$LINENO: result: no" >&5
22604 echo "${ECHO_T}no" >&6
22608 if test "x$HAVE_QT4" = "xno"; then
22609 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
22610 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
22614 # Check whether --with-qt4dir or --without-qt4dir was given.
22615 if test "${with_qt4dir+set}" = set; then
22616 withval
="$with_qt4dir"
22620 if test x
"$QT4DIR" = x
; then
22621 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
22622 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
22623 { (exit 1); exit 1; }; }
22625 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
22626 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
22627 # Extract the first word of "moc", so it can be a program name with args.
22628 set dummy moc
; ac_word
=$2
22629 echo "$as_me:$LINENO: checking for $ac_word" >&5
22630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22631 if test "${ac_cv_prog_MOC+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 if test -n "$MOC"; then
22635 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22638 for as_dir
in $QT4DIR/bin
22641 test -z "$as_dir" && as_dir
=.
22642 for ac_exec_ext
in '' $ac_executable_extensions; do
22643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22644 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
22645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22653 MOC
=$ac_cv_prog_MOC
22654 if test -n "$MOC"; then
22655 echo "$as_me:$LINENO: result: $MOC" >&5
22656 echo "${ECHO_T}$MOC" >&6
22658 echo "$as_me:$LINENO: result: no" >&5
22659 echo "${ECHO_T}no" >&6
22662 if test x
"$MOC" = x
; then
22663 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
22664 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
22665 { (exit 1); exit 1; }; }
22667 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
22668 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
22669 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
22670 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
22673 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
22674 of your installed Qt4 installation." >&5
22675 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
22676 of your installed Qt4 installation." >&2;}
22677 { (exit 1); exit 1; }; }
22681 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
22682 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
22686 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
22687 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
22688 cat >conftest.
$ac_ext <<_ACEOF
22691 cat confdefs.h
>>conftest.
$ac_ext
22692 cat >>conftest.
$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 #include <sys/socket.h>
22698 int f = MSG_NOSIGNAL;
22703 rm -f conftest.
$ac_objext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705 (eval $ac_compile) 2>conftest.er1
22707 grep -v '^ *+' conftest.er1
>conftest.err
22709 cat conftest.err
>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try
='test -z "$ac_c_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try
='test -s conftest.$ac_objext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22725 echo "$as_me:$LINENO: result: yes" >&5
22726 echo "${ECHO_T}yes" >&6
22728 cat >>confdefs.h
<<\_ACEOF
22729 #define HAVE_MSG_NOSIGNAL 1
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.
$ac_ext >&5
22736 echo "$as_me:$LINENO: result: no" >&5
22737 echo "${ECHO_T}no" >&6
22740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22741 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
22742 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
22743 cat >conftest.
$ac_ext <<_ACEOF
22746 cat confdefs.h
>>conftest.
$ac_ext
22747 cat >>conftest.
$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 #include <sys/socket.h>
22753 int f = SO_NOSIGPIPE;
22758 rm -f conftest.
$ac_objext
22759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22760 (eval $ac_compile) 2>conftest.er1
22762 grep -v '^ *+' conftest.er1
>conftest.err
22764 cat conftest.err
>&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); } &&
22767 { ac_try
='test -z "$ac_c_werror_flag"
22768 || test ! -s conftest.err'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; } &&
22774 { ac_try
='test -s conftest.$ac_objext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 echo "$as_me:$LINENO: result: yes" >&5
22781 echo "${ECHO_T}yes" >&6
22783 cat >>confdefs.h
<<\_ACEOF
22784 #define HAVE_SO_NOSIGPIPE 1
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.
$ac_ext >&5
22791 echo "$as_me:$LINENO: result: no" >&5
22792 echo "${ECHO_T}no" >&6
22795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22796 echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
22797 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6
22798 cat >conftest.
$ac_ext <<_ACEOF
22801 cat confdefs.h
>>conftest.
$ac_ext
22802 cat >>conftest.
$ac_ext <<_ACEOF
22803 /* end confdefs.h. */
22804 #include <sys/socket.h>
22808 int f = MSG_WAITALL;
22813 rm -f conftest.
$ac_objext
22814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22815 (eval $ac_compile) 2>conftest.er1
22817 grep -v '^ *+' conftest.er1
>conftest.err
22819 cat conftest.err
>&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try
='test -z "$ac_c_werror_flag"
22823 || test ! -s conftest.err'
22824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22825 (eval $ac_try) 2>&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); }; } &&
22829 { ac_try
='test -s conftest.$ac_objext'
22830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22831 (eval $ac_try) 2>&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); }; }; then
22835 echo "$as_me:$LINENO: result: yes" >&5
22836 echo "${ECHO_T}yes" >&6
22838 cat >>confdefs.h
<<\_ACEOF
22839 #define HAVE_MSG_WAITALL 1
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.
$ac_ext >&5
22846 echo "$as_me:$LINENO: result: no" >&5
22847 echo "${ECHO_T}no" >&6
22850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22852 if test "x${COMPILE_PLUGIN}" = xyes
; then
22856 if test -z "$PKG_CONFIG"; then
22857 # Extract the first word of "pkg-config", so it can be a program name with args.
22858 set dummy pkg-config
; ac_word
=$2
22859 echo "$as_me:$LINENO: checking for $ac_word" >&5
22860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22861 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 case $PKG_CONFIG in
22866 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22870 for as_dir
in $PATH
22873 test -z "$as_dir" && as_dir
=.
22874 for ac_exec_ext
in '' $ac_executable_extensions; do
22875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22876 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22883 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22887 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22889 if test -n "$PKG_CONFIG"; then
22890 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22891 echo "${ECHO_T}$PKG_CONFIG" >&6
22893 echo "$as_me:$LINENO: result: no" >&5
22894 echo "${ECHO_T}no" >&6
22899 if test "$PKG_CONFIG" = "no" ; then
22900 echo "*** The pkg-config script could not be found. Make sure it is"
22901 echo "*** in your path, or set the PKG_CONFIG environment variable"
22902 echo "*** to the full path to pkg-config."
22903 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22905 PKG_CONFIG_MIN_VERSION
=0.9.0
22906 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22907 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
22908 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
22910 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22911 echo "$as_me:$LINENO: result: yes" >&5
22912 echo "${ECHO_T}yes" >&6
22915 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22916 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22917 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
22918 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22919 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22921 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22922 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22923 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
22924 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22925 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22929 ## If we have a custom action on failure, don't print errors, but
22930 ## do set a variable so people can do so.
22931 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22938 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22939 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22943 if test $succeeded = yes; then
22949 if test "x${MOZILLA_FOUND}" = xno
; then
22953 if test -z "$PKG_CONFIG"; then
22954 # Extract the first word of "pkg-config", so it can be a program name with args.
22955 set dummy pkg-config
; ac_word
=$2
22956 echo "$as_me:$LINENO: checking for $ac_word" >&5
22957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22958 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22961 case $PKG_CONFIG in
22963 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22967 for as_dir
in $PATH
22970 test -z "$as_dir" && as_dir
=.
22971 for ac_exec_ext
in '' $ac_executable_extensions; do
22972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22973 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22980 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22984 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22986 if test -n "$PKG_CONFIG"; then
22987 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22988 echo "${ECHO_T}$PKG_CONFIG" >&6
22990 echo "$as_me:$LINENO: result: no" >&5
22991 echo "${ECHO_T}no" >&6
22996 if test "$PKG_CONFIG" = "no" ; then
22997 echo "*** The pkg-config script could not be found. Make sure it is"
22998 echo "*** in your path, or set the PKG_CONFIG environment variable"
22999 echo "*** to the full path to pkg-config."
23000 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23002 PKG_CONFIG_MIN_VERSION
=0.9.0
23003 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23004 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
23005 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
23007 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
23008 echo "$as_me:$LINENO: result: yes" >&5
23009 echo "${ECHO_T}yes" >&6
23012 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23013 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23014 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
23015 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23016 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23018 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23019 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23020 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
23021 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23022 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23026 ## If we have a custom action on failure, don't print errors, but
23027 ## do set a variable so people can do so.
23028 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
23035 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23036 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23040 if test $succeeded = yes; then
23047 if test "x${MOZILLA_FOUND}" = xno
; then
23051 if test -z "$PKG_CONFIG"; then
23052 # Extract the first word of "pkg-config", so it can be a program name with args.
23053 set dummy pkg-config
; ac_word
=$2
23054 echo "$as_me:$LINENO: checking for $ac_word" >&5
23055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23056 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23057 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 case $PKG_CONFIG in
23061 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23065 for as_dir
in $PATH
23068 test -z "$as_dir" && as_dir
=.
23069 for ac_exec_ext
in '' $ac_executable_extensions; do
23070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23071 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23078 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23082 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23084 if test -n "$PKG_CONFIG"; then
23085 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23086 echo "${ECHO_T}$PKG_CONFIG" >&6
23088 echo "$as_me:$LINENO: result: no" >&5
23089 echo "${ECHO_T}no" >&6
23094 if test "$PKG_CONFIG" = "no" ; then
23095 echo "*** The pkg-config script could not be found. Make sure it is"
23096 echo "*** in your path, or set the PKG_CONFIG environment variable"
23097 echo "*** to the full path to pkg-config."
23098 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23100 PKG_CONFIG_MIN_VERSION
=0.9.0
23101 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23102 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
23103 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
23105 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
23106 echo "$as_me:$LINENO: result: yes" >&5
23107 echo "${ECHO_T}yes" >&6
23110 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23111 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23112 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
23113 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23114 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23116 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23117 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23118 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
23119 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23120 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23124 ## If we have a custom action on failure, don't print errors, but
23125 ## do set a variable so people can do so.
23126 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
23133 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23134 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23138 if test $succeeded = yes; then
23145 if test "x${MOZILLA_FOUND}" = xno
; then
23149 if test -z "$PKG_CONFIG"; then
23150 # Extract the first word of "pkg-config", so it can be a program name with args.
23151 set dummy pkg-config
; ac_word
=$2
23152 echo "$as_me:$LINENO: checking for $ac_word" >&5
23153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23157 case $PKG_CONFIG in
23159 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23163 for as_dir
in $PATH
23166 test -z "$as_dir" && as_dir
=.
23167 for ac_exec_ext
in '' $ac_executable_extensions; do
23168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23169 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23176 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23180 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23182 if test -n "$PKG_CONFIG"; then
23183 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23184 echo "${ECHO_T}$PKG_CONFIG" >&6
23186 echo "$as_me:$LINENO: result: no" >&5
23187 echo "${ECHO_T}no" >&6
23192 if test "$PKG_CONFIG" = "no" ; then
23193 echo "*** The pkg-config script could not be found. Make sure it is"
23194 echo "*** in your path, or set the PKG_CONFIG environment variable"
23195 echo "*** to the full path to pkg-config."
23196 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23198 PKG_CONFIG_MIN_VERSION
=0.9.0
23199 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23200 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
23201 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
23203 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
23204 echo "$as_me:$LINENO: result: yes" >&5
23205 echo "${ECHO_T}yes" >&6
23208 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23209 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23210 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23211 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23212 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23214 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23215 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23216 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23217 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23218 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23222 ## If we have a custom action on failure, don't print errors, but
23223 ## do set a variable so people can do so.
23224 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23231 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23232 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23236 if test $succeeded = yes; then
23243 if test "x${MOZILLA_FOUND}" = xno
; then
23247 if test -z "$PKG_CONFIG"; then
23248 # Extract the first word of "pkg-config", so it can be a program name with args.
23249 set dummy pkg-config
; ac_word
=$2
23250 echo "$as_me:$LINENO: checking for $ac_word" >&5
23251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23252 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 case $PKG_CONFIG in
23257 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23261 for as_dir
in $PATH
23264 test -z "$as_dir" && as_dir
=.
23265 for ac_exec_ext
in '' $ac_executable_extensions; do
23266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23267 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23274 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23278 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23280 if test -n "$PKG_CONFIG"; then
23281 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23282 echo "${ECHO_T}$PKG_CONFIG" >&6
23284 echo "$as_me:$LINENO: result: no" >&5
23285 echo "${ECHO_T}no" >&6
23290 if test "$PKG_CONFIG" = "no" ; then
23291 echo "*** The pkg-config script could not be found. Make sure it is"
23292 echo "*** in your path, or set the PKG_CONFIG environment variable"
23293 echo "*** to the full path to pkg-config."
23294 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23296 PKG_CONFIG_MIN_VERSION
=0.9.0
23297 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23298 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
23299 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
23301 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
23302 echo "$as_me:$LINENO: result: yes" >&5
23303 echo "${ECHO_T}yes" >&6
23306 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23307 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23308 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
23309 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23310 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23312 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23313 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23314 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
23315 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23316 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23320 ## If we have a custom action on failure, don't print errors, but
23321 ## do set a variable so people can do so.
23322 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
23329 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23330 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23334 if test $succeeded = yes; then
23341 if test "x${MOZILLA_FOUND}" = xno
; then
23345 if test -z "$PKG_CONFIG"; then
23346 # Extract the first word of "pkg-config", so it can be a program name with args.
23347 set dummy pkg-config
; ac_word
=$2
23348 echo "$as_me:$LINENO: checking for $ac_word" >&5
23349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23350 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 case $PKG_CONFIG in
23355 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23359 for as_dir
in $PATH
23362 test -z "$as_dir" && as_dir
=.
23363 for ac_exec_ext
in '' $ac_executable_extensions; do
23364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23365 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23372 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23376 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23378 if test -n "$PKG_CONFIG"; then
23379 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23380 echo "${ECHO_T}$PKG_CONFIG" >&6
23382 echo "$as_me:$LINENO: result: no" >&5
23383 echo "${ECHO_T}no" >&6
23388 if test "$PKG_CONFIG" = "no" ; then
23389 echo "*** The pkg-config script could not be found. Make sure it is"
23390 echo "*** in your path, or set the PKG_CONFIG environment variable"
23391 echo "*** to the full path to pkg-config."
23392 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23394 PKG_CONFIG_MIN_VERSION
=0.9.0
23395 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23396 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
23397 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
23399 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23400 echo "$as_me:$LINENO: result: yes" >&5
23401 echo "${ECHO_T}yes" >&6
23404 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23405 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23406 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23407 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23408 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23410 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23411 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23412 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23413 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23414 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23418 ## If we have a custom action on failure, don't print errors, but
23419 ## do set a variable so people can do so.
23420 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23427 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23428 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23432 if test $succeeded = yes; then
23439 if test "x${MOZILLA_FOUND}" = xno
; then
23440 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
23441 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
23442 { (exit 1); exit 1; }; }
23448 if test -z "$PKG_CONFIG"; then
23449 # Extract the first word of "pkg-config", so it can be a program name with args.
23450 set dummy pkg-config
; ac_word
=$2
23451 echo "$as_me:$LINENO: checking for $ac_word" >&5
23452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23453 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 case $PKG_CONFIG in
23458 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23462 for as_dir
in $PATH
23465 test -z "$as_dir" && as_dir
=.
23466 for ac_exec_ext
in '' $ac_executable_extensions; do
23467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23468 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23475 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23479 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23481 if test -n "$PKG_CONFIG"; then
23482 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23483 echo "${ECHO_T}$PKG_CONFIG" >&6
23485 echo "$as_me:$LINENO: result: no" >&5
23486 echo "${ECHO_T}no" >&6
23491 if test "$PKG_CONFIG" = "no" ; then
23492 echo "*** The pkg-config script could not be found. Make sure it is"
23493 echo "*** in your path, or set the PKG_CONFIG environment variable"
23494 echo "*** to the full path to pkg-config."
23495 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23497 PKG_CONFIG_MIN_VERSION
=0.9.0
23498 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23499 echo "$as_me:$LINENO: checking for glib-2.0" >&5
23500 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
23502 if $PKG_CONFIG --exists "glib-2.0" ; then
23503 echo "$as_me:$LINENO: result: yes" >&5
23504 echo "${ECHO_T}yes" >&6
23507 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
23508 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
23509 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
23510 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
23511 echo "${ECHO_T}$GLIB_CFLAGS" >&6
23513 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
23514 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
23515 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
23516 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
23517 echo "${ECHO_T}$GLIB_LIBS" >&6
23521 ## If we have a custom action on failure, don't print errors, but
23522 ## do set a variable so people can do so.
23523 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23524 echo $GLIB_PKG_ERRORS
23530 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23531 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23535 if test $succeeded = yes; then
23538 { { 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
23539 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;}
23540 { (exit 1); exit 1; }; }
23546 if test -z "$PKG_CONFIG"; then
23547 # Extract the first word of "pkg-config", so it can be a program name with args.
23548 set dummy pkg-config
; ac_word
=$2
23549 echo "$as_me:$LINENO: checking for $ac_word" >&5
23550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23551 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23552 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 case $PKG_CONFIG in
23556 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23560 for as_dir
in $PATH
23563 test -z "$as_dir" && as_dir
=.
23564 for ac_exec_ext
in '' $ac_executable_extensions; do
23565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23566 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23573 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23577 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23579 if test -n "$PKG_CONFIG"; then
23580 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23581 echo "${ECHO_T}$PKG_CONFIG" >&6
23583 echo "$as_me:$LINENO: result: no" >&5
23584 echo "${ECHO_T}no" >&6
23589 if test "$PKG_CONFIG" = "no" ; then
23590 echo "*** The pkg-config script could not be found. Make sure it is"
23591 echo "*** in your path, or set the PKG_CONFIG environment variable"
23592 echo "*** to the full path to pkg-config."
23593 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23595 PKG_CONFIG_MIN_VERSION
=0.9.0
23596 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23597 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23598 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
23600 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23601 echo "$as_me:$LINENO: result: yes" >&5
23602 echo "${ECHO_T}yes" >&6
23605 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
23606 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
23607 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23608 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
23609 echo "${ECHO_T}$GTK_CFLAGS" >&6
23611 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
23612 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
23613 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23614 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
23615 echo "${ECHO_T}$GTK_LIBS" >&6
23619 ## If we have a custom action on failure, don't print errors, but
23620 ## do set a variable so people can do so.
23621 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23622 echo $GTK_PKG_ERRORS
23628 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23629 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23633 if test $succeeded = yes; then
23636 { { 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
23637 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;}
23638 { (exit 1); exit 1; }; }
23649 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23654 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
23657 # Check whether --with-javah or --without-javah was given.
23658 if test "${with_javah+set}" = set; then
23659 withval
="$with_javah"
23661 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23663 if test "x${withval}" != x
; then
23664 if test -f "${withval}"; then
23665 USER_JAVAH
="${withval}"
23667 # Extract the first word of ""${withval}"", so it can be a program name with args.
23668 set dummy
"${withval}"; ac_word
=$2
23669 echo "$as_me:$LINENO: checking for $ac_word" >&5
23670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23671 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23672 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 case $USER_JAVAH in
23676 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23680 for as_dir
in $PATH
23683 test -z "$as_dir" && as_dir
=.
23684 for ac_exec_ext
in '' $ac_executable_extensions; do
23685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23686 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23696 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23698 if test -n "$USER_JAVAH"; then
23699 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23700 echo "${ECHO_T}$USER_JAVAH" >&6
23702 echo "$as_me:$LINENO: result: no" >&5
23703 echo "${ECHO_T}no" >&6
23708 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23710 # Extract the first word of "$ac_prog", so it can be a program name with args.
23711 set dummy
$ac_prog; ac_word
=$2
23712 echo "$as_me:$LINENO: checking for $ac_word" >&5
23713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23714 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23717 case $USER_JAVAH in
23719 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23723 for as_dir
in $PATH
23726 test -z "$as_dir" && as_dir
=.
23727 for ac_exec_ext
in '' $ac_executable_extensions; do
23728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23729 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23739 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23741 if test -n "$USER_JAVAH"; then
23742 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23743 echo "${ECHO_T}$USER_JAVAH" >&6
23745 echo "$as_me:$LINENO: result: no" >&5
23746 echo "${ECHO_T}no" >&6
23749 test -n "$USER_JAVAH" && break
23754 if test "x${USER_JAVAH}" = x
; then
23755 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23756 echo "$as_me: error: can not find javah" >&2;}
23757 { (exit 1); exit 1; }; }
23762 if test "x" != x
; then
23763 if test -f ""; then
23766 # Extract the first word of """", so it can be a program name with args.
23767 set dummy
""; ac_word
=$2
23768 echo "$as_me:$LINENO: checking for $ac_word" >&5
23769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23770 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 case $USER_JAVAH in
23775 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23779 for as_dir
in $PATH
23782 test -z "$as_dir" && as_dir
=.
23783 for ac_exec_ext
in '' $ac_executable_extensions; do
23784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23785 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23795 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23797 if test -n "$USER_JAVAH"; then
23798 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23799 echo "${ECHO_T}$USER_JAVAH" >&6
23801 echo "$as_me:$LINENO: result: no" >&5
23802 echo "${ECHO_T}no" >&6
23807 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23809 # Extract the first word of "$ac_prog", so it can be a program name with args.
23810 set dummy
$ac_prog; ac_word
=$2
23811 echo "$as_me:$LINENO: checking for $ac_word" >&5
23812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23813 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23816 case $USER_JAVAH in
23818 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23822 for as_dir
in $PATH
23825 test -z "$as_dir" && as_dir
=.
23826 for ac_exec_ext
in '' $ac_executable_extensions; do
23827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23828 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23838 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23840 if test -n "$USER_JAVAH"; then
23841 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23842 echo "${ECHO_T}$USER_JAVAH" >&6
23844 echo "$as_me:$LINENO: result: no" >&5
23845 echo "${ECHO_T}no" >&6
23848 test -n "$USER_JAVAH" && break
23853 if test "x${USER_JAVAH}" = x
; then
23854 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23855 echo "$as_me: error: can not find javah" >&2;}
23856 { (exit 1); exit 1; }; }
23864 if test "x" != x
; then
23865 if test -f ""; then
23868 # Extract the first word of """", so it can be a program name with args.
23869 set dummy
""; ac_word
=$2
23870 echo "$as_me:$LINENO: checking for $ac_word" >&5
23871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23872 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 case $USER_JAVAH in
23877 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23881 for as_dir
in $PATH
23884 test -z "$as_dir" && as_dir
=.
23885 for ac_exec_ext
in '' $ac_executable_extensions; do
23886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23887 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23897 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23899 if test -n "$USER_JAVAH"; then
23900 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23901 echo "${ECHO_T}$USER_JAVAH" >&6
23903 echo "$as_me:$LINENO: result: no" >&5
23904 echo "${ECHO_T}no" >&6
23909 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23911 # Extract the first word of "$ac_prog", so it can be a program name with args.
23912 set dummy
$ac_prog; ac_word
=$2
23913 echo "$as_me:$LINENO: checking for $ac_word" >&5
23914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23915 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 case $USER_JAVAH in
23920 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23924 for as_dir
in $PATH
23927 test -z "$as_dir" && as_dir
=.
23928 for ac_exec_ext
in '' $ac_executable_extensions; do
23929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23930 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23940 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23942 if test -n "$USER_JAVAH"; then
23943 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23944 echo "${ECHO_T}$USER_JAVAH" >&6
23946 echo "$as_me:$LINENO: result: no" >&5
23947 echo "${ECHO_T}no" >&6
23950 test -n "$USER_JAVAH" && break
23955 if test "x${USER_JAVAH}" = x
; then
23956 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23957 echo "$as_me: error: can not find javah" >&2;}
23958 { (exit 1); exit 1; }; }
23967 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23970 if test "x${COMPILE_JNI}" = xyes
; then
23971 echo "$as_me:$LINENO: checking jni_md.h support" >&5
23972 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
23973 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
23974 echo "$as_me:$LINENO: result: yes" >&5
23975 echo "${ECHO_T}yes" >&6
23978 target_os
=linux-gnu
23979 { echo "$as_me:$LINENO: WARNING: no" >&5
23980 echo "$as_me: WARNING: no" >&2;}
23982 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
23983 ac_dests
="include/jni_md.h"
23984 while test -n "$ac_sources"; do
23985 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23986 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23987 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23989 ac_config_links
="$ac_config_links $ac_config_links_1"
23994 user_specified_javac
=
23998 # Check whether --with-gcj or --without-gcj was given.
23999 if test "${with_gcj+set}" = set; then
24000 withval
="$with_gcj"
24002 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24004 if test "x${withval}" != x
; then
24005 if test -f "${withval}"; then
24008 # Extract the first word of ""${withval}"", so it can be a program name with args.
24009 set dummy
"${withval}"; ac_word
=$2
24010 echo "$as_me:$LINENO: checking for $ac_word" >&5
24011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24012 if test "${ac_cv_path_GCJ+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24021 for as_dir
in $PATH
24024 test -z "$as_dir" && as_dir
=.
24025 for ac_exec_ext
in '' $ac_executable_extensions; do
24026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24027 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24037 GCJ
=$ac_cv_path_GCJ
24039 if test -n "$GCJ"; then
24040 echo "$as_me:$LINENO: result: $GCJ" >&5
24041 echo "${ECHO_T}$GCJ" >&6
24043 echo "$as_me:$LINENO: result: no" >&5
24044 echo "${ECHO_T}no" >&6
24049 # Extract the first word of ""gcj"", so it can be a program name with args.
24050 set dummy
"gcj"; ac_word
=$2
24051 echo "$as_me:$LINENO: checking for $ac_word" >&5
24052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24053 if test "${ac_cv_path_GCJ+set}" = set; then
24054 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24062 for as_dir
in $PATH
24065 test -z "$as_dir" && as_dir
=.
24066 for ac_exec_ext
in '' $ac_executable_extensions; do
24067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24068 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24078 GCJ
=$ac_cv_path_GCJ
24080 if test -n "$GCJ"; then
24081 echo "$as_me:$LINENO: result: $GCJ" >&5
24082 echo "${ECHO_T}$GCJ" >&6
24084 echo "$as_me:$LINENO: result: no" >&5
24085 echo "${ECHO_T}no" >&6
24089 if test "x$GCJ" != x
; then
24090 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24091 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24093 ac_cpp
='$CPP $CPPFLAGS'
24094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24098 cat >conftest.
$ac_ext <<_ACEOF
24100 #error GCJ 4.0.0 or higher is required
24104 $GCJ -E conftest.c
> /dev
/null
24106 if test "x$gcj_4_result" = "x0"; then
24107 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24108 echo "${ECHO_T}4.0 or higher found" >&6
24110 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24111 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24114 ac_cpp
='$CPP $CPPFLAGS'
24115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24122 if test "x${withval}" != xno
; then
24124 if test "x" != x
; then
24125 if test -f ""; then
24128 # Extract the first word of """", so it can be a program name with args.
24129 set dummy
""; ac_word
=$2
24130 echo "$as_me:$LINENO: checking for $ac_word" >&5
24131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24132 if test "${ac_cv_path_GCJ+set}" = set; then
24133 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24141 for as_dir
in $PATH
24144 test -z "$as_dir" && as_dir
=.
24145 for ac_exec_ext
in '' $ac_executable_extensions; do
24146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24147 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24157 GCJ
=$ac_cv_path_GCJ
24159 if test -n "$GCJ"; then
24160 echo "$as_me:$LINENO: result: $GCJ" >&5
24161 echo "${ECHO_T}$GCJ" >&6
24163 echo "$as_me:$LINENO: result: no" >&5
24164 echo "${ECHO_T}no" >&6
24169 # Extract the first word of ""gcj"", so it can be a program name with args.
24170 set dummy
"gcj"; ac_word
=$2
24171 echo "$as_me:$LINENO: checking for $ac_word" >&5
24172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24173 if test "${ac_cv_path_GCJ+set}" = set; then
24174 echo $ECHO_N "(cached) $ECHO_C" >&6
24178 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24182 for as_dir
in $PATH
24185 test -z "$as_dir" && as_dir
=.
24186 for ac_exec_ext
in '' $ac_executable_extensions; do
24187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24188 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24198 GCJ
=$ac_cv_path_GCJ
24200 if test -n "$GCJ"; then
24201 echo "$as_me:$LINENO: result: $GCJ" >&5
24202 echo "${ECHO_T}$GCJ" >&6
24204 echo "$as_me:$LINENO: result: no" >&5
24205 echo "${ECHO_T}no" >&6
24209 if test "x$GCJ" != x
; then
24210 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24211 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24213 ac_cpp
='$CPP $CPPFLAGS'
24214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24218 cat >conftest.
$ac_ext <<_ACEOF
24220 #error GCJ 4.0.0 or higher is required
24224 $GCJ -E conftest.c
> /dev
/null
24226 if test "x$gcj_4_result" = "x0"; then
24227 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24228 echo "${ECHO_T}4.0 or higher found" >&6
24230 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24231 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24234 ac_cpp
='$CPP $CPPFLAGS'
24235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24243 user_specified_javac
=gcj
24248 if test "x" != x
; then
24249 if test -f ""; then
24252 # Extract the first word of """", so it can be a program name with args.
24253 set dummy
""; ac_word
=$2
24254 echo "$as_me:$LINENO: checking for $ac_word" >&5
24255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24256 if test "${ac_cv_path_GCJ+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24261 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24265 for as_dir
in $PATH
24268 test -z "$as_dir" && as_dir
=.
24269 for ac_exec_ext
in '' $ac_executable_extensions; do
24270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24271 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24281 GCJ
=$ac_cv_path_GCJ
24283 if test -n "$GCJ"; then
24284 echo "$as_me:$LINENO: result: $GCJ" >&5
24285 echo "${ECHO_T}$GCJ" >&6
24287 echo "$as_me:$LINENO: result: no" >&5
24288 echo "${ECHO_T}no" >&6
24293 # Extract the first word of ""gcj"", so it can be a program name with args.
24294 set dummy
"gcj"; ac_word
=$2
24295 echo "$as_me:$LINENO: checking for $ac_word" >&5
24296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24297 if test "${ac_cv_path_GCJ+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24306 for as_dir
in $PATH
24309 test -z "$as_dir" && as_dir
=.
24310 for ac_exec_ext
in '' $ac_executable_extensions; do
24311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24312 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24322 GCJ
=$ac_cv_path_GCJ
24324 if test -n "$GCJ"; then
24325 echo "$as_me:$LINENO: result: $GCJ" >&5
24326 echo "${ECHO_T}$GCJ" >&6
24328 echo "$as_me:$LINENO: result: no" >&5
24329 echo "${ECHO_T}no" >&6
24333 if test "x$GCJ" != x
; then
24334 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24335 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24337 ac_cpp
='$CPP $CPPFLAGS'
24338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24342 cat >conftest.
$ac_ext <<_ACEOF
24344 #error GCJ 4.0.0 or higher is required
24348 $GCJ -E conftest.c
> /dev
/null
24350 if test "x$gcj_4_result" = "x0"; then
24351 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24352 echo "${ECHO_T}4.0 or higher found" >&6
24354 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24355 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24358 ac_cpp
='$CPP $CPPFLAGS'
24359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24371 # Check whether --with-jikes or --without-jikes was given.
24372 if test "${with_jikes+set}" = set; then
24373 withval
="$with_jikes"
24375 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24377 if test "x${withval}" != x
; then
24378 if test -f "${withval}"; then
24381 # Extract the first word of ""${withval}"", so it can be a program name with args.
24382 set dummy
"${withval}"; ac_word
=$2
24383 echo "$as_me:$LINENO: checking for $ac_word" >&5
24384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24385 if test "${ac_cv_path_JIKES+set}" = set; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24394 for as_dir
in $PATH
24397 test -z "$as_dir" && as_dir
=.
24398 for ac_exec_ext
in '' $ac_executable_extensions; do
24399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24400 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24410 JIKES
=$ac_cv_path_JIKES
24412 if test -n "$JIKES"; then
24413 echo "$as_me:$LINENO: result: $JIKES" >&5
24414 echo "${ECHO_T}$JIKES" >&6
24416 echo "$as_me:$LINENO: result: no" >&5
24417 echo "${ECHO_T}no" >&6
24422 # Extract the first word of ""jikes"", so it can be a program name with args.
24423 set dummy
"jikes"; ac_word
=$2
24424 echo "$as_me:$LINENO: checking for $ac_word" >&5
24425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24426 if test "${ac_cv_path_JIKES+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24435 for as_dir
in $PATH
24438 test -z "$as_dir" && as_dir
=.
24439 for ac_exec_ext
in '' $ac_executable_extensions; do
24440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24441 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24451 JIKES
=$ac_cv_path_JIKES
24453 if test -n "$JIKES"; then
24454 echo "$as_me:$LINENO: result: $JIKES" >&5
24455 echo "${ECHO_T}$JIKES" >&6
24457 echo "$as_me:$LINENO: result: no" >&5
24458 echo "${ECHO_T}no" >&6
24462 if test "x$JIKES" != "x"; then
24463 echo "$as_me:$LINENO: checking jikes version" >&5
24464 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24465 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24466 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24467 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24468 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24469 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24473 if test "x$JIKES" != "x"; then
24474 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24475 echo "${ECHO_T}$JIKES_VERSION" >&6
24477 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24478 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24482 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24483 JIKESENCODING
='-encoding UTF-8'
24487 JIKESWARNINGS
="+Pno-switchcheck"
24488 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24489 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24490 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24498 if test "x${withval}" != xno
; then
24500 if test "x" != x
; then
24501 if test -f ""; then
24504 # Extract the first word of """", so it can be a program name with args.
24505 set dummy
""; ac_word
=$2
24506 echo "$as_me:$LINENO: checking for $ac_word" >&5
24507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24508 if test "${ac_cv_path_JIKES+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24517 for as_dir
in $PATH
24520 test -z "$as_dir" && as_dir
=.
24521 for ac_exec_ext
in '' $ac_executable_extensions; do
24522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24523 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24533 JIKES
=$ac_cv_path_JIKES
24535 if test -n "$JIKES"; then
24536 echo "$as_me:$LINENO: result: $JIKES" >&5
24537 echo "${ECHO_T}$JIKES" >&6
24539 echo "$as_me:$LINENO: result: no" >&5
24540 echo "${ECHO_T}no" >&6
24545 # Extract the first word of ""jikes"", so it can be a program name with args.
24546 set dummy
"jikes"; ac_word
=$2
24547 echo "$as_me:$LINENO: checking for $ac_word" >&5
24548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24549 if test "${ac_cv_path_JIKES+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24558 for as_dir
in $PATH
24561 test -z "$as_dir" && as_dir
=.
24562 for ac_exec_ext
in '' $ac_executable_extensions; do
24563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24564 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24574 JIKES
=$ac_cv_path_JIKES
24576 if test -n "$JIKES"; then
24577 echo "$as_me:$LINENO: result: $JIKES" >&5
24578 echo "${ECHO_T}$JIKES" >&6
24580 echo "$as_me:$LINENO: result: no" >&5
24581 echo "${ECHO_T}no" >&6
24585 if test "x$JIKES" != "x"; then
24586 echo "$as_me:$LINENO: checking jikes version" >&5
24587 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24588 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24589 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24590 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24591 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24592 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24596 if test "x$JIKES" != "x"; then
24597 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24598 echo "${ECHO_T}$JIKES_VERSION" >&6
24600 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24601 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24605 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24606 JIKESENCODING
='-encoding UTF-8'
24610 JIKESWARNINGS
="+Pno-switchcheck"
24611 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24612 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24613 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24622 user_specified_javac
=jikes
24627 if test "x" != x
; then
24628 if test -f ""; then
24631 # Extract the first word of """", so it can be a program name with args.
24632 set dummy
""; ac_word
=$2
24633 echo "$as_me:$LINENO: checking for $ac_word" >&5
24634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24635 if test "${ac_cv_path_JIKES+set}" = set; then
24636 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24644 for as_dir
in $PATH
24647 test -z "$as_dir" && as_dir
=.
24648 for ac_exec_ext
in '' $ac_executable_extensions; do
24649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24650 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24660 JIKES
=$ac_cv_path_JIKES
24662 if test -n "$JIKES"; then
24663 echo "$as_me:$LINENO: result: $JIKES" >&5
24664 echo "${ECHO_T}$JIKES" >&6
24666 echo "$as_me:$LINENO: result: no" >&5
24667 echo "${ECHO_T}no" >&6
24672 # Extract the first word of ""jikes"", so it can be a program name with args.
24673 set dummy
"jikes"; ac_word
=$2
24674 echo "$as_me:$LINENO: checking for $ac_word" >&5
24675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24676 if test "${ac_cv_path_JIKES+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24681 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24685 for as_dir
in $PATH
24688 test -z "$as_dir" && as_dir
=.
24689 for ac_exec_ext
in '' $ac_executable_extensions; do
24690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24691 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24701 JIKES
=$ac_cv_path_JIKES
24703 if test -n "$JIKES"; then
24704 echo "$as_me:$LINENO: result: $JIKES" >&5
24705 echo "${ECHO_T}$JIKES" >&6
24707 echo "$as_me:$LINENO: result: no" >&5
24708 echo "${ECHO_T}no" >&6
24712 if test "x$JIKES" != "x"; then
24713 echo "$as_me:$LINENO: checking jikes version" >&5
24714 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24715 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24716 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24717 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24718 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24719 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24723 if test "x$JIKES" != "x"; then
24724 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24725 echo "${ECHO_T}$JIKES_VERSION" >&6
24727 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24728 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24732 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24733 JIKESENCODING
='-encoding UTF-8'
24737 JIKESWARNINGS
="+Pno-switchcheck"
24738 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24739 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24740 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24753 # Check whether --with-kjc or --without-kjc was given.
24754 if test "${with_kjc+set}" = set; then
24755 withval
="$with_kjc"
24757 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24759 if test "x${withval}" != x
; then
24760 if test -f "${withval}"; then
24763 # Extract the first word of ""${withval}"", so it can be a program name with args.
24764 set dummy
"${withval}"; ac_word
=$2
24765 echo "$as_me:$LINENO: checking for $ac_word" >&5
24766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24767 if test "${ac_cv_path_KJC+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24776 for as_dir
in $PATH
24779 test -z "$as_dir" && as_dir
=.
24780 for ac_exec_ext
in '' $ac_executable_extensions; do
24781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24782 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24792 KJC
=$ac_cv_path_KJC
24794 if test -n "$KJC"; then
24795 echo "$as_me:$LINENO: result: $KJC" >&5
24796 echo "${ECHO_T}$KJC" >&6
24798 echo "$as_me:$LINENO: result: no" >&5
24799 echo "${ECHO_T}no" >&6
24804 # Extract the first word of ""kJC"", so it can be a program name with args.
24805 set dummy
"kJC"; ac_word
=$2
24806 echo "$as_me:$LINENO: checking for $ac_word" >&5
24807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24808 if test "${ac_cv_path_KJC+set}" = set; then
24809 echo $ECHO_N "(cached) $ECHO_C" >&6
24813 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24817 for as_dir
in $PATH
24820 test -z "$as_dir" && as_dir
=.
24821 for ac_exec_ext
in '' $ac_executable_extensions; do
24822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24823 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24833 KJC
=$ac_cv_path_KJC
24835 if test -n "$KJC"; then
24836 echo "$as_me:$LINENO: result: $KJC" >&5
24837 echo "${ECHO_T}$KJC" >&6
24839 echo "$as_me:$LINENO: result: no" >&5
24840 echo "${ECHO_T}no" >&6
24846 if test "x${withval}" != xno
; then
24848 if test "x" != x
; then
24849 if test -f ""; then
24852 # Extract the first word of """", so it can be a program name with args.
24853 set dummy
""; ac_word
=$2
24854 echo "$as_me:$LINENO: checking for $ac_word" >&5
24855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24856 if test "${ac_cv_path_KJC+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24865 for as_dir
in $PATH
24868 test -z "$as_dir" && as_dir
=.
24869 for ac_exec_ext
in '' $ac_executable_extensions; do
24870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24871 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24881 KJC
=$ac_cv_path_KJC
24883 if test -n "$KJC"; then
24884 echo "$as_me:$LINENO: result: $KJC" >&5
24885 echo "${ECHO_T}$KJC" >&6
24887 echo "$as_me:$LINENO: result: no" >&5
24888 echo "${ECHO_T}no" >&6
24893 # Extract the first word of ""kJC"", so it can be a program name with args.
24894 set dummy
"kJC"; ac_word
=$2
24895 echo "$as_me:$LINENO: checking for $ac_word" >&5
24896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24897 if test "${ac_cv_path_KJC+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24906 for as_dir
in $PATH
24909 test -z "$as_dir" && as_dir
=.
24910 for ac_exec_ext
in '' $ac_executable_extensions; do
24911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24912 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24922 KJC
=$ac_cv_path_KJC
24924 if test -n "$KJC"; then
24925 echo "$as_me:$LINENO: result: $KJC" >&5
24926 echo "${ECHO_T}$KJC" >&6
24928 echo "$as_me:$LINENO: result: no" >&5
24929 echo "${ECHO_T}no" >&6
24936 user_specified_javac
=kjc
24941 if test "x" != x
; then
24942 if test -f ""; then
24945 # Extract the first word of """", so it can be a program name with args.
24946 set dummy
""; ac_word
=$2
24947 echo "$as_me:$LINENO: checking for $ac_word" >&5
24948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24949 if test "${ac_cv_path_KJC+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24958 for as_dir
in $PATH
24961 test -z "$as_dir" && as_dir
=.
24962 for ac_exec_ext
in '' $ac_executable_extensions; do
24963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24964 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24974 KJC
=$ac_cv_path_KJC
24976 if test -n "$KJC"; then
24977 echo "$as_me:$LINENO: result: $KJC" >&5
24978 echo "${ECHO_T}$KJC" >&6
24980 echo "$as_me:$LINENO: result: no" >&5
24981 echo "${ECHO_T}no" >&6
24986 # Extract the first word of ""kJC"", so it can be a program name with args.
24987 set dummy
"kJC"; ac_word
=$2
24988 echo "$as_me:$LINENO: checking for $ac_word" >&5
24989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24990 if test "${ac_cv_path_KJC+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24995 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24999 for as_dir
in $PATH
25002 test -z "$as_dir" && as_dir
=.
25003 for ac_exec_ext
in '' $ac_executable_extensions; do
25004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25005 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
25006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25015 KJC
=$ac_cv_path_KJC
25017 if test -n "$KJC"; then
25018 echo "$as_me:$LINENO: result: $KJC" >&5
25019 echo "${ECHO_T}$KJC" >&6
25021 echo "$as_me:$LINENO: result: no" >&5
25022 echo "${ECHO_T}no" >&6
25033 # Check whether --with-ecj or --without-ecj was given.
25034 if test "${with_ecj+set}" = set; then
25035 withval
="$with_ecj"
25037 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
25039 if test "x${withval}" != x
; then
25040 if test -f "${withval}"; then
25043 # Extract the first word of ""${withval}"", so it can be a program name with args.
25044 set dummy
"${withval}"; ac_word
=$2
25045 echo "$as_me:$LINENO: checking for $ac_word" >&5
25046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25047 if test "${ac_cv_path_ECJ+set}" = set; then
25048 echo $ECHO_N "(cached) $ECHO_C" >&6
25052 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25056 for as_dir
in $PATH
25059 test -z "$as_dir" && as_dir
=.
25060 for ac_exec_ext
in '' $ac_executable_extensions; do
25061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25062 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25072 ECJ
=$ac_cv_path_ECJ
25074 if test -n "$ECJ"; then
25075 echo "$as_me:$LINENO: result: $ECJ" >&5
25076 echo "${ECHO_T}$ECJ" >&6
25078 echo "$as_me:$LINENO: result: no" >&5
25079 echo "${ECHO_T}no" >&6
25084 # Extract the first word of ""ecj"", so it can be a program name with args.
25085 set dummy
"ecj"; ac_word
=$2
25086 echo "$as_me:$LINENO: checking for $ac_word" >&5
25087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25088 if test "${ac_cv_path_ECJ+set}" = set; then
25089 echo $ECHO_N "(cached) $ECHO_C" >&6
25093 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25097 for as_dir
in $PATH
25100 test -z "$as_dir" && as_dir
=.
25101 for ac_exec_ext
in '' $ac_executable_extensions; do
25102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25103 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25113 ECJ
=$ac_cv_path_ECJ
25115 if test -n "$ECJ"; then
25116 echo "$as_me:$LINENO: result: $ECJ" >&5
25117 echo "${ECHO_T}$ECJ" >&6
25119 echo "$as_me:$LINENO: result: no" >&5
25120 echo "${ECHO_T}no" >&6
25126 if test "x${withval}" != xno
; then
25128 if test "x" != x
; then
25129 if test -f ""; then
25132 # Extract the first word of """", so it can be a program name with args.
25133 set dummy
""; ac_word
=$2
25134 echo "$as_me:$LINENO: checking for $ac_word" >&5
25135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25136 if test "${ac_cv_path_ECJ+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25145 for as_dir
in $PATH
25148 test -z "$as_dir" && as_dir
=.
25149 for ac_exec_ext
in '' $ac_executable_extensions; do
25150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25151 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25161 ECJ
=$ac_cv_path_ECJ
25163 if test -n "$ECJ"; then
25164 echo "$as_me:$LINENO: result: $ECJ" >&5
25165 echo "${ECHO_T}$ECJ" >&6
25167 echo "$as_me:$LINENO: result: no" >&5
25168 echo "${ECHO_T}no" >&6
25173 # Extract the first word of ""ecj"", so it can be a program name with args.
25174 set dummy
"ecj"; ac_word
=$2
25175 echo "$as_me:$LINENO: checking for $ac_word" >&5
25176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25177 if test "${ac_cv_path_ECJ+set}" = set; then
25178 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25186 for as_dir
in $PATH
25189 test -z "$as_dir" && as_dir
=.
25190 for ac_exec_ext
in '' $ac_executable_extensions; do
25191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25192 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25202 ECJ
=$ac_cv_path_ECJ
25204 if test -n "$ECJ"; then
25205 echo "$as_me:$LINENO: result: $ECJ" >&5
25206 echo "${ECHO_T}$ECJ" >&6
25208 echo "$as_me:$LINENO: result: no" >&5
25209 echo "${ECHO_T}no" >&6
25216 user_specified_javac
=ecj
25221 if test "x" != x
; then
25222 if test -f ""; then
25225 # Extract the first word of """", so it can be a program name with args.
25226 set dummy
""; ac_word
=$2
25227 echo "$as_me:$LINENO: checking for $ac_word" >&5
25228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25229 if test "${ac_cv_path_ECJ+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25238 for as_dir
in $PATH
25241 test -z "$as_dir" && as_dir
=.
25242 for ac_exec_ext
in '' $ac_executable_extensions; do
25243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25244 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25254 ECJ
=$ac_cv_path_ECJ
25256 if test -n "$ECJ"; then
25257 echo "$as_me:$LINENO: result: $ECJ" >&5
25258 echo "${ECHO_T}$ECJ" >&6
25260 echo "$as_me:$LINENO: result: no" >&5
25261 echo "${ECHO_T}no" >&6
25266 # Extract the first word of ""ecj"", so it can be a program name with args.
25267 set dummy
"ecj"; ac_word
=$2
25268 echo "$as_me:$LINENO: checking for $ac_word" >&5
25269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25270 if test "${ac_cv_path_ECJ+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25279 for as_dir
in $PATH
25282 test -z "$as_dir" && as_dir
=.
25283 for ac_exec_ext
in '' $ac_executable_extensions; do
25284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25285 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25295 ECJ
=$ac_cv_path_ECJ
25297 if test -n "$ECJ"; then
25298 echo "$as_me:$LINENO: result: $ECJ" >&5
25299 echo "${ECHO_T}$ECJ" >&6
25301 echo "$as_me:$LINENO: result: no" >&5
25302 echo "${ECHO_T}no" >&6
25313 # Check whether --with-javac or --without-javac was given.
25314 if test "${with_javac+set}" = set; then
25315 withval
="$with_javac"
25317 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
25319 if test "x${withval}" != x
; then
25322 # Extract the first word of ""javac"", so it can be a program name with args.
25323 set dummy
"javac"; ac_word
=$2
25324 echo "$as_me:$LINENO: checking for $ac_word" >&5
25325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25326 if test "${ac_cv_path_JAVAC+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25331 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25335 for as_dir
in $PATH
25338 test -z "$as_dir" && as_dir
=.
25339 for ac_exec_ext
in '' $ac_executable_extensions; do
25340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25341 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25351 JAVAC
=$ac_cv_path_JAVAC
25353 if test -n "$JAVAC"; then
25354 echo "$as_me:$LINENO: result: $JAVAC" >&5
25355 echo "${ECHO_T}$JAVAC" >&6
25357 echo "$as_me:$LINENO: result: no" >&5
25358 echo "${ECHO_T}no" >&6
25364 if test "x${withval}" != xno
; then
25366 if test "x" != x
; then
25369 # Extract the first word of ""javac"", so it can be a program name with args.
25370 set dummy
"javac"; ac_word
=$2
25371 echo "$as_me:$LINENO: checking for $ac_word" >&5
25372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25373 if test "${ac_cv_path_JAVAC+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25378 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25382 for as_dir
in $PATH
25385 test -z "$as_dir" && as_dir
=.
25386 for ac_exec_ext
in '' $ac_executable_extensions; do
25387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25388 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25398 JAVAC
=$ac_cv_path_JAVAC
25400 if test -n "$JAVAC"; then
25401 echo "$as_me:$LINENO: result: $JAVAC" >&5
25402 echo "${ECHO_T}$JAVAC" >&6
25404 echo "$as_me:$LINENO: result: no" >&5
25405 echo "${ECHO_T}no" >&6
25412 user_specified_javac
=javac
25417 if test "x" != x
; then
25420 # Extract the first word of ""javac"", so it can be a program name with args.
25421 set dummy
"javac"; ac_word
=$2
25422 echo "$as_me:$LINENO: checking for $ac_word" >&5
25423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25424 if test "${ac_cv_path_JAVAC+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25433 for as_dir
in $PATH
25436 test -z "$as_dir" && as_dir
=.
25437 for ac_exec_ext
in '' $ac_executable_extensions; do
25438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25439 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25449 JAVAC
=$ac_cv_path_JAVAC
25451 if test -n "$JAVAC"; then
25452 echo "$as_me:$LINENO: result: $JAVAC" >&5
25453 echo "${ECHO_T}$JAVAC" >&6
25455 echo "$as_me:$LINENO: result: no" >&5
25456 echo "${ECHO_T}no" >&6
25466 if test "x${user_specified_javac}" = x
; then
25469 if test "x${GCJ}" != x
; then
25471 FOUND_GCJ_FALSE
='#'
25479 if test "x${JIKES}" != x
; then
25481 FOUND_JIKES_FALSE
='#'
25483 FOUND_JIKES_TRUE
='#'
25489 if test "x${ECJ}" != x
; then
25491 FOUND_ECJ_FALSE
='#'
25499 if test "x${JAVAC}" != x
; then
25501 FOUND_JAVAC_FALSE
='#'
25503 FOUND_JAVAC_TRUE
='#'
25510 if test "x${user_specified_javac}" = xgcj
; then
25512 FOUND_GCJ_FALSE
='#'
25520 if test "x${user_specified_javac}" = xjikes
; then
25522 FOUND_JIKES_FALSE
='#'
25524 FOUND_JIKES_TRUE
='#'
25530 if test "x${user_specified_javac}" = xecj
; then
25532 FOUND_ECJ_FALSE
='#'
25540 if test "x${user_specified_javac}" = xjavac
; then
25542 FOUND_JAVAC_FALSE
='#'
25544 FOUND_JAVAC_TRUE
='#'
25551 if test "x${user_specified_javac}" = xkjc
; then
25553 FOUND_KJC_FALSE
='#'
25561 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \
25562 && test "x${JAVAC}" = x
&& test "x${user_specified_javac}" != xkjc
25564 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5
25565 echo "$as_me: error: cannot find javac, try --with-ecj" >&2;}
25566 { (exit 1); exit 1; }; }
25573 # Check whether --with-classpath or --without-classpath was given.
25574 if test "${with_classpath+set}" = set; then
25575 withval
="$with_classpath"
25577 if test "x${withval}" = xyes
; then
25578 # set user classpath to CLASSPATH from env
25579 echo "$as_me:$LINENO: checking for classlib" >&5
25580 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25581 USER_CLASSLIB
=${CLASSPATH}
25583 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
25584 echo "${ECHO_T}${USER_CLASSLIB}" >&6
25585 conditional_with_classlib
=true
25586 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
25587 # set user classpath to specified value
25588 echo "$as_me:$LINENO: checking for classlib" >&5
25589 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25590 USER_CLASSLIB
=${withval}
25592 echo "$as_me:$LINENO: result: ${withval}" >&5
25593 echo "${ECHO_T}${withval}" >&6
25594 conditional_with_classlib
=true
25598 conditional_with_classlib
=false
25602 if test "x${conditional_with_classlib}" = xtrue
; then
25603 USER_SPECIFIED_CLASSLIB_TRUE
=
25604 USER_SPECIFIED_CLASSLIB_FALSE
='#'
25606 USER_SPECIFIED_CLASSLIB_TRUE
='#'
25607 USER_SPECIFIED_CLASSLIB_FALSE
=
25612 # Check whether --with-vm-classes or --without-vm-classes was given.
25613 if test "${with_vm_classes+set}" = set; then
25614 withval
="$with_vm_classes"
25615 vm_classes
="$with_vm_classes"
25617 vm_classes
='${top_srcdir}/vm/reference'
25622 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25623 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25624 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25625 if test "${enable_maintainer_mode+set}" = set; then
25626 enableval
="$enable_maintainer_mode"
25627 USE_MAINTAINER_MODE
=$enableval
25629 USE_MAINTAINER_MODE
=no
25631 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25632 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25635 if test $USE_MAINTAINER_MODE = yes; then
25636 MAINTAINER_MODE_TRUE
=
25637 MAINTAINER_MODE_FALSE
='#'
25639 MAINTAINER_MODE_TRUE
='#'
25640 MAINTAINER_MODE_FALSE
=
25643 MAINT
=$MAINTAINER_MODE_TRUE
25647 # Check whether --enable-debug or --disable-debug was given.
25648 if test "${enable_debug+set}" = set; then
25649 enableval
="$enable_debug"
25650 case "${enableval}" in
25654 cat >>confdefs.h
<<\_ACEOF
25659 no
) LIBDEBUG
="false" ;;
25660 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25661 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25662 { (exit 1); exit 1; }; } ;;
25669 # Check whether --enable-load-library or --disable-load-library was given.
25670 if test "${enable_load_library+set}" = set; then
25671 enableval
="$enable_load_library"
25672 case "${enableval}" in
25673 yes) INIT_LOAD_LIBRARY
="true" ;;
25674 no
) INIT_LOAD_LIBRARY
="false" ;;
25675 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25676 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25677 { (exit 1); exit 1; }; } ;;
25680 INIT_LOAD_LIBRARY
="true"
25686 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25687 if test "${with_ecj_jar+set}" = set; then
25688 withval
="$with_ecj_jar"
25691 if test -f $multi_basedir/ecj.jar
; then
25692 ECJ_JAR
='$(jardir)/ecj.jar'
25697 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25698 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25699 enableval
="$enable_java_lang_system_explicit_initialization"
25700 case "${enableval}" in
25701 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
25702 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
25703 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25704 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25705 { (exit 1); exit 1; }; } ;;
25708 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
25716 # Extract the first word of "mkdir", so it can be a program name with args.
25717 set dummy mkdir
; ac_word
=$2
25718 echo "$as_me:$LINENO: checking for $ac_word" >&5
25719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25720 if test "${ac_cv_path_MKDIR+set}" = set; then
25721 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
25728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25729 for as_dir
in $PATH
25732 test -z "$as_dir" && as_dir
=.
25733 for ac_exec_ext
in '' $ac_executable_extensions; do
25734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25735 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
25736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25745 MKDIR
=$ac_cv_path_MKDIR
25747 if test -n "$MKDIR"; then
25748 echo "$as_me:$LINENO: result: $MKDIR" >&5
25749 echo "${ECHO_T}$MKDIR" >&6
25751 echo "$as_me:$LINENO: result: no" >&5
25752 echo "${ECHO_T}no" >&6
25755 # Extract the first word of "cp", so it can be a program name with args.
25756 set dummy
cp; ac_word
=$2
25757 echo "$as_me:$LINENO: checking for $ac_word" >&5
25758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25759 if test "${ac_cv_path_CP+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
25767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25768 for as_dir
in $PATH
25771 test -z "$as_dir" && as_dir
=.
25772 for ac_exec_ext
in '' $ac_executable_extensions; do
25773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25774 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
25775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25786 if test -n "$CP"; then
25787 echo "$as_me:$LINENO: result: $CP" >&5
25788 echo "${ECHO_T}$CP" >&6
25790 echo "$as_me:$LINENO: result: no" >&5
25791 echo "${ECHO_T}no" >&6
25794 # Extract the first word of "date", so it can be a program name with args.
25795 set dummy
date; ac_word
=$2
25796 echo "$as_me:$LINENO: checking for $ac_word" >&5
25797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25798 if test "${ac_cv_path_DATE+set}" = set; then
25799 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
25806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25807 for as_dir
in $PATH
25810 test -z "$as_dir" && as_dir
=.
25811 for ac_exec_ext
in '' $ac_executable_extensions; do
25812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25813 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
25814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25823 DATE
=$ac_cv_path_DATE
25825 if test -n "$DATE"; then
25826 echo "$as_me:$LINENO: result: $DATE" >&5
25827 echo "${ECHO_T}$DATE" >&6
25829 echo "$as_me:$LINENO: result: no" >&5
25830 echo "${ECHO_T}no" >&6
25834 # Extract the first word of "find", so it can be a program name with args.
25835 set dummy
find; ac_word
=$2
25836 echo "$as_me:$LINENO: checking for $ac_word" >&5
25837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25838 if test "${ac_cv_path_FIND+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
25846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25847 for as_dir
in $PATH
25850 test -z "$as_dir" && as_dir
=.
25851 for ac_exec_ext
in '' $ac_executable_extensions; do
25852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25853 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
25854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25863 FIND
=$ac_cv_path_FIND
25865 if test -n "$FIND"; then
25866 echo "$as_me:$LINENO: result: $FIND" >&5
25867 echo "${ECHO_T}$FIND" >&6
25869 echo "$as_me:$LINENO: result: no" >&5
25870 echo "${ECHO_T}no" >&6
25875 # Extract the first word of "zip", so it can be a program name with args.
25876 set dummy
zip; ac_word
=$2
25877 echo "$as_me:$LINENO: checking for $ac_word" >&5
25878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25879 if test "${ac_cv_path_ZIP+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25888 for as_dir
in $PATH
25891 test -z "$as_dir" && as_dir
=.
25892 for ac_exec_ext
in '' $ac_executable_extensions; do
25893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25894 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25904 ZIP
=$ac_cv_path_ZIP
25906 if test -n "$ZIP"; then
25907 echo "$as_me:$LINENO: result: $ZIP" >&5
25908 echo "${ECHO_T}$ZIP" >&6
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25915 # Check whether --with-fastjar or --without-fastjar was given.
25916 if test "${with_fastjar+set}" = set; then
25917 withval
="$with_fastjar"
25919 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
25920 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
25922 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
25923 echo "${ECHO_T}${FASTJAR}" >&6
25926 # Extract the first word of "fastjar", so it can be a program name with args.
25927 set dummy fastjar
; ac_word
=$2
25928 echo "$as_me:$LINENO: checking for $ac_word" >&5
25929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25930 if test "${ac_cv_path_FASTJAR+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
25938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25939 for as_dir
in $PATH
25942 test -z "$as_dir" && as_dir
=.
25943 for ac_exec_ext
in '' $ac_executable_extensions; do
25944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25945 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
25946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25955 FASTJAR
=$ac_cv_path_FASTJAR
25957 if test -n "$FASTJAR"; then
25958 echo "$as_me:$LINENO: result: $FASTJAR" >&5
25959 echo "${ECHO_T}$FASTJAR" >&6
25961 echo "$as_me:$LINENO: result: no" >&5
25962 echo "${ECHO_T}no" >&6
25966 if test x
"${FASTJAR}" != x
; then
25971 # Check whether --with-glibj or --without-glibj was given.
25972 if test "${with_glibj+set}" = set; then
25973 withval
="$with_glibj"
25975 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
25976 install_class_files
=no
25977 build_class_files
=yes
25979 elif test "x${withval}" = xboth
; then
25980 install_class_files
=yes
25981 build_class_files
=yes
25983 elif test "x${withval}" = xflat
; then
25984 install_class_files
=yes
25985 build_class_files
=yes
25987 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
25988 install_class_files
=no
25989 build_class_files
=no
25991 elif test "x${withval}" = xbuild
; then
25992 install_class_files
=no
25993 build_class_files
=yes
25996 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
25997 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
25998 { (exit 1); exit 1; }; }
26003 install_class_files
=no
26009 if test "x${use_zip}" = xyes
; then
26010 INSTALL_GLIBJ_ZIP_TRUE
=
26011 INSTALL_GLIBJ_ZIP_FALSE
='#'
26013 INSTALL_GLIBJ_ZIP_TRUE
='#'
26014 INSTALL_GLIBJ_ZIP_FALSE
=
26019 if test "x${install_class_files}" = xyes
; then
26020 INSTALL_CLASS_FILES_TRUE
=
26021 INSTALL_CLASS_FILES_FALSE
='#'
26023 INSTALL_CLASS_FILES_TRUE
='#'
26024 INSTALL_CLASS_FILES_FALSE
=
26029 if test "x${build_class_files}" = xyes
; then
26030 BUILD_CLASS_FILES_TRUE
=
26031 BUILD_CLASS_FILES_FALSE
='#'
26033 BUILD_CLASS_FILES_TRUE
='#'
26034 BUILD_CLASS_FILES_FALSE
=
26038 # Check whether --enable-examples or --disable-examples was given.
26039 if test "${enable_examples+set}" = set; then
26040 enableval
="$enable_examples"
26041 case "${enableval}" in
26042 yes) EXAMPLESDIR
="examples" ;;
26043 no
) EXAMPLESDIR
="" ;;
26044 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
26045 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
26046 { (exit 1); exit 1; }; } ;;
26049 EXAMPLESDIR
="examples"
26051 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
26059 # Check whether --with-gjdoc or --without-gjdoc was given.
26060 if test "${with_gjdoc+set}" = set; then
26061 withval
="$with_gjdoc"
26062 if test "x${withval}" = xno
; then
26064 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
26066 # Extract the first word of "gjdoc", so it can be a program name with args.
26067 set dummy gjdoc
; ac_word
=$2
26068 echo "$as_me:$LINENO: checking for $ac_word" >&5
26069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26070 if test "${ac_cv_path_GJDOC+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
26078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26079 for as_dir
in $PATH
26082 test -z "$as_dir" && as_dir
=.
26083 for ac_exec_ext
in '' $ac_executable_extensions; do
26084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26085 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
26086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26092 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
26096 GJDOC
=$ac_cv_path_GJDOC
26098 if test -n "$GJDOC"; then
26099 echo "$as_me:$LINENO: result: $GJDOC" >&5
26100 echo "${ECHO_T}$GJDOC" >&6
26102 echo "$as_me:$LINENO: result: no" >&5
26103 echo "${ECHO_T}no" >&6
26106 if test "x${GJDOC}" = xno
; then
26107 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
26108 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
26109 { (exit 1); exit 1; }; };
26114 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
26115 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
26116 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
26117 if eval "test \"\${$as_ac_File+set}\" = set"; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 test "$cross_compiling" = yes &&
26121 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26122 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26123 { (exit 1); exit 1; }; }
26124 if test -r "${GJDOC}"; then
26125 eval "$as_ac_File=yes"
26127 eval "$as_ac_File=no"
26130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26131 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26132 if test `eval echo '${'$as_ac_File'}'` = yes; then
26135 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
26136 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
26137 { (exit 1); exit 1; }; }
26147 if test "x${WITH_GJDOC}" = xyes
; then
26148 CREATE_API_DOCS_TRUE
=
26149 CREATE_API_DOCS_FALSE
='#'
26151 CREATE_API_DOCS_TRUE
='#'
26152 CREATE_API_DOCS_FALSE
=
26159 # Check whether --with-jay or --without-jay was given.
26160 if test "${with_jay+set}" = set; then
26161 withval
="$with_jay"
26163 if test -d "${withval}"; then
26164 JAY_DIR_PATH
="${withval}"
26165 # Extract the first word of "jay", so it can be a program name with args.
26166 set dummy jay
; ac_word
=$2
26167 echo "$as_me:$LINENO: checking for $ac_word" >&5
26168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26169 if test "${ac_cv_path_JAY+set}" = set; then
26170 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
26177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26178 for as_dir
in ${JAY_DIR_PATH}
26181 test -z "$as_dir" && as_dir
=.
26182 for ac_exec_ext
in '' $ac_executable_extensions; do
26183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26184 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
26185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26191 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
26195 JAY
=$ac_cv_path_JAY
26197 if test -n "$JAY"; then
26198 echo "$as_me:$LINENO: result: $JAY" >&5
26199 echo "${ECHO_T}$JAY" >&6
26201 echo "$as_me:$LINENO: result: no" >&5
26202 echo "${ECHO_T}no" >&6
26205 if test "x${JAY}" = xno
; then
26206 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
26207 echo "$as_me: error: \"jay executable not found\"" >&2;}
26208 { (exit 1); exit 1; }; };
26211 JAY_DIR_PATH
=`dirname "${withval}"`
26215 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
26216 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
26217 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
26218 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
26219 if eval "test \"\${$as_ac_File+set}\" = set"; then
26220 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 test "$cross_compiling" = yes &&
26223 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26224 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26225 { (exit 1); exit 1; }; }
26226 if test -r "${JAY_SKELETON}"; then
26227 eval "$as_ac_File=yes"
26229 eval "$as_ac_File=no"
26232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26233 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26234 if test `eval echo '${'$as_ac_File'}'` = yes; then
26237 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
26238 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
26239 { (exit 1); exit 1; }; }
26251 if test "x${JAY_FOUND}" = xyes
; then
26252 REGEN_PARSERS_TRUE
=
26253 REGEN_PARSERS_FALSE
='#'
26255 REGEN_PARSERS_TRUE
='#'
26256 REGEN_PARSERS_FALSE
=
26261 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
26262 if test "${enable_portable_native_sync+set}" = set; then
26263 enableval
="$enable_portable_native_sync"
26264 case "${enableval}" in
26267 cat >>confdefs.h
<<\_ACEOF
26268 #define PORTABLE_NATIVE_SYNC 1
26274 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
26275 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
26276 { (exit 1); exit 1; }; }
26281 # ------ AX CREATE STDINT H -------------------------------------
26282 echo "$as_me:$LINENO: checking for stdint types" >&5
26283 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
26284 ac_stdint_h
=`echo include/config-int.h`
26285 # try to shortcircuit - if the default include path of the compiler
26286 # can find a "stdint.h" header then we assume that all compilers can.
26287 if test "${ac_cv_header_stdint_t+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
26292 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
26293 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
26294 cat >conftest.
$ac_ext <<_ACEOF
26297 cat confdefs.h
>>conftest.
$ac_ext
26298 cat >>conftest.
$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300 #include <stdint.h>
26304 int_least32_t v = 0;
26309 rm -f conftest.
$ac_objext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26311 (eval $ac_compile) 2>conftest.er1
26313 grep -v '^ *+' conftest.er1
>conftest.err
26315 cat conftest.err
>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } &&
26318 { ac_try
='test -z "$ac_c_werror_flag"
26319 || test ! -s conftest.err'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; } &&
26325 { ac_try
='test -s conftest.$ac_objext'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; }; then
26331 ac_cv_stdint_result
="(assuming C99 compatible system)"
26332 ac_cv_header_stdint_t
="stdint.h";
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.
$ac_ext >&5
26337 ac_cv_header_stdint_t
=""
26339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26340 CXXFLAGS
="$old_CXXFLAGS"
26341 CPPFLAGS
="$old_CPPFLAGS"
26342 CFLAGS
="$old_CFLAGS"
26346 v
="... $ac_cv_header_stdint_h"
26347 if test "$ac_stdint_h" = "stdint.h" ; then
26348 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
26349 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
26350 elif test "$ac_stdint_h" = "inttypes.h" ; then
26351 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
26352 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
26353 elif test "_$ac_cv_header_stdint_t" = "_" ; then
26354 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
26355 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
26357 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
26358 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
26359 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
26362 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
26365 inttype_headers
=`echo | sed -e 's/,/ /g'`
26367 ac_cv_stdint_result
="(no helpful system typedefs seen)"
26369 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26370 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26371 if test "${ac_cv_header_stdint_x+set}" = set; then
26372 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
26376 echo "$as_me:$LINENO: result: (..)" >&5
26377 echo "${ECHO_T}(..)" >&6
26378 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26379 unset ac_cv_type_uintptr_t
26380 unset ac_cv_type_uint64_t
26381 echo "$as_me:$LINENO: checking for uintptr_t" >&5
26382 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
26383 if test "${ac_cv_type_uintptr_t+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 cat >conftest.
$ac_ext <<_ACEOF
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26397 if ((uintptr_t *) 0)
26399 if (sizeof (uintptr_t))
26405 rm -f conftest.
$ac_objext
26406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26407 (eval $ac_compile) 2>conftest.er1
26409 grep -v '^ *+' conftest.er1
>conftest.err
26411 cat conftest.err
>&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); } &&
26414 { ac_try
='test -z "$ac_c_werror_flag"
26415 || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try
='test -s conftest.$ac_objext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 ac_cv_type_uintptr_t
=yes
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.
$ac_ext >&5
26432 ac_cv_type_uintptr_t
=no
26434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26436 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26437 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26438 if test $ac_cv_type_uintptr_t = yes; then
26439 ac_cv_header_stdint_x
=$i
26444 echo "$as_me:$LINENO: checking for uint64_t" >&5
26445 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26446 if test "${ac_cv_type_uint64_t+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26460 if ((uint64_t *) 0)
26462 if (sizeof (uint64_t))
26468 rm -f conftest.
$ac_objext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26470 (eval $ac_compile) 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try
='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try
='test -s conftest.$ac_objext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 ac_cv_type_uint64_t
=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26495 ac_cv_type_uint64_t
=no
26497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26499 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26500 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26501 if test $ac_cv_type_uint64_t = yes; then
26507 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
26510 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26511 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26514 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26515 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26518 if test "_$ac_cv_header_stdint_x" = "_" ; then
26520 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26521 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26522 if test "${ac_cv_header_stdint_o+set}" = set; then
26523 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
26527 echo "$as_me:$LINENO: result: (..)" >&5
26528 echo "${ECHO_T}(..)" >&6
26529 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
26530 unset ac_cv_type_uint32_t
26531 unset ac_cv_type_uint64_t
26532 echo "$as_me:$LINENO: checking for uint32_t" >&5
26533 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26534 if test "${ac_cv_type_uint32_t+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26537 cat >conftest.
$ac_ext <<_ACEOF
26540 cat confdefs.h
>>conftest.
$ac_ext
26541 cat >>conftest.
$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26548 if ((uint32_t *) 0)
26550 if (sizeof (uint32_t))
26556 rm -f conftest.
$ac_objext
26557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26558 (eval $ac_compile) 2>conftest.er1
26560 grep -v '^ *+' conftest.er1
>conftest.err
26562 cat conftest.err
>&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } &&
26565 { ac_try
='test -z "$ac_c_werror_flag"
26566 || test ! -s conftest.err'
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); }; } &&
26572 { ac_try
='test -s conftest.$ac_objext'
26573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26574 (eval $ac_try) 2>&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); }; }; then
26578 ac_cv_type_uint32_t
=yes
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.
$ac_ext >&5
26583 ac_cv_type_uint32_t
=no
26585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26587 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26588 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26589 if test $ac_cv_type_uint32_t = yes; then
26590 ac_cv_header_stdint_o
=$i
26595 echo "$as_me:$LINENO: checking for uint64_t" >&5
26596 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26597 if test "${ac_cv_type_uint64_t+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 cat >conftest.
$ac_ext <<_ACEOF
26603 cat confdefs.h
>>conftest.
$ac_ext
26604 cat >>conftest.
$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26611 if ((uint64_t *) 0)
26613 if (sizeof (uint64_t))
26619 rm -f conftest.
$ac_objext
26620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26621 (eval $ac_compile) 2>conftest.er1
26623 grep -v '^ *+' conftest.er1
>conftest.err
26625 cat conftest.err
>&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } &&
26628 { ac_try
='test -z "$ac_c_werror_flag"
26629 || test ! -s conftest.err'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; } &&
26635 { ac_try
='test -s conftest.$ac_objext'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; }; then
26641 ac_cv_type_uint64_t
=yes
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.
$ac_ext >&5
26646 ac_cv_type_uint64_t
=no
26648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26650 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26651 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26652 if test $ac_cv_type_uint64_t = yes; then
26658 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
26662 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26663 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26666 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26667 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26671 if test "_$ac_cv_header_stdint_x" = "_" ; then
26672 if test "_$ac_cv_header_stdint_o" = "_" ; then
26674 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26675 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26676 if test "${ac_cv_header_stdint_u+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
26681 echo "$as_me:$LINENO: result: (..)" >&5
26682 echo "${ECHO_T}(..)" >&6
26683 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26684 unset ac_cv_type_u_int32_t
26685 unset ac_cv_type_u_int64_t
26686 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26687 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26688 if test "${ac_cv_type_u_int32_t+set}" = set; then
26689 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 cat >conftest.
$ac_ext <<_ACEOF
26694 cat confdefs.h
>>conftest.
$ac_ext
26695 cat >>conftest.
$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26702 if ((u_int32_t *) 0)
26704 if (sizeof (u_int32_t))
26710 rm -f conftest.
$ac_objext
26711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26712 (eval $ac_compile) 2>conftest.er1
26714 grep -v '^ *+' conftest.er1
>conftest.err
26716 cat conftest.err
>&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } &&
26719 { ac_try
='test -z "$ac_c_werror_flag"
26720 || test ! -s conftest.err'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; } &&
26726 { ac_try
='test -s conftest.$ac_objext'
26727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26728 (eval $ac_try) 2>&5
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); }; }; then
26732 ac_cv_type_u_int32_t
=yes
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.
$ac_ext >&5
26737 ac_cv_type_u_int32_t
=no
26739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26741 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26742 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26743 if test $ac_cv_type_u_int32_t = yes; then
26744 ac_cv_header_stdint_u
=$i
26749 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26750 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26751 if test "${ac_cv_type_u_int64_t+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 cat >conftest.
$ac_ext <<_ACEOF
26757 cat confdefs.h
>>conftest.
$ac_ext
26758 cat >>conftest.
$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26765 if ((u_int64_t *) 0)
26767 if (sizeof (u_int64_t))
26773 rm -f conftest.
$ac_objext
26774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26775 (eval $ac_compile) 2>conftest.er1
26777 grep -v '^ *+' conftest.er1
>conftest.err
26779 cat conftest.err
>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } &&
26782 { ac_try
='test -z "$ac_c_werror_flag"
26783 || test ! -s conftest.err'
26784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26785 (eval $ac_try) 2>&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); }; } &&
26789 { ac_try
='test -s conftest.$ac_objext'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; }; then
26795 ac_cv_type_u_int64_t
=yes
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.
$ac_ext >&5
26800 ac_cv_type_u_int64_t
=no
26802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26804 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26805 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26806 if test $ac_cv_type_u_int64_t = yes; then
26812 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
26816 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26817 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26820 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26821 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26825 if test "_$ac_cv_header_stdint_x" = "_" ; then
26826 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26827 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26828 echo "$as_me:$LINENO: result: (..)" >&5
26829 echo "${ECHO_T}(..)" >&6
26831 echo "$as_me:$LINENO: checking for char" >&5
26832 echo $ECHO_N "checking for char... $ECHO_C" >&6
26833 if test "${ac_cv_type_char+set}" = set; then
26834 echo $ECHO_N "(cached) $ECHO_C" >&6
26836 cat >conftest.
$ac_ext <<_ACEOF
26839 cat confdefs.h
>>conftest.
$ac_ext
26840 cat >>conftest.
$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26842 $ac_includes_default
26854 rm -f conftest.
$ac_objext
26855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26856 (eval $ac_compile) 2>conftest.er1
26858 grep -v '^ *+' conftest.er1
>conftest.err
26860 cat conftest.err
>&5
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); } &&
26863 { ac_try
='test -z "$ac_c_werror_flag"
26864 || test ! -s conftest.err'
26865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26866 (eval $ac_try) 2>&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); }; } &&
26870 { ac_try
='test -s conftest.$ac_objext'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; }; then
26876 ac_cv_type_char
=yes
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.
$ac_ext >&5
26883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26885 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26886 echo "${ECHO_T}$ac_cv_type_char" >&6
26888 echo "$as_me:$LINENO: checking size of char" >&5
26889 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26890 if test "${ac_cv_sizeof_char+set}" = set; then
26891 echo $ECHO_N "(cached) $ECHO_C" >&6
26893 if test "$ac_cv_type_char" = yes; then
26894 # The cast to unsigned long works around a bug in the HP C Compiler
26895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26897 # This bug is HP SR number 8606223364.
26898 if test "$cross_compiling" = yes; then
26899 # Depending upon the size, compute the lo and hi bounds.
26900 cat >conftest.
$ac_ext <<_ACEOF
26903 cat confdefs.h
>>conftest.
$ac_ext
26904 cat >>conftest.
$ac_ext <<_ACEOF
26905 /* end confdefs.h. */
26906 $ac_includes_default
26910 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
26917 rm -f conftest.
$ac_objext
26918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26919 (eval $ac_compile) 2>conftest.er1
26921 grep -v '^ *+' conftest.er1
>conftest.err
26923 cat conftest.err
>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); } &&
26926 { ac_try
='test -z "$ac_c_werror_flag"
26927 || test ! -s conftest.err'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; } &&
26933 { ac_try
='test -s conftest.$ac_objext'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; }; then
26941 cat >conftest.
$ac_ext <<_ACEOF
26944 cat confdefs.h
>>conftest.
$ac_ext
26945 cat >>conftest.
$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26947 $ac_includes_default
26951 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26958 rm -f conftest.
$ac_objext
26959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26960 (eval $ac_compile) 2>conftest.er1
26962 grep -v '^ *+' conftest.er1
>conftest.err
26964 cat conftest.err
>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } &&
26967 { ac_try
='test -z "$ac_c_werror_flag"
26968 || test ! -s conftest.err'
26969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26970 (eval $ac_try) 2>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); }; } &&
26974 { ac_try
='test -s conftest.$ac_objext'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; }; then
26980 ac_hi
=$ac_mid; break
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.
$ac_ext >&5
26985 ac_lo
=`expr $ac_mid + 1`
26986 if test $ac_lo -le $ac_mid; then
26990 ac_mid
=`expr 2 '*' $ac_mid + 1`
26992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.
$ac_ext >&5
26998 cat >conftest.
$ac_ext <<_ACEOF
27001 cat confdefs.h
>>conftest.
$ac_ext
27002 cat >>conftest.
$ac_ext <<_ACEOF
27003 /* end confdefs.h. */
27004 $ac_includes_default
27008 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
27015 rm -f conftest.
$ac_objext
27016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>conftest.er1
27019 grep -v '^ *+' conftest.er1
>conftest.err
27021 cat conftest.err
>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); } &&
27024 { ac_try
='test -z "$ac_c_werror_flag"
27025 || test ! -s conftest.err'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; } &&
27031 { ac_try
='test -s conftest.$ac_objext'
27032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033 (eval $ac_try) 2>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; }; then
27039 cat >conftest.
$ac_ext <<_ACEOF
27042 cat confdefs.h
>>conftest.
$ac_ext
27043 cat >>conftest.
$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045 $ac_includes_default
27049 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
27056 rm -f conftest.
$ac_objext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27058 (eval $ac_compile) 2>conftest.er1
27060 grep -v '^ *+' conftest.er1
>conftest.err
27062 cat conftest.err
>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try
='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try
='test -s conftest.$ac_objext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 ac_lo
=$ac_mid; break
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.
$ac_ext >&5
27083 ac_hi
=`expr '(' $ac_mid ')' - 1`
27084 if test $ac_mid -le $ac_hi; then
27088 ac_mid
=`expr 2 '*' $ac_mid`
27090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27101 # Binary search between lo and hi bounds.
27102 while test "x$ac_lo" != "x$ac_hi"; do
27103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27104 cat >conftest.
$ac_ext <<_ACEOF
27107 cat confdefs.h
>>conftest.
$ac_ext
27108 cat >>conftest.
$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110 $ac_includes_default
27114 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27121 rm -f conftest.
$ac_objext
27122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27123 (eval $ac_compile) 2>conftest.er1
27125 grep -v '^ *+' conftest.er1
>conftest.err
27127 cat conftest.err
>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } &&
27130 { ac_try
='test -z "$ac_c_werror_flag"
27131 || test ! -s conftest.err'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; } &&
27137 { ac_try
='test -s conftest.$ac_objext'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; }; then
27145 echo "$as_me: failed program was:" >&5
27146 sed 's/^/| /' conftest.
$ac_ext >&5
27148 ac_lo
=`expr '(' $ac_mid ')' + 1`
27150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27153 ?
*) ac_cv_sizeof_char
=$ac_lo;;
27154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27155 See \`config.log' for more details." >&5
27156 echo "$as_me: error: cannot compute sizeof (char), 77
27157 See \`config.log' for more details." >&2;}
27158 { (exit 1); exit 1; }; } ;;
27161 if test "$cross_compiling" = yes; then
27162 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27163 See \`config.log' for more details." >&5
27164 echo "$as_me: error: cannot run test program while cross compiling
27165 See \`config.log' for more details." >&2;}
27166 { (exit 1); exit 1; }; }
27168 cat >conftest.
$ac_ext <<_ACEOF
27171 cat confdefs.h
>>conftest.
$ac_ext
27172 cat >>conftest.
$ac_ext <<_ACEOF
27173 /* end confdefs.h. */
27174 $ac_includes_default
27175 long longval () { return (long) (sizeof (char)); }
27176 unsigned long ulongval () { return (long) (sizeof (char)); }
27178 #include <stdlib.h>
27183 FILE *f = fopen ("conftest.val", "w");
27186 if (((long) (sizeof (char))) < 0)
27188 long i = longval ();
27189 if (i != ((long) (sizeof (char))))
27191 fprintf (f, "%ld\n", i);
27195 unsigned long i = ulongval ();
27196 if (i != ((long) (sizeof (char))))
27198 fprintf (f, "%lu\n", i);
27200 exit (ferror (f) || fclose (f) != 0);
27206 rm -f conftest
$ac_exeext
27207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27208 (eval $ac_link) 2>&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_sizeof_char
=`cat conftest.val`
27219 echo "$as_me: program exited with status $ac_status" >&5
27220 echo "$as_me: failed program was:" >&5
27221 sed 's/^/| /' conftest.
$ac_ext >&5
27223 ( exit $ac_status )
27224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27225 See \`config.log' for more details." >&5
27226 echo "$as_me: error: cannot compute sizeof (char), 77
27227 See \`config.log' for more details." >&2;}
27228 { (exit 1); exit 1; }; }
27230 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27235 ac_cv_sizeof_char
=0
27238 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
27239 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
27240 cat >>confdefs.h
<<_ACEOF
27241 #define SIZEOF_CHAR $ac_cv_sizeof_char
27245 echo "$as_me:$LINENO: checking for short" >&5
27246 echo $ECHO_N "checking for short... $ECHO_C" >&6
27247 if test "${ac_cv_type_short+set}" = set; then
27248 echo $ECHO_N "(cached) $ECHO_C" >&6
27250 cat >conftest.
$ac_ext <<_ACEOF
27253 cat confdefs.h
>>conftest.
$ac_ext
27254 cat >>conftest.
$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 $ac_includes_default
27262 if (sizeof (short))
27268 rm -f conftest.
$ac_objext
27269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27270 (eval $ac_compile) 2>conftest.er1
27272 grep -v '^ *+' conftest.er1
>conftest.err
27274 cat conftest.err
>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } &&
27277 { ac_try
='test -z "$ac_c_werror_flag"
27278 || test ! -s conftest.err'
27279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27280 (eval $ac_try) 2>&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); }; } &&
27284 { ac_try
='test -s conftest.$ac_objext'
27285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286 (eval $ac_try) 2>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; }; then
27290 ac_cv_type_short
=yes
27292 echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.
$ac_ext >&5
27295 ac_cv_type_short
=no
27297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27299 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
27300 echo "${ECHO_T}$ac_cv_type_short" >&6
27302 echo "$as_me:$LINENO: checking size of short" >&5
27303 echo $ECHO_N "checking size of short... $ECHO_C" >&6
27304 if test "${ac_cv_sizeof_short+set}" = set; then
27305 echo $ECHO_N "(cached) $ECHO_C" >&6
27307 if test "$ac_cv_type_short" = yes; then
27308 # The cast to unsigned long works around a bug in the HP C Compiler
27309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27311 # This bug is HP SR number 8606223364.
27312 if test "$cross_compiling" = yes; then
27313 # Depending upon the size, compute the lo and hi bounds.
27314 cat >conftest.
$ac_ext <<_ACEOF
27317 cat confdefs.h
>>conftest.
$ac_ext
27318 cat >>conftest.
$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 $ac_includes_default
27324 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
27331 rm -f conftest.
$ac_objext
27332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27333 (eval $ac_compile) 2>conftest.er1
27335 grep -v '^ *+' conftest.er1
>conftest.err
27337 cat conftest.err
>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try
='test -z "$ac_c_werror_flag"
27341 || test ! -s conftest.err'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; } &&
27347 { ac_try
='test -s conftest.$ac_objext'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; }; then
27355 cat >conftest.
$ac_ext <<_ACEOF
27358 cat confdefs.h
>>conftest.
$ac_ext
27359 cat >>conftest.
$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27361 $ac_includes_default
27365 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27372 rm -f conftest.
$ac_objext
27373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27374 (eval $ac_compile) 2>conftest.er1
27376 grep -v '^ *+' conftest.er1
>conftest.err
27378 cat conftest.err
>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); } &&
27381 { ac_try
='test -z "$ac_c_werror_flag"
27382 || test ! -s conftest.err'
27383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27384 (eval $ac_try) 2>&5
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); }; } &&
27388 { ac_try
='test -s conftest.$ac_objext'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 ac_hi
=$ac_mid; break
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.
$ac_ext >&5
27399 ac_lo
=`expr $ac_mid + 1`
27400 if test $ac_lo -le $ac_mid; then
27404 ac_mid
=`expr 2 '*' $ac_mid + 1`
27406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.
$ac_ext >&5
27412 cat >conftest.
$ac_ext <<_ACEOF
27415 cat confdefs.h
>>conftest.
$ac_ext
27416 cat >>conftest.
$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 $ac_includes_default
27422 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27429 rm -f conftest.
$ac_objext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27431 (eval $ac_compile) 2>conftest.er1
27433 grep -v '^ *+' conftest.er1
>conftest.err
27435 cat conftest.err
>&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try
='test -z "$ac_c_werror_flag"
27439 || test ! -s conftest.err'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } &&
27445 { ac_try
='test -s conftest.$ac_objext'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; }; then
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
27463 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27470 rm -f conftest.
$ac_objext
27471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27472 (eval $ac_compile) 2>conftest.er1
27474 grep -v '^ *+' conftest.er1
>conftest.err
27476 cat conftest.err
>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } &&
27479 { ac_try
='test -z "$ac_c_werror_flag"
27480 || test ! -s conftest.err'
27481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 (eval $ac_try) 2>&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); }; } &&
27486 { ac_try
='test -s conftest.$ac_objext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 ac_lo
=$ac_mid; break
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.
$ac_ext >&5
27497 ac_hi
=`expr '(' $ac_mid ')' - 1`
27498 if test $ac_mid -le $ac_hi; then
27502 ac_mid
=`expr 2 '*' $ac_mid`
27504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.
$ac_ext >&5
27512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27515 # Binary search between lo and hi bounds.
27516 while test "x$ac_lo" != "x$ac_hi"; do
27517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27518 cat >conftest.
$ac_ext <<_ACEOF
27521 cat confdefs.h
>>conftest.
$ac_ext
27522 cat >>conftest.
$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27524 $ac_includes_default
27528 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27535 rm -f conftest.
$ac_objext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27537 (eval $ac_compile) 2>conftest.er1
27539 grep -v '^ *+' conftest.er1
>conftest.err
27541 cat conftest.err
>&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try
='test -z "$ac_c_werror_flag"
27545 || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try
='test -s conftest.$ac_objext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.
$ac_ext >&5
27562 ac_lo
=`expr '(' $ac_mid ')' + 1`
27564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27567 ?
*) ac_cv_sizeof_short
=$ac_lo;;
27568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27569 See \`config.log' for more details." >&5
27570 echo "$as_me: error: cannot compute sizeof (short), 77
27571 See \`config.log' for more details." >&2;}
27572 { (exit 1); exit 1; }; } ;;
27575 if test "$cross_compiling" = yes; then
27576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27577 See \`config.log' for more details." >&5
27578 echo "$as_me: error: cannot run test program while cross compiling
27579 See \`config.log' for more details." >&2;}
27580 { (exit 1); exit 1; }; }
27582 cat >conftest.
$ac_ext <<_ACEOF
27585 cat confdefs.h
>>conftest.
$ac_ext
27586 cat >>conftest.
$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588 $ac_includes_default
27589 long longval () { return (long) (sizeof (short)); }
27590 unsigned long ulongval () { return (long) (sizeof (short)); }
27592 #include <stdlib.h>
27597 FILE *f = fopen ("conftest.val", "w");
27600 if (((long) (sizeof (short))) < 0)
27602 long i = longval ();
27603 if (i != ((long) (sizeof (short))))
27605 fprintf (f, "%ld\n", i);
27609 unsigned long i = ulongval ();
27610 if (i != ((long) (sizeof (short))))
27612 fprintf (f, "%lu\n", i);
27614 exit (ferror (f) || fclose (f) != 0);
27620 rm -f conftest
$ac_exeext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27622 (eval $ac_link) 2>&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27627 (eval $ac_try) 2>&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); }; }; then
27631 ac_cv_sizeof_short
=`cat conftest.val`
27633 echo "$as_me: program exited with status $ac_status" >&5
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.
$ac_ext >&5
27637 ( exit $ac_status )
27638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27639 See \`config.log' for more details." >&5
27640 echo "$as_me: error: cannot compute sizeof (short), 77
27641 See \`config.log' for more details." >&2;}
27642 { (exit 1); exit 1; }; }
27644 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27649 ac_cv_sizeof_short
=0
27652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27653 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27654 cat >>confdefs.h
<<_ACEOF
27655 #define SIZEOF_SHORT $ac_cv_sizeof_short
27659 echo "$as_me:$LINENO: checking for int" >&5
27660 echo $ECHO_N "checking for int... $ECHO_C" >&6
27661 if test "${ac_cv_type_int+set}" = set; then
27662 echo $ECHO_N "(cached) $ECHO_C" >&6
27664 cat >conftest.
$ac_ext <<_ACEOF
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670 $ac_includes_default
27682 rm -f conftest.
$ac_objext
27683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27684 (eval $ac_compile) 2>conftest.er1
27686 grep -v '^ *+' conftest.er1
>conftest.err
27688 cat conftest.err
>&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try
='test -z "$ac_c_werror_flag"
27692 || test ! -s conftest.err'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; } &&
27698 { ac_try
='test -s conftest.$ac_objext'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27706 echo "$as_me: failed program was:" >&5
27707 sed 's/^/| /' conftest.
$ac_ext >&5
27711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27713 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27714 echo "${ECHO_T}$ac_cv_type_int" >&6
27716 echo "$as_me:$LINENO: checking size of int" >&5
27717 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27718 if test "${ac_cv_sizeof_int+set}" = set; then
27719 echo $ECHO_N "(cached) $ECHO_C" >&6
27721 if test "$ac_cv_type_int" = yes; then
27722 # The cast to unsigned long works around a bug in the HP C Compiler
27723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27725 # This bug is HP SR number 8606223364.
27726 if test "$cross_compiling" = yes; then
27727 # Depending upon the size, compute the lo and hi bounds.
27728 cat >conftest.
$ac_ext <<_ACEOF
27731 cat confdefs.h
>>conftest.
$ac_ext
27732 cat >>conftest.
$ac_ext <<_ACEOF
27733 /* end confdefs.h. */
27734 $ac_includes_default
27738 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27745 rm -f conftest.
$ac_objext
27746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27747 (eval $ac_compile) 2>conftest.er1
27749 grep -v '^ *+' conftest.er1
>conftest.err
27751 cat conftest.err
>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try
='test -z "$ac_c_werror_flag"
27755 || test ! -s conftest.err'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; } &&
27761 { ac_try
='test -s conftest.$ac_objext'
27762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27763 (eval $ac_try) 2>&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); }; }; then
27769 cat >conftest.
$ac_ext <<_ACEOF
27772 cat confdefs.h
>>conftest.
$ac_ext
27773 cat >>conftest.
$ac_ext <<_ACEOF
27774 /* end confdefs.h. */
27775 $ac_includes_default
27779 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27786 rm -f conftest.
$ac_objext
27787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27788 (eval $ac_compile) 2>conftest.er1
27790 grep -v '^ *+' conftest.er1
>conftest.err
27792 cat conftest.err
>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } &&
27795 { ac_try
='test -z "$ac_c_werror_flag"
27796 || test ! -s conftest.err'
27797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27798 (eval $ac_try) 2>&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); }; } &&
27802 { ac_try
='test -s conftest.$ac_objext'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; }; then
27808 ac_hi
=$ac_mid; break
27810 echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.
$ac_ext >&5
27813 ac_lo
=`expr $ac_mid + 1`
27814 if test $ac_lo -le $ac_mid; then
27818 ac_mid
=`expr 2 '*' $ac_mid + 1`
27820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.
$ac_ext >&5
27826 cat >conftest.
$ac_ext <<_ACEOF
27829 cat confdefs.h
>>conftest.
$ac_ext
27830 cat >>conftest.
$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27832 $ac_includes_default
27836 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27843 rm -f conftest.
$ac_objext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27845 (eval $ac_compile) 2>conftest.er1
27847 grep -v '^ *+' conftest.er1
>conftest.err
27849 cat conftest.err
>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try
='test -z "$ac_c_werror_flag"
27853 || test ! -s conftest.err'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try
='test -s conftest.$ac_objext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27867 cat >conftest.
$ac_ext <<_ACEOF
27870 cat confdefs.h
>>conftest.
$ac_ext
27871 cat >>conftest.
$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27873 $ac_includes_default
27877 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27884 rm -f conftest.
$ac_objext
27885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27886 (eval $ac_compile) 2>conftest.er1
27888 grep -v '^ *+' conftest.er1
>conftest.err
27890 cat conftest.err
>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); } &&
27893 { ac_try
='test -z "$ac_c_werror_flag"
27894 || test ! -s conftest.err'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; } &&
27900 { ac_try
='test -s conftest.$ac_objext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 ac_lo
=$ac_mid; break
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.
$ac_ext >&5
27911 ac_hi
=`expr '(' $ac_mid ')' - 1`
27912 if test $ac_mid -le $ac_hi; then
27916 ac_mid
=`expr 2 '*' $ac_mid`
27918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27921 echo "$as_me: failed program was:" >&5
27922 sed 's/^/| /' conftest.
$ac_ext >&5
27926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27929 # Binary search between lo and hi bounds.
27930 while test "x$ac_lo" != "x$ac_hi"; do
27931 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27932 cat >conftest.
$ac_ext <<_ACEOF
27935 cat confdefs.h
>>conftest.
$ac_ext
27936 cat >>conftest.
$ac_ext <<_ACEOF
27937 /* end confdefs.h. */
27938 $ac_includes_default
27942 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27949 rm -f conftest.
$ac_objext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27951 (eval $ac_compile) 2>conftest.er1
27953 grep -v '^ *+' conftest.er1
>conftest.err
27955 cat conftest.err
>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try
='test -z "$ac_c_werror_flag"
27959 || test ! -s conftest.err'
27960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27961 (eval $ac_try) 2>&5
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); }; } &&
27965 { ac_try
='test -s conftest.$ac_objext'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; }; then
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.
$ac_ext >&5
27976 ac_lo
=`expr '(' $ac_mid ')' + 1`
27978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27981 ?
*) ac_cv_sizeof_int
=$ac_lo;;
27982 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27983 See \`config.log' for more details." >&5
27984 echo "$as_me: error: cannot compute sizeof (int), 77
27985 See \`config.log' for more details." >&2;}
27986 { (exit 1); exit 1; }; } ;;
27989 if test "$cross_compiling" = yes; then
27990 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27991 See \`config.log' for more details." >&5
27992 echo "$as_me: error: cannot run test program while cross compiling
27993 See \`config.log' for more details." >&2;}
27994 { (exit 1); exit 1; }; }
27996 cat >conftest.
$ac_ext <<_ACEOF
27999 cat confdefs.h
>>conftest.
$ac_ext
28000 cat >>conftest.
$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28002 $ac_includes_default
28003 long longval () { return (long) (sizeof (int)); }
28004 unsigned long ulongval () { return (long) (sizeof (int)); }
28006 #include <stdlib.h>
28011 FILE *f = fopen ("conftest.val", "w");
28014 if (((long) (sizeof (int))) < 0)
28016 long i = longval ();
28017 if (i != ((long) (sizeof (int))))
28019 fprintf (f, "%ld\n", i);
28023 unsigned long i = ulongval ();
28024 if (i != ((long) (sizeof (int))))
28026 fprintf (f, "%lu\n", i);
28028 exit (ferror (f) || fclose (f) != 0);
28034 rm -f conftest
$ac_exeext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28036 (eval $ac_link) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28041 (eval $ac_try) 2>&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); }; }; then
28045 ac_cv_sizeof_int
=`cat conftest.val`
28047 echo "$as_me: program exited with status $ac_status" >&5
28048 echo "$as_me: failed program was:" >&5
28049 sed 's/^/| /' conftest.
$ac_ext >&5
28051 ( exit $ac_status )
28052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
28053 See \`config.log' for more details." >&5
28054 echo "$as_me: error: cannot compute sizeof (int), 77
28055 See \`config.log' for more details." >&2;}
28056 { (exit 1); exit 1; }; }
28058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28066 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
28067 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
28068 cat >>confdefs.h
<<_ACEOF
28069 #define SIZEOF_INT $ac_cv_sizeof_int
28073 echo "$as_me:$LINENO: checking for long" >&5
28074 echo $ECHO_N "checking for long... $ECHO_C" >&6
28075 if test "${ac_cv_type_long+set}" = set; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 cat >conftest.
$ac_ext <<_ACEOF
28081 cat confdefs.h
>>conftest.
$ac_ext
28082 cat >>conftest.
$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 $ac_includes_default
28096 rm -f conftest.
$ac_objext
28097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28098 (eval $ac_compile) 2>conftest.er1
28100 grep -v '^ *+' conftest.er1
>conftest.err
28102 cat conftest.err
>&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); } &&
28105 { ac_try
='test -z "$ac_c_werror_flag"
28106 || test ! -s conftest.err'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; } &&
28112 { ac_try
='test -s conftest.$ac_objext'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; }; then
28118 ac_cv_type_long
=yes
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.
$ac_ext >&5
28125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28127 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
28128 echo "${ECHO_T}$ac_cv_type_long" >&6
28130 echo "$as_me:$LINENO: checking size of long" >&5
28131 echo $ECHO_N "checking size of long... $ECHO_C" >&6
28132 if test "${ac_cv_sizeof_long+set}" = set; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 if test "$ac_cv_type_long" = yes; then
28136 # The cast to unsigned long works around a bug in the HP C Compiler
28137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28139 # This bug is HP SR number 8606223364.
28140 if test "$cross_compiling" = yes; then
28141 # Depending upon the size, compute the lo and hi bounds.
28142 cat >conftest.
$ac_ext <<_ACEOF
28145 cat confdefs.h
>>conftest.
$ac_ext
28146 cat >>conftest.
$ac_ext <<_ACEOF
28147 /* end confdefs.h. */
28148 $ac_includes_default
28152 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
28159 rm -f conftest.
$ac_objext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28161 (eval $ac_compile) 2>conftest.er1
28163 grep -v '^ *+' conftest.er1
>conftest.err
28165 cat conftest.err
>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try
='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try
='test -s conftest.$ac_objext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28183 cat >conftest.
$ac_ext <<_ACEOF
28186 cat confdefs.h
>>conftest.
$ac_ext
28187 cat >>conftest.
$ac_ext <<_ACEOF
28188 /* end confdefs.h. */
28189 $ac_includes_default
28193 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28200 rm -f conftest.
$ac_objext
28201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28202 (eval $ac_compile) 2>conftest.er1
28204 grep -v '^ *+' conftest.er1
>conftest.err
28206 cat conftest.err
>&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try
='test -z "$ac_c_werror_flag"
28210 || test ! -s conftest.err'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; } &&
28216 { ac_try
='test -s conftest.$ac_objext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28222 ac_hi
=$ac_mid; break
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.
$ac_ext >&5
28227 ac_lo
=`expr $ac_mid + 1`
28228 if test $ac_lo -le $ac_mid; then
28232 ac_mid
=`expr 2 '*' $ac_mid + 1`
28234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.
$ac_ext >&5
28240 cat >conftest.
$ac_ext <<_ACEOF
28243 cat confdefs.h
>>conftest.
$ac_ext
28244 cat >>conftest.
$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 $ac_includes_default
28250 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
28257 rm -f conftest.
$ac_objext
28258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28259 (eval $ac_compile) 2>conftest.er1
28261 grep -v '^ *+' conftest.er1
>conftest.err
28263 cat conftest.err
>&5
28264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265 (exit $ac_status); } &&
28266 { ac_try
='test -z "$ac_c_werror_flag"
28267 || test ! -s conftest.err'
28268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28269 (eval $ac_try) 2>&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); }; } &&
28273 { ac_try
='test -s conftest.$ac_objext'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28281 cat >conftest.
$ac_ext <<_ACEOF
28284 cat confdefs.h
>>conftest.
$ac_ext
28285 cat >>conftest.
$ac_ext <<_ACEOF
28286 /* end confdefs.h. */
28287 $ac_includes_default
28291 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
28298 rm -f conftest.
$ac_objext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28300 (eval $ac_compile) 2>conftest.er1
28302 grep -v '^ *+' conftest.er1
>conftest.err
28304 cat conftest.err
>&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); } &&
28307 { ac_try
='test -z "$ac_c_werror_flag"
28308 || test ! -s conftest.err'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; } &&
28314 { ac_try
='test -s conftest.$ac_objext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 ac_lo
=$ac_mid; break
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.
$ac_ext >&5
28325 ac_hi
=`expr '(' $ac_mid ')' - 1`
28326 if test $ac_mid -le $ac_hi; then
28330 ac_mid
=`expr 2 '*' $ac_mid`
28332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28335 echo "$as_me: failed program was:" >&5
28336 sed 's/^/| /' conftest.
$ac_ext >&5
28340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28343 # Binary search between lo and hi bounds.
28344 while test "x$ac_lo" != "x$ac_hi"; do
28345 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28346 cat >conftest.
$ac_ext <<_ACEOF
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 $ac_includes_default
28356 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28363 rm -f conftest.
$ac_objext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28365 (eval $ac_compile) 2>conftest.er1
28367 grep -v '^ *+' conftest.er1
>conftest.err
28369 cat conftest.err
>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try
='test -z "$ac_c_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try
='test -s conftest.$ac_objext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.
$ac_ext >&5
28390 ac_lo
=`expr '(' $ac_mid ')' + 1`
28392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28395 ?
*) ac_cv_sizeof_long
=$ac_lo;;
28396 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28397 See \`config.log' for more details." >&5
28398 echo "$as_me: error: cannot compute sizeof (long), 77
28399 See \`config.log' for more details." >&2;}
28400 { (exit 1); exit 1; }; } ;;
28403 if test "$cross_compiling" = yes; then
28404 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28405 See \`config.log' for more details." >&5
28406 echo "$as_me: error: cannot run test program while cross compiling
28407 See \`config.log' for more details." >&2;}
28408 { (exit 1); exit 1; }; }
28410 cat >conftest.
$ac_ext <<_ACEOF
28413 cat confdefs.h
>>conftest.
$ac_ext
28414 cat >>conftest.
$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416 $ac_includes_default
28417 long longval () { return (long) (sizeof (long)); }
28418 unsigned long ulongval () { return (long) (sizeof (long)); }
28420 #include <stdlib.h>
28425 FILE *f = fopen ("conftest.val", "w");
28428 if (((long) (sizeof (long))) < 0)
28430 long i = longval ();
28431 if (i != ((long) (sizeof (long))))
28433 fprintf (f, "%ld\n", i);
28437 unsigned long i = ulongval ();
28438 if (i != ((long) (sizeof (long))))
28440 fprintf (f, "%lu\n", i);
28442 exit (ferror (f) || fclose (f) != 0);
28448 rm -f conftest
$ac_exeext
28449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28450 (eval $ac_link) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; }; then
28459 ac_cv_sizeof_long
=`cat conftest.val`
28461 echo "$as_me: program exited with status $ac_status" >&5
28462 echo "$as_me: failed program was:" >&5
28463 sed 's/^/| /' conftest.
$ac_ext >&5
28465 ( exit $ac_status )
28466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28467 See \`config.log' for more details." >&5
28468 echo "$as_me: error: cannot compute sizeof (long), 77
28469 See \`config.log' for more details." >&2;}
28470 { (exit 1); exit 1; }; }
28472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28477 ac_cv_sizeof_long
=0
28480 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28481 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28482 cat >>confdefs.h
<<_ACEOF
28483 #define SIZEOF_LONG $ac_cv_sizeof_long
28487 echo "$as_me:$LINENO: checking for void*" >&5
28488 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28489 if test "${ac_cv_type_voidp+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28492 cat >conftest.
$ac_ext <<_ACEOF
28495 cat confdefs.h
>>conftest.
$ac_ext
28496 cat >>conftest.
$ac_ext <<_ACEOF
28497 /* end confdefs.h. */
28498 $ac_includes_default
28504 if (sizeof (void*))
28510 rm -f conftest.
$ac_objext
28511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28512 (eval $ac_compile) 2>conftest.er1
28514 grep -v '^ *+' conftest.er1
>conftest.err
28516 cat conftest.err
>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); } &&
28519 { ac_try
='test -z "$ac_c_werror_flag"
28520 || test ! -s conftest.err'
28521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522 (eval $ac_try) 2>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); }; } &&
28526 { ac_try
='test -s conftest.$ac_objext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 ac_cv_type_voidp
=yes
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.
$ac_ext >&5
28537 ac_cv_type_voidp
=no
28539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28541 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28542 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28544 echo "$as_me:$LINENO: checking size of void*" >&5
28545 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28546 if test "${ac_cv_sizeof_voidp+set}" = set; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 if test "$ac_cv_type_voidp" = yes; then
28550 # The cast to unsigned long works around a bug in the HP C Compiler
28551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28553 # This bug is HP SR number 8606223364.
28554 if test "$cross_compiling" = yes; then
28555 # Depending upon the size, compute the lo and hi bounds.
28556 cat >conftest.
$ac_ext <<_ACEOF
28559 cat confdefs.h
>>conftest.
$ac_ext
28560 cat >>conftest.
$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28562 $ac_includes_default
28566 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28573 rm -f conftest.
$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28577 grep -v '^ *+' conftest.er1
>conftest.err
28579 cat conftest.err
>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try
='test -z "$ac_c_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try
='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28597 cat >conftest.
$ac_ext <<_ACEOF
28600 cat confdefs.h
>>conftest.
$ac_ext
28601 cat >>conftest.
$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 $ac_includes_default
28607 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28614 rm -f conftest.
$ac_objext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28616 (eval $ac_compile) 2>conftest.er1
28618 grep -v '^ *+' conftest.er1
>conftest.err
28620 cat conftest.err
>&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } &&
28623 { ac_try
='test -z "$ac_c_werror_flag"
28624 || test ! -s conftest.err'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; } &&
28630 { ac_try
='test -s conftest.$ac_objext'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; }; then
28636 ac_hi
=$ac_mid; break
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.
$ac_ext >&5
28641 ac_lo
=`expr $ac_mid + 1`
28642 if test $ac_lo -le $ac_mid; then
28646 ac_mid
=`expr 2 '*' $ac_mid + 1`
28648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28651 echo "$as_me: failed program was:" >&5
28652 sed 's/^/| /' conftest.
$ac_ext >&5
28654 cat >conftest.
$ac_ext <<_ACEOF
28657 cat confdefs.h
>>conftest.
$ac_ext
28658 cat >>conftest.
$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28660 $ac_includes_default
28664 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28671 rm -f conftest.
$ac_objext
28672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28673 (eval $ac_compile) 2>conftest.er1
28675 grep -v '^ *+' conftest.er1
>conftest.err
28677 cat conftest.err
>&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try
='test -z "$ac_c_werror_flag"
28681 || test ! -s conftest.err'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; } &&
28687 { ac_try
='test -s conftest.$ac_objext'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; }; then
28695 cat >conftest.
$ac_ext <<_ACEOF
28698 cat confdefs.h
>>conftest.
$ac_ext
28699 cat >>conftest.
$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28701 $ac_includes_default
28705 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28712 rm -f conftest.
$ac_objext
28713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28714 (eval $ac_compile) 2>conftest.er1
28716 grep -v '^ *+' conftest.er1
>conftest.err
28718 cat conftest.err
>&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); } &&
28721 { ac_try
='test -z "$ac_c_werror_flag"
28722 || test ! -s conftest.err'
28723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28724 (eval $ac_try) 2>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); }; } &&
28728 { ac_try
='test -s conftest.$ac_objext'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; }; then
28734 ac_lo
=$ac_mid; break
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.
$ac_ext >&5
28739 ac_hi
=`expr '(' $ac_mid ')' - 1`
28740 if test $ac_mid -le $ac_hi; then
28744 ac_mid
=`expr 2 '*' $ac_mid`
28746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.
$ac_ext >&5
28754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28757 # Binary search between lo and hi bounds.
28758 while test "x$ac_lo" != "x$ac_hi"; do
28759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28760 cat >conftest.
$ac_ext <<_ACEOF
28763 cat confdefs.h
>>conftest.
$ac_ext
28764 cat >>conftest.
$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28766 $ac_includes_default
28770 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28777 rm -f conftest.
$ac_objext
28778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28779 (eval $ac_compile) 2>conftest.er1
28781 grep -v '^ *+' conftest.er1
>conftest.err
28783 cat conftest.err
>&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); } &&
28786 { ac_try
='test -z "$ac_c_werror_flag"
28787 || test ! -s conftest.err'
28788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789 (eval $ac_try) 2>&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; } &&
28793 { ac_try
='test -s conftest.$ac_objext'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; }; then
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.
$ac_ext >&5
28804 ac_lo
=`expr '(' $ac_mid ')' + 1`
28806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28809 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
28810 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28811 See \`config.log' for more details." >&5
28812 echo "$as_me: error: cannot compute sizeof (void*), 77
28813 See \`config.log' for more details." >&2;}
28814 { (exit 1); exit 1; }; } ;;
28817 if test "$cross_compiling" = yes; then
28818 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28819 See \`config.log' for more details." >&5
28820 echo "$as_me: error: cannot run test program while cross compiling
28821 See \`config.log' for more details." >&2;}
28822 { (exit 1); exit 1; }; }
28824 cat >conftest.
$ac_ext <<_ACEOF
28827 cat confdefs.h
>>conftest.
$ac_ext
28828 cat >>conftest.
$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830 $ac_includes_default
28831 long longval () { return (long) (sizeof (void*)); }
28832 unsigned long ulongval () { return (long) (sizeof (void*)); }
28834 #include <stdlib.h>
28839 FILE *f = fopen ("conftest.val", "w");
28842 if (((long) (sizeof (void*))) < 0)
28844 long i = longval ();
28845 if (i != ((long) (sizeof (void*))))
28847 fprintf (f, "%ld\n", i);
28851 unsigned long i = ulongval ();
28852 if (i != ((long) (sizeof (void*))))
28854 fprintf (f, "%lu\n", i);
28856 exit (ferror (f) || fclose (f) != 0);
28862 rm -f conftest
$ac_exeext
28863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28864 (eval $ac_link) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_sizeof_voidp
=`cat conftest.val`
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.
$ac_ext >&5
28879 ( exit $ac_status )
28880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28881 See \`config.log' for more details." >&5
28882 echo "$as_me: error: cannot compute sizeof (void*), 77
28883 See \`config.log' for more details." >&2;}
28884 { (exit 1); exit 1; }; }
28886 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28891 ac_cv_sizeof_voidp
=0
28894 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28895 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
28896 cat >>confdefs.h
<<_ACEOF
28897 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
28901 ac_cv_char_data_model
=""
28902 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
28903 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
28904 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
28905 ac_cv_long_data_model
=""
28906 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
28907 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
28908 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
28909 echo "$as_me:$LINENO: checking data model" >&5
28910 echo $ECHO_N "checking data model... $ECHO_C" >&6
28911 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
28912 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
28913 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
28914 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
28915 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
28916 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
28917 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
28918 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
28919 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
28920 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
28921 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
28922 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
28923 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
28924 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
28925 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
28926 222/*|
333/*|
444/*|
666/*|
888/*) :
28927 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
28928 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
28930 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
28931 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
28935 if test "_$ac_cv_header_stdint_x" != "_" ; then
28936 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
28937 elif test "_$ac_cv_header_stdint_o" != "_" ; then
28938 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
28939 elif test "_$ac_cv_header_stdint_u" != "_" ; then
28940 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
28942 ac_cv_header_stdint
="stddef.h"
28945 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
28946 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
28947 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
28948 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
28949 unset ac_cv_type_int_least32_t
28950 unset ac_cv_type_int_fast32_t
28951 echo "$as_me:$LINENO: checking for int_least32_t" >&5
28952 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
28953 if test "${ac_cv_type_int_least32_t+set}" = set; then
28954 echo $ECHO_N "(cached) $ECHO_C" >&6
28956 cat >conftest.
$ac_ext <<_ACEOF
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28962 #include <$ac_cv_header_stdint>
28967 if ((int_least32_t *) 0)
28969 if (sizeof (int_least32_t))
28975 rm -f conftest.
$ac_objext
28976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28977 (eval $ac_compile) 2>conftest.er1
28979 grep -v '^ *+' conftest.er1
>conftest.err
28981 cat conftest.err
>&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } &&
28984 { ac_try
='test -z "$ac_c_werror_flag"
28985 || test ! -s conftest.err'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; } &&
28991 { ac_try
='test -s conftest.$ac_objext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28997 ac_cv_type_int_least32_t
=yes
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.
$ac_ext >&5
29002 ac_cv_type_int_least32_t
=no
29004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29006 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
29007 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
29009 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
29010 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
29011 if test "${ac_cv_type_int_fast32_t+set}" = set; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29014 cat >conftest.
$ac_ext <<_ACEOF
29017 cat confdefs.h
>>conftest.
$ac_ext
29018 cat >>conftest.
$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020 #include<$ac_cv_header_stdint>
29025 if ((int_fast32_t *) 0)
29027 if (sizeof (int_fast32_t))
29033 rm -f conftest.
$ac_objext
29034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29035 (eval $ac_compile) 2>conftest.er1
29037 grep -v '^ *+' conftest.er1
>conftest.err
29039 cat conftest.err
>&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } &&
29042 { ac_try
='test -z "$ac_c_werror_flag"
29043 || test ! -s conftest.err'
29044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29045 (eval $ac_try) 2>&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); }; } &&
29049 { ac_try
='test -s conftest.$ac_objext'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; }; then
29055 ac_cv_type_int_fast32_t
=yes
29057 echo "$as_me: failed program was:" >&5
29058 sed 's/^/| /' conftest.
$ac_ext >&5
29060 ac_cv_type_int_fast32_t
=no
29062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29064 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
29065 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
29067 echo "$as_me:$LINENO: checking for intmax_t" >&5
29068 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
29069 if test "${ac_cv_type_intmax_t+set}" = set; then
29070 echo $ECHO_N "(cached) $ECHO_C" >&6
29072 cat >conftest.
$ac_ext <<_ACEOF
29075 cat confdefs.h
>>conftest.
$ac_ext
29076 cat >>conftest.
$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078 #include <$ac_cv_header_stdint>
29083 if ((intmax_t *) 0)
29085 if (sizeof (intmax_t))
29091 rm -f conftest.
$ac_objext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29093 (eval $ac_compile) 2>conftest.er1
29095 grep -v '^ *+' conftest.er1
>conftest.err
29097 cat conftest.err
>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try
='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try
='test -s conftest.$ac_objext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 ac_cv_type_intmax_t
=yes
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.
$ac_ext >&5
29118 ac_cv_type_intmax_t
=no
29120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29122 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
29123 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
29126 fi # shortcircut to system "stdint.h"
29127 # ------------------ PREPARE VARIABLES ------------------------------
29128 if test "$GCC" = "yes" ; then
29129 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
29131 ac_cv_stdint_message
="using $CC"
29134 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
29135 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
29137 # ----------------- DONE inttypes.h checks START header -------------
29138 ac_config_commands
="$ac_config_commands $ac_stdint_h"
29143 # Check whether --with-glibj_zip or --without-glibj_zip was given.
29144 if test "${with_glibj_zip+set}" = set; then
29145 withval
="$with_glibj_zip"
29149 case "$with_glibj_zip" in
29151 use_glibj_zip
=false
29154 use_glibj_zip
=false
29157 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
29158 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
29159 { (exit 1); exit 1; }; }
29163 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
29169 if test x
$use_glibj_zip = xtrue
; then
29170 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
29171 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
29173 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
29174 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
29180 # Check whether --with-escher or --without-escher was given.
29181 if test "${with_escher+set}" = set; then
29182 withval
="$with_escher"
29185 case "$with_escher" in
29193 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
29194 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
29195 { (exit 1); exit 1; }; }
29199 PATH_TO_ESCHER
=$with_escher
29205 if test x
$use_escher = xtrue
; then
29207 USE_ESCHER_FALSE
='#'
29209 USE_ESCHER_TRUE
='#'
29215 # Check whether --enable-local-sockets or --disable-local-sockets was given.
29216 if test "${enable_local_sockets+set}" = set; then
29217 enableval
="$enable_local_sockets"
29218 case "${enableval}" in
29220 ENABLE_LOCAL_SOCKETS
=yes
29223 ENABLE_LOCAL_SOCKETS
=no
29227 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
29229 if test "${ac_cv_header_sys_un_h+set}" = set; then
29230 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29231 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29232 if test "${ac_cv_header_sys_un_h+set}" = set; then
29233 echo $ECHO_N "(cached) $ECHO_C" >&6
29235 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29236 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29238 # Is the header compilable?
29239 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
29240 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
29241 cat >conftest.
$ac_ext <<_ACEOF
29244 cat confdefs.h
>>conftest.
$ac_ext
29245 cat >>conftest.
$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247 $ac_includes_default
29248 #include <sys/un.h>
29250 rm -f conftest.
$ac_objext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29252 (eval $ac_compile) 2>conftest.er1
29254 grep -v '^ *+' conftest.er1
>conftest.err
29256 cat conftest.err
>&5
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); } &&
29259 { ac_try
='test -z "$ac_c_werror_flag"
29260 || test ! -s conftest.err'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; } &&
29266 { ac_try
='test -s conftest.$ac_objext'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; }; then
29272 ac_header_compiler
=yes
29274 echo "$as_me: failed program was:" >&5
29275 sed 's/^/| /' conftest.
$ac_ext >&5
29277 ac_header_compiler
=no
29279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29281 echo "${ECHO_T}$ac_header_compiler" >&6
29283 # Is the header present?
29284 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
29285 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
29286 cat >conftest.
$ac_ext <<_ACEOF
29289 cat confdefs.h
>>conftest.
$ac_ext
29290 cat >>conftest.
$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292 #include <sys/un.h>
29294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29297 grep -v '^ *+' conftest.er1
>conftest.err
29299 cat conftest.err
>&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } >/dev
/null
; then
29302 if test -s conftest.err
; then
29303 ac_cpp_err
=$ac_c_preproc_warn_flag
29304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29311 if test -z "$ac_cpp_err"; then
29312 ac_header_preproc
=yes
29314 echo "$as_me: failed program was:" >&5
29315 sed 's/^/| /' conftest.
$ac_ext >&5
29317 ac_header_preproc
=no
29319 rm -f conftest.err conftest.
$ac_ext
29320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29321 echo "${ECHO_T}$ac_header_preproc" >&6
29323 # So? What about this header?
29324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29326 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
29327 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29328 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
29329 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
29330 ac_header_preproc
=yes
29333 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
29334 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
29335 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
29336 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
29337 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
29338 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
29339 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
29340 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
29341 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
29342 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
29344 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
29347 ## -------------------------------- ##
29348 ## Report this to classpath@gnu.org ##
29349 ## -------------------------------- ##
29352 sed "s/^/$as_me: WARNING: /" >&2
29355 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29356 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29357 if test "${ac_cv_header_sys_un_h+set}" = set; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29360 ac_cv_header_sys_un_h
=$ac_header_preproc
29362 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29363 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29374 for ac_func
in read write bind listen accept shutdown
29376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29377 echo "$as_me:$LINENO: checking for $ac_func" >&5
29378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29379 if eval "test \"\${$as_ac_var+set}\" = set"; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 if test x
$gcc_no_link = xyes
; then
29383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29385 { (exit 1); exit 1; }; }
29387 cat >conftest.
$ac_ext <<_ACEOF
29390 cat confdefs.h
>>conftest.
$ac_ext
29391 cat >>conftest.
$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29395 #define $ac_func innocuous_$ac_func
29397 /* System header to define __stub macros and hopefully few prototypes,
29398 which can conflict with char $ac_func (); below.
29399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29400 <limits.h> exists even on freestanding compilers. */
29403 # include <limits.h>
29405 # include <assert.h>
29410 /* Override any gcc2 internal prototype to avoid an error. */
29415 /* We use char because int might match the return type of a gcc2
29416 builtin and then its argument prototype would still apply. */
29418 /* The GNU C library defines this for functions which it implements
29419 to always fail with ENOSYS. Some functions are actually named
29420 something starting with __ and the normal name is an alias. */
29421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29424 char (*f) () = $ac_func;
29433 return f != $ac_func;
29438 rm -f conftest.
$ac_objext conftest
$ac_exeext
29439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29440 (eval $ac_link) 2>conftest.er1
29442 grep -v '^ *+' conftest.er1
>conftest.err
29444 cat conftest.err
>&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } &&
29447 { ac_try
='test -z "$ac_c_werror_flag"
29448 || test ! -s conftest.err'
29449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29450 (eval $ac_try) 2>&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); }; } &&
29454 { ac_try
='test -s conftest$ac_exeext'
29455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29456 (eval $ac_try) 2>&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; }; then
29460 eval "$as_ac_var=yes"
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.
$ac_ext >&5
29465 eval "$as_ac_var=no"
29467 rm -f conftest.err conftest.
$ac_objext \
29468 conftest
$ac_exeext conftest.
$ac_ext
29470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29472 if test `eval echo '${'$as_ac_var'}'` = yes; then
29473 cat >>confdefs.h
<<_ACEOF
29474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29478 { { echo "$as_me:$LINENO: error: networking support not available" >&5
29479 echo "$as_me: error: networking support not available" >&2;}
29480 { (exit 1); exit 1; }; }
29485 cat >>confdefs.h
<<\_ACEOF
29486 #define ENABLE_LOCAL_SOCKETS 1
29492 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
29493 ENABLE_LOCAL_SOCKETS_TRUE
=
29494 ENABLE_LOCAL_SOCKETS_FALSE
='#'
29496 ENABLE_LOCAL_SOCKETS_TRUE
='#'
29497 ENABLE_LOCAL_SOCKETS_FALSE
=
29503 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-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 tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
29506 if test "x${COMPILE_WRAPPERS}" = xno
29508 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"
29510 ac_config_commands
="$ac_config_commands gappletviewer"
29512 ac_config_commands
="$ac_config_commands gjarsigner"
29514 ac_config_commands
="$ac_config_commands gkeytool"
29516 ac_config_commands
="$ac_config_commands gjar"
29518 ac_config_commands
="$ac_config_commands gnative2ascii"
29520 ac_config_commands
="$ac_config_commands gserialver"
29522 ac_config_commands
="$ac_config_commands grmiregistry"
29524 ac_config_commands
="$ac_config_commands gtnameserv"
29526 ac_config_commands
="$ac_config_commands gorbd"
29528 ac_config_commands
="$ac_config_commands grmid"
29530 ac_config_commands
="$ac_config_commands grmic"
29532 ac_config_commands
="$ac_config_commands gjavah"
29536 ac_config_commands
="$ac_config_commands gen-classlist"
29538 ac_config_commands
="$ac_config_commands copy-vmresources"
29540 cat >confcache
<<\_ACEOF
29541 # This file is a shell script that caches the results of configure
29542 # tests run on this system so they can be shared between configure
29543 # scripts and configure runs, see configure's option --config-cache.
29544 # It is not useful on other systems. If it contains results you don't
29545 # want to keep, you may remove or edit it.
29547 # config.status only pays attention to the cache file if you give it
29548 # the --recheck option to rerun configure.
29550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29552 # following values.
29556 # The following way of writing the cache mishandles newlines in values,
29557 # but we know of no workaround that is simple, portable, and efficient.
29558 # So, don't put newlines in cache variables' values.
29559 # Ultrix sh set writes to stderr and can't be redirected directly,
29560 # and sets the high bit in the cache file unless we assign to the vars.
29563 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29565 # `set' does not quote correctly, so add quotes (double-quote
29566 # substitution turns \\\\ into \\, and sed turns \\ into \).
29569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29572 # `set' quotes correctly as required by POSIX, so do not add quotes.
29574 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29581 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29583 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29585 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29586 if test -w $cache_file; then
29587 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29588 cat confcache
>$cache_file
29590 echo "not updating unwritable cache $cache_file"
29595 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29596 # Let make expand exec_prefix.
29597 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29599 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29600 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29601 # trailing colons and then remove the whole line if VPATH becomes empty
29602 # (actually we leave an empty line to preserve line numbers).
29603 if test "x$srcdir" = x.
; then
29604 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29605 s/:*\$(srcdir):*/:/;
29606 s/:*\${srcdir}:*/:/;
29608 s/^\([^=]*=[ ]*\):*/\1/;
29614 DEFS
=-DHAVE_CONFIG_H
29618 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29619 # 1. Remove the extension, and $U if already installed.
29620 ac_i
=`echo "$ac_i" |
29621 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29623 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
29624 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
29626 LIBOBJS
=$ac_libobjs
29628 LTLIBOBJS
=$ac_ltlibobjs
29631 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
29632 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29633 Usually this means the macro was only invoked conditionally." >&5
29634 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29635 Usually this means the macro was only invoked conditionally." >&2;}
29636 { (exit 1); exit 1; }; }
29638 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
29639 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
29640 Usually this means the macro was only invoked conditionally." >&5
29641 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
29642 Usually this means the macro was only invoked conditionally." >&2;}
29643 { (exit 1); exit 1; }; }
29645 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
29646 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29647 Usually this means the macro was only invoked conditionally." >&5
29648 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29649 Usually this means the macro was only invoked conditionally." >&2;}
29650 { (exit 1); exit 1; }; }
29652 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
29653 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29654 Usually this means the macro was only invoked conditionally." >&5
29655 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29656 Usually this means the macro was only invoked conditionally." >&2;}
29657 { (exit 1); exit 1; }; }
29659 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
29660 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29661 Usually this means the macro was only invoked conditionally." >&5
29662 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29663 Usually this means the macro was only invoked conditionally." >&2;}
29664 { (exit 1); exit 1; }; }
29666 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
29667 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29668 Usually this means the macro was only invoked conditionally." >&5
29669 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29670 Usually this means the macro was only invoked conditionally." >&2;}
29671 { (exit 1); exit 1; }; }
29673 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
29674 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29675 Usually this means the macro was only invoked conditionally." >&5
29676 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29677 Usually this means the macro was only invoked conditionally." >&2;}
29678 { (exit 1); exit 1; }; }
29680 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
29681 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29682 Usually this means the macro was only invoked conditionally." >&5
29683 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29684 Usually this means the macro was only invoked conditionally." >&2;}
29685 { (exit 1); exit 1; }; }
29687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29688 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29689 Usually this means the macro was only invoked conditionally." >&5
29690 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29691 Usually this means the macro was only invoked conditionally." >&2;}
29692 { (exit 1); exit 1; }; }
29694 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29695 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29696 Usually this means the macro was only invoked conditionally." >&5
29697 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29698 Usually this means the macro was only invoked conditionally." >&2;}
29699 { (exit 1); exit 1; }; }
29701 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
29702 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29703 Usually this means the macro was only invoked conditionally." >&5
29704 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29705 Usually this means the macro was only invoked conditionally." >&2;}
29706 { (exit 1); exit 1; }; }
29708 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
29709 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29710 Usually this means the macro was only invoked conditionally." >&5
29711 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29712 Usually this means the macro was only invoked conditionally." >&2;}
29713 { (exit 1); exit 1; }; }
29715 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
29716 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29717 Usually this means the macro was only invoked conditionally." >&5
29718 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29719 Usually this means the macro was only invoked conditionally." >&2;}
29720 { (exit 1); exit 1; }; }
29722 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
29723 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29724 Usually this means the macro was only invoked conditionally." >&5
29725 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29726 Usually this means the macro was only invoked conditionally." >&2;}
29727 { (exit 1); exit 1; }; }
29729 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
29730 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
29731 Usually this means the macro was only invoked conditionally." >&5
29732 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
29733 Usually this means the macro was only invoked conditionally." >&2;}
29734 { (exit 1); exit 1; }; }
29736 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
29737 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29738 Usually this means the macro was only invoked conditionally." >&5
29739 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29740 Usually this means the macro was only invoked conditionally." >&2;}
29741 { (exit 1); exit 1; }; }
29743 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
29744 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
29745 Usually this means the macro was only invoked conditionally." >&5
29746 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
29747 Usually this means the macro was only invoked conditionally." >&2;}
29748 { (exit 1); exit 1; }; }
29750 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29751 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29752 Usually this means the macro was only invoked conditionally." >&5
29753 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29754 Usually this means the macro was only invoked conditionally." >&2;}
29755 { (exit 1); exit 1; }; }
29757 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29758 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29759 Usually this means the macro was only invoked conditionally." >&5
29760 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29761 Usually this means the macro was only invoked conditionally." >&2;}
29762 { (exit 1); exit 1; }; }
29764 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29765 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29766 Usually this means the macro was only invoked conditionally." >&5
29767 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29768 Usually this means the macro was only invoked conditionally." >&2;}
29769 { (exit 1); exit 1; }; }
29771 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29772 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29773 Usually this means the macro was only invoked conditionally." >&5
29774 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29775 Usually this means the macro was only invoked conditionally." >&2;}
29776 { (exit 1); exit 1; }; }
29778 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29779 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29780 Usually this means the macro was only invoked conditionally." >&5
29781 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29782 Usually this means the macro was only invoked conditionally." >&2;}
29783 { (exit 1); exit 1; }; }
29785 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29786 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29787 Usually this means the macro was only invoked conditionally." >&5
29788 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29789 Usually this means the macro was only invoked conditionally." >&2;}
29790 { (exit 1); exit 1; }; }
29792 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29793 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29794 Usually this means the macro was only invoked conditionally." >&5
29795 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29796 Usually this means the macro was only invoked conditionally." >&2;}
29797 { (exit 1); exit 1; }; }
29799 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29800 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29801 Usually this means the macro was only invoked conditionally." >&5
29802 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29803 Usually this means the macro was only invoked conditionally." >&2;}
29804 { (exit 1); exit 1; }; }
29806 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29807 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29808 Usually this means the macro was only invoked conditionally." >&5
29809 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29810 Usually this means the macro was only invoked conditionally." >&2;}
29811 { (exit 1); exit 1; }; }
29813 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29814 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29815 Usually this means the macro was only invoked conditionally." >&5
29816 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29817 Usually this means the macro was only invoked conditionally." >&2;}
29818 { (exit 1); exit 1; }; }
29820 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29821 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29822 Usually this means the macro was only invoked conditionally." >&5
29823 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29824 Usually this means the macro was only invoked conditionally." >&2;}
29825 { (exit 1); exit 1; }; }
29827 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
29828 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
29829 Usually this means the macro was only invoked conditionally." >&5
29830 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
29831 Usually this means the macro was only invoked conditionally." >&2;}
29832 { (exit 1); exit 1; }; }
29834 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
29835 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29836 Usually this means the macro was only invoked conditionally." >&5
29837 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29838 Usually this means the macro was only invoked conditionally." >&2;}
29839 { (exit 1); exit 1; }; }
29841 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29842 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29843 Usually this means the macro was only invoked conditionally." >&5
29844 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29845 Usually this means the macro was only invoked conditionally." >&2;}
29846 { (exit 1); exit 1; }; }
29848 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
29849 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29850 Usually this means the macro was only invoked conditionally." >&5
29851 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29852 Usually this means the macro was only invoked conditionally." >&2;}
29853 { (exit 1); exit 1; }; }
29855 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
29856 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29857 Usually this means the macro was only invoked conditionally." >&5
29858 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29859 Usually this means the macro was only invoked conditionally." >&2;}
29860 { (exit 1); exit 1; }; }
29862 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
29863 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29864 Usually this means the macro was only invoked conditionally." >&5
29865 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29866 Usually this means the macro was only invoked conditionally." >&2;}
29867 { (exit 1); exit 1; }; }
29869 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
29870 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
29871 Usually this means the macro was only invoked conditionally." >&5
29872 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
29873 Usually this means the macro was only invoked conditionally." >&2;}
29874 { (exit 1); exit 1; }; }
29876 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
29877 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
29878 Usually this means the macro was only invoked conditionally." >&5
29879 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
29880 Usually this means the macro was only invoked conditionally." >&2;}
29881 { (exit 1); exit 1; }; }
29883 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
29884 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29885 Usually this means the macro was only invoked conditionally." >&5
29886 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29887 Usually this means the macro was only invoked conditionally." >&2;}
29888 { (exit 1); exit 1; }; }
29890 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
29891 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
29892 Usually this means the macro was only invoked conditionally." >&5
29893 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
29894 Usually this means the macro was only invoked conditionally." >&2;}
29895 { (exit 1); exit 1; }; }
29897 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
29898 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29899 Usually this means the macro was only invoked conditionally." >&5
29900 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29901 Usually this means the macro was only invoked conditionally." >&2;}
29902 { (exit 1); exit 1; }; }
29905 : ${CONFIG_STATUS=./config.status}
29906 ac_clean_files_save
=$ac_clean_files
29907 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29908 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29909 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29910 cat >$CONFIG_STATUS <<_ACEOF
29912 # Generated by $as_me.
29913 # Run this file to recreate the current configuration.
29914 # Compiler output produced by configure, useful for debugging
29915 # configure, is in config.log if it exists.
29918 ac_cs_recheck=false
29920 SHELL=\${CONFIG_SHELL-$SHELL}
29923 cat >>$CONFIG_STATUS <<\_ACEOF
29924 ## --------------------- ##
29925 ## M4sh Initialization. ##
29926 ## --------------------- ##
29928 # Be Bourne compatible
29929 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29932 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29933 # is contrary to our usage. Disable this feature.
29934 alias -g '${1+"$@"}'='"$@"'
29935 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29938 DUALCASE
=1; export DUALCASE
# for MKS sh
29940 # Support unset when possible.
29941 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
29948 # Work around bugs in pre-3.0 UWIN ksh.
29949 $as_unset ENV MAIL MAILPATH
29956 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29957 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29958 LC_TELEPHONE LC_TIME
29960 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29961 eval $as_var=C
; export $as_var
29967 # Required to use basename.
29968 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29974 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
29975 as_basename
=basename
29981 # Name of the executable.
29982 as_me
=`$as_basename "$0" ||
29983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29984 X"$0" : 'X\(//\)$' \| \
29985 X"$0" : 'X\(/\)$' \| \
29986 . : '\(.\)' 2>/dev/null ||
29988 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29989 /^X\/\(\/\/\)$/{ s//\1/; q; }
29990 /^X\/\(\/\).*/{ s//\1/; q; }
29994 # PATH needs CR, and LINENO needs CR and PATH.
29995 # Avoid depending upon Character Ranges.
29996 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29997 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29998 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29999 as_cr_digits
='0123456789'
30000 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30002 # The user is always right.
30003 if test "${PATH_SEPARATOR+set}" != set; then
30004 echo "#! /bin/sh" >conf$$.sh
30005 echo "exit 0" >>conf$$.sh
30007 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30016 as_lineno_1
=$LINENO
30017 as_lineno_2
=$LINENO
30018 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30019 test "x$as_lineno_1" != "x$as_lineno_2" &&
30020 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30021 # Find who we are. Look in the path if we contain no path at all
30024 *[\\/]* ) as_myself
=$0 ;;
30025 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30026 for as_dir
in $PATH
30029 test -z "$as_dir" && as_dir
=.
30030 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30035 # We did not find ourselves, most probably we were run as `sh COMMAND'
30036 # in which case we are not to be found in the path.
30037 if test "x$as_myself" = x
; then
30040 if test ! -f "$as_myself"; then
30041 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30042 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30043 { (exit 1); exit 1; }; }
30045 case $CONFIG_SHELL in
30047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30048 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30051 test -z "$as_dir" && as_dir
=.
30052 for as_base
in sh bash ksh sh5
; do
30055 if ("$as_dir/$as_base" -c '
30056 as_lineno_1=$LINENO
30057 as_lineno_2=$LINENO
30058 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30059 test "x$as_lineno_1" != "x$as_lineno_2" &&
30060 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
30061 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
30062 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
30063 CONFIG_SHELL
=$as_dir/$as_base
30064 export CONFIG_SHELL
30065 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30073 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30074 # uniformly replaced by the line number. The first 'sed' inserts a
30075 # line-number line before each line; the second 'sed' does the real
30076 # work. The second script uses 'N' to pair each line-number line
30077 # with the numbered line, and appends trailing '-' during
30078 # substitution so that $LINENO is not a special case at line end.
30079 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30080 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30081 sed '=' <$as_myself |
30086 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30089 s,^['$as_cr_digits']*\n,,
30090 ' >$as_me.lineno
&&
30091 chmod +x
$as_me.lineno ||
30092 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30093 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30094 { (exit 1); exit 1; }; }
30096 # Don't try to exec as it changes $[0], causing all sort of problems
30097 # (the dirname of $[0] is not the place where we might find the
30098 # original and so on. Autoconf is especially sensible to this).
30100 # Exit status is that of the last command.
30105 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30106 *c
*,-n*) ECHO_N
= ECHO_C
='
30108 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30109 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30112 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30118 rm -f conf$$ conf$$.exe conf$$.
file
30120 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30121 # We could just check for DJGPP; but this test a) works b) is more generic
30122 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30123 if test -f conf$$.exe
; then
30124 # Don't use ln at all; we don't have any links
30129 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30134 rm -f conf$$ conf$$.exe conf$$.
file
30136 if mkdir
-p .
2>/dev
/null
; then
30139 test -d .
/-p && rmdir .
/-p
30143 as_executable_p
="test -f"
30145 # Sed expression to map a string onto a valid CPP name.
30146 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30148 # Sed expression to map a string onto a valid variable name.
30149 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30153 # We need space, tab and new line, in precisely that order.
30163 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30164 # report actual input values of CONFIG_FILES etc. instead of their
30165 # values after options handling. Logging --version etc. is OK.
30169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30170 ## Running $as_me. ##
30175 This file was extended by GNU Classpath $as_me 0.96-pre, which was
30176 generated by GNU Autoconf 2.59. Invocation command line was
30178 CONFIG_FILES = $CONFIG_FILES
30179 CONFIG_HEADERS = $CONFIG_HEADERS
30180 CONFIG_LINKS = $CONFIG_LINKS
30181 CONFIG_COMMANDS = $CONFIG_COMMANDS
30185 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30189 # Files that config.status was made for.
30190 if test -n "$ac_config_files"; then
30191 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30194 if test -n "$ac_config_headers"; then
30195 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30198 if test -n "$ac_config_links"; then
30199 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30202 if test -n "$ac_config_commands"; then
30203 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30206 cat >>$CONFIG_STATUS <<\_ACEOF
30209 \`$as_me' instantiates files from templates according to the
30210 current configuration.
30212 Usage: $0 [OPTIONS] [FILE]...
30214 -h, --help print this help, then exit
30215 -V, --version print version number, then exit
30216 -q, --quiet do not print progress messages
30217 -d, --debug don't remove temporary files
30218 --recheck update $as_me by reconfiguring in the same conditions
30219 --file=FILE[:TEMPLATE]
30220 instantiate the configuration file FILE
30221 --header=FILE[:TEMPLATE]
30222 instantiate the configuration header FILE
30224 Configuration files:
30227 Configuration headers:
30230 Configuration links:
30233 Configuration commands:
30236 Report bugs to <bug-autoconf@gnu.org>."
30239 cat >>$CONFIG_STATUS <<_ACEOF
30241 GNU Classpath config.status 0.96-pre
30242 configured by $0, generated by GNU Autoconf 2.59,
30243 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30245 Copyright (C) 2003 Free Software Foundation, Inc.
30246 This config.status script is free software; the Free Software Foundation
30247 gives unlimited permission to copy, distribute and modify it."
30252 cat >>$CONFIG_STATUS <<\_ACEOF
30253 # If no file are specified by the user, then we need to provide default
30254 # value. By we need to know if files were specified by the user.
30260 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30261 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30269 *) # This is not an option, so the user has probably given explicit
30272 ac_need_defaults
=false
;;
30276 # Handling of the options.
30278 cat >>$CONFIG_STATUS <<\_ACEOF
30279 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30281 --version |
--vers* |
-V )
30282 echo "$ac_cs_version"; exit 0 ;;
30284 # Conflict between --help and --header
30285 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30286 Try \`$0 --help' for more information." >&5
30287 echo "$as_me: error: ambiguous option: $1
30288 Try \`$0 --help' for more information." >&2;}
30289 { (exit 1); exit 1; }; };;
30290 --help |
--hel |
-h )
30291 echo "$ac_cs_usage"; exit 0 ;;
30292 --debug |
--d* |
-d )
30294 --file |
--fil |
--fi |
--f )
30296 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30297 ac_need_defaults
=false
;;
30298 --header |
--heade |
--head |
--hea )
30300 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30301 ac_need_defaults
=false
;;
30302 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30303 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30306 # This is an error.
30307 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30308 Try \`$0 --help' for more information." >&5
30309 echo "$as_me: error: unrecognized option: $1
30310 Try \`$0 --help' for more information." >&2;}
30311 { (exit 1); exit 1; }; } ;;
30313 *) ac_config_targets
="$ac_config_targets $1" ;;
30319 ac_configure_extra_args
=
30321 if $ac_cs_silent; then
30323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30327 cat >>$CONFIG_STATUS <<_ACEOF
30328 if \$ac_cs_recheck; then
30329 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30330 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30335 cat >>$CONFIG_STATUS <<_ACEOF
30337 # INIT-COMMANDS section.
30344 with_multisubdir="$with_multisubdir"
30345 with_multisrctop="$with_multisrctop"
30346 with_target_subdir="$with_target_subdir"
30347 ac_configure_args="${multilib_arg} ${ac_configure_args}"
30348 multi_basedir="$multi_basedir"
30349 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
30351 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30354 # The HP-UX ksh and POSIX shell print the target directory to stdout
30355 # if CDPATH is set.
30356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30358 sed_quote_subst='$sed_quote_subst'
30359 double_quote_subst='$double_quote_subst'
30360 delay_variable_subst='$delay_variable_subst'
30361 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
30362 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
30363 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
30364 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
30365 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
30366 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
30367 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
30368 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
30369 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
30370 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
30371 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
30372 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
30373 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
30374 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
30375 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
30376 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
30377 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
30378 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
30379 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
30380 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
30381 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
30382 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
30383 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
30384 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
30385 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
30386 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
30387 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
30388 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30389 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
30390 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
30391 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
30392 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30393 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
30394 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
30395 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30396 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30397 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30398 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
30399 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30400 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
30401 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
30402 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
30403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
30404 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"`'
30405 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
30406 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
30407 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
30408 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
30409 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
30410 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
30411 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
30412 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
30413 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
30414 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
30415 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
30416 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30417 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30418 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
30419 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
30420 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30421 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30422 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
30423 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30424 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30425 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30426 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30427 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30428 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30429 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
30430 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30431 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30432 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30433 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
30434 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
30435 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
30436 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
30437 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
30438 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30439 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
30440 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
30441 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
30442 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
30443 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
30444 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30445 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30446 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30447 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30448 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
30449 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
30450 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
30451 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
30452 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
30453 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30454 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30455 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
30456 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30457 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
30458 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30459 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30460 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30461 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30462 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
30463 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
30464 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30465 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30466 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
30467 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
30468 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
30469 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
30470 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
30471 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
30472 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30473 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30474 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
30475 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
30476 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
30477 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30478 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30479 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30480 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30481 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30482 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30483 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30484 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30485 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30486 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30487 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30488 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30489 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30490 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30491 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30492 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30493 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30494 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30495 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30496 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30497 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30498 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30499 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30500 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30501 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30502 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30503 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30504 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30505 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30506 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30507 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30508 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30509 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30510 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30511 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30512 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30513 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30514 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30515 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30516 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30517 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30518 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30519 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30520 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30521 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30522 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30525 LTCFLAGS='$LTCFLAGS'
30526 compiler='$compiler_DEFAULT'
30528 # Quote evaled strings.
30539 deplibs_check_method \
30548 lt_cv_sys_global_symbol_pipe \
30549 lt_cv_sys_global_symbol_to_cdecl \
30550 lt_cv_sys_global_symbol_to_c_name_address \
30553 lt_prog_compiler_no_builtin_flag \
30554 lt_prog_compiler_wl \
30555 lt_prog_compiler_pic \
30556 lt_prog_compiler_static \
30557 lt_cv_prog_compiler_c_o \
30560 export_dynamic_flag_spec \
30561 whole_archive_flag_spec \
30562 compiler_needs_object \
30564 allow_undefined_flag \
30565 no_undefined_flag \
30566 hardcode_libdir_flag_spec \
30567 hardcode_libdir_flag_spec_ld \
30568 hardcode_libdir_separator \
30573 variables_saved_for_relink \
30575 library_names_spec \
30584 compiler_lib_search_path \
30587 lt_prog_compiler_no_builtin_flag_CXX \
30588 lt_prog_compiler_wl_CXX \
30589 lt_prog_compiler_pic_CXX \
30590 lt_prog_compiler_static_CXX \
30591 lt_cv_prog_compiler_c_o_CXX \
30592 export_dynamic_flag_spec_CXX \
30593 whole_archive_flag_spec_CXX \
30594 compiler_needs_object_CXX \
30596 allow_undefined_flag_CXX \
30597 no_undefined_flag_CXX \
30598 hardcode_libdir_flag_spec_CXX \
30599 hardcode_libdir_flag_spec_ld_CXX \
30600 hardcode_libdir_separator_CXX \
30601 fix_srcfile_path_CXX \
30602 exclude_expsyms_CXX \
30603 include_expsyms_CXX \
30604 file_list_spec_CXX \
30605 predep_objects_CXX \
30606 postdep_objects_CXX \
30609 compiler_lib_search_path_CXX; do
30610 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30611 *[\\\\\\\`\\"\\\$]*)
30612 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
30615 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30620 # Double-quote double-evaled strings.
30621 for var in reload_cmds \
30622 old_postinstall_cmds \
30623 old_postuninstall_cmds \
30625 extract_expsyms_cmds \
30626 old_archive_from_new_cmds \
30627 old_archive_from_expsyms_cmds \
30629 archive_expsym_cmds \
30631 module_expsym_cmds \
30632 export_symbols_cmds \
30635 postuninstall_cmds \
30637 sys_lib_search_path_spec \
30638 sys_lib_dlsearch_path_spec \
30639 old_archive_cmds_CXX \
30640 old_archive_from_new_cmds_CXX \
30641 old_archive_from_expsyms_cmds_CXX \
30643 archive_expsym_cmds_CXX \
30645 module_expsym_cmds_CXX \
30646 export_symbols_cmds_CXX \
30647 prelink_cmds_CXX; do
30648 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30649 *[\\\\\\\`\\"\\\$]*)
30650 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
30653 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30658 # Fix-up fallback echo if it was mangled by the above quoting rules.
30660 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
30664 ac_aux_dir='$ac_aux_dir'
30665 xsi_shell='$xsi_shell'
30666 lt_shell_append='$lt_shell_append'
30668 # See if we are running on zsh, and set the options which allow our
30669 # commands through without removal of \ escapes INIT.
30670 if test -n "\${ZSH_VERSION+set}" ; then
30671 setopt NO_GLOB_SUBST
30677 TIMESTAMP='$TIMESTAMP'
30685 # variables for create stdint.h replacement
30688 ac_stdint_h="$ac_stdint_h"
30689 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
30690 ac_cv_stdint_message="$ac_cv_stdint_message"
30691 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
30692 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
30693 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
30694 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
30695 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
30696 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
30697 ac_cv_char_data_model="$ac_cv_char_data_model"
30698 ac_cv_long_data_model="$ac_cv_long_data_model"
30699 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
30700 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
30701 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
30708 cat >>$CONFIG_STATUS <<\_ACEOF
30709 for ac_config_target
in $ac_config_targets
30711 case "$ac_config_target" in
30712 # Handling of arguments.
30713 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
30714 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30715 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
30716 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
30717 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
30718 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
30719 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
30720 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
30721 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
30722 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
30723 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
30724 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
30725 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
30726 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
30727 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
30728 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
30729 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
30730 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
30731 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
30732 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
30733 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
30734 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
30735 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
30736 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
30737 "native/jni/gstreamer-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
30738 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
30739 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
30740 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
30741 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
30742 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
30743 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
30744 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
30745 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
30746 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
30747 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
30748 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
30749 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
30750 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
30751 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
30752 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
30753 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
30754 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
30755 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
30756 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
30757 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
30758 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
30759 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
30760 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
30761 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
30762 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
30763 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
30764 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
30765 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
30766 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
30767 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
30768 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
30769 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
30770 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
30771 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
30772 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
30773 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
30774 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
30775 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
30776 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
30777 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
30778 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
30779 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
30780 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
30781 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
30782 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
30783 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
30784 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
30785 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
30786 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
30787 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
30788 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
30789 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
30790 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30791 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30792 { (exit 1); exit 1; }; };;
30796 # If the user did not use the arguments to specify the items to instantiate,
30797 # then the envvar interface is used. Set only those that are not.
30798 # We use the long form for the default assignment because of an extremely
30799 # bizarre bug on SunOS 4.1.3.
30800 if $ac_need_defaults; then
30801 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30802 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30803 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
30804 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30807 # Have a temporary directory for convenience. Make it in the build tree
30808 # simply because there is no reason to put it here, and in addition,
30809 # creating and moving files from /tmp can sometimes cause problems.
30810 # Create a temporary directory, and hook for its removal unless debugging.
30813 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30814 trap '{ (exit 1); exit 1; }' 1 2 13 15
30817 # Create a (secure) tmp directory for tmp files.
30820 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30821 test -n "$tmp" && test -d "$tmp"
30824 tmp
=.
/confstat$$
-$RANDOM
30825 (umask 077 && mkdir
$tmp)
30828 echo "$me: cannot create a temporary directory in ." >&2
30829 { (exit 1); exit 1; }
30834 cat >>$CONFIG_STATUS <<_ACEOF
30837 # CONFIG_FILES section.
30840 # No need to generate the scripts if there are no CONFIG_FILES.
30841 # This happens for instance when ./config.status config.h
30842 if test -n "\$CONFIG_FILES"; then
30843 # Protect against being on the right side of a sed subst in config.status.
30844 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30845 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30846 s,@SHELL@,$SHELL,;t t
30847 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30848 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30849 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30850 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30851 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30852 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30853 s,@exec_prefix@,$exec_prefix,;t t
30854 s,@prefix@,$prefix,;t t
30855 s,@program_transform_name@,$program_transform_name,;t t
30856 s,@bindir@,$bindir,;t t
30857 s,@sbindir@,$sbindir,;t t
30858 s,@libexecdir@,$libexecdir,;t t
30859 s,@datadir@,$datadir,;t t
30860 s,@sysconfdir@,$sysconfdir,;t t
30861 s,@sharedstatedir@,$sharedstatedir,;t t
30862 s,@localstatedir@,$localstatedir,;t t
30863 s,@libdir@,$libdir,;t t
30864 s,@includedir@,$includedir,;t t
30865 s,@oldincludedir@,$oldincludedir,;t t
30866 s,@infodir@,$infodir,;t t
30867 s,@mandir@,$mandir,;t t
30868 s,@build_alias@,$build_alias,;t t
30869 s,@host_alias@,$host_alias,;t t
30870 s,@target_alias@,$target_alias,;t t
30871 s,@DEFS@,$DEFS,;t t
30872 s,@ECHO_C@,$ECHO_C,;t t
30873 s,@ECHO_N@,$ECHO_N,;t t
30874 s,@ECHO_T@,$ECHO_T,;t t
30875 s,@LIBS@,$LIBS,;t t
30876 s,@build@,$build,;t t
30877 s,@build_cpu@,$build_cpu,;t t
30878 s,@build_vendor@,$build_vendor,;t t
30879 s,@build_os@,$build_os,;t t
30880 s,@host@,$host,;t t
30881 s,@host_cpu@,$host_cpu,;t t
30882 s,@host_vendor@,$host_vendor,;t t
30883 s,@host_os@,$host_os,;t t
30884 s,@target@,$target,;t t
30885 s,@target_cpu@,$target_cpu,;t t
30886 s,@target_vendor@,$target_vendor,;t t
30887 s,@target_os@,$target_os,;t t
30888 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
30889 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
30890 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
30891 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
30892 s,@multi_basedir@,$multi_basedir,;t t
30893 s,@LIBVERSION@,$LIBVERSION,;t t
30894 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
30895 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
30896 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30897 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30898 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30899 s,@CYGPATH_W@,$CYGPATH_W,;t t
30900 s,@PACKAGE@,$PACKAGE,;t t
30901 s,@VERSION@,$VERSION,;t t
30902 s,@ACLOCAL@,$ACLOCAL,;t t
30903 s,@AUTOCONF@,$AUTOCONF,;t t
30904 s,@AUTOMAKE@,$AUTOMAKE,;t t
30905 s,@AUTOHEADER@,$AUTOHEADER,;t t
30906 s,@MAKEINFO@,$MAKEINFO,;t t
30907 s,@install_sh@,$install_sh,;t t
30908 s,@STRIP@,$STRIP,;t t
30909 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30910 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30911 s,@mkdir_p@,$mkdir_p,;t t
30913 s,@SET_MAKE@,$SET_MAKE,;t t
30914 s,@am__leading_dot@,$am__leading_dot,;t t
30915 s,@AMTAR@,$AMTAR,;t t
30916 s,@am__tar@,$am__tar,;t t
30917 s,@am__untar@,$am__untar,;t t
30918 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
30919 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
30920 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
30921 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
30922 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
30923 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
30924 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
30925 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
30926 s,@CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@,$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE,;t t
30927 s,@CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@,$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE,;t t
30928 s,@default_toolkit@,$default_toolkit,;t t
30929 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
30930 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
30932 s,@CFLAGS@,$CFLAGS,;t t
30933 s,@LDFLAGS@,$LDFLAGS,;t t
30934 s,@CPPFLAGS@,$CPPFLAGS,;t t
30935 s,@ac_ct_CC@,$ac_ct_CC,;t t
30936 s,@EXEEXT@,$EXEEXT,;t t
30937 s,@OBJEXT@,$OBJEXT,;t t
30938 s,@DEPDIR@,$DEPDIR,;t t
30939 s,@am__include@,$am__include,;t t
30940 s,@am__quote@,$am__quote,;t t
30941 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30942 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30943 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30944 s,@CCDEPMODE@,$CCDEPMODE,;t t
30945 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30946 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30948 s,@EGREP@,$EGREP,;t t
30949 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
30950 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
30951 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
30952 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
30953 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
30954 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
30955 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
30956 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
30957 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
30958 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
30959 s,@toolexeclibdir@,$toolexeclibdir,;t t
30960 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
30961 s,@glibjdir@,$glibjdir,;t t
30962 s,@VM_BINARY@,$VM_BINARY,;t t
30963 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
30964 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
30965 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
30966 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
30967 s,@LN_S@,$LN_S,;t t
30968 s,@LIBTOOL@,$LIBTOOL,;t t
30970 s,@FGREP@,$FGREP,;t t
30971 s,@GREP@,$GREP,;t t
30973 s,@DUMPBIN@,$DUMPBIN,;t t
30974 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
30977 s,@ac_ct_AR@,$ac_ct_AR,;t t
30978 s,@RANLIB@,$RANLIB,;t t
30979 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30980 s,@lt_ECHO@,$lt_ECHO,;t t
30982 s,@CXXFLAGS@,$CXXFLAGS,;t t
30983 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30984 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30985 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30986 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30987 s,@CXXCPP@,$CXXCPP,;t t
30988 s,@PERL@,$PERL,;t t
30989 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
30990 s,@LIBMAGIC@,$LIBMAGIC,;t t
30991 s,@LIBICONV@,$LIBICONV,;t t
30992 s,@LTLIBICONV@,$LTLIBICONV,;t t
30993 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
30994 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
30995 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
30996 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
30997 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
30998 s,@XML_LIBS@,$XML_LIBS,;t t
30999 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
31000 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
31001 s,@X_CFLAGS@,$X_CFLAGS,;t t
31002 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
31003 s,@X_LIBS@,$X_LIBS,;t t
31004 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
31005 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
31006 s,@GTK_LIBS@,$GTK_LIBS,;t t
31007 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
31008 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
31009 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
31010 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
31011 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
31012 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
31013 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
31014 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
31015 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
31016 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
31017 s,@GDK_LIBS@,$GDK_LIBS,;t t
31018 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
31019 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
31020 s,@GSTREAMER_BASE_CFLAGS@,$GSTREAMER_BASE_CFLAGS,;t t
31021 s,@GSTREAMER_BASE_LIBS@,$GSTREAMER_BASE_LIBS,;t t
31022 s,@GSTREAMER_PLUGINS_BASE_CFLAGS@,$GSTREAMER_PLUGINS_BASE_CFLAGS,;t t
31023 s,@GSTREAMER_PLUGINS_BASE_LIBS@,$GSTREAMER_PLUGINS_BASE_LIBS,;t t
31024 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
31025 s,@GSTREAMER_FILE_READER@,$GSTREAMER_FILE_READER,;t t
31026 s,@GSTREAMER_MIXER_PROVIDER@,$GSTREAMER_MIXER_PROVIDER,;t t
31027 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
31028 s,@QT_LIBS@,$QT_LIBS,;t t
31030 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
31031 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
31032 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
31033 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
31034 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
31035 s,@USER_JAVAH@,$USER_JAVAH,;t t
31036 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
31038 s,@JIKES@,$JIKES,;t t
31039 s,@JIKESENCODING@,$JIKESENCODING,;t t
31040 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
31043 s,@JAVAC@,$JAVAC,;t t
31044 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
31045 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
31046 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
31047 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
31048 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
31049 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
31050 s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t
31051 s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t
31052 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
31053 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
31054 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
31055 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
31056 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
31057 s,@vm_classes@,$vm_classes,;t t
31058 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
31059 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
31060 s,@MAINT@,$MAINT,;t t
31061 s,@LIBDEBUG@,$LIBDEBUG,;t t
31062 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
31063 s,@ECJ_JAR@,$ECJ_JAR,;t t
31064 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
31065 s,@REMOVE@,$REMOVE,;t t
31066 s,@MKDIR@,$MKDIR,;t t
31068 s,@DATE@,$DATE,;t t
31069 s,@FIND@,$FIND,;t t
31071 s,@FASTJAR@,$FASTJAR,;t t
31072 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
31073 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
31074 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
31075 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
31076 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
31077 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
31078 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
31079 s,@GJDOC@,$GJDOC,;t t
31080 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
31081 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
31083 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
31084 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
31085 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
31086 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
31087 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
31088 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
31089 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
31090 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
31091 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
31092 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
31093 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
31094 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
31095 s,@LIBOBJS@,$LIBOBJS,;t t
31096 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31101 cat >>$CONFIG_STATUS <<\_ACEOF
31102 # Split the substitutions into bite-sized pieces for seds with
31103 # small command number limits, like on Digital OSF/1 and HP-UX.
31104 ac_max_sed_lines
=48
31105 ac_sed_frag
=1 # Number of current file.
31106 ac_beg
=1 # First line for current file.
31107 ac_end
=$ac_max_sed_lines # Line after last line for current file.
31110 while $ac_more_lines; do
31111 if test $ac_beg -gt 1; then
31112 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31114 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31116 if test ! -s $tmp/subs.frag
; then
31117 ac_more_lines
=false
31119 # The purpose of the label and of the branching condition is to
31120 # speed up the sed processing (if there are no `@' at all, there
31121 # is no need to browse any of the substitutions).
31122 # These are the two extra sed commands mentioned above.
31124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
31125 if test -z "$ac_sed_cmds"; then
31126 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
31128 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31130 ac_sed_frag
=`expr $ac_sed_frag + 1`
31132 ac_end
=`expr $ac_end + $ac_max_sed_lines`
31135 if test -z "$ac_sed_cmds"; then
31138 fi # test -n "$CONFIG_FILES"
31141 cat >>$CONFIG_STATUS <<\_ACEOF
31142 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
31143 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31145 - |
*:- |
*:-:* ) # input from stdin
31147 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31148 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31149 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31150 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31151 * ) ac_file_in
=$ac_file.
in ;;
31154 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31155 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31156 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31157 X"$ac_file" : 'X\(//\)[^/]' \| \
31158 X"$ac_file" : 'X\(//\)$' \| \
31159 X"$ac_file" : 'X\(/\)' \| \
31160 . : '\(.\)' 2>/dev/null ||
31162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31164 /^X\(\/\/\)$/{ s//\1/; q; }
31165 /^X\(\/\).*/{ s//\1/; q; }
31167 { if $as_mkdir_p; then
31172 while test ! -d "$as_dir"; do
31173 as_dirs
="$as_dir $as_dirs"
31174 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31176 X"$as_dir" : 'X\(//\)[^/]' \| \
31177 X"$as_dir" : 'X\(//\)$' \| \
31178 X"$as_dir" : 'X\(/\)' \| \
31179 . : '\(.\)' 2>/dev/null ||
31181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31182 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31183 /^X\(\/\/\)$/{ s//\1/; q; }
31184 /^X\(\/\).*/{ s//\1/; q; }
31187 test ! -n "$as_dirs" || mkdir
$as_dirs
31188 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31189 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31190 { (exit 1); exit 1; }; }; }
31194 if test "$ac_dir" != .
; then
31195 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31196 # A "../" for each directory in $ac_dir_suffix.
31197 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31199 ac_dir_suffix
= ac_top_builddir
=
31203 .
) # No --srcdir option. We are building in place.
31205 if test -z "$ac_top_builddir"; then
31208 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31210 [\\/]* | ?
:[\\/]* ) # Absolute path.
31211 ac_srcdir
=$srcdir$ac_dir_suffix;
31212 ac_top_srcdir
=$srcdir ;;
31213 *) # Relative path.
31214 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31215 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31218 # Do not use `cd foo && pwd` to compute absolute paths, because
31219 # the directories may not exist.
31221 .
) ac_abs_builddir
="$ac_dir";;
31224 .
) ac_abs_builddir
=`pwd`;;
31225 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31226 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31229 case $ac_abs_builddir in
31230 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31232 case ${ac_top_builddir}.
in
31233 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31234 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31235 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31238 case $ac_abs_builddir in
31239 .
) ac_abs_srcdir
=$ac_srcdir;;
31242 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31243 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31244 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31247 case $ac_abs_builddir in
31248 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31250 case $ac_top_srcdir in
31251 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31252 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31253 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31259 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31260 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
31263 if test x
"$ac_file" != x-
; then
31264 { echo "$as_me:$LINENO: creating $ac_file" >&5
31265 echo "$as_me: creating $ac_file" >&6;}
31268 # Let's still pretend it is `configure' which instantiates (i.e., don't
31269 # use $as_me), people would be surprised to read:
31270 # /* config.h. Generated by config.status. */
31271 if test x
"$ac_file" = x-
; then
31274 configure_input
="$ac_file. "
31276 configure_input
=$configure_input"Generated from `echo $ac_file_in |
31277 sed 's,.*/,,'` by configure."
31279 # First look for the input files in the build tree, otherwise in the
31281 ac_file_inputs
=`IFS=:
31282 for f in $ac_file_in; do
31284 -) echo $tmp/stdin ;;
31286 # Absolute (can't be DOS-style, as IFS=:)
31287 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31288 echo "$as_me: error: cannot find input file: $f" >&2;}
31289 { (exit 1); exit 1; }; }
31292 if test -f "$f"; then
31295 elif test -f "$srcdir/$f"; then
31300 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31301 echo "$as_me: error: cannot find input file: $f" >&2;}
31302 { (exit 1); exit 1; }; }
31305 done` ||
{ (exit 1); exit 1; }
31307 cat >>$CONFIG_STATUS <<_ACEOF
31311 cat >>$CONFIG_STATUS <<\_ACEOF
31313 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31314 s
,@configure_input@
,$configure_input,;t t
31315 s
,@srcdir@
,$ac_srcdir,;t t
31316 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
31317 s
,@top_srcdir@
,$ac_top_srcdir,;t t
31318 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
31319 s
,@builddir@
,$ac_builddir,;t t
31320 s
,@abs_builddir@
,$ac_abs_builddir,;t t
31321 s
,@top_builddir@
,$ac_top_builddir,;t t
31322 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
31323 s
,@INSTALL@
,$ac_INSTALL,;t t
31324 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31326 if test x"$ac_file" != x-; then
31327 mv $tmp/out $ac_file
31335 cat >>$CONFIG_STATUS <<\_ACEOF
31338 # CONFIG_HEADER section.
31341 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
31342 # NAME is the cpp macro being defined and VALUE is the value it is being given.
31344 # ac_d sets the value in "#define NAME VALUE" lines.
31345 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31346 ac_dB
='[ ].*$,\1#\2'
31349 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31350 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31351 ac_uB
='$,\1#\2define\3'
31355 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
31356 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31358 - |
*:- |
*:-:* ) # input from stdin
31360 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31361 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31362 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31363 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31364 * ) ac_file_in
=$ac_file.
in ;;
31367 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
31368 echo "$as_me: creating $ac_file" >&6;}
31370 # First look for the input files in the build tree, otherwise in the
31372 ac_file_inputs
=`IFS=:
31373 for f in $ac_file_in; do
31375 -) echo $tmp/stdin ;;
31377 # Absolute (can't be DOS-style, as IFS=:)
31378 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31379 echo "$as_me: error: cannot find input file: $f" >&2;}
31380 { (exit 1); exit 1; }; }
31381 # Do quote $f, to prevent DOS paths from being IFS'd.
31384 if test -f "$f"; then
31387 elif test -f "$srcdir/$f"; then
31392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31393 echo "$as_me: error: cannot find input file: $f" >&2;}
31394 { (exit 1); exit 1; }; }
31397 done` ||
{ (exit 1); exit 1; }
31398 # Remove the trailing spaces.
31399 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31403 # Transform confdefs.h into two sed scripts, `conftest.defines' and
31404 # `conftest.undefs', that substitutes the proper values into
31405 # config.h.in to produce config.h. The first handles `#define'
31406 # templates, and the second `#undef' templates.
31407 # And first: Protect against being on the right side of a sed subst in
31408 # config.status. Protect against being in an unquoted here document
31409 # in config.status.
31410 rm -f conftest.defines conftest.undefs
31411 # Using a here document instead of a string reduces the quoting nightmare.
31412 # Putting comments in sed scripts is not portable.
31414 # `end' is used to avoid that the second main sed command (meant for
31415 # 0-ary CPP macros) applies to n-ary macro definitions.
31416 # See the Autoconf documentation for `clear'.
31417 cat >confdef2sed.
sed <<\_ACEOF
31422 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31424 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31427 # If some macros were called several times there might be several times
31428 # the same #defines, which is useless. Nevertheless, we may not want to
31429 # sort them, since we want the *last* AC-DEFINE to be honored.
31430 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31431 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31432 rm -f confdef2sed.sed
31434 # This sed command replaces #undef with comments. This is necessary, for
31435 # example, in the case of _POSIX_SOURCE, which is predefined and required
31436 # on some systems where configure will not decide to define it.
31437 cat >>conftest.undefs <<\_ACEOF
31438 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31441 # Break up conftest.defines because some shells have a limit on the size
31442 # of here documents, and old seds have small limits too (100 cmds).
31443 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31444 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31445 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31446 echo ' :' >>$CONFIG_STATUS
31447 rm -f conftest.tail
31448 while grep . conftest.defines >/dev/null
31450 # Write a limited-size here document to $tmp/defines.sed.
31451 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31452 # Speed up: don't consider the non `#define' lines.
31453 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31454 # Work around the forget-to-reset-the-flag bug.
31455 echo 't clr' >>$CONFIG_STATUS
31456 echo ': clr' >>$CONFIG_STATUS
31457 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
31459 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31461 mv $tmp/out $tmp/in
31463 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
31464 rm -f conftest.defines
31465 mv conftest.
tail conftest.defines
31467 rm -f conftest.defines
31468 echo ' fi # grep' >>$CONFIG_STATUS
31469 echo >>$CONFIG_STATUS
31471 # Break up conftest.undefs because some shells have a limit on the size
31472 # of here documents, and old seds have small limits too (100 cmds).
31473 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31474 rm -f conftest.
tail
31475 while grep . conftest.undefs
>/dev
/null
31477 # Write a limited-size here document to $tmp/undefs.sed.
31478 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31479 # Speed up: don't consider the non
`#undef'
31480 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31481 # Work around the forget-to-reset-the-flag bug.
31482 echo 't clr' >>$CONFIG_STATUS
31483 echo ': clr' >>$CONFIG_STATUS
31484 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31486 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31488 mv $tmp/out $tmp/in
31490 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31491 rm -f conftest.undefs
31492 mv conftest.tail conftest.undefs
31494 rm -f conftest.undefs
31496 cat >>$CONFIG_STATUS <<\_ACEOF
31497 # Let's still pretend it is `configure
' which instantiates (i.e., don't
31498 # use $as_me), people would be surprised to read:
31499 # /* config.h. Generated by config.status. */
31500 if test x
"$ac_file" = x-
; then
31501 echo "/* Generated by configure. */" >$tmp/config.h
31503 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31505 cat $tmp/in >>$tmp/config.h
31507 if test x
"$ac_file" != x-
; then
31508 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
31509 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31510 echo "$as_me: $ac_file is unchanged" >&6;}
31512 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31514 X"$ac_file" : 'X\(//\)[^/]' \| \
31515 X"$ac_file" : 'X\(//\)$' \| \
31516 X"$ac_file" : 'X\(/\)' \| \
31517 . : '\(.\)' 2>/dev/null ||
31519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31521 /^X\(\/\/\)$/{ s//\1/; q; }
31522 /^X\(\/\).*/{ s//\1/; q; }
31524 { if $as_mkdir_p; then
31529 while test ! -d "$as_dir"; do
31530 as_dirs
="$as_dir $as_dirs"
31531 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31533 X"$as_dir" : 'X\(//\)[^/]' \| \
31534 X"$as_dir" : 'X\(//\)$' \| \
31535 X"$as_dir" : 'X\(/\)' \| \
31536 . : '\(.\)' 2>/dev/null ||
31538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31540 /^X\(\/\/\)$/{ s//\1/; q; }
31541 /^X\(\/\).*/{ s//\1/; q; }
31544 test ! -n "$as_dirs" || mkdir
$as_dirs
31545 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31546 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31547 { (exit 1); exit 1; }; }; }
31550 mv $tmp/config.h
$ac_file
31554 rm -f $tmp/config.h
31556 # Compute $ac_file's index in $config_headers.
31558 for _am_header
in $config_headers :; do
31559 case $_am_header in
31560 $ac_file |
$ac_file:* )
31563 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
31566 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31567 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31568 X$ac_file : 'X\(//\)[^/]' \| \
31569 X$ac_file : 'X\(//\)$' \| \
31570 X$ac_file : 'X\(/\)' \| \
31571 . : '\(.\)' 2>/dev/null ||
31573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31575 /^X\(\/\/\)$/{ s//\1/; q; }
31576 /^X\(\/\).*/{ s//\1/; q; }
31577 s/.*/./; q'`/stamp-h
$_am_stamp_count
31580 cat >>$CONFIG_STATUS <<\_ACEOF
31583 # CONFIG_LINKS section.
31586 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
31587 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31588 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31590 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
31591 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
31593 if test ! -r $srcdir/$ac_source; then
31594 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
31595 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
31596 { (exit 1); exit 1; }; }
31600 # Make relative symlinks.
31601 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31602 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31603 X"$ac_dest" : 'X\(//\)[^/]' \| \
31604 X"$ac_dest" : 'X\(//\)$' \| \
31605 X"$ac_dest" : 'X\(/\)' \| \
31606 . : '\(.\)' 2>/dev/null ||
31608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31610 /^X\(\/\/\)$/{ s//\1/; q; }
31611 /^X\(\/\).*/{ s//\1/; q; }
31613 { if $as_mkdir_p; then
31614 mkdir
-p "$ac_dest_dir"
31616 as_dir
="$ac_dest_dir"
31618 while test ! -d "$as_dir"; do
31619 as_dirs
="$as_dir $as_dirs"
31620 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31622 X"$as_dir" : 'X\(//\)[^/]' \| \
31623 X"$as_dir" : 'X\(//\)$' \| \
31624 X"$as_dir" : 'X\(/\)' \| \
31625 . : '\(.\)' 2>/dev/null ||
31627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31629 /^X\(\/\/\)$/{ s//\1/; q; }
31630 /^X\(\/\).*/{ s//\1/; q; }
31633 test ! -n "$as_dirs" || mkdir
$as_dirs
31634 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
31635 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
31636 { (exit 1); exit 1; }; }; }
31640 if test "$ac_dest_dir" != .
; then
31641 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
31642 # A "../" for each directory in $ac_dir_suffix.
31643 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31645 ac_dir_suffix
= ac_top_builddir
=
31649 .
) # No --srcdir option. We are building in place.
31651 if test -z "$ac_top_builddir"; then
31654 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31656 [\\/]* | ?
:[\\/]* ) # Absolute path.
31657 ac_srcdir
=$srcdir$ac_dir_suffix;
31658 ac_top_srcdir
=$srcdir ;;
31659 *) # Relative path.
31660 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31661 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31664 # Do not use `cd foo && pwd` to compute absolute paths, because
31665 # the directories may not exist.
31667 .
) ac_abs_builddir
="$ac_dest_dir";;
31669 case "$ac_dest_dir" in
31670 .
) ac_abs_builddir
=`pwd`;;
31671 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
31672 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
31675 case $ac_abs_builddir in
31676 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31678 case ${ac_top_builddir}.
in
31679 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31680 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31681 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31684 case $ac_abs_builddir in
31685 .
) ac_abs_srcdir
=$ac_srcdir;;
31688 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31689 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31690 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31693 case $ac_abs_builddir in
31694 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31696 case $ac_top_srcdir in
31697 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31698 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31699 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31705 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
31706 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
31709 # Try a symlink, then a hard link, then a copy.
31710 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
31711 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
31712 cp -p $srcdir/$ac_source $ac_dest ||
31713 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
31714 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
31715 { (exit 1); exit 1; }; }
31718 cat >>$CONFIG_STATUS <<\_ACEOF
31721 # CONFIG_COMMANDS section.
31723 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
31724 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31725 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31726 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31727 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31728 X"$ac_dest" : 'X\(//\)[^/]' \| \
31729 X"$ac_dest" : 'X\(//\)$' \| \
31730 X"$ac_dest" : 'X\(/\)' \| \
31731 . : '\(.\)' 2>/dev/null ||
31733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31735 /^X\(\/\/\)$/{ s//\1/; q; }
31736 /^X\(\/\).*/{ s//\1/; q; }
31738 { if $as_mkdir_p; then
31743 while test ! -d "$as_dir"; do
31744 as_dirs
="$as_dir $as_dirs"
31745 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31747 X"$as_dir" : 'X\(//\)[^/]' \| \
31748 X"$as_dir" : 'X\(//\)$' \| \
31749 X"$as_dir" : 'X\(/\)' \| \
31750 . : '\(.\)' 2>/dev/null ||
31752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31753 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31754 /^X\(\/\/\)$/{ s//\1/; q; }
31755 /^X\(\/\).*/{ s//\1/; q; }
31758 test ! -n "$as_dirs" || mkdir
$as_dirs
31759 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31760 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31761 { (exit 1); exit 1; }; }; }
31765 if test "$ac_dir" != .
; then
31766 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31767 # A "../" for each directory in $ac_dir_suffix.
31768 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31770 ac_dir_suffix
= ac_top_builddir
=
31774 .
) # No --srcdir option. We are building in place.
31776 if test -z "$ac_top_builddir"; then
31779 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31781 [\\/]* | ?
:[\\/]* ) # Absolute path.
31782 ac_srcdir
=$srcdir$ac_dir_suffix;
31783 ac_top_srcdir
=$srcdir ;;
31784 *) # Relative path.
31785 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31786 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31789 # Do not use `cd foo && pwd` to compute absolute paths, because
31790 # the directories may not exist.
31792 .
) ac_abs_builddir
="$ac_dir";;
31795 .
) ac_abs_builddir
=`pwd`;;
31796 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31797 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31800 case $ac_abs_builddir in
31801 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31803 case ${ac_top_builddir}.
in
31804 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31805 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31806 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31809 case $ac_abs_builddir in
31810 .
) ac_abs_srcdir
=$ac_srcdir;;
31813 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31814 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31815 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31818 case $ac_abs_builddir in
31819 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31821 case $ac_top_srcdir in
31822 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31823 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31824 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31829 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31830 echo "$as_me: executing $ac_dest commands" >&6;}
31833 # Only add multilib support code if we just rebuilt the top-level
31835 case " $CONFIG_FILES " in
31837 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
31840 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
31841 # Strip MF so we end up with the name of the file.
31842 mf
=`echo "$mf" | sed -e 's/:.*$//'`
31843 # Check whether this is an Automake generated Makefile or not.
31844 # We used to match only the files named `Makefile.in', but
31845 # some people rename them; so instead we look at the file content.
31846 # Grep'ing the first line is not enough: some people post-process
31847 # each Makefile.in and add a new line on top of each file to say so.
31848 # So let's grep whole file.
31849 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
31850 dirpart
=`(dirname "$mf") 2>/dev/null ||
31851 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31852 X"$mf" : 'X\(//\)[^/]' \| \
31853 X"$mf" : 'X\(//\)$' \| \
31854 X"$mf" : 'X\(/\)' \| \
31855 . : '\(.\)' 2>/dev/null ||
31857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31859 /^X\(\/\/\)$/{ s//\1/; q; }
31860 /^X\(\/\).*/{ s//\1/; q; }
31865 # Extract the definition of DEPDIR, am__include, and am__quote
31866 # from the Makefile without running `make'.
31867 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
31868 test -z "$DEPDIR" && continue
31869 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
31870 test -z "am__include" && continue
31871 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
31872 # When using ansi2knr, U may be empty or an underscore; expand it
31873 U
=`sed -n 's/^U = //p' < "$mf"`
31874 # Find all dependency output files, they are included files with
31875 # $(DEPDIR) in their names. We invoke sed twice because it is the
31876 # simplest approach to changing $(DEPDIR) to its actual value in the
31878 for file in `sed -n "
31879 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31880 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31881 # Make sure the directory exists.
31882 test -f "$dirpart/$file" && continue
31883 fdir
=`(dirname "$file") 2>/dev/null ||
31884 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31885 X"$file" : 'X\(//\)[^/]' \| \
31886 X"$file" : 'X\(//\)$' \| \
31887 X"$file" : 'X\(/\)' \| \
31888 . : '\(.\)' 2>/dev/null ||
31890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31892 /^X\(\/\/\)$/{ s//\1/; q; }
31893 /^X\(\/\).*/{ s//\1/; q; }
31895 { if $as_mkdir_p; then
31896 mkdir
-p $dirpart/$fdir
31898 as_dir
=$dirpart/$fdir
31900 while test ! -d "$as_dir"; do
31901 as_dirs
="$as_dir $as_dirs"
31902 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31904 X"$as_dir" : 'X\(//\)[^/]' \| \
31905 X"$as_dir" : 'X\(//\)$' \| \
31906 X"$as_dir" : 'X\(/\)' \| \
31907 . : '\(.\)' 2>/dev/null ||
31909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31911 /^X\(\/\/\)$/{ s//\1/; q; }
31912 /^X\(\/\).*/{ s//\1/; q; }
31915 test ! -n "$as_dirs" || mkdir
$as_dirs
31916 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
31917 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
31918 { (exit 1); exit 1; }; }; }
31920 # echo "creating $dirpart/$file"
31921 echo '# dummy' > "$dirpart/$file"
31927 # See if we are running on zsh, and set the options which allow our
31928 # commands through without removal of \ escapes.
31929 if test -n "${ZSH_VERSION+set}" ; then
31930 setopt NO_GLOB_SUBST
31933 cfgfile
="${ofile}T"
31934 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31937 cat <<_LT_EOF >> "$cfgfile"
31940 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
31941 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
31942 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31943 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31945 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
31946 # 2006, 2007 Free Software Foundation, Inc.
31948 # This file is part of GNU Libtool:
31949 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31951 # This program is free software; you can redistribute it and/or modify
31952 # it under the terms of the GNU General Public License as published by
31953 # the Free Software Foundation; either version 2 of the License, or
31954 # (at your option) any later version.
31956 # This program is distributed in the hope that it will be useful, but
31957 # WITHOUT ANY WARRANTY; without even the implied warranty of
31958 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31959 # General Public License for more details.
31961 # You should have received a copy of the GNU General Public License
31962 # along with this program; if not, a copy can be downloaded from
31963 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
31964 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
31965 # MA 02110-1301, USA.
31967 # As a special exception to the GNU General Public License, if you
31968 # distribute this file as part of a program that contains a
31969 # configuration script generated by Autoconf, you may include it under
31970 # the same distribution terms that you use for the rest of that program.
31973 # The names of the tagged configurations supported by this script.
31974 available_tags="CXX "
31976 # ### BEGIN LIBTOOL CONFIG
31978 # Whether or not to build static libraries.
31979 build_old_libs=$enable_static
31981 # Which release of libtool.m4 was used?
31982 macro_version=$macro_version
31983 macro_revision=$macro_revision
31985 # Whether or not to build shared libraries.
31986 build_libtool_libs=$enable_shared
31988 # What type of objects to build.
31991 # Whether or not to optimize for fast installation.
31992 fast_install=$enable_fast_install
31995 host_alias=$host_alias
31999 # The build system.
32000 build_alias=$build_alias
32004 # A sed program that does not truncate output.
32007 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32008 Xsed="\$SED -e 1s/^X//"
32010 # A grep program that handles long lines.
32016 # A literal string matcher.
32019 # A BSD- or MS-compatible name lister.
32022 # Whether we need soft or hard links.
32025 # What is the maximum length of a command?
32026 max_cmd_len=$max_cmd_len
32028 # Object file suffix (normally "o").
32031 # Executable file suffix (normally "").
32034 # whether the shell understands "unset".
32037 # turn spaces into newlines.
32040 # turn newlines into spaces.
32043 # How to create reloadable object files.
32044 reload_flag=$lt_reload_flag
32045 reload_cmds=$lt_reload_cmds
32047 # Method to check whether dependent libraries are shared objects.
32048 deplibs_check_method=$lt_deplibs_check_method
32050 # Command to use when deplibs_check_method == "file_magic".
32051 file_magic_cmd=$lt_file_magic_cmd
32055 AR_FLAGS=$lt_AR_FLAGS
32057 # A symbol stripping program.
32060 # Commands used to install an old-style archive.
32062 old_postinstall_cmds=$lt_old_postinstall_cmds
32063 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32068 # LTCC compiler flags.
32069 LTCFLAGS=$lt_CFLAGS
32071 # Take the output of nm and produce a listing of raw symbols and C names.
32072 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32074 # Transform the output of nm in a proper C declaration.
32075 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32077 # Transform the output of nm in a C name address pair.
32078 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32080 # The name of the directory that contains temporary libtool files.
32083 # Shell to use when invoking shell scripts.
32086 # An echo program that does not interpret backslashes.
32089 # Used to examine libraries when file_magic_cmd begins with "file".
32090 MAGIC_CMD=$MAGIC_CMD
32092 # Must we lock files when doing compilation?
32093 need_locks=$lt_need_locks
32095 # Old archive suffix (normally "a").
32098 # Shared library suffix (normally ".so").
32099 shrext_cmds=$lt_shrext_cmds
32101 # The commands to extract the exported symbol list from a shared archive.
32102 extract_expsyms_cmds=$lt_extract_expsyms_cmds
32104 # Variables whose values should be saved in libtool wrapper scripts and
32105 # restored at link time.
32106 variables_saved_for_relink=$lt_variables_saved_for_relink
32108 # Do we need the "lib" prefix for modules?
32109 need_lib_prefix=$need_lib_prefix
32111 # Do we need a version for libraries?
32112 need_version=$need_version
32114 # Library versioning type.
32115 version_type=$version_type
32117 # Shared library runtime path variable.
32118 runpath_var=$runpath_var
32120 # Shared library path variable.
32121 shlibpath_var=$shlibpath_var
32123 # Is shlibpath searched before the hard-coded library search path?
32124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32126 # Format of library name prefix.
32127 libname_spec=$lt_libname_spec
32129 # List of archive names. First name is the real one, the rest are links.
32130 # The last name is the one that the linker finds with -lNAME
32131 library_names_spec=$lt_library_names_spec
32133 # The coded name of the library, if different from the real name.
32134 soname_spec=$lt_soname_spec
32136 # Command to use after installation of a shared archive.
32137 postinstall_cmds=$lt_postinstall_cmds
32139 # Command to use after uninstallation of a shared archive.
32140 postuninstall_cmds=$lt_postuninstall_cmds
32142 # Commands used to finish a libtool library installation in a directory.
32143 finish_cmds=$lt_finish_cmds
32145 # As "finish_cmds", except a single script fragment to be evaled but
32147 finish_eval=$lt_finish_eval
32149 # Whether we should hardcode library paths into libraries.
32150 hardcode_into_libs=$hardcode_into_libs
32152 # Compile-time system search path for libraries.
32153 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32155 # Run-time system search path for libraries.
32156 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32158 # Whether dlopen is supported.
32159 dlopen_support=$enable_dlopen
32161 # Whether dlopen of programs is supported.
32162 dlopen_self=$enable_dlopen_self
32164 # Whether dlopen of statically linked programs is supported.
32165 dlopen_self_static=$enable_dlopen_self_static
32167 # Commands to strip libraries.
32168 old_striplib=$lt_old_striplib
32169 striplib=$lt_striplib
32172 # The linker used to build libraries.
32175 # Commands used to build an old-style archive.
32176 old_archive_cmds=$lt_old_archive_cmds
32178 # A language specific compiler.
32181 # Is the compiler the GNU compiler?
32184 # Compiler flag to turn off builtin functions.
32185 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32187 # How to pass a linker flag through the compiler.
32188 wl=$lt_lt_prog_compiler_wl
32190 # Additional compiler flags for building library objects.
32191 pic_flag=$lt_lt_prog_compiler_pic
32193 # Compiler flag to prevent dynamic linking.
32194 link_static_flag=$lt_lt_prog_compiler_static
32196 # Does compiler simultaneously support -c and -o options?
32197 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32199 # Whether or not to add -lc for building shared libraries.
32200 build_libtool_need_lc=$archive_cmds_need_lc
32202 # Whether or not to disallow shared libs when runtime libs are static.
32203 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32205 # Compiler flag to allow reflexive dlopens.
32206 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32208 # Compiler flag to generate shared objects directly from archives.
32209 whole_archive_flag_spec=$lt_whole_archive_flag_spec
32211 # Whether the compiler copes with passing no objects directly.
32212 compiler_needs_object=$lt_compiler_needs_object
32214 # Create an old-style archive from a shared archive.
32215 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32217 # Create a temporary old-style archive to link instead of a shared archive.
32218 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32220 # Commands used to build a shared archive.
32221 archive_cmds=$lt_archive_cmds
32222 archive_expsym_cmds=$lt_archive_expsym_cmds
32224 # Commands used to build a loadable module if different from building
32225 # a shared archive.
32226 module_cmds=$lt_module_cmds
32227 module_expsym_cmds=$lt_module_expsym_cmds
32229 # Whether we are building with GNU ld or not.
32230 with_gnu_ld=$lt_with_gnu_ld
32232 # Flag that allows shared libraries with undefined symbols to be built.
32233 allow_undefined_flag=$lt_allow_undefined_flag
32235 # Flag that enforces no undefined symbols.
32236 no_undefined_flag=$lt_no_undefined_flag
32238 # Flag to hardcode \$libdir into a binary during linking.
32239 # This must work even if \$libdir does not exist
32240 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32242 # If ld is used when linking, flag to hardcode \$libdir into a binary
32243 # during linking. This must work even if \$libdir does not exist.
32244 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
32246 # Whether we need a single "-rpath" flag with a separated argument.
32247 hardcode_libdir_separator=$lt_hardcode_libdir_separator
32249 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32250 # DIR into the resulting binary.
32251 hardcode_direct=$hardcode_direct
32253 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32254 # DIR into the resulting binary and the resulting library dependency is
32255 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32256 # library is relocated.
32257 hardcode_direct_absolute=$hardcode_direct_absolute
32259 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32260 # into the resulting binary.
32261 hardcode_minus_L=$hardcode_minus_L
32263 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32264 # into the resulting binary.
32265 hardcode_shlibpath_var=$hardcode_shlibpath_var
32267 # Set to "yes" if building a shared library automatically hardcodes DIR
32268 # into the library and all subsequent libraries and executables linked
32270 hardcode_automatic=$hardcode_automatic
32272 # Set to yes if linker adds runtime paths of dependent libraries
32273 # to runtime path list.
32274 inherit_rpath=$inherit_rpath
32276 # Whether libtool must link a program against all its dependency libraries.
32277 link_all_deplibs=$link_all_deplibs
32279 # Fix the shell variable \$srcfile for the compiler.
32280 fix_srcfile_path=$lt_fix_srcfile_path
32282 # Set to "yes" if exported symbols are required.
32283 always_export_symbols=$always_export_symbols
32285 # The commands to list exported symbols.
32286 export_symbols_cmds=$lt_export_symbols_cmds
32288 # Symbols that should not be listed in the preloaded symbols.
32289 exclude_expsyms=$lt_exclude_expsyms
32291 # Symbols that must always be exported.
32292 include_expsyms=$lt_include_expsyms
32294 # Commands necessary for linking programs (against libraries) with templates.
32295 prelink_cmds=$lt_prelink_cmds
32297 # Specify filename containing input files.
32298 file_list_spec=$lt_file_list_spec
32300 # How to hardcode a shared library path into an executable.
32301 hardcode_action=$hardcode_action
32303 # Dependencies to place before and after the objects being linked to
32304 # create a shared library.
32305 predep_objects=$lt_predep_objects
32306 postdep_objects=$lt_postdep_objects
32307 predeps=$lt_predeps
32308 postdeps=$lt_postdeps
32310 # The library search path used internally by the compiler when linking
32311 # a shared library.
32312 compiler_lib_search_path=$lt_compiler_lib_search_path
32314 # ### END LIBTOOL CONFIG
32320 cat <<\_LT_EOF
>> "$cfgfile"
32321 # AIX sometimes has problems with the GCC collect2 program. For some
32322 # reason, if we set the COLLECT_NAMES environment variable, the problems
32323 # vanish in a puff of smoke.
32324 if test "X${COLLECT_NAMES+set}" != Xset
; then
32326 export COLLECT_NAMES
32333 ltmain
="$ac_aux_dir/ltmain.sh"
32336 # We use sed instead of cat because bash on DJGPP gets confused if
32337 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32338 # text mode, it properly converts lines to CR/LF. This bash problem
32339 # is reportedly fixed, but why not run on old versions too?
32340 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
32341 ||
(rm -f "$cfgfile"; exit 1)
32345 cat << \_LT_EOF
>> "$cfgfile"
32346 # func_dirname file append nondir_replacement
32347 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32348 # otherwise set result to NONDIR_REPLACEMENT.
32352 */*) func_dirname_result
="${1%/*}${2}" ;;
32353 * ) func_dirname_result
="${3}" ;;
32357 # func_basename file
32360 func_basename_result
="${1##*/}"
32363 # func_stripname prefix suffix name
32364 # strip PREFIX and SUFFIX off of NAME.
32365 # PREFIX and SUFFIX must not contain globbing or regex special
32366 # characters, hashes, percent signs, but SUFFIX may contain a leading
32367 # dot (in which case that matches only a dot).
32370 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
32371 # positional parameters, so assign one to ordinary parameter first.
32372 func_stripname_result
=${3}
32373 func_stripname_result
=${func_stripname_result#"${1}"}
32374 func_stripname_result
=${func_stripname_result%"${2}"}
32380 func_opt_split_opt
=${1%%=*}
32381 func_opt_split_arg
=${1#*=}
32388 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
32389 *) func_lo2o_result
=${1} ;;
32394 *) # Bourne compatible functions.
32395 cat << \_LT_EOF
>> "$cfgfile"
32396 # func_dirname file append nondir_replacement
32397 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32398 # otherwise set result to NONDIR_REPLACEMENT.
32401 # Extract subdirectory from the argument.
32402 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
32403 if test "X$func_dirname_result" = "X${1}"; then
32404 func_dirname_result
="${3}"
32406 func_dirname_result
="$func_dirname_result${2}"
32410 # func_basename file
32413 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
32416 # func_stripname prefix suffix name
32417 # strip PREFIX and SUFFIX off of NAME.
32418 # PREFIX and SUFFIX must not contain globbing or regex special
32419 # characters, hashes, percent signs, but SUFFIX may contain a leading
32420 # dot (in which case that matches only a dot).
32421 # func_strip_suffix prefix name
32425 .
*) func_stripname_result
=`$ECHO "X${3}" \
32426 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
32427 *) func_stripname_result
=`$ECHO "X${3}" \
32428 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
32433 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
32434 my_sed_long_arg
='1s/^-[^=]*=//'
32439 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
32440 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
32446 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
32451 case $lt_shell_append in
32453 cat << \_LT_EOF
>> "$cfgfile"
32455 # func_append var value
32456 # Append VALUE to the end of shell variable VAR.
32464 cat << \_LT_EOF
>> "$cfgfile"
32466 # func_append var value
32467 # Append VALUE to the end of shell variable VAR.
32477 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
32478 ||
(rm -f "$cfgfile"; exit 1)
32480 mv -f "$cfgfile" "$ofile" ||
32481 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32485 cat <<_LT_EOF >> "$ofile"
32487 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32489 # The linker used to build libraries.
32492 # Commands used to build an old-style archive.
32493 old_archive_cmds=$lt_old_archive_cmds_CXX
32495 # A language specific compiler.
32496 CC=$lt_compiler_CXX
32498 # Is the compiler the GNU compiler?
32501 # Compiler flag to turn off builtin functions.
32502 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32504 # How to pass a linker flag through the compiler.
32505 wl=$lt_lt_prog_compiler_wl_CXX
32507 # Additional compiler flags for building library objects.
32508 pic_flag=$lt_lt_prog_compiler_pic_CXX
32510 # Compiler flag to prevent dynamic linking.
32511 link_static_flag=$lt_lt_prog_compiler_static_CXX
32513 # Does compiler simultaneously support -c and -o options?
32514 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32516 # Whether or not to add -lc for building shared libraries.
32517 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32519 # Whether or not to disallow shared libs when runtime libs are static.
32520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32522 # Compiler flag to allow reflexive dlopens.
32523 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32525 # Compiler flag to generate shared objects directly from archives.
32526 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32528 # Whether the compiler copes with passing no objects directly.
32529 compiler_needs_object=$lt_compiler_needs_object_CXX
32531 # Create an old-style archive from a shared archive.
32532 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32534 # Create a temporary old-style archive to link instead of a shared archive.
32535 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32537 # Commands used to build a shared archive.
32538 archive_cmds=$lt_archive_cmds_CXX
32539 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32541 # Commands used to build a loadable module if different from building
32542 # a shared archive.
32543 module_cmds=$lt_module_cmds_CXX
32544 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32546 # Whether we are building with GNU ld or not.
32547 with_gnu_ld=$lt_with_gnu_ld_CXX
32549 # Flag that allows shared libraries with undefined symbols to be built.
32550 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32552 # Flag that enforces no undefined symbols.
32553 no_undefined_flag=$lt_no_undefined_flag_CXX
32555 # Flag to hardcode \$libdir into a binary during linking.
32556 # This must work even if \$libdir does not exist
32557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32559 # If ld is used when linking, flag to hardcode \$libdir into a binary
32560 # during linking. This must work even if \$libdir does not exist.
32561 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
32563 # Whether we need a single "-rpath" flag with a separated argument.
32564 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32567 # DIR into the resulting binary.
32568 hardcode_direct=$hardcode_direct_CXX
32570 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32571 # DIR into the resulting binary and the resulting library dependency is
32572 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32573 # library is relocated.
32574 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32576 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32577 # into the resulting binary.
32578 hardcode_minus_L=$hardcode_minus_L_CXX
32580 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32581 # into the resulting binary.
32582 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32584 # Set to "yes" if building a shared library automatically hardcodes DIR
32585 # into the library and all subsequent libraries and executables linked
32587 hardcode_automatic=$hardcode_automatic_CXX
32589 # Set to yes if linker adds runtime paths of dependent libraries
32590 # to runtime path list.
32591 inherit_rpath=$inherit_rpath_CXX
32593 # Whether libtool must link a program against all its dependency libraries.
32594 link_all_deplibs=$link_all_deplibs_CXX
32596 # Fix the shell variable \$srcfile for the compiler.
32597 fix_srcfile_path=$lt_fix_srcfile_path_CXX
32599 # Set to "yes" if exported symbols are required.
32600 always_export_symbols=$always_export_symbols_CXX
32602 # The commands to list exported symbols.
32603 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32605 # Symbols that should not be listed in the preloaded symbols.
32606 exclude_expsyms=$lt_exclude_expsyms_CXX
32608 # Symbols that must always be exported.
32609 include_expsyms=$lt_include_expsyms_CXX
32611 # Commands necessary for linking programs (against libraries) with templates.
32612 prelink_cmds=$lt_prelink_cmds_CXX
32614 # Specify filename containing input files.
32615 file_list_spec=$lt_file_list_spec_CXX
32617 # How to hardcode a shared library path into an executable.
32618 hardcode_action=$hardcode_action_CXX
32620 # Dependencies to place before and after the objects being linked to
32621 # create a shared library.
32622 predep_objects=$lt_predep_objects_CXX
32623 postdep_objects=$lt_postdep_objects_CXX
32624 predeps=$lt_predeps_CXX
32625 postdeps=$lt_postdeps_CXX
32627 # The library search path used internally by the compiler when linking
32628 # a shared library.
32629 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32631 # ### END LIBTOOL TAG CONFIG: CXX
32635 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
32637 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
32638 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
32639 ac_stdint
=$tmp/_stdint.h
32641 echo "#ifndef" $_ac_stdint_h >$ac_stdint
32642 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
32643 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
32644 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
32645 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
32646 if test "_$ac_cv_header_stdint_t" != "_" ; then
32647 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
32648 echo "#include <stdint.h>" >>$ac_stdint
32649 echo "#endif" >>$ac_stdint
32650 echo "#endif" >>$ac_stdint
32653 cat >>$ac_stdint <<STDINT_EOF
32655 /* ................... shortcircuit part ........................... */
32657 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
32658 #include <stdint.h>
32660 #include <stddef.h>
32662 /* .................... configured part ............................ */
32666 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
32667 if test "_$ac_cv_header_stdint_x" != "_" ; then
32668 ac_header
="$ac_cv_header_stdint_x"
32669 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
32671 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
32674 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
32675 if test "_$ac_cv_header_stdint_o" != "_" ; then
32676 ac_header
="$ac_cv_header_stdint_o"
32677 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
32679 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
32682 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
32683 if test "_$ac_cv_header_stdint_u" != "_" ; then
32684 ac_header
="$ac_cv_header_stdint_u"
32685 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
32687 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
32690 echo "" >>$ac_stdint
32692 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
32693 echo "#include <$ac_header>" >>$ac_stdint
32694 echo "" >>$ac_stdint
32697 echo "/* which 64bit typedef has been found */" >>$ac_stdint
32698 if test "$ac_cv_type_uint64_t" = "yes" ; then
32699 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
32701 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
32703 if test "$ac_cv_type_u_int64_t" = "yes" ; then
32704 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
32706 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
32708 echo "" >>$ac_stdint
32710 echo "/* which type model has been detected */" >>$ac_stdint
32711 if test "_$ac_cv_char_data_model" != "_" ; then
32712 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
32713 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
32715 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
32716 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
32718 echo "" >>$ac_stdint
32720 echo "/* whether int_least types were detected */" >>$ac_stdint
32721 if test "$ac_cv_type_int_least32_t" = "yes"; then
32722 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
32724 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
32726 echo "/* whether int_fast types were detected */" >>$ac_stdint
32727 if test "$ac_cv_type_int_fast32_t" = "yes"; then
32728 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
32730 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
32732 echo "/* whether intmax_t type was detected */" >>$ac_stdint
32733 if test "$ac_cv_type_intmax_t" = "yes"; then
32734 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
32736 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
32738 echo "" >>$ac_stdint
32740 cat >>$ac_stdint <<STDINT_EOF
32741 /* .................... detections part ............................ */
32743 /* whether we need to define bitspecific types from compiler base types */
32744 #ifndef _STDINT_HEADER_INTPTR
32745 #ifndef _STDINT_HEADER_UINT32
32746 #ifndef _STDINT_HEADER_U_INT32
32747 #define _STDINT_NEED_INT_MODEL_T
32749 #define _STDINT_HAVE_U_INT_TYPES
32754 #ifdef _STDINT_HAVE_U_INT_TYPES
32755 #undef _STDINT_NEED_INT_MODEL_T
32758 #ifdef _STDINT_CHAR_MODEL
32759 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
32760 #ifndef _STDINT_BYTE_MODEL
32761 #define _STDINT_BYTE_MODEL 12
32766 #ifndef _STDINT_HAVE_INT_LEAST32_T
32767 #define _STDINT_NEED_INT_LEAST_T
32770 #ifndef _STDINT_HAVE_INT_FAST32_T
32771 #define _STDINT_NEED_INT_FAST_T
32774 #ifndef _STDINT_HEADER_INTPTR
32775 #define _STDINT_NEED_INTPTR_T
32776 #ifndef _STDINT_HAVE_INTMAX_T
32777 #define _STDINT_NEED_INTMAX_T
32782 /* .................... definition part ............................ */
32784 /* some system headers have good uint64_t */
32785 #ifndef _HAVE_UINT64_T
32786 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
32787 #define _HAVE_UINT64_T
32788 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
32789 #define _HAVE_UINT64_T
32790 typedef u_int64_t uint64_t;
32794 #ifndef _HAVE_UINT64_T
32795 /* .. here are some common heuristics using compiler runtime specifics */
32796 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
32797 #define _HAVE_UINT64_T
32798 #define _HAVE_LONGLONG_UINT64_T
32799 typedef long long int64_t;
32800 typedef unsigned long long uint64_t;
32802 #elif !defined __STRICT_ANSI__
32803 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
32804 #define _HAVE_UINT64_T
32805 typedef __int64 int64_t;
32806 typedef unsigned __int64 uint64_t;
32808 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
32809 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
32810 #if !defined _NO_LONGLONG
32811 #define _HAVE_UINT64_T
32812 #define _HAVE_LONGLONG_UINT64_T
32813 typedef long long int64_t;
32814 typedef unsigned long long uint64_t;
32817 #elif defined __alpha || (defined __mips && defined _ABIN32)
32818 #if !defined _NO_LONGLONG
32819 typedef long int64_t;
32820 typedef unsigned long uint64_t;
32822 /* compiler/cpu type to define int64_t */
32827 #if defined _STDINT_HAVE_U_INT_TYPES
32828 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
32829 typedef u_int8_t uint8_t;
32830 typedef u_int16_t uint16_t;
32831 typedef u_int32_t uint32_t;
32833 /* glibc compatibility */
32834 #ifndef __int8_t_defined
32835 #define __int8_t_defined
32839 #ifdef _STDINT_NEED_INT_MODEL_T
32840 /* we must guess all the basic types. Apart from byte-adressable system, */
32841 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
32842 /* (btw, those nibble-addressable systems are way off, or so we assume) */
32845 #if defined _STDINT_BYTE_MODEL
32846 #if _STDINT_LONG_MODEL+0 == 242
32847 /* 2:4:2 = IP16 = a normal 16-bit system */
32848 typedef unsigned char uint8_t;
32849 typedef unsigned short uint16_t;
32850 typedef unsigned long uint32_t;
32851 #ifndef __int8_t_defined
32852 #define __int8_t_defined
32853 typedef char int8_t;
32854 typedef short int16_t;
32855 typedef long int32_t;
32857 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
32858 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
32859 /* 4:4:4 = ILP32 = a normal 32-bit system */
32860 typedef unsigned char uint8_t;
32861 typedef unsigned short uint16_t;
32862 typedef unsigned int uint32_t;
32863 #ifndef __int8_t_defined
32864 #define __int8_t_defined
32865 typedef char int8_t;
32866 typedef short int16_t;
32867 typedef int int32_t;
32869 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
32870 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
32871 /* 4:8:8 = LP64 = a normal 64-bit system */
32872 typedef unsigned char uint8_t;
32873 typedef unsigned short uint16_t;
32874 typedef unsigned int uint32_t;
32875 #ifndef __int8_t_defined
32876 #define __int8_t_defined
32877 typedef char int8_t;
32878 typedef short int16_t;
32879 typedef int int32_t;
32881 /* this system has a "long" of 64bit */
32882 #ifndef _HAVE_UINT64_T
32883 #define _HAVE_UINT64_T
32884 typedef unsigned long uint64_t;
32885 typedef long int64_t;
32887 #elif _STDINT_LONG_MODEL+0 == 448
32888 /* LLP64 a 64-bit system derived from a 32-bit system */
32889 typedef unsigned char uint8_t;
32890 typedef unsigned short uint16_t;
32891 typedef unsigned int uint32_t;
32892 #ifndef __int8_t_defined
32893 #define __int8_t_defined
32894 typedef char int8_t;
32895 typedef short int16_t;
32896 typedef int int32_t;
32898 /* assuming the system has a "long long" */
32899 #ifndef _HAVE_UINT64_T
32900 #define _HAVE_UINT64_T
32901 #define _HAVE_LONGLONG_UINT64_T
32902 typedef unsigned long long uint64_t;
32903 typedef long long int64_t;
32906 #define _STDINT_NO_INT32_T
32909 #define _STDINT_NO_INT8_T
32910 #define _STDINT_NO_INT32_T
32915 * quote from SunOS-5.8 sys/inttypes.h:
32916 * Use at your own risk. As of February 1996, the committee is squarely
32917 * behind the fixed sized types; the "least" and "fast" types are still being
32918 * discussed. The probability that the "fast" types may be removed before
32919 * the standard is finalized is high enough that they are not currently
32923 #if defined _STDINT_NEED_INT_LEAST_T
32924 typedef int8_t int_least8_t;
32925 typedef int16_t int_least16_t;
32926 typedef int32_t int_least32_t;
32927 #ifdef _HAVE_UINT64_T
32928 typedef int64_t int_least64_t;
32931 typedef uint8_t uint_least8_t;
32932 typedef uint16_t uint_least16_t;
32933 typedef uint32_t uint_least32_t;
32934 #ifdef _HAVE_UINT64_T
32935 typedef uint64_t uint_least64_t;
32940 #if defined _STDINT_NEED_INT_FAST_T
32941 typedef int8_t int_fast8_t;
32942 typedef int int_fast16_t;
32943 typedef int32_t int_fast32_t;
32944 #ifdef _HAVE_UINT64_T
32945 typedef int64_t int_fast64_t;
32948 typedef uint8_t uint_fast8_t;
32949 typedef unsigned uint_fast16_t;
32950 typedef uint32_t uint_fast32_t;
32951 #ifdef _HAVE_UINT64_T
32952 typedef uint64_t uint_fast64_t;
32957 #ifdef _STDINT_NEED_INTMAX_T
32958 #ifdef _HAVE_UINT64_T
32959 typedef int64_t intmax_t;
32960 typedef uint64_t uintmax_t;
32962 typedef long intmax_t;
32963 typedef unsigned long uintmax_t;
32967 #ifdef _STDINT_NEED_INTPTR_T
32968 #ifndef __intptr_t_defined
32969 #define __intptr_t_defined
32970 /* we encourage using "long" to store pointer values, never use "int" ! */
32971 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
32972 typedef unsigned int uintptr_t;
32973 typedef int intptr_t;
32974 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
32975 typedef unsigned long uintptr_t;
32976 typedef long intptr_t;
32977 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
32978 typedef uint64_t uintptr_t;
32979 typedef int64_t intptr_t;
32980 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
32981 typedef unsigned long uintptr_t;
32982 typedef long intptr_t;
32987 /* The ISO C99 standard specifies that in C++ implementations these
32988 should only be defined if explicitly requested. */
32989 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
32993 # define INT8_C(c) c
32994 # define INT16_C(c) c
32995 # define INT32_C(c) c
32996 # ifdef _HAVE_LONGLONG_UINT64_T
32997 # define INT64_C(c) c ## L
32999 # define INT64_C(c) c ## LL
33003 # define UINT8_C(c) c ## U
33004 # define UINT16_C(c) c ## U
33005 # define UINT32_C(c) c ## U
33006 # ifdef _HAVE_LONGLONG_UINT64_T
33007 # define UINT64_C(c) c ## UL
33009 # define UINT64_C(c) c ## ULL
33012 /* Maximal type. */
33013 # ifdef _HAVE_LONGLONG_UINT64_T
33014 # define INTMAX_C(c) c ## L
33015 # define UINTMAX_C(c) c ## UL
33017 # define INTMAX_C(c) c ## LL
33018 # define UINTMAX_C(c) c ## ULL
33021 /* literalnumbers */
33025 /* These limits are merily those of a two complement byte-oriented system */
33027 /* Minimum of signed integral types. */
33029 # define INT8_MIN (-128)
33032 # define INT16_MIN (-32767-1)
33035 # define INT32_MIN (-2147483647-1)
33038 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
33041 /* Maximum of signed integral types. */
33043 # define INT8_MAX (127)
33046 # define INT16_MAX (32767)
33049 # define INT32_MAX (2147483647)
33052 # define INT64_MAX (__INT64_C(9223372036854775807))
33055 /* Maximum of unsigned integral types. */
33057 # define UINT8_MAX (255)
33060 # define UINT16_MAX (65535)
33063 # define UINT32_MAX (4294967295U)
33066 # define UINT64_MAX (__UINT64_C(18446744073709551615))
33069 /* Minimum of signed integral types having a minimum size. */
33070 # define INT_LEAST8_MIN INT8_MIN
33071 # define INT_LEAST16_MIN INT16_MIN
33072 # define INT_LEAST32_MIN INT32_MIN
33073 # define INT_LEAST64_MIN INT64_MIN
33074 /* Maximum of signed integral types having a minimum size. */
33075 # define INT_LEAST8_MAX INT8_MAX
33076 # define INT_LEAST16_MAX INT16_MAX
33077 # define INT_LEAST32_MAX INT32_MAX
33078 # define INT_LEAST64_MAX INT64_MAX
33080 /* Maximum of unsigned integral types having a minimum size. */
33081 # define UINT_LEAST8_MAX UINT8_MAX
33082 # define UINT_LEAST16_MAX UINT16_MAX
33083 # define UINT_LEAST32_MAX UINT32_MAX
33084 # define UINT_LEAST64_MAX UINT64_MAX
33093 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
33094 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
33095 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
33097 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
33098 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33099 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
33100 X"$ac_stdint_h" : 'X\(//\)$' \| \
33101 X"$ac_stdint_h" : 'X\(/\)' \| \
33102 . : '\(.\)' 2>/dev/null ||
33103 echo X"$ac_stdint_h" |
33104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33106 /^X\(\/\/\)$/{ s//\1/; q; }
33107 /^X\(\/\).*/{ s//\1/; q; }
33109 { if $as_mkdir_p; then
33114 while test ! -d "$as_dir"; do
33115 as_dirs
="$as_dir $as_dirs"
33116 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
33117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33118 X"$as_dir" : 'X\(//\)[^/]' \| \
33119 X"$as_dir" : 'X\(//\)$' \| \
33120 X"$as_dir" : 'X\(/\)' \| \
33121 . : '\(.\)' 2>/dev/null ||
33123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33125 /^X\(\/\/\)$/{ s//\1/; q; }
33126 /^X\(\/\).*/{ s//\1/; q; }
33129 test ! -n "$as_dirs" || mkdir
$as_dirs
33130 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33132 { (exit 1); exit 1; }; }; }
33135 mv $ac_stdint $ac_stdint_h
33138 gappletviewer
) chmod 755 tools
/gappletviewer
;;
33139 gjarsigner
) chmod 755 tools
/gjarsigner
;;
33140 gkeytool
) chmod 755 tools
/gkeytool
;;
33141 gjar
) chmod 755 tools
/gjar
;;
33142 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
33143 gserialver
) chmod 755 tools
/gserialver
;;
33144 grmiregistry
) chmod 755 tools
/grmiregistry
;;
33145 gtnameserv
) chmod 755 tools
/gtnameserv
;;
33146 gorbd
) chmod 755 tools
/gorbd
;;
33147 grmid
) chmod 755 tools
/grmid
;;
33148 grmic
) chmod 755 tools
/grmic
;;
33149 gjavah
) chmod 755 tools
/gjavah
;;
33150 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
33151 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
33156 cat >>$CONFIG_STATUS <<\_ACEOF
33158 { (exit 0); exit 0; }
33160 chmod +x
$CONFIG_STATUS
33161 ac_clean_files
=$ac_clean_files_save
33164 # configure is writing to config.log, and then calls config.status.
33165 # config.status does its own redirection, appending to config.log.
33166 # Unfortunately, on DOS this fails, as config.log is still kept open
33167 # by configure, so config.status won't be able to write to it; its
33168 # output is simply discarded. So we exec the FD to /dev/null,
33169 # effectively closing config.log, so it can be properly (re)opened and
33170 # appended to by config.status. When coming back to configure, we
33171 # need to make the FD available again.
33172 if test "$no_create" != yes; then
33174 ac_config_status_args
=
33175 test "$silent" = yes &&
33176 ac_config_status_args
="$ac_config_status_args --quiet"
33178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
33180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33181 # would make configure fail if this is the last instruction.
33182 $ac_cs_success ||
{ (exit 1); exit 1; }
33186 # Create standard.omit based on decisions we just made.
33187 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
33188 if test x
$use_escher != xtrue
; then
33189 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit