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 EXTRA_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR 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'
468 # Initialize some variables set by options.
470 ac_init_version
=false
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
480 program_transform_name
=s
,x
,x
,
488 # Installation directory options.
489 # These are left unexpanded so users can "make install exec_prefix=/foo"
490 # and all the variables that are supposed to be based on exec_prefix
491 # by default will actually change.
492 # Use braces instead of parens because sh, perl, etc. also accept them.
493 bindir
='${exec_prefix}/bin'
494 sbindir
='${exec_prefix}/sbin'
495 libexecdir
='${exec_prefix}/libexec'
496 datadir
='${prefix}/share'
497 sysconfdir
='${prefix}/etc'
498 sharedstatedir
='${prefix}/com'
499 localstatedir
='${prefix}/var'
500 libdir
='${exec_prefix}/lib'
501 includedir
='${prefix}/include'
502 oldincludedir
='/usr/include'
503 infodir
='${prefix}/info'
504 mandir
='${prefix}/man'
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
516 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
518 # Accept the important Cygnus configure options, so we can diagnose typos.
522 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
524 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
527 -build |
--build |
--buil |
--bui |
--bu)
528 ac_prev
=build_alias
;;
529 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
530 build_alias
=$ac_optarg ;;
532 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
533 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
534 ac_prev
=cache_file
;;
535 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
536 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
537 cache_file
=$ac_optarg ;;
540 cache_file
=config.cache
;;
542 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
544 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
546 datadir
=$ac_optarg ;;
548 -disable-* |
--disable-*)
549 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
557 -enable-* |
--enable-*)
558 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
565 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568 eval "enable_$ac_feature='$ac_optarg'" ;;
570 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
571 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
572 |
--exec |
--exe |
--ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
575 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
576 |
--exec=* |
--exe=* |
--ex=*)
577 exec_prefix
=$ac_optarg ;;
579 -gas |
--gas |
--ga |
--g)
580 # Obsolete; use --with-gas.
583 -help |
--help |
--hel |
--he |
-h)
585 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
586 ac_init_help
=recursive
;;
587 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
588 ac_init_help
=short
;;
590 -host |
--host |
--hos |
--ho)
591 ac_prev
=host_alias
;;
592 -host=* |
--host=* |
--hos=* |
--ho=*)
593 host_alias
=$ac_optarg ;;
595 -includedir |
--includedir |
--includedi |
--included |
--include \
596 |
--includ |
--inclu |
--incl |
--inc)
597 ac_prev
=includedir
;;
598 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
599 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
600 includedir
=$ac_optarg ;;
602 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
604 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
605 infodir
=$ac_optarg ;;
607 -libdir |
--libdir |
--libdi |
--libd)
609 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
612 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
613 |
--libexe |
--libex |
--libe)
614 ac_prev
=libexecdir
;;
615 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
616 |
--libexe=* |
--libex=* |
--libe=*)
617 libexecdir
=$ac_optarg ;;
619 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
620 |
--localstate |
--localstat |
--localsta |
--localst \
621 |
--locals |
--local |
--loca |
--loc |
--lo)
622 ac_prev
=localstatedir
;;
623 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
624 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
625 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
626 localstatedir
=$ac_optarg ;;
628 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
630 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
634 # Obsolete; use --without-fp.
637 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
638 |
--no-cr |
--no-c |
-n)
641 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
642 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
645 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
646 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
647 |
--oldin |
--oldi |
--old |
--ol |
--o)
648 ac_prev
=oldincludedir
;;
649 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
650 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
651 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
652 oldincludedir
=$ac_optarg ;;
654 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
656 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
659 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
660 |
--program-pre |
--program-pr |
--program-p)
661 ac_prev
=program_prefix
;;
662 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
663 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
664 program_prefix
=$ac_optarg ;;
666 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
667 |
--program-suf |
--program-su |
--program-s)
668 ac_prev
=program_suffix
;;
669 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
670 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
671 program_suffix
=$ac_optarg ;;
673 -program-transform-name |
--program-transform-name \
674 |
--program-transform-nam |
--program-transform-na \
675 |
--program-transform-n |
--program-transform- \
676 |
--program-transform |
--program-transfor \
677 |
--program-transfo |
--program-transf \
678 |
--program-trans |
--program-tran \
679 |
--progr-tra |
--program-tr |
--program-t)
680 ac_prev
=program_transform_name
;;
681 -program-transform-name=* |
--program-transform-name=* \
682 |
--program-transform-nam=* |
--program-transform-na=* \
683 |
--program-transform-n=* |
--program-transform-=* \
684 |
--program-transform=* |
--program-transfor=* \
685 |
--program-transfo=* |
--program-transf=* \
686 |
--program-trans=* |
--program-tran=* \
687 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
688 program_transform_name
=$ac_optarg ;;
690 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
691 |
-silent |
--silent |
--silen |
--sile |
--sil)
694 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
696 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
698 sbindir
=$ac_optarg ;;
700 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
701 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
702 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
704 ac_prev
=sharedstatedir
;;
705 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
706 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
707 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
709 sharedstatedir
=$ac_optarg ;;
711 -site |
--site |
--sit)
713 -site=* |
--site=* |
--sit=*)
716 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
718 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
721 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
722 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
723 ac_prev
=sysconfdir
;;
724 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
725 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
726 sysconfdir
=$ac_optarg ;;
728 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
729 ac_prev
=target_alias
;;
730 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
731 target_alias
=$ac_optarg ;;
733 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
736 -version |
--version |
--versio |
--versi |
--vers |
-V)
740 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package
=`echo $ac_package| sed 's/-/_/g'`
747 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750 eval "with_$ac_package='$ac_optarg'" ;;
752 -without-* |
--without-*)
753 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package
=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
762 # Obsolete; use --with-x.
765 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
766 |
--x-incl |
--x-inc |
--x-in |
--x-i)
767 ac_prev
=x_includes
;;
768 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
769 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
770 x_includes
=$ac_optarg ;;
772 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
773 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
774 ac_prev
=x_libraries
;;
775 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
776 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
777 x_libraries
=$ac_optarg ;;
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
785 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
795 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
805 if test -n "$ac_prev"; then
806 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
811 # Be sure to have absolute paths.
812 for ac_var
in exec_prefix prefix
814 eval ac_val
=$
`echo $ac_var`
816 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
822 # Be sure to have absolute paths.
823 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
826 eval ac_val
=$
`echo $ac_var`
828 [\\/$
]* | ?
:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
834 # There might be people who depend on the old broken behavior: `$host'
835 # used to hold the argument of --host etc.
836 # FIXME: To remove some day.
841 # FIXME: To remove some day.
842 if test "x$host_alias" != x
; then
843 if test "x$build_alias" = x
; then
844 cross_compiling
=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
847 elif test "x$build_alias" != "x$host_alias"; then
853 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
855 test "$silent" = yes && exec 6>/dev
/null
858 # Find the source files, if location was not specified.
859 if test -z "$srcdir"; then
860 ac_srcdir_defaulted
=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir
=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
875 if test ! -r $srcdir/$ac_unique_file; then
879 ac_srcdir_defaulted
=no
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
890 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set
=${build_alias+set}
895 ac_env_build_alias_value
=$build_alias
896 ac_cv_env_build_alias_set
=${build_alias+set}
897 ac_cv_env_build_alias_value
=$build_alias
898 ac_env_host_alias_set
=${host_alias+set}
899 ac_env_host_alias_value
=$host_alias
900 ac_cv_env_host_alias_set
=${host_alias+set}
901 ac_cv_env_host_alias_value
=$host_alias
902 ac_env_target_alias_set
=${target_alias+set}
903 ac_env_target_alias_value
=$target_alias
904 ac_cv_env_target_alias_set
=${target_alias+set}
905 ac_cv_env_target_alias_value
=$target_alias
906 ac_env_CC_set
=${CC+set}
908 ac_cv_env_CC_set
=${CC+set}
909 ac_cv_env_CC_value
=$CC
910 ac_env_CFLAGS_set
=${CFLAGS+set}
911 ac_env_CFLAGS_value
=$CFLAGS
912 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value
=$CFLAGS
914 ac_env_LDFLAGS_set
=${LDFLAGS+set}
915 ac_env_LDFLAGS_value
=$LDFLAGS
916 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value
=$LDFLAGS
918 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value
=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_env_CPP_set
=${CPP+set}
923 ac_env_CPP_value
=$CPP
924 ac_cv_env_CPP_set
=${CPP+set}
925 ac_cv_env_CPP_value
=$CPP
926 ac_env_CXX_set
=${CXX+set}
927 ac_env_CXX_value
=$CXX
928 ac_cv_env_CXX_set
=${CXX+set}
929 ac_cv_env_CXX_value
=$CXX
930 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value
=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
934 ac_env_CXXCPP_set
=${CXXCPP+set}
935 ac_env_CXXCPP_value
=$CXXCPP
936 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value
=$CXXCPP
940 # Report the --help message.
942 if test "$ac_init_help" = "long"; then
943 # Omit some internal or obsolete options to make the list less imposing.
944 # This message is too long to be a string in the A/UX 3.1 sh.
946 \`configure' configures GNU Classpath 0.96-pre to adapt to many kinds of systems.
948 Usage: $0 [OPTION]... [VAR=VALUE]...
950 To assign environment variables (e.g., CC, CFLAGS...), specify them as
951 VAR=VALUE. See below for descriptions of some of the useful variables.
953 Defaults for the options are specified in brackets.
956 -h, --help display this help and exit
957 --help=short display options specific to this package
958 --help=recursive display the short help of all the included packages
959 -V, --version display version information and exit
960 -q, --quiet, --silent do not print \`checking...' messages
961 --cache-file=FILE cache test results in FILE [disabled]
962 -C, --config-cache alias for \`--cache-file=config.cache'
963 -n, --no-create do not create output files
964 --srcdir=DIR find the sources in DIR [configure dir or \`..']
969 Installation directories:
970 --prefix=PREFIX install architecture-independent files in PREFIX
972 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
975 By default, \`make install' will install all the files in
976 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
977 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
978 for instance \`--prefix=\$HOME'.
980 For better control, use the options below.
982 Fine tuning of the installation directories:
983 --bindir=DIR user executables [EPREFIX/bin]
984 --sbindir=DIR system admin executables [EPREFIX/sbin]
985 --libexecdir=DIR program executables [EPREFIX/libexec]
986 --datadir=DIR read-only architecture-independent data [PREFIX/share]
987 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
988 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
989 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
990 --libdir=DIR object code libraries [EPREFIX/lib]
991 --includedir=DIR C header files [PREFIX/include]
992 --oldincludedir=DIR C header files for non-gcc [/usr/include]
993 --infodir=DIR info documentation [PREFIX/info]
994 --mandir=DIR man documentation [PREFIX/man]
1000 --program-prefix=PREFIX prepend PREFIX to installed program names
1001 --program-suffix=SUFFIX append SUFFIX to installed program names
1002 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1005 --x-includes=DIR X include files are
in DIR
1006 --x-libraries=DIR X library files are
in DIR
1009 --build=BUILD configure
for building on BUILD
[guessed
]
1010 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1011 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1015 if test -n "$ac_init_help"; then
1016 case $ac_init_help in
1017 short | recursive
) echo "Configuration of GNU Classpath 0.96-pre:";;
1022 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1023 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1024 --enable-java-maintainer-mode
1025 allow rebuilding of .class and .h files
1026 --enable-generated-files-in-srcdir
1027 put copies of generated files
in source dir
1028 intended
for creating
source tarballs
for users
1029 without texinfo
, perl
, bison or flex.
1030 --enable-multilib build many library versions
(default
)
1031 --enable-collections create collections.jar default
=no
1032 --enable-jni compile JNI
source default
=yes
1033 --enable-core-jni compile JNI sources
for core default
=yes
1034 --enable-default-preferences-peer[=peer
type or class name
]
1035 specify one of
: "gconf" [default
] for a GConf based
1036 backend
, "file" for a
file based one
, "memory" for a
1037 transient one
, or a fully qualified class name
1038 implementing java.util.prefs.PreferencesFactory
1039 --disable-gconf-peer compile GConf native peers
(disabled by
1040 --disable-jni) default
=yes
1042 --enable-gstreamer-peer compile GStreamer native peers
(disabled by
1043 --disable-jni) default
=no
1044 --enable-Werror whether to compile C code with
-Werror which turns
1045 any compiler warning into a compilation failure
1047 --enable-default-toolkit
1048 fully qualified class name of default AWT toolkit
1049 --enable-xmlj compile native libxml
/xslt library default
=no
1050 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1052 --disable-dependency-tracking speeds up one-time build
1053 --enable-dependency-tracking do not reject slow dependency extractors
1054 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1056 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1058 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1060 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1062 --enable-regen-headers automatically regenerate JNI headers default
=no
1063 --enable-tool-wrappers create tool wrapper binaries default
=no
1064 --enable-static[=PKGS
]
1065 build static libraries
[default
=no
]
1066 --enable-shared[=PKGS
]
1067 build shared libraries
[default
=yes]
1068 --enable-fast-install[=PKGS
]
1069 optimize
for fast installation
[default
=yes]
1070 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1071 --disable-rpath do not hardcode runtime library paths
1072 --enable-maintainer-mode enable make rules and dependencies not useful
1073 (and sometimes confusing
) to the casual installer
1074 --enable-debug enable runtime debugging code
1075 --enable-load-library enable to use JNI native methods default
=yes
1076 --enable-java-lang-system-explicit-initialization
1077 will the VM explicitly invoke java.lang.System
's
1078 static initialization methods default=no
1079 --enable-examples enable build of the examples default=yes
1080 --enable-portable-native-sync
1081 synchronize VM threads portably
1082 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1085 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1086 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1087 --with-native-libdir sets the installation directory for native libraries
1088 default='${libdir}/${PACKAGE}'
1089 --with-glibj-dir sets the installation directory for glibj.zip
1090 default='${libdir}/${PACKAGE}'
1091 --with-vm sets the VM binary name
1092 default='${prefix}/bin
/jamvm
'
1093 --with-pic try to use only PIC/non-PIC objects [default=use
1095 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1096 --with-gnu-ld assume the C compiler uses GNU ld default=no
1097 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1098 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1099 --with-x use the X Window System
1100 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1101 systems use pkg-config.
1102 --with-javah specify path or name of a javah-like program
1103 --with-gcj bytecode compilation with gcj
1104 --with-jikes bytecode compilation with jikes
1105 --with-kjc bytecode compilation with kjc
1106 --with-ecj bytecode compilation with ecj
1107 --with-javac bytecode compilation with javac
1108 --with-classpath specify path to a classes.
zip like
file
1109 --with-vm-classes specify path to VM override
source files
1110 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1112 --with-fastjar=PATH define to use a fastjar style tool
1113 --with-glibj define what to
install (zip|flat|both|none|build
)
1115 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1116 --with-jay Regenerate the parsers with jay must be given the
1117 path to the jay executable
1118 --with-glibj-zip=ABS.PATH
1119 use prebuilt glibj.
zip class library
1120 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1122 Some influential environment variables
:
1123 CC C compiler
command
1124 CFLAGS C compiler flags
1125 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1126 nonstandard directory
<lib dir
>
1127 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1128 headers
in a nonstandard directory
<include dir
>
1130 CXX C
++ compiler
command
1131 CXXFLAGS C
++ compiler flags
1132 CXXCPP C
++ preprocessor
1134 Use these variables to override the choices made by
`configure' or to help
1135 it to find libraries and programs with nonstandard names/locations.
1137 Report bugs to <classpath@gnu.org>.
1141 if test "$ac_init_help" = "recursive"; then
1142 # If there are subdirs, report their specific --help.
1144 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1145 test -d $ac_dir || continue
1148 if test "$ac_dir" != .; then
1149 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1150 # A "../" for each directory in $ac_dir_suffix.
1151 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1153 ac_dir_suffix= ac_top_builddir=
1157 .) # No --srcdir option. We are building in place.
1159 if test -z "$ac_top_builddir"; then
1162 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1164 [\\/]* | ?:[\\/]* ) # Absolute path.
1165 ac_srcdir=$srcdir$ac_dir_suffix;
1166 ac_top_srcdir=$srcdir ;;
1168 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1169 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1172 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1173 # the directories may not exist.
1175 .) ac_abs_builddir="$ac_dir";;
1178 .) ac_abs_builddir=`pwd`;;
1179 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1180 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1183 case $ac_abs_builddir in
1184 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1186 case ${ac_top_builddir}. in
1187 .) ac_abs_top_builddir=$ac_abs_builddir;;
1188 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1189 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1192 case $ac_abs_builddir in
1193 .) ac_abs_srcdir=$ac_srcdir;;
1196 .) ac_abs_srcdir=$ac_abs_builddir;;
1197 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1198 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1201 case $ac_abs_builddir in
1202 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1204 case $ac_top_srcdir in
1205 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1206 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1207 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1212 # Check for guested configure; otherwise get Cygnus style configure.
1213 if test -f $ac_srcdir/configure.gnu; then
1215 $SHELL $ac_srcdir/configure.gnu --help=recursive
1216 elif test -f $ac_srcdir/configure; then
1218 $SHELL $ac_srcdir/configure --help=recursive
1219 elif test -f $ac_srcdir/configure.ac ||
1220 test -f $ac_srcdir/configure.in; then
1222 $ac_configure --help
1224 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1230 test -n "$ac_init_help" && exit 0
1231 if $ac_init_version; then
1233 GNU Classpath configure 0.96-pre
1234 generated by GNU Autoconf 2.59
1236 Copyright (C) 2003 Free Software Foundation, Inc.
1237 This configure script is free software; the Free Software Foundation
1238 gives unlimited permission to copy, distribute and modify it.
1244 This file contains any messages produced by compilers while
1245 running configure, to aid debugging if configure makes a mistake.
1247 It was created by GNU Classpath $as_me 0.96-pre, which was
1248 generated by GNU Autoconf 2.59. Invocation command line was
1259 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1260 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1261 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1262 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1263 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1265 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1266 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1268 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1269 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1270 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1271 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1272 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1273 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1274 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1282 test -z "$as_dir" && as_dir=.
1283 echo "PATH: $as_dir"
1298 # Keep a trace of the command line.
1299 # Strip out --no-create and --no-recursion so they do not pile up.
1300 # Strip out --silent because we don't want to record it for future runs.
1301 # Also quote any args containing shell meta-characters.
1302 # Make two passes to allow for proper duplicate-argument suppression.
1307 ac_must_keep_next=false
1313 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1315 | -silent | --silent | --silen | --sile | --sil)
1317 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1321 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1323 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1324 if test $ac_must_keep_next = true; then
1325 ac_must_keep_next=false # Got value, back to normal.
1328 *=* | --config-cache | -C | -disable-* | --disable-* \
1329 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1330 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1331 | -with-* | --with-* | -without-* | --without-* | --x)
1332 case "$ac_configure_args0 " in
1333 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1336 -* ) ac_must_keep_next=true ;;
1339 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1340 # Get rid of the leading space.
1346 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1347 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1349 # When interrupted or exit'd, cleanup temporary files, and complete
1350 # config.log. We remove comments because anyway the quotes in there
1351 # would cause problems or look ugly.
1352 # WARNING: Be sure not to use single quotes in there, as some shells,
1353 # such as our DU 5.0 friend, will then `close
' the trap.
1354 trap 'exit_status
=$?
1355 # Save into config.log some information that might help in debugging.
1360 ## ---------------- ##
1361 ## Cache variables. ##
1362 ## ---------------- ##
1365 # The following way of writing the cache mishandles newlines in values,
1368 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1371 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1376 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1383 ## ----------------- ##
1384 ## Output variables. ##
1385 ## ----------------- ##
1388 for ac_var
in $ac_subst_vars
1390 eval ac_val
=$
`echo $ac_var`
1391 echo "$ac_var='"'"'$ac_val'"'"'"
1395 if test -n "$ac_subst_files"; then
1402 for ac_var
in $ac_subst_files
1404 eval ac_val
=$
`echo $ac_var`
1405 echo "$ac_var='"'"'$ac_val'"'"'"
1410 if test -s confdefs.h
; then
1417 sed "/^$/d" confdefs.h |
sort
1420 test "$ac_signal" != 0 &&
1421 echo "$as_me: caught signal $ac_signal"
1422 echo "$as_me: exit $exit_status"
1424 rm -f core
*.core
&&
1425 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1428 for ac_signal in 1 2 13 15; do
1429 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1433 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1434 rm -rf conftest* confdefs.h
1435 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1438 # Predefined preprocessor variables.
1440 cat >>confdefs.h <<_ACEOF
1441 #define PACKAGE_NAME "$PACKAGE_NAME"
1445 cat >>confdefs.h <<_ACEOF
1446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1450 cat >>confdefs.h <<_ACEOF
1451 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1455 cat >>confdefs.h <<_ACEOF
1456 #define PACKAGE_STRING "$PACKAGE_STRING"
1460 cat >>confdefs.h <<_ACEOF
1461 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1465 # Let the site file select an alternate cache file if it wants to.
1466 # Prefer explicitly selected file to automatically selected ones.
1467 if test -z "$CONFIG_SITE"; then
1468 if test "x$prefix" != xNONE; then
1469 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1471 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1474 for ac_site_file in $CONFIG_SITE; do
1475 if test -r "$ac_site_file"; then
1476 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1477 echo "$as_me: loading site script $ac_site_file" >&6;}
1478 sed 's
/^
/|
/' "$ac_site_file" >&5
1483 if test -r "$cache_file"; then
1484 # Some versions of bash will fail to source /dev/null (special
1485 # files actually), so we avoid doing that.
1486 if test -f "$cache_file"; then
1487 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1488 echo "$as_me: loading cache $cache_file" >&6;}
1490 [\\/]* | ?:[\\/]* ) . $cache_file;;
1491 *) . ./$cache_file;;
1495 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1496 echo "$as_me: creating cache $cache_file" >&6;}
1500 # Check that the precious variables saved in the cache have kept the same
1502 ac_cache_corrupted=false
1503 for ac_var in `(set) 2>&1 |
1504 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1505 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1506 eval ac_new_set=\$ac_env_${ac_var}_set
1507 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1508 eval ac_new_val="\$ac_env_${ac_var}_value"
1509 case $ac_old_set,$ac_new_set in
1511 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1512 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1513 ac_cache_corrupted=: ;;
1515 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1516 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1517 ac_cache_corrupted=: ;;
1520 if test "x$ac_old_val" != "x$ac_new_val"; then
1521 # differences in whitespace do not lead to failure.
1522 ac_old_val_w=`echo x $ac_old_val`
1523 ac_new_val_w=`echo x $ac_new_val`
1524 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1525 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1526 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1527 ac_cache_corrupted=:
1529 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1530 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1531 eval $ac_var=\$ac_old_val
1533 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1534 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1535 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1536 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1539 # Pass precious variables to config.status.
1540 if test "$ac_new_set" = set; then
1542 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1543 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1544 *) ac_arg=$ac_var=$ac_new_val ;;
1546 case " $ac_configure_args " in
1547 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1548 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1552 if $ac_cache_corrupted; then
1553 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1554 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1555 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1556 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1557 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1558 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1559 { (exit 1); exit 1; }; }
1563 ac_cpp='$CPP $CPPFLAGS'
1564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1600 for ac_dir in ../.. $srcdir/../..; do
1601 if test -f $ac_dir/install-sh; then
1603 ac_install_sh="$ac_aux_dir/install-sh -c"
1605 elif test -f $ac_dir/install.sh; then
1607 ac_install_sh="$ac_aux_dir/install.sh -c"
1609 elif test -f $ac_dir/shtool; then
1611 ac_install_sh="$ac_aux_dir/shtool install -c"
1615 if test -z "$ac_aux_dir"; then
1616 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1617 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1618 { (exit 1); exit 1; }; }
1620 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1621 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1622 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1625 # Make sure we can run config.sub.
1626 $ac_config_sub sun4 >/dev/null 2>&1 ||
1627 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1628 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1629 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: checking build system type" >&5
1632 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1633 if test "${ac_cv_build+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_build_alias=$build_alias
1637 test -z "$ac_cv_build_alias" &&
1638 ac_cv_build_alias=`$ac_config_guess`
1639 test -z "$ac_cv_build_alias" &&
1640 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1641 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1642 { (exit 1); exit 1; }; }
1643 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1644 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1645 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1646 { (exit 1); exit 1; }; }
1649 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1650 echo "${ECHO_T}$ac_cv_build" >&6
1652 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1653 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1654 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1657 echo "$as_me:$LINENO: checking host system type" >&5
1658 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1659 if test "${ac_cv_host+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 ac_cv_host_alias=$host_alias
1663 test -z "$ac_cv_host_alias" &&
1664 ac_cv_host_alias=$ac_cv_build_alias
1665 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1666 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1667 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1668 { (exit 1); exit 1; }; }
1671 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1672 echo "${ECHO_T}$ac_cv_host" >&6
1674 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1675 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1676 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1679 echo "$as_me:$LINENO: checking target system type" >&5
1680 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1681 if test "${ac_cv_target+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 ac_cv_target_alias=$target_alias
1685 test "x$ac_cv_target_alias" = "x" &&
1686 ac_cv_target_alias=$ac_cv_host_alias
1687 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1688 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1689 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1690 { (exit 1); exit 1; }; }
1693 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1694 echo "${ECHO_T}$ac_cv_target" >&6
1695 target=$ac_cv_target
1696 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1697 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1698 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1701 # The aliases save the names the user supplied, while $host etc.
1702 # will get canonicalized.
1703 test -n "$target_alias" &&
1704 test "$program_prefix$program_suffix$program_transform_name" = \
1706 program_prefix=${target_alias}-
1708 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1709 if test "${enable_java_maintainer_mode+set}" = set; then
1710 enableval="$enable_java_maintainer_mode"
1715 if test "$enable_java_maintainer_mode" = yes; then
1716 JAVA_MAINTAINER_MODE_TRUE=
1717 JAVA_MAINTAINER_MODE_FALSE='#'
1719 JAVA_MAINTAINER_MODE_TRUE='#'
1720 JAVA_MAINTAINER_MODE_FALSE=
1724 # We would like to our source tree to be readonly. However when releases or
1725 # pre-releases are generated, the man pages need to be included as they are
1726 # converted from the texi files via perl which we don't require end users to
1728 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1730 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1731 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1732 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1733 if test "${enable_generated_files_in_srcdir+set}" = set; then
1734 enableval="$enable_generated_files_in_srcdir"
1735 generated_files_in_srcdir=$enableval
1737 generated_files_in_srcdir=no
1740 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1741 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1744 if test x$generated_files_in_srcdir = xyes; then
1753 # Find the rest of the source tree framework.
1754 # Default to --enable-multilib
1755 # Check whether --enable-multilib or --disable-multilib was given.
1756 if test "${enable_multilib+set}" = set; then
1757 enableval="$enable_multilib"
1758 case "$enableval" in
1759 yes) multilib=yes ;;
1761 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1762 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1763 { (exit 1); exit 1; }; } ;;
1769 # We may get other options which we leave undocumented:
1770 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1771 # See config-ml.in if you want the gory details.
1773 if test "$srcdir" = "."; then
1774 if test "$with_target_subdir" != "."; then
1775 multi_basedir="$srcdir/$with_multisrctop../../.."
1777 multi_basedir="$srcdir/$with_multisrctop../.."
1780 multi_basedir="$srcdir/../.."
1784 # Even if the default multilib is not a cross compilation,
1785 # it may be that some of the other multilibs are.
1786 if test $cross_compiling = no && test $multilib = yes \
1787 && test "x${with_multisubdir}" != x ; then
1788 cross_compiling=maybe
1791 ac_config_commands="$ac_config_commands default-1"
1794 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1807 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1810 CLASSPATH_CONVENIENCE="-no-undefined"
1814 am__api_version="1.9"
1815 # Find a good install program. We prefer a C program (faster),
1816 # so one script is as good as another. But avoid the broken or
1817 # incompatible versions:
1818 # SysV /etc/install, /usr/sbin/install
1819 # SunOS /usr/etc/install
1820 # IRIX /sbin/install
1822 # AmigaOS /C/install, which installs bootblocks on floppy discs
1823 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1824 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1825 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1826 # OS/2's system install, which has a completely different semantic
1827 # ./install, which can be erroneously created by make from ./install.sh.
1828 # Reject install programs that cannot install multiple files.
1829 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1830 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1831 if test -z "$INSTALL"; then
1832 if test "${ac_cv_path_install+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir=.
1840 # Account for people who put trailing slashes in PATH elements.
1842 ./ | .// | /cC/* | \
1843 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1844 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1847 # OSF1 and SCO ODT 3.0 have their own names for install.
1848 # Don't use installbsd from OSF since it installs stuff as root
1850 for ac_prog in ginstall scoinst install; do
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1853 if test $ac_prog = install &&
1854 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1855 # AIX install. It has an incompatible calling convention.
1857 elif test $ac_prog = install &&
1858 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1859 # program-specific install script used by HP pwplus--don't use.
1862 rm -rf conftest.one conftest.two conftest.dir
1863 echo one > conftest.one
1864 echo two > conftest.two
1866 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1867 test -s conftest.one && test -s conftest.two &&
1868 test -s conftest.dir/conftest.one &&
1869 test -s conftest.dir/conftest.two
1871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1882 rm -rf conftest.one conftest.two conftest.dir
1885 if test "${ac_cv_path_install+set}" = set; then
1886 INSTALL=$ac_cv_path_install
1888 # As a last resort, use the slow shell script. Don't cache a
1889 # value for INSTALL within a source directory, because that will
1890 # break other packages using the cache if that directory is
1891 # removed, or if the value is a relative name.
1892 INSTALL=$ac_install_sh
1895 echo "$as_me:$LINENO: result: $INSTALL" >&5
1896 echo "${ECHO_T}$INSTALL" >&6
1898 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1899 # It thinks the first close brace ends the variable substitution.
1900 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1902 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1904 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1906 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1907 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1910 echo timestamp > conftest.file
1911 # Do `set' in a subshell so we don't clobber the current shell
's
1912 # arguments. Must try -L first in case configure is actually a
1913 # symlink; some systems play weird games with the mod time of symlinks
1914 # (eg FreeBSD returns the mod time of the symlink's containing
1917 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1918 if test "$*" = "X"; then
1920 set X
`ls -t $srcdir/configure conftest.file`
1923 if test "$*" != "X $srcdir/configure conftest.file" \
1924 && test "$*" != "X conftest.file $srcdir/configure"; then
1926 # If neither matched, then we have a broken ls. This can happen
1927 # if, for instance, CONFIG_SHELL is bash and it inherits a
1928 # broken ls alias from the environment. This has actually
1929 # happened. Such a system could not be considered "sane".
1930 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1931 alias in your environment" >&5
1932 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1933 alias in your environment" >&2;}
1934 { (exit 1); exit 1; }; }
1937 test "$2" = conftest.
file
1943 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1944 Check your system clock" >&5
1945 echo "$as_me: error: newly created file is older than distributed files!
1946 Check your system clock" >&2;}
1947 { (exit 1); exit 1; }; }
1949 echo "$as_me:$LINENO: result: yes" >&5
1950 echo "${ECHO_T}yes" >&6
1951 test "$program_prefix" != NONE
&&
1952 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1953 # Use a double $ so make ignores it.
1954 test "$program_suffix" != NONE
&&
1955 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1956 # Double any \ or $. echo might interpret backslashes.
1957 # By default was `s,x,x', remove it if useless.
1958 cat <<\_ACEOF
>conftest.
sed
1959 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1961 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1964 # expand $ac_aux_dir to an absolute path
1965 am_aux_dir
=`cd $ac_aux_dir && pwd`
1967 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1968 # Use eval to expand $SHELL
1969 if eval "$MISSING --run true"; then
1970 am_missing_run
="$MISSING --run "
1973 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1974 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1977 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1978 # We used to keeping the `.' as first argument, in order to
1979 # allow $(mkdir_p) to be used without argument. As in
1980 # $(mkdir_p) $(somedir)
1981 # where $(somedir) is conditionally defined. However this is wrong
1983 # 1. if the package is installed by a user who cannot write `.'
1984 # make install will fail,
1985 # 2. the above comment should most certainly read
1986 # $(mkdir_p) $(DESTDIR)$(somedir)
1987 # so it does not work when $(somedir) is undefined and
1988 # $(DESTDIR) is not.
1989 # To support the latter case, we have to write
1990 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1991 # so the `.' trick is pointless.
1992 mkdir_p
='mkdir -p --'
1994 # On NextStep and OpenStep, the `mkdir' command does not
1995 # recognize any option. It will interpret all options as
1996 # directories to create, and then abort because `.' already
1998 for d
in .
/-p .
/--version;
2000 test -d $d && rmdir $d
2002 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2003 if test -f "$ac_aux_dir/mkinstalldirs"; then
2004 mkdir_p
='$(mkinstalldirs)'
2006 mkdir_p
='$(install_sh) -d'
2010 for ac_prog
in gawk mawk nawk
awk
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
2013 set dummy
$ac_prog; ac_word
=$2
2014 echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2016 if test "${ac_cv_prog_AWK+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 if test -n "$AWK"; then
2020 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir
=.
2027 for ac_exec_ext
in '' $ac_executable_extensions; do
2028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_AWK
="$ac_prog"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 if test -n "$AWK"; then
2040 echo "$as_me:$LINENO: result: $AWK" >&5
2041 echo "${ECHO_T}$AWK" >&6
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2047 test -n "$AWK" && break
2050 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2051 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2052 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2053 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 cat >conftest.
make <<\_ACEOF
2058 @
echo 'ac_maketemp="$(MAKE)"'
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2061 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2062 if test -n "$ac_maketemp"; then
2063 eval ac_cv_prog_make_
${ac_make}_set
=yes
2065 eval ac_cv_prog_make_
${ac_make}_set
=no
2069 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2070 echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6
2074 echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6
2076 SET_MAKE
="MAKE=${MAKE-make}"
2079 rm -rf .tst
2>/dev
/null
2080 mkdir .tst
2>/dev
/null
2081 if test -d .tst
; then
2086 rmdir .tst
2>/dev
/null
2088 # test to see if srcdir already configured
2089 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2090 test -f $srcdir/config.status
; then
2091 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2092 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2093 { (exit 1); exit 1; }; }
2096 # test whether we have cygpath
2097 if test -z "$CYGPATH_W"; then
2098 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2099 CYGPATH_W
='cygpath -w'
2106 # Define the identity of the package.
2111 cat >>confdefs.h
<<_ACEOF
2112 #define PACKAGE "$PACKAGE"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define VERSION "$VERSION"
2120 # Some tools Automake needs.
2122 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2125 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2128 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2131 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2134 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2136 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2138 # Installed binaries are usually stripped using `strip' when the user
2139 # run `make install-strip'. However `strip' might not be the right
2140 # tool to use in cross-compilation environments, therefore Automake
2141 # will honor the `STRIP' environment variable to overrule this program.
2142 if test "$cross_compiling" != no
; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2145 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_STRIP+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$STRIP"; then
2152 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 STRIP
=$ac_cv_prog_STRIP
2171 if test -n "$STRIP"; then
2172 echo "$as_me:$LINENO: result: $STRIP" >&5
2173 echo "${ECHO_T}$STRIP" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2180 if test -z "$ac_cv_prog_STRIP"; then
2182 # Extract the first word of "strip", so it can be a program name with args.
2183 set dummy strip
; ac_word
=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$ac_ct_STRIP"; then
2190 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 for ac_exec_ext
in '' $ac_executable_extensions; do
2198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2199 ac_cv_prog_ac_ct_STRIP
="strip"
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2209 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2210 if test -n "$ac_ct_STRIP"; then
2211 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2212 echo "${ECHO_T}$ac_ct_STRIP" >&6
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2220 STRIP
="$ac_cv_prog_STRIP"
2224 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2226 # We need awk for the "check" target. The system "awk" is bad on
2228 # Always define AMTAR for backward compatibility.
2230 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2233 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2234 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2235 # Loop over all known methods to create a tar archive until one works.
2236 _am_tools
='gnutar plaintar pax cpio none'
2237 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2238 # Do not fold the above two line into one, because Tru64 sh and
2239 # Solaris sh will not grok spaces in the rhs of `-'.
2240 for _am_tool
in $_am_tools
2244 for _am_tar
in tar gnutar gtar
;
2246 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2247 ($_am_tar --version) >&5 2>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } && break
2252 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2253 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2254 am__untar
="$_am_tar -xf -"
2257 # Must skip GNU tar: if it does not support --format= it doesn't create
2258 # ustar tarball either.
2259 (tar --version) >/dev
/null
2>&1 && continue
2260 am__tar
='tar chf - "$$tardir"'
2261 am__tar_
='tar chf - "$tardir"'
2262 am__untar
='tar xf -'
2265 am__tar
='pax -L -x ustar -w "$$tardir"'
2266 am__tar_
='pax -L -x ustar -w "$tardir"'
2270 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2271 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2272 am__untar
='cpio -i -H ustar -d'
2281 # If the value was cached, stop now. We just wanted to have am__tar
2282 # and am__untar set.
2283 test -n "${am_cv_prog_tar_ustar}" && break
2285 # tar/untar a dummy directory, and stop if the command works
2288 echo GrepMe
> conftest.dir
/file
2289 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2290 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }
2295 if test -s conftest.
tar; then
2296 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2297 ($am__untar <conftest.
tar) >&5 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }
2301 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2306 if test "${am_cv_prog_tar_ustar+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 am_cv_prog_tar_ustar
=$_am_tool
2312 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2313 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2319 ac_config_headers
="$ac_config_headers include/config.h"
2325 # Check whether --enable-collections or --disable-collections was given.
2326 if test "${enable_collections+set}" = set; then
2327 enableval
="$enable_collections"
2328 case x
"${enableval}" in
2329 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2330 xno
) COMPILE_COLLECTIONS
=no
;;
2331 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2332 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2335 COMPILE_COLLECTIONS
=no
2339 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2340 CREATE_COLLECTIONS_TRUE
=
2341 CREATE_COLLECTIONS_FALSE
='#'
2343 CREATE_COLLECTIONS_TRUE
='#'
2344 CREATE_COLLECTIONS_FALSE
=
2348 # Check whether --enable-jni or --disable-jni was given.
2349 if test "${enable_jni+set}" = set; then
2350 enableval
="$enable_jni"
2351 case "${enableval}" in
2352 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2353 no
) COMPILE_JNI
=no
;;
2354 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2361 if test "x${COMPILE_JNI}" = xyes
; then
2362 CREATE_JNI_LIBRARIES_TRUE
=
2363 CREATE_JNI_LIBRARIES_FALSE
='#'
2365 CREATE_JNI_LIBRARIES_TRUE
='#'
2366 CREATE_JNI_LIBRARIES_FALSE
=
2370 # Check whether --enable-core-jni or --disable-core-jni was given.
2371 if test "${enable_core_jni+set}" = set; then
2372 enableval
="$enable_core_jni"
2373 case "${enableval}" in
2374 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2375 no
) COMPILE_CORE_JNI
=no
;;
2376 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2379 COMPILE_CORE_JNI
=yes
2383 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2384 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2385 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2387 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2388 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2392 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2393 if test "${enable_default_preferences_peer+set}" = set; then
2394 enableval
="$enable_default_preferences_peer"
2395 case "${enableval}" in
2396 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2397 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2398 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2399 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2400 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2401 { (exit 1); exit 1; }; } ;;
2402 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2405 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2408 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2409 if test "${enable_gconf_peer+set}" = set; then
2410 enableval
="$enable_gconf_peer"
2411 case "${enableval}" in
2412 yes) COMPILE_GCONF_PEER
=yes ;;
2413 no
) COMPILE_GCONF_PEER
=no
;;
2414 *) COMPILE_GCONF_PEER
=yes ;;
2417 COMPILE_GCONF_PEER
=yes
2421 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2422 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2423 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2425 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2426 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2430 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2431 if test "${enable_gconf_peers+set}" = set; then
2432 enableval
="$enable_gconf_peers"
2433 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2434 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2435 { (exit 1); exit 1; }; }
2438 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2439 if test "${enable_gstreamer_peer+set}" = set; then
2440 enableval
="$enable_gstreamer_peer"
2441 case "${enableval}" in
2442 yes) COMPILE_GSTREAMER_PEER
=yes ;;
2443 no
) COMPILE_GSTREAMER_PEER
=no
;;
2444 *) COMPILE_GSTREAMER_PEER
=default
;;
2447 COMPILE_GSTREAMER_PEER
=default
2451 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
2452 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
=
2453 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
='#'
2455 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
='#'
2456 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
=
2460 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2461 if test "${enable_gstreamer_peers+set}" = set; then
2462 enableval
="$enable_gstreamer_peers"
2463 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2464 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2465 { (exit 1); exit 1; }; }
2468 # Check whether --enable-Werror or --disable-Werror was given.
2469 if test "${enable_Werror+set}" = set; then
2470 enableval
="$enable_Werror"
2471 case "${enableval}" in
2472 yes) ENABLE_WERROR
=yes ;;
2473 no
) ENABLE_WERROR
=no
;;
2474 *) ENABLE_WERROR
=default
;;
2477 ENABLE_WERROR
=default
2480 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2481 if test "${enable_default_toolkit+set}" = set; then
2482 enableval
="$enable_default_toolkit"
2485 default_toolkit
=$enable_default_toolkit
2486 if test "$default_toolkit" = ""; then
2487 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2491 # Check whether --enable-xmlj or --disable-xmlj was given.
2492 if test "${enable_xmlj+set}" = set; then
2493 enableval
="$enable_xmlj"
2494 case "${enableval}" in
2495 yes) COMPILE_XMLJ
=yes ;;
2496 no
) COMPILE_XMLJ
=no
;;
2497 *) COMPILE_XMLJ
=no
;;
2504 if test "x${COMPILE_XMLJ}" = xyes
; then
2505 CREATE_XMLJ_LIBRARY_TRUE
=
2506 CREATE_XMLJ_LIBRARY_FALSE
='#'
2508 CREATE_XMLJ_LIBRARY_TRUE
='#'
2509 CREATE_XMLJ_LIBRARY_FALSE
=
2513 DEPDIR
="${am__leading_dot}deps"
2515 ac_config_commands
="$ac_config_commands depfiles"
2518 am_make
=${MAKE-make}
2519 cat > confinc
<< 'END'
2524 # If we don't find an include directive, just comment out the code.
2525 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2526 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2530 # First try GNU make style include.
2531 echo "include confinc" > confmf
2532 # We grep out `Entering directory' and `Leaving directory'
2533 # messages which can occur if `w' ends up in MAKEFLAGS.
2534 # In particular we don't look at `^make:' because GNU make might
2535 # be invoked under some other name (usually "gmake"), in which
2536 # case it prints its new name instead of `make'.
2537 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2542 # Now try BSD make style include.
2543 if test "$am__include" = "#"; then
2544 echo '.include "confinc"' > confmf
2545 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2546 am__include
=.include
2553 echo "$as_me:$LINENO: result: $_am_result" >&5
2554 echo "${ECHO_T}$_am_result" >&6
2555 rm -f confinc confmf
2557 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2558 if test "${enable_dependency_tracking+set}" = set; then
2559 enableval
="$enable_dependency_tracking"
2562 if test "x$enable_dependency_tracking" != xno
; then
2563 am_depcomp
="$ac_aux_dir/depcomp"
2568 if test "x$enable_dependency_tracking" != xno; then
2579 ac_cpp
='$CPP $CPPFLAGS'
2580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2583 if test -n "$ac_tool_prefix"; then
2584 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2585 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2586 echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2588 if test "${ac_cv_prog_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$CC"; then
2592 ac_cv_prog_CC
="$CC" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test -n "$CC"; then
2612 echo "$as_me:$LINENO: result: $CC" >&5
2613 echo "${ECHO_T}$CC" >&6
2615 echo "$as_me:$LINENO: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2620 if test -z "$ac_cv_prog_CC"; then
2622 # Extract the first word of "gcc", so it can be a program name with args.
2623 set dummy gcc
; ac_word
=$2
2624 echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 if test -n "$ac_ct_CC"; then
2630 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 for ac_exec_ext
in '' $ac_executable_extensions; do
2638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_ac_ct_CC
="gcc"
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2649 if test -n "$ac_ct_CC"; then
2650 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2651 echo "${ECHO_T}$ac_ct_CC" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2662 if test -z "$CC"; then
2663 if test -n "$ac_tool_prefix"; then
2664 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2665 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2666 echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2668 if test "${ac_cv_prog_CC+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 if test -n "$CC"; then
2672 ac_cv_prog_CC
="$CC" # Let the user override the test.
2674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir
=.
2679 for ac_exec_ext
in '' $ac_executable_extensions; do
2680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CC"; then
2692 echo "$as_me:$LINENO: result: $CC" >&5
2693 echo "${ECHO_T}$CC" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2700 if test -z "$ac_cv_prog_CC"; then
2702 # Extract the first word of "cc", so it can be a program name with args.
2703 set dummy cc
; ac_word
=$2
2704 echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 if test -n "$ac_ct_CC"; then
2710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_ac_ct_CC
="cc"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2731 echo "${ECHO_T}$ac_ct_CC" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2743 if test -z "$CC"; then
2744 # Extract the first word of "cc", so it can be a program name with args.
2745 set dummy cc
; ac_word
=$2
2746 echo "$as_me:$LINENO: checking for $ac_word" >&5
2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2748 if test "${ac_cv_prog_CC+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC
="$CC" # Let the user override the test.
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir
=.
2760 for ac_exec_ext
in '' $ac_executable_extensions; do
2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2763 ac_prog_rejected
=yes
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 if test $ac_prog_rejected = yes; then
2774 # We found a bogon in the path, so make sure we never use it.
2775 set dummy
$ac_cv_prog_CC
2777 if test $# != 0; then
2778 # We chose a different compiler from the bogus one.
2779 # However, it has the same basename, so the bogon will be chosen
2780 # first if we set CC to just the basename; use the full file name.
2782 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2788 if test -n "$CC"; then
2789 echo "$as_me:$LINENO: result: $CC" >&5
2790 echo "${ECHO_T}$CC" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2797 if test -z "$CC"; then
2798 if test -n "$ac_tool_prefix"; then
2801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2802 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2803 echo "$as_me:$LINENO: checking for $ac_word" >&5
2804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2805 if test "${ac_cv_prog_CC+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 if test -n "$CC"; then
2809 ac_cv_prog_CC
="$CC" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 if test -n "$CC"; then
2829 echo "$as_me:$LINENO: result: $CC" >&5
2830 echo "${ECHO_T}$CC" >&6
2832 echo "$as_me:$LINENO: result: no" >&5
2833 echo "${ECHO_T}no" >&6
2836 test -n "$CC" && break
2839 if test -z "$CC"; then
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy
$ac_prog; ac_word
=$2
2845 echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_ac_ct_CC
="$ac_prog"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2870 if test -n "$ac_ct_CC"; then
2871 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2872 echo "${ECHO_T}$ac_ct_CC" >&6
2874 echo "$as_me:$LINENO: result: no" >&5
2875 echo "${ECHO_T}no" >&6
2878 test -n "$ac_ct_CC" && break
2887 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2888 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2889 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }; }
2895 # Provide some information about the compiler.
2896 echo "$as_me:$LINENO:" \
2897 "checking for C compiler version" >&5
2898 ac_compiler
=`set X $ac_compile; echo $2`
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2900 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2905 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2910 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2932 (eval $ac_link) 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; then
2941 if test x
$gcc_no_link = xyes
; then
2942 # Setting cross_compile will disable run tests; it will
2943 # also disable AC_CHECK_FILE but that's generally
2944 # correct if we can't link.
2948 cat >conftest.
$ac_ext <<_ACEOF
2951 cat confdefs.h
>>conftest.
$ac_ext
2952 cat >>conftest.
$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2963 ac_clean_files_save
=$ac_clean_files
2964 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2965 # Try to create an executable without -o first, disregard a.out.
2966 # It will help us diagnose broken compilers, and finding out an intuition
2968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2970 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2972 (eval $ac_link_default) 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; then
2976 # Find the output, starting from the most likely. This scheme is
2977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2980 # Be careful to initialize this variable, since it used to be cached.
2981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2983 # b.out is created by i960 compilers.
2984 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2986 test -f "$ac_file" ||
continue
2988 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2991 # This is the source file.
2994 # We found the default executable, but exeext='' is most
2998 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999 # FIXME: I believe we export ac_cv_exeext for Libtool,
3000 # but it would be cool to find out if it's true. Does anybody
3001 # maintain Libtool? --akim.
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3012 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3015 See \`config.log' for more details." >&5
3016 echo "$as_me: error: C compiler cannot create executables
3017 See \`config.log' for more details." >&2;}
3018 { (exit 77); exit 77; }; }; }
3021 ac_exeext
=$ac_cv_exeext
3022 echo "$as_me:$LINENO: result: $ac_file" >&5
3023 echo "${ECHO_T}$ac_file" >&6
3025 # Check the compiler produces executables we can run. If not, either
3026 # the compiler is broken, or we cross compile.
3027 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3030 # If not cross compiling, check that we can run a simple program.
3031 if test "$cross_compiling" != yes; then
3032 if { ac_try
='./$ac_file'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3040 if test "$cross_compiling" = maybe
; then
3043 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3044 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3046 If you meant to cross compile, use \`--host'.
3047 See \`config.log' for more details." >&5
3048 echo "$as_me: error: cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details." >&2;}
3051 { (exit 1); exit 1; }; }; }
3055 echo "$as_me:$LINENO: result: yes" >&5
3056 echo "${ECHO_T}yes" >&6
3058 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3059 ac_clean_files
=$ac_clean_files_save
3060 # Check the compiler produces executables we can run. If not, either
3061 # the compiler is broken, or we cross compile.
3062 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3063 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3064 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3065 echo "${ECHO_T}$cross_compiling" >&6
3067 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3068 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3070 (eval $ac_link) 2>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; then
3074 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3075 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3076 # work properly (i.e., refer to `conftest.exe'), while it won't with
3078 for ac_file
in conftest.exe conftest conftest.
*; do
3079 test -f "$ac_file" ||
continue
3081 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3082 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3089 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3090 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3092 See \`config.log' for more details." >&5
3093 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3094 See \`config.log' for more details." >&2;}
3095 { (exit 1); exit 1; }; }; }
3098 rm -f conftest
$ac_cv_exeext
3099 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3100 echo "${ECHO_T}$ac_cv_exeext" >&6
3102 rm -f conftest.
$ac_ext
3103 EXEEXT
=$ac_cv_exeext
3106 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3107 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3108 if test "${ac_cv_objext+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 cat >conftest.
$ac_ext <<_ACEOF
3114 cat confdefs.h
>>conftest.
$ac_ext
3115 cat >>conftest.
$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.o conftest.obj
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3132 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3134 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3135 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.
$ac_ext >&5
3143 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3144 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3146 See \`config.log' for more details." >&5
3147 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3148 See \`config.log' for more details." >&2;}
3149 { (exit 1); exit 1; }; }; }
3152 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3155 echo "${ECHO_T}$ac_cv_objext" >&6
3156 OBJEXT
=$ac_cv_objext
3158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3160 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3163 cat >conftest.
$ac_ext <<_ACEOF
3166 cat confdefs.h
>>conftest.
$ac_ext
3167 cat >>conftest.
$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3181 rm -f conftest.
$ac_objext
3182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3183 (eval $ac_compile) 2>conftest.er1
3185 grep -v '^ *+' conftest.er1
>conftest.err
3187 cat conftest.err
>&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } &&
3190 { ac_try
='test -z "$ac_c_werror_flag"
3191 || test ! -s conftest.err'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; } &&
3197 { ac_try
='test -s conftest.$ac_objext'
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }; }; then
3205 echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.
$ac_ext >&5
3210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3211 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3214 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3215 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3216 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3217 ac_test_CFLAGS
=${CFLAGS+set}
3218 ac_save_CFLAGS
=$CFLAGS
3220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3222 if test "${ac_cv_prog_cc_g+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3240 rm -f conftest.
$ac_objext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242 (eval $ac_compile) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try
='test -z "$ac_c_werror_flag"
3250 || test ! -s conftest.err'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; } &&
3256 { ac_try
='test -s conftest.$ac_objext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.
$ac_ext >&5
3269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3273 if test "$ac_test_CFLAGS" = set; then
3274 CFLAGS
=$ac_save_CFLAGS
3275 elif test $ac_cv_prog_cc_g = yes; then
3276 if test "$GCC" = yes; then
3282 if test "$GCC" = yes; then
3288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3290 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_cv_prog_cc_stdc
=no
3295 cat >conftest.
$ac_ext <<_ACEOF
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3303 #include <sys/types.h>
3304 #include <sys/stat.h>
3305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3306 struct buf { int x; };
3307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3308 static char *e (p, i)
3314 static char *f (char * (*g) (char **, int), char **p, ...)
3319 s = g (p, va_arg (v,int));
3324 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3325 function prototypes and stuff, but not '\xHH' hex character constants.
3326 These don't provoke an error unfortunately, instead are silently treated
3327 as 'x'. The following induces an error, until -std1 is added to get
3328 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3329 array size at least. It's necessary to write '\x00'==0 to get something
3330 that's true only with -std1. */
3331 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3333 int test (int i, double x);
3334 struct s1 {int (*f) (int a);};
3335 struct s2 {int (*f) (double a);};
3336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3347 # Don't try gcc -ansi; that turns off useful extensions and
3348 # breaks some systems' header files.
3349 # AIX -qlanglvl=ansi
3350 # Ultrix and OSF/1 -std1
3351 # HP-UX 10.20 and later -Ae
3352 # HP-UX older versions -Aa -D_HPUX_SOURCE
3353 # SVR4 -Xc -D__EXTENSIONS__
3354 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3356 CC
="$ac_save_CC $ac_arg"
3357 rm -f conftest.
$ac_objext
3358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>conftest.er1
3361 grep -v '^ *+' conftest.er1
>conftest.err
3363 cat conftest.err
>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try
='test -z "$ac_c_werror_flag"
3367 || test ! -s conftest.err'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; } &&
3373 { ac_try
='test -s conftest.$ac_objext'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3379 ac_cv_prog_cc_stdc
=$ac_arg
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.
$ac_ext >&5
3386 rm -f conftest.err conftest.
$ac_objext
3388 rm -f conftest.
$ac_ext conftest.
$ac_objext
3393 case "x$ac_cv_prog_cc_stdc" in
3395 echo "$as_me:$LINENO: result: none needed" >&5
3396 echo "${ECHO_T}none needed" >&6 ;;
3398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3399 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3400 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3403 # Some people use a C++ compiler to compile C. Since we use `exit',
3404 # in C++ we need to declare it. In case someone uses the same compiler
3405 # for both compiling C and C++ we need to have the C++ compiler decide
3406 # the declaration of exit, since it's the most demanding environment.
3407 cat >conftest.
$ac_ext <<_ACEOF
3412 rm -f conftest.
$ac_objext
3413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3414 (eval $ac_compile) 2>conftest.er1
3416 grep -v '^ *+' conftest.er1
>conftest.err
3418 cat conftest.err
>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } &&
3421 { ac_try
='test -z "$ac_c_werror_flag"
3422 || test ! -s conftest.err'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; } &&
3428 { ac_try
='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 for ac_declaration
in \
3436 'extern "C" void std::exit (int) throw (); using std::exit;' \
3437 'extern "C" void std::exit (int); using std::exit;' \
3438 'extern "C" void exit (int) throw ();' \
3439 'extern "C" void exit (int);' \
3442 cat >conftest.
$ac_ext <<_ACEOF
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3458 rm -f conftest.
$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3488 cat >conftest.
$ac_ext <<_ACEOF
3491 cat confdefs.h
>>conftest.
$ac_ext
3492 cat >>conftest.
$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3503 rm -f conftest.
$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try
='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; } &&
3519 { ac_try
='test -s conftest.$ac_objext'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.
$ac_ext >&5
3531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3534 if test -n "$ac_declaration"; then
3535 echo '#ifdef __cplusplus' >>confdefs.h
3536 echo $ac_declaration >>confdefs.h
3537 echo '#endif' >>confdefs.h
3541 echo "$as_me: failed program was:" >&5
3542 sed 's/^/| /' conftest.
$ac_ext >&5
3545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3552 depcc
="$CC" am_compiler_list
=
3554 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3555 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3556 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3560 # We make a subdir and do the tests there. Otherwise we can end up
3561 # making bogus files that we don't know about and never remove. For
3562 # instance it was reported that on HP-UX the gcc test will end up
3563 # making a dummy file named `D' -- because `-MD' means `put the output
3566 # Copy depcomp to subdir because otherwise we won't find it if we're
3567 # using a relative directory.
3568 cp "$am_depcomp" conftest.dir
3570 # We will build objects and dependencies in a subdirectory because
3571 # it helps to detect inapplicable dependency modes. For instance
3572 # both Tru64's cc and ICC support -MD to output dependencies as a
3573 # side effect of compilation, but ICC will put the dependencies in
3574 # the current directory while Tru64 will put them in the object
3578 am_cv_CC_dependencies_compiler_type
=none
3579 if test "$am_compiler_list" = ""; then
3580 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3582 for depmode
in $am_compiler_list; do
3583 # Setup a source with many dependencies, because some compilers
3584 # like to wrap large dependency lists on column 80 (with \), and
3585 # we should not choose a depcomp mode which is confused by this.
3587 # We need to recreate these files for each test, as the compiler may
3588 # overwrite some of them when testing with obscure command lines.
3589 # This happens at least with the AIX C compiler.
3591 for i
in 1 2 3 4 5 6; do
3592 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3593 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3594 # Solaris 8's {/usr,}/bin/sh.
3595 touch sub
/conftst
$i.h
3597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3601 # after this tag, mechanisms are not by side-effect, so they'll
3602 # only be used when explicitly requested
3603 if test "x$enable_dependency_tracking" = xyes
; then
3611 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3612 # mode. It turns out that the SunPro C++ compiler does not properly
3613 # handle `-M -o', and we need to detect this.
3614 if depmode
=$depmode \
3615 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3616 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3617 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3618 >/dev
/null
2>conftest.err
&&
3619 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3620 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3621 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3622 # icc doesn't choke on unknown options, it will just issue warnings
3623 # or remarks (even with -Werror). So we grep stderr for any message
3624 # that says an option was ignored or not supported.
3625 # When given -MP, icc 7.0 and 7.1 complain thusly:
3626 # icc: Command line warning: ignoring option '-M'; no argument required
3627 # The diagnosis changed in icc 8.0:
3628 # icc: Command line remark: option '-MP' not supported
3629 if (grep 'ignoring option' conftest.err ||
3630 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3631 am_cv_CC_dependencies_compiler_type
=$depmode
3640 am_cv_CC_dependencies_compiler_type
=none
3644 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3645 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3646 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3651 test "x$enable_dependency_tracking" != xno \
3652 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3654 am__fastdepCC_FALSE
='#'
3656 am__fastdepCC_TRUE
='#'
3657 am__fastdepCC_FALSE
=
3663 ac_cpp
='$CPP $CPPFLAGS'
3664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3667 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3669 # On Suns, sometimes $CPP names a directory.
3670 if test -n "$CPP" && test -d "$CPP"; then
3673 if test -z "$CPP"; then
3674 if test "${ac_cv_prog_CPP+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 # Double quotes because CPP needs to be expanded
3678 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3681 for ac_c_preproc_warn_flag
in '' yes
3683 # Use a header file that comes with gcc, so configuring glibc
3684 # with a fresh cross-compiler works.
3685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3686 # <limits.h> exists even on freestanding compilers.
3687 # On the NeXT, cc -E runs the code through the compiler's parser,
3688 # not just through cpp. "Syntax error" is here to catch this case.
3689 cat >conftest.
$ac_ext <<_ACEOF
3692 cat confdefs.h
>>conftest.
$ac_ext
3693 cat >>conftest.
$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3696 # include <limits.h>
3698 # include <assert.h>
3702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3705 grep -v '^ *+' conftest.er1
>conftest.err
3707 cat conftest.err
>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } >/dev
/null
; then
3710 if test -s conftest.err
; then
3711 ac_cpp_err
=$ac_c_preproc_warn_flag
3712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3719 if test -z "$ac_cpp_err"; then
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 # Broken: fails on valid input.
3728 rm -f conftest.err conftest.
$ac_ext
3730 # OK, works on sane cases. Now check whether non-existent headers
3731 # can be detected and how.
3732 cat >conftest.
$ac_ext <<_ACEOF
3735 cat confdefs.h
>>conftest.
$ac_ext
3736 cat >>conftest.
$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3743 grep -v '^ *+' conftest.er1
>conftest.err
3745 cat conftest.err
>&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } >/dev
/null
; then
3748 if test -s conftest.err
; then
3749 ac_cpp_err
=$ac_c_preproc_warn_flag
3750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3757 if test -z "$ac_cpp_err"; then
3758 # Broken: success on invalid input.
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.
$ac_ext >&5
3764 # Passes both tests.
3768 rm -f conftest.err conftest.
$ac_ext
3771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3772 rm -f conftest.err conftest.
$ac_ext
3773 if $ac_preproc_ok; then
3785 echo "$as_me:$LINENO: result: $CPP" >&5
3786 echo "${ECHO_T}$CPP" >&6
3788 for ac_c_preproc_warn_flag
in '' yes
3790 # Use a header file that comes with gcc, so configuring glibc
3791 # with a fresh cross-compiler works.
3792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3793 # <limits.h> exists even on freestanding compilers.
3794 # On the NeXT, cc -E runs the code through the compiler's parser,
3795 # not just through cpp. "Syntax error" is here to catch this case.
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3803 # include <limits.h>
3805 # include <assert.h>
3809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3812 grep -v '^ *+' conftest.er1
>conftest.err
3814 cat conftest.err
>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } >/dev
/null
; then
3817 if test -s conftest.err
; then
3818 ac_cpp_err
=$ac_c_preproc_warn_flag
3819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3826 if test -z "$ac_cpp_err"; then
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.
$ac_ext >&5
3832 # Broken: fails on valid input.
3835 rm -f conftest.err conftest.
$ac_ext
3837 # OK, works on sane cases. Now check whether non-existent headers
3838 # can be detected and how.
3839 cat >conftest.
$ac_ext <<_ACEOF
3842 cat confdefs.h
>>conftest.
$ac_ext
3843 cat >>conftest.
$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3845 #include <ac_nonexistent.h>
3847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev
/null
; then
3855 if test -s conftest.err
; then
3856 ac_cpp_err
=$ac_c_preproc_warn_flag
3857 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3864 if test -z "$ac_cpp_err"; then
3865 # Broken: success on invalid input.
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 # Passes both tests.
3875 rm -f conftest.err conftest.
$ac_ext
3878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3879 rm -f conftest.err conftest.
$ac_ext
3880 if $ac_preproc_ok; then
3883 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3884 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3886 See \`config.log' for more details." >&5
3887 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3888 See \`config.log' for more details." >&2;}
3889 { (exit 1); exit 1; }; }; }
3893 ac_cpp
='$CPP $CPPFLAGS'
3894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3899 echo "$as_me:$LINENO: checking for egrep" >&5
3900 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3901 if test "${ac_cv_prog_egrep+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3905 then ac_cv_prog_egrep
='grep -E'
3906 else ac_cv_prog_egrep
='egrep'
3909 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3910 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3911 EGREP
=$ac_cv_prog_egrep
3914 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3915 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3916 if test "${ac_cv_header_stdc+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3938 rm -f conftest.
$ac_objext
3939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940 (eval $ac_compile) 2>conftest.er1
3942 grep -v '^ *+' conftest.er1
>conftest.err
3944 cat conftest.err
>&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); } &&
3947 { ac_try
='test -z "$ac_c_werror_flag"
3948 || test ! -s conftest.err'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; } &&
3954 { ac_try
='test -s conftest.$ac_objext'
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }; }; then
3960 ac_cv_header_stdc
=yes
3962 echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.
$ac_ext >&5
3965 ac_cv_header_stdc
=no
3967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3969 if test $ac_cv_header_stdc = yes; then
3970 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3971 cat >conftest.
$ac_ext <<_ACEOF
3974 cat confdefs.h
>>conftest.
$ac_ext
3975 cat >>conftest.
$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981 $EGREP "memchr" >/dev
/null
2>&1; then
3984 ac_cv_header_stdc
=no
3990 if test $ac_cv_header_stdc = yes; then
3991 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3992 cat >conftest.
$ac_ext <<_ACEOF
3995 cat confdefs.h
>>conftest.
$ac_ext
3996 cat >>conftest.
$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
4001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4002 $EGREP "free" >/dev
/null
2>&1; then
4005 ac_cv_header_stdc
=no
4011 if test $ac_cv_header_stdc = yes; then
4012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4013 if test "$cross_compiling" = yes; then
4016 cat >conftest.
$ac_ext <<_ACEOF
4019 cat confdefs.h
>>conftest.
$ac_ext
4020 cat >>conftest.
$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4023 #if ((' ' & 0x0FF) == 0x020)
4024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4027 # define ISLOWER(c) \
4028 (('a' <= (c) && (c) <= 'i') \
4029 || ('j' <= (c) && (c) <= 'r') \
4030 || ('s' <= (c) && (c) <= 'z'))
4031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4039 for (i = 0; i < 256; i++)
4040 if (XOR (islower (i), ISLOWER (i))
4041 || toupper (i) != TOUPPER (i))
4046 rm -f conftest
$ac_exeext
4047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4048 (eval $ac_link) 2>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4059 echo "$as_me: program exited with status $ac_status" >&5
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4064 ac_cv_header_stdc
=no
4066 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4070 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4071 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4072 if test $ac_cv_header_stdc = yes; then
4074 cat >>confdefs.h
<<\_ACEOF
4075 #define STDC_HEADERS 1
4080 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4090 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4091 inttypes.h stdint.h unistd.h
4093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 echo "$as_me:$LINENO: checking for $ac_header" >&5
4095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 cat >conftest.
$ac_ext <<_ACEOF
4102 cat confdefs.h
>>conftest.
$ac_ext
4103 cat >>conftest.
$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 $ac_includes_default
4107 #include <$ac_header>
4109 rm -f conftest.
$ac_objext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 (eval $ac_compile) 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try
='test -z "$ac_c_werror_flag"
4119 || test ! -s conftest.err'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; } &&
4125 { ac_try
='test -s conftest.$ac_objext'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; }; then
4131 eval "$as_ac_Header=yes"
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.
$ac_ext >&5
4136 eval "$as_ac_Header=no"
4138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4143 cat >>confdefs.h
<<_ACEOF
4144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4152 # Check whether --enable-alsa or --disable-alsa was given.
4153 if test "${enable_alsa+set}" = set; then
4154 enableval
="$enable_alsa"
4155 case "${enableval}" in
4156 yes) COMPILE_ALSA
=yes ;;
4157 no
) COMPILE_ALSA
=no
;;
4158 *) COMPILE_ALSA
=yes ;;
4162 for ac_header
in alsa
/asoundlib.h
4164 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4166 echo "$as_me:$LINENO: checking for $ac_header" >&5
4167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4174 # Is the header compilable?
4175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4177 cat >conftest.
$ac_ext <<_ACEOF
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4183 $ac_includes_default
4184 #include <$ac_header>
4186 rm -f conftest.
$ac_objext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188 (eval $ac_compile) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try
='test -z "$ac_c_werror_flag"
4196 || test ! -s conftest.err'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try
='test -s conftest.$ac_objext'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4208 ac_header_compiler
=yes
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 ac_header_compiler
=no
4215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4217 echo "${ECHO_T}$ac_header_compiler" >&6
4219 # Is the header present?
4220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4222 cat >conftest.
$ac_ext <<_ACEOF
4225 cat confdefs.h
>>conftest.
$ac_ext
4226 cat >>conftest.
$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 #include <$ac_header>
4230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } >/dev
/null
; then
4238 if test -s conftest.err
; then
4239 ac_cpp_err
=$ac_c_preproc_warn_flag
4240 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4247 if test -z "$ac_cpp_err"; then
4248 ac_header_preproc
=yes
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.
$ac_ext >&5
4253 ac_header_preproc
=no
4255 rm -f conftest.err conftest.
$ac_ext
4256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4257 echo "${ECHO_T}$ac_header_preproc" >&6
4259 # So? What about this header?
4260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4266 ac_header_preproc
=yes
4269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4283 ## -------------------------------- ##
4284 ## Report this to classpath@gnu.org ##
4285 ## -------------------------------- ##
4288 sed "s/^/$as_me: WARNING: /" >&2
4291 echo "$as_me:$LINENO: checking for $ac_header" >&5
4292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 eval "$as_ac_Header=\$ac_header_preproc"
4298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4303 cat >>confdefs.h
<<_ACEOF
4304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4306 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4307 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4308 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 ac_check_lib_save_LIBS
=$LIBS
4312 LIBS
="-lasound $LIBS"
4313 if test x
$gcc_no_link = xyes
; then
4314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4316 { (exit 1); exit 1; }; }
4318 cat >conftest.
$ac_ext <<_ACEOF
4321 cat confdefs.h
>>conftest.
$ac_ext
4322 cat >>conftest.
$ac_ext <<_ACEOF
4323 /* end confdefs.h. */
4325 /* Override any gcc2 internal prototype to avoid an error. */
4329 /* We use char because int might match the return type of a gcc2
4330 builtin and then its argument prototype would still apply. */
4331 char snd_seq_open ();
4340 rm -f conftest.
$ac_objext conftest
$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4344 grep -v '^ *+' conftest.er1
>conftest.err
4346 cat conftest.err
>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try
='test -z "$ac_c_werror_flag"
4350 || test ! -s conftest.err'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; } &&
4356 { ac_try
='test -s conftest$ac_exeext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; }; then
4362 ac_cv_lib_asound_snd_seq_open
=yes
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.
$ac_ext >&5
4367 ac_cv_lib_asound_snd_seq_open
=no
4369 rm -f conftest.err conftest.
$ac_objext \
4370 conftest
$ac_exeext conftest.
$ac_ext
4371 LIBS
=$ac_check_lib_save_LIBS
4373 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4374 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4375 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4390 if test "x${COMPILE_ALSA}" = xyes
; then
4391 CREATE_ALSA_LIBRARIES_TRUE
=
4392 CREATE_ALSA_LIBRARIES_FALSE
='#'
4394 CREATE_ALSA_LIBRARIES_TRUE
='#'
4395 CREATE_ALSA_LIBRARIES_FALSE
=
4399 # Check whether --enable-dssi or --disable-dssi was given.
4400 if test "${enable_dssi+set}" = set; then
4401 enableval
="$enable_dssi"
4402 case "${enableval}" in
4403 yes) COMPILE_DSSI
=yes ;;
4404 no
) COMPILE_DSSI
=no
;;
4405 *) COMPILE_DSSI
=yes ;;
4410 for ac_header
in dssi.h
4412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4414 echo "$as_me:$LINENO: checking for $ac_header" >&5
4415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4422 # Is the header compilable?
4423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4432 #include <$ac_header>
4434 rm -f conftest.
$ac_objext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>conftest.er1
4438 grep -v '^ *+' conftest.er1
>conftest.err
4440 cat conftest.err
>&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); } &&
4443 { ac_try
='test -z "$ac_c_werror_flag"
4444 || test ! -s conftest.err'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; } &&
4450 { ac_try
='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 ac_header_compiler
=yes
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.
$ac_ext >&5
4461 ac_header_compiler
=no
4463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4465 echo "${ECHO_T}$ac_header_compiler" >&6
4467 # Is the header present?
4468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4470 cat >conftest.
$ac_ext <<_ACEOF
4473 cat confdefs.h
>>conftest.
$ac_ext
4474 cat >>conftest.
$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 #include <$ac_header>
4478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4481 grep -v '^ *+' conftest.er1
>conftest.err
4483 cat conftest.err
>&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } >/dev
/null
; then
4486 if test -s conftest.err
; then
4487 ac_cpp_err
=$ac_c_preproc_warn_flag
4488 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4495 if test -z "$ac_cpp_err"; then
4496 ac_header_preproc
=yes
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.
$ac_ext >&5
4501 ac_header_preproc
=no
4503 rm -f conftest.err conftest.
$ac_ext
4504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4505 echo "${ECHO_T}$ac_header_preproc" >&6
4507 # So? What about this header?
4508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4514 ac_header_preproc
=yes
4517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4531 ## -------------------------------- ##
4532 ## Report this to classpath@gnu.org ##
4533 ## -------------------------------- ##
4536 sed "s/^/$as_me: WARNING: /" >&2
4539 echo "$as_me:$LINENO: checking for $ac_header" >&5
4540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 eval "$as_ac_Header=\$ac_header_preproc"
4546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4551 cat >>confdefs.h
<<_ACEOF
4552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4556 for ac_header
in jack
/jack.h
4558 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4560 echo "$as_me:$LINENO: checking for $ac_header" >&5
4561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4568 # Is the header compilable?
4569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4571 cat >conftest.
$ac_ext <<_ACEOF
4574 cat confdefs.h
>>conftest.
$ac_ext
4575 cat >>conftest.
$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 $ac_includes_default
4578 #include <$ac_header>
4580 rm -f conftest.
$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1
>conftest.err
4586 cat conftest.err
>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try
='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_header_compiler
=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_header_compiler
=no
4609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4611 echo "${ECHO_T}$ac_header_compiler" >&6
4613 # Is the header present?
4614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4616 cat >conftest.
$ac_ext <<_ACEOF
4619 cat confdefs.h
>>conftest.
$ac_ext
4620 cat >>conftest.
$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <$ac_header>
4624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4627 grep -v '^ *+' conftest.er1
>conftest.err
4629 cat conftest.err
>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } >/dev
/null
; then
4632 if test -s conftest.err
; then
4633 ac_cpp_err
=$ac_c_preproc_warn_flag
4634 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4641 if test -z "$ac_cpp_err"; then
4642 ac_header_preproc
=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 ac_header_preproc
=no
4649 rm -f conftest.err conftest.
$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4651 echo "${ECHO_T}$ac_header_preproc" >&6
4653 # So? What about this header?
4654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4660 ac_header_preproc
=yes
4663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4677 ## -------------------------------- ##
4678 ## Report this to classpath@gnu.org ##
4679 ## -------------------------------- ##
4682 sed "s/^/$as_me: WARNING: /" >&2
4685 echo "$as_me:$LINENO: checking for $ac_header" >&5
4686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 eval "$as_ac_Header=\$ac_header_preproc"
4692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4697 cat >>confdefs.h
<<_ACEOF
4698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4712 if test "x${COMPILE_DSSI}" = xyes
; then
4713 CREATE_DSSI_LIBRARIES_TRUE
=
4714 CREATE_DSSI_LIBRARIES_FALSE
='#'
4716 CREATE_DSSI_LIBRARIES_TRUE
='#'
4717 CREATE_DSSI_LIBRARIES_FALSE
=
4721 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4722 if test "${enable_gtk_peer+set}" = set; then
4723 enableval
="$enable_gtk_peer"
4724 case "${enableval}" in
4725 yes) COMPILE_GTK_PEER
=yes ;;
4726 no
) COMPILE_GTK_PEER
=no
;;
4727 *) COMPILE_GTK_PEER
=yes ;;
4730 COMPILE_GTK_PEER
=yes
4734 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4735 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4736 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4738 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4739 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4743 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4744 if test "${enable_gtk_peers+set}" = set; then
4745 enableval
="$enable_gtk_peers"
4746 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4747 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4748 { (exit 1); exit 1; }; }
4751 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4752 if test "${enable_qt_peer+set}" = set; then
4753 enableval
="$enable_qt_peer"
4754 case "${enableval}" in
4755 yes) COMPILE_QT_PEER
=yes ;;
4756 no
) COMPILE_QT_PEER
=no
;;
4757 *) COMPILE_QT_PEER
=yes ;;
4764 if test "x${COMPILE_QT_PEER}" = xyes
; then
4765 CREATE_QT_PEER_LIBRARIES_TRUE
=
4766 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4768 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4769 CREATE_QT_PEER_LIBRARIES_FALSE
=
4773 # Check whether --enable-plugin or --disable-plugin was given.
4774 if test "${enable_plugin+set}" = set; then
4775 enableval
="$enable_plugin"
4776 case "${enableval}" in
4777 yes) COMPILE_PLUGIN
=yes ;;
4778 no
) COMPILE_PLUGIN
=no
;;
4779 *) COMPILE_PLUGIN
=yes ;;
4786 if test "x${COMPILE_PLUGIN}" = xyes
; then
4788 CREATE_PLUGIN_FALSE
='#'
4790 CREATE_PLUGIN_TRUE
='#'
4791 CREATE_PLUGIN_FALSE
=
4796 multi_os_directory
=`$CC -print-multi-os-directory`
4797 case $multi_os_directory in
4798 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4799 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4805 # Check whether --with-native-libdir or --without-native-libdir was given.
4806 if test "${with_native_libdir+set}" = set; then
4807 withval
="$with_native_libdir"
4809 nativeexeclibdir
=${withval}
4813 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/..
/libtool-version
`
4820 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4821 if test "${with_glibj_dir+set}" = set; then
4822 withval="$with_glibj_dir"
4828 glibjdir='${datadir}/${PACKAGE}'
4835 # Check whether --with-vm or --without-vm was given.
4836 if test "${with_vm+set}" = set; then
4839 VM_BINARY=${withval}
4843 VM_BINARY='${prefix}/bin/jamvm'
4849 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4850 if test "${enable_regen_headers+set}" = set; then
4851 enableval="$enable_regen_headers"
4852 case "${enableval}" in
4853 yes) REGENERATE_JNI_HEADERS=yes ;;
4854 no) REGENERATE_JNI_HEADERS=no ;;
4855 *) REGENERATE_JNI_HEADERS=no ;;
4858 REGENERATE_JNI_HEADERS=no
4862 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4863 CREATE_JNI_HEADERS_TRUE=
4864 CREATE_JNI_HEADERS_FALSE='#'
4866 CREATE_JNI_HEADERS_TRUE='#'
4867 CREATE_JNI_HEADERS_FALSE=
4871 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4872 if test "${enable_tool_wrappers+set}" = set; then
4873 enableval="$enable_tool_wrappers"
4874 case x"${enableval}" in
4876 COMPILE_WRAPPERS=yes;
4878 for ac_header in ltdl.h
4880 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4882 echo "$as_me:$LINENO: checking for $ac_header" >&5
4883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4890 # Is the header compilable?
4891 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4892 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4893 cat >conftest.$ac_ext <<_ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 $ac_includes_default
4900 #include <$ac_header>
4902 rm -f conftest.$ac_objext
4903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904 (eval $ac_compile) 2>conftest.er1
4906 grep -v '^ *+' conftest.er1 >conftest.err
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } &&
4911 { ac_try='test -z "$ac_c_werror_flag"
4912 || test ! -s conftest.err'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; } &&
4918 { ac_try='test -s conftest.$ac_objext'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; }; then
4924 ac_header_compiler=yes
4926 echo "$as_me: failed program was:" >&5
4927 sed 's/^/| /' conftest.$ac_ext >&5
4929 ac_header_compiler=no
4931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4933 echo "${ECHO_T}$ac_header_compiler" >&6
4935 # Is the header present?
4936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 #include <$ac_header>
4946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1 >conftest.err
4951 cat conftest.err >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } >/dev/null; then
4954 if test -s conftest.err; then
4955 ac_cpp_err=$ac_c_preproc_warn_flag
4956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4963 if test -z "$ac_cpp_err"; then
4964 ac_header_preproc=yes
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4969 ac_header_preproc=no
4971 rm -f conftest.err conftest.$ac_ext
4972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4973 echo "${ECHO_T}$ac_header_preproc" >&6
4975 # So? What about this header?
4976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4982 ac_header_preproc=yes
4985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4999 ## -------------------------------- ##
5000 ## Report this to classpath@gnu.org ##
5001 ## -------------------------------- ##
5004 sed "s/^/$as_me: WARNING: /" >&2
5007 echo "$as_me:$LINENO: checking for $ac_header" >&5
5008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 eval "$as_ac_Header=\$ac_header_preproc"
5014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5019 cat >>confdefs.h <<_ACEOF
5020 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5024 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
5025 echo "$as_me: error: cannot find ltdl.h" >&2;}
5026 { (exit 1); exit 1; }; }
5032 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
5033 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
5034 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 ac_check_lib_save_LIBS=$LIBS
5039 if test x$gcc_no_link = xyes; then
5040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5042 { (exit 1); exit 1; }; }
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5051 /* Override any gcc2 internal prototype to avoid an error. */
5055 /* We use char because int might match the return type of a gcc2
5056 builtin and then its argument prototype would still apply. */
5066 rm -f conftest.$ac_objext conftest$ac_exeext
5067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5068 (eval $ac_link) 2>conftest.er1
5070 grep -v '^ *+' conftest.er1 >conftest.err
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try='test -z "$ac_c_werror_flag"
5076 || test ! -s conftest.err'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; } &&
5082 { ac_try='test -s conftest$ac_exeext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_lib_ltdl_lt_dlopen=yes
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5093 ac_cv_lib_ltdl_lt_dlopen=no
5095 rm -f conftest.err conftest.$ac_objext \
5096 conftest$ac_exeext conftest.$ac_ext
5097 LIBS=$ac_check_lib_save_LIBS
5099 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5100 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5101 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5102 cat >>confdefs.h <<_ACEOF
5103 #define HAVE_LIBLTDL 1
5109 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5110 echo "$as_me: error: cannot find libltdl" >&2;}
5111 { (exit 1); exit 1; }; }
5115 xno) COMPILE_WRAPPERS=no ;;
5116 x) COMPILE_WRAPPERS=yes ;;
5117 *) COMPILE_WRAPPERS=yes ;;
5124 if test "x${COMPILE_WRAPPERS}" = xyes; then
5125 CREATE_WRAPPERS_TRUE=
5126 CREATE_WRAPPERS_FALSE='#'
5128 CREATE_WRAPPERS_TRUE='#'
5129 CREATE_WRAPPERS_FALSE=
5133 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5134 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5136 if test "$LN_S" = "ln -s"; then
5137 echo "$as_me:$LINENO: result: yes" >&5
5138 echo "${ECHO_T}yes" >&6
5140 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5141 echo "${ECHO_T}no, using $LN_S" >&6
5144 # Find a good install program. We prefer a C program (faster),
5145 # so one script is as good as another. But avoid the broken or
5146 # incompatible versions:
5147 # SysV /etc/install, /usr/sbin/install
5148 # SunOS /usr/etc/install
5149 # IRIX /sbin/install
5151 # AmigaOS /C/install, which installs bootblocks on floppy discs
5152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5155 # OS/2's system install, which has a completely different semantic
5156 # ./install, which can be erroneously created by make from ./install.sh.
5157 # Reject install programs that cannot install multiple files.
5158 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5160 if test -z "$INSTALL"; then
5161 if test "${ac_cv_path_install+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir=.
5169 # Account for people who put trailing slashes in PATH elements.
5171 ./ | .// | /cC/* | \
5172 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5173 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5176 # OSF1 and SCO ODT 3.0 have their own names for install.
5177 # Don't use installbsd from OSF since it installs stuff as root
5179 for ac_prog in ginstall scoinst install; do
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5182 if test $ac_prog = install &&
5183 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5184 # AIX install. It has an incompatible calling convention.
5186 elif test $ac_prog = install &&
5187 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5188 # program-specific install script used by HP pwplus--don't use.
5191 rm -rf conftest.one conftest.two conftest.dir
5192 echo one > conftest.one
5193 echo two > conftest.two
5195 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5196 test -s conftest.one && test -s conftest.two &&
5197 test -s conftest.dir/conftest.one &&
5198 test -s conftest.dir/conftest.two
5200 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5211 rm -rf conftest.one conftest.two conftest.dir
5214 if test "${ac_cv_path_install+set}" = set; then
5215 INSTALL=$ac_cv_path_install
5217 # As a last resort, use the slow shell script. Don't cache a
5218 # value for INSTALL within a source directory, because that will
5219 # break other packages using the cache if that directory is
5220 # removed, or if the value is a relative name.
5221 INSTALL=$ac_install_sh
5224 echo "$as_me:$LINENO: result: $INSTALL" >&5
5225 echo "${ECHO_T}$INSTALL" >&6
5227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5228 # It thinks the first close brace ends the variable substitution.
5229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5237 # Check whether --enable-static or --disable-static was given.
5238 if test "${enable_static+set}" = set; then
5239 enableval="$enable_static"
5240 p=${PACKAGE-default}
5242 yes) enable_static=yes ;;
5243 no) enable_static=no ;;
5246 # Look at the argument we got. We use all the common list separators.
5247 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5248 for pkg in $enableval; do
5250 if test "X$pkg" = "X$p"; then
5270 macro_version='2.1a'
5271 macro_revision='1.2435'
5284 ltmain="$ac_aux_dir/ltmain.sh"
5294 # Check whether --enable-shared or --disable-shared was given.
5295 if test "${enable_shared+set}" = set; then
5296 enableval="$enable_shared"
5297 p=${PACKAGE-default}
5299 yes) enable_shared=yes ;;
5300 no) enable_shared=no ;;
5303 # Look at the argument we got. We use all the common list separators.
5304 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5305 for pkg in $enableval; do
5307 if test "X$pkg" = "X$p"; then
5327 # Check whether --with-pic or --without-pic was given.
5328 if test "${with_pic+set}" = set; then
5335 test -z "$pic_mode" && pic_mode=default
5343 # Check whether --enable-fast-install or --disable-fast-install was given.
5344 if test "${enable_fast_install+set}" = set; then
5345 enableval="$enable_fast_install"
5346 p=${PACKAGE-default}
5348 yes) enable_fast_install=yes ;;
5349 no) enable_fast_install=no ;;
5351 enable_fast_install=no
5352 # Look at the argument we got. We use all the common list separators.
5353 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5354 for pkg in $enableval; do
5356 if test "X$pkg" = "X$p"; then
5357 enable_fast_install=yes
5364 enable_fast_install=yes
5374 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5375 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5376 if test "${lt_cv_path_SED+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 # Loop through the user's path and test for sed and gsed.
5380 # Then use that list of sed's as ones to test for truncation.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir=.
5386 for lt_ac_prog in sed gsed; do
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5389 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5397 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5398 # along with /bin/sed that truncates output.
5399 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5400 test ! -f $lt_ac_sed && continue
5401 cat /dev/null > conftest.in
5403 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5404 # Check for GNU sed and select it if it is found.
5405 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5406 lt_cv_path_SED=$lt_ac_sed
5410 cat conftest.in conftest.in >conftest.tmp
5411 mv conftest.tmp conftest.in
5412 cp conftest.in conftest.nl
5414 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5415 cmp -s conftest.out conftest.nl || break
5416 # 10000 chars as input seems more than enough
5417 test $lt_ac_count -gt 10 && break
5418 lt_ac_count=`expr $lt_ac_count + 1`
5419 if test $lt_ac_count -gt $lt_ac_max; then
5420 lt_ac_max=$lt_ac_count
5421 lt_cv_path_SED=$lt_ac_sed
5430 echo "$as_me:$LINENO: result: $SED" >&5
5431 echo "${ECHO_T}$SED" >&6
5433 test -z "$SED" && SED=sed
5434 Xsed="$SED -e 1s/^X//"
5446 echo "$as_me:$LINENO: checking for fgrep" >&5
5447 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5448 if test "${ac_cv_prog_fgrep+set}" = set; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5452 then ac_cv_prog_fgrep='grep -F'
5453 else ac_cv_prog_fgrep='fgrep'
5456 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5457 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5458 FGREP=$ac_cv_prog_fgrep
5461 test -z "$GREP" && GREP=grep
5481 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5482 if test "${with_gnu_ld+set}" = set; then
5483 withval="$with_gnu_ld"
5484 test "$withval" = no || with_gnu_ld=yes
5489 if test "$GCC" = yes; then
5490 # Check if gcc -print-prog-name=ld gives a path.
5491 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5492 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5495 # gcc leaves a trailing carriage return which upsets mingw
5496 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5498 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5501 # Accept absolute paths.
5503 re_direlt='/[^/][^/]*/\.\./'
5504 # Canonicalize the pathname of ld
5505 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5506 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5507 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5509 test -z "$LD" && LD="$ac_prog"
5512 # If it fails, then pretend we aren't using GCC.
5516 # If it is relative, then search for the first ld in PATH.
5520 elif test "$with_gnu_ld" = yes; then
5521 echo "$as_me:$LINENO: checking for GNU ld" >&5
5522 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5524 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5525 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5527 if test "${lt_cv_path_LD+set}" = set; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 if test -z "$LD"; then
5531 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5532 for ac_dir in $PATH; do
5534 test -z "$ac_dir" && ac_dir=.
5535 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5536 lt_cv_path_LD="$ac_dir/$ac_prog"
5537 # Check to see if the program is GNU ld. I'd rather use --version,
5538 # but apparently some variants of GNU ld only accept -v.
5539 # Break only if it was the GNU/non-GNU ld that we prefer.
5540 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5541 *GNU* | *'with BFD'*)
5542 test "$with_gnu_ld" != no && break
5545 test "$with_gnu_ld" != yes && break
5552 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5557 if test -n "$LD"; then
5558 echo "$as_me:$LINENO: result: $LD" >&5
5559 echo "${ECHO_T}$LD" >&6
5561 echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6
5564 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5565 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5566 { (exit 1); exit 1; }; }
5567 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5568 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5569 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5573 case `$LD -v 2>&1 </dev
/null
` in
5574 *GNU* | *'with BFD'*)
5575 lt_cv_prog_gnu_ld=yes
5578 lt_cv_prog_gnu_ld=no
5582 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5583 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5584 with_gnu_ld=$lt_cv_prog_gnu_ld
5595 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5596 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5597 if test "${lt_cv_path_NM+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 if test -n "$NM"; then
5601 # Let the user override the test.
5604 lt_nm_to_check="${ac_tool_prefix}nm"
5605 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5606 lt_nm_to_check="$lt_nm_to_check nm"
5608 for lt_tmp_nm in $lt_nm_to_check; do
5609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5610 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5612 test -z "$ac_dir" && ac_dir=.
5613 tmp_nm="$ac_dir/$lt_tmp_nm"
5614 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5615 # Check to see if the nm accepts a BSD-compat flag.
5616 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5617 # nm: unknown option "B" ignored
5618 # Tru64's nm complains that
/dev
/null is an invalid object
file
5619 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5620 */dev
/null
* |
*'Invalid file or object type'*)
5621 lt_cv_path_NM
="$tmp_nm -B"
5625 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5627 lt_cv_path_NM
="$tmp_nm -p"
5631 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5632 continue # so that we can try to find one that supports BSD flags
5641 : ${lt_cv_path_NM=no}
5644 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5645 echo "${ECHO_T}$lt_cv_path_NM" >&6
5646 if test "$lt_cv_path_NM" != "no"; then
5649 # Didn't find any BSD compatible name lister, look for dumpbin.
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5655 echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5657 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 if test -n "$DUMPBIN"; then
5661 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_exec_ext
in '' $ac_executable_extensions; do
5669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 DUMPBIN
=$ac_cv_prog_DUMPBIN
5680 if test -n "$DUMPBIN"; then
5681 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5682 echo "${ECHO_T}$DUMPBIN" >&6
5684 echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6
5688 test -n "$DUMPBIN" && break
5691 if test -z "$DUMPBIN"; then
5692 ac_ct_DUMPBIN
=$DUMPBIN
5693 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5695 # Extract the first word of "$ac_prog", so it can be a program name with args.
5696 set dummy
$ac_prog; ac_word
=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 if test -n "$ac_ct_DUMPBIN"; then
5703 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5722 if test -n "$ac_ct_DUMPBIN"; then
5723 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5724 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5730 test -n "$ac_ct_DUMPBIN" && break
5732 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5734 DUMPBIN
=$ac_ct_DUMPBIN
5738 if test "$DUMPBIN" != ":"; then
5742 test -z "$NM" && NM
=nm
5749 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5750 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5751 if test "${lt_cv_nm_interface+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 lt_cv_nm_interface
="BSD nm"
5755 echo "int some_variable = 0;" > conftest.
$ac_ext
5756 (eval echo "\"\$as_me:5756: $ac_compile\"" >&5)
5757 (eval "$ac_compile" 2>conftest.err
)
5758 cat conftest.err
>&5
5759 (eval echo "\"\$as_me:5759: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5760 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5761 cat conftest.err
>&5
5762 (eval echo "\"\$as_me:5762: output\"" >&5)
5763 cat conftest.out
>&5
5764 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5765 lt_cv_nm_interface
="MS dumpbin"
5769 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5770 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5772 # find the maximum length of command line arguments
5773 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5774 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 # On DJGPP, this test can blow up pretty badly due to problems in libc
5784 # (any single argument exceeding 2000 bytes causes a buffer overrun
5785 # during glob expansion). Even if it were fixed, the result of this
5786 # check would be larger than it should be.
5787 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5791 # Under GNU Hurd, this test is not required because there is
5792 # no limit to the length of command line arguments.
5793 # Libtool will interpret -1 as no limit whatsoever
5794 lt_cv_sys_max_cmd_len
=-1;
5798 # On Win9x/ME, this test blows up -- it succeeds, but takes
5799 # about 5 minutes as the teststring grows exponentially.
5800 # Worse, since 9x/ME are not pre-emptively multitasking,
5801 # you end up with a "frozen" computer, even though with patience
5802 # the test eventually succeeds (with a max line length of 256k).
5803 # Instead, let's just punt: use the minimum linelength reported by
5804 # all of the supported platforms: 8192 (on NT/2K/XP).
5805 lt_cv_sys_max_cmd_len
=8192;
5809 # On AmigaOS with pdksh, this test takes hours, literally.
5810 # So we just punt and use a minimum line length of 8192.
5811 lt_cv_sys_max_cmd_len
=8192;
5814 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5815 # This has been around since 386BSD, at least. Likely further.
5816 if test -x /sbin
/sysctl
; then
5817 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5818 elif test -x /usr
/sbin
/sysctl
; then
5819 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5821 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5823 # And add a safety zone
5824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5830 lt_cv_sys_max_cmd_len
=196608
5834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5836 # nice to cause kernel panics so lets avoid the loop below.
5837 # First set a reasonable default.
5838 lt_cv_sys_max_cmd_len
=16384
5840 if test -x /sbin
/sysconfig
; then
5841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5842 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5847 lt_cv_sys_max_cmd_len
=102400
5849 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5850 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5851 if test -n "$kargmax"; then
5852 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5854 lt_cv_sys_max_cmd_len
=32768
5858 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5859 if test -n $lt_cv_sys_max_cmd_len; then
5860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5863 # Make teststring a little bigger before we do anything with it.
5864 # a 1K string should be a reasonable start.
5865 for i
in 1 2 3 4 5 6 7 8 ; do
5866 teststring
=$teststring$teststring
5868 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5869 # If test is not a shell built-in, we'll probably end up computing a
5870 # maximum length that is only half of the actual maximum length, but
5872 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5873 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5874 test $i != 17 # 1/2 MB should be enough
5877 teststring
=$teststring$teststring
5879 # Only check the string length outside the loop.
5880 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5882 # Add a significant safety factor because C++ compilers can tack on
5883 # massive amounts of additional arguments before passing them to the
5884 # linker. It appears as though 1/2 is a usable value.
5885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5892 if test -n $lt_cv_sys_max_cmd_len ; then
5893 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5894 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5896 echo "$as_me:$LINENO: result: none" >&5
5897 echo "${ECHO_T}none" >&6
5899 max_cmd_len
=$lt_cv_sys_max_cmd_len
5911 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5912 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5913 # Try some XSI features
5916 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5917 = c,a/b,, ) >/dev/null 2>&1 \
5919 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5920 echo "${ECHO_T}$xsi_shell" >&6
5923 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5924 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5926 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5928 && lt_shell_append=yes
5929 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5930 echo "${ECHO_T}$lt_shell_append" >&6
5933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5943 # test EBCDIC or ASCII
5944 case `echo X|tr X '\101'` in
5945 A) # ASCII based system
5946 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5947 lt_SP2NL='tr \040 \012'
5948 lt_NL2SP='tr \015\012 \040\040'
5950 *) # EBCDIC based system
5951 lt_SP2NL='tr \100 \n'
5952 lt_NL2SP='tr \r\n \100\100'
5964 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5965 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5966 if test "${lt_cv_ld_reload_flag+set}" = set; then
5967 echo $ECHO_N "(cached
) $ECHO_C" >&6
5969 lt_cv_ld_reload_flag='-r'
5971 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5972 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5973 reload_flag=$lt_cv_ld_reload_flag
5974 case $reload_flag in
5976 *) reload_flag=" $reload_flag" ;;
5978 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5981 if test "$GCC" = yes; then
5982 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5984 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5998 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5999 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6000 if test "${lt_cv_deplibs_check_method+set}" = set; then
6001 echo $ECHO_N "(cached
) $ECHO_C" >&6
6003 lt_cv_file_magic_cmd='$MAGIC_CMD'
6004 lt_cv_file_magic_test_file=
6005 lt_cv_deplibs_check_method='unknown'
6006 # Need to set the preceding variable on all platforms that support
6007 # interlibrary dependencies.
6008 # 'none' -- dependencies not supported.
6009 # `unknown' -- same as none, but documents that we really don't know.
6010 # 'pass_all' -- all dependencies passed with no checks.
6011 # 'test_compile' -- check by making test program.
6012 # 'file_magic [[regex]]' -- check by looking for files in library path
6013 # which responds to the $file_magic_cmd with a given extended regex.
6014 # If you have `file' or equivalent on your system and you're not sure
6015 # whether `pass_all' will *always* work, you probably want this one.
6019 lt_cv_deplibs_check_method=pass_all
6023 lt_cv_deplibs_check_method=pass_all
6027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6028 lt_cv_file_magic_cmd='/usr/bin/file -L'
6029 lt_cv_file_magic_test_file=/shlib/libc.so
6033 # func_win32_libid is a shell function defined in ltmain.sh
6034 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6035 lt_cv_file_magic_cmd='func_win32_libid'
6039 # Base MSYS/MinGW do not provide the 'file' command needed by
6040 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6041 # unless we find 'file', for example because we are cross-compiling.
6042 if ( file / ) >/dev/null 2>&1; then
6043 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6044 lt_cv_file_magic_cmd='func_win32_libid'
6046 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6047 lt_cv_file_magic_cmd='$OBJDUMP -f'
6051 darwin* | rhapsody*)
6052 lt_cv_deplibs_check_method=pass_all
6055 freebsd* | dragonfly*)
6056 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6059 # Not sure whether the presence of OpenBSD here was a mistake.
6060 # Let's accept both of them until this is cleared up.
6061 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6062 lt_cv_file_magic_cmd=/usr/bin/file
6063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6067 lt_cv_deplibs_check_method=pass_all
6072 lt_cv_deplibs_check_method=pass_all
6075 hpux10.20* | hpux11*)
6076 lt_cv_file_magic_cmd=/usr/bin/file
6079 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6080 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6083 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]'
6084 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6087 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6088 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6094 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6098 irix5* | irix6* | nonstopux*)
6100 *-32|*"-32 ") libmagic=32-bit;;
6101 *-n32|*"-n32 ") libmagic=N32;;
6102 *-64|*"-64 ") libmagic=64-bit;;
6103 *) libmagic=never-match;;
6105 lt_cv_deplibs_check_method=pass_all
6108 # This must be Linux ELF.
6109 linux* | k*bsd*-gnu)
6110 lt_cv_deplibs_check_method=pass_all
6114 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6115 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6122 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6123 lt_cv_file_magic_cmd=/usr/bin/file
6124 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6128 lt_cv_deplibs_check_method=pass_all
6132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6139 osf3* | osf4* | osf5*)
6140 lt_cv_deplibs_check_method=pass_all
6144 lt_cv_deplibs_check_method=pass_all
6148 lt_cv_deplibs_check_method=pass_all
6151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6152 lt_cv_deplibs_check_method=pass_all
6156 case $host_vendor in
6158 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]'
6159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6162 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_file_magic_cmd='/bin/file'
6166 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6169 lt_cv_file_magic_cmd='/bin/file'
6170 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6171 lt_cv_file_magic_test_file=/lib/libc.so
6174 lt_cv_deplibs_check_method=pass_all
6177 lt_cv_deplibs_check_method=pass_all
6183 lt_cv_deplibs_check_method=pass_all
6188 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6189 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6190 file_magic_cmd=$lt_cv_file_magic_cmd
6191 deplibs_check_method=$lt_cv_deplibs_check_method
6192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6207 set dummy ${ac_tool_prefix}ar; ac_word=$2
6208 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6209 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6210 if test "${ac_cv_prog_AR+set}" = set; then
6211 echo $ECHO_N "(cached
) $ECHO_C" >&6
6213 if test -n "$AR"; then
6214 ac_cv_prog_AR="$AR" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_AR="${ac_tool_prefix}ar"
6224 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6233 if test -n "$AR"; then
6234 echo "$as_me:$LINENO: result
: $AR" >&5
6235 echo "${ECHO_T}$AR" >&6
6237 echo "$as_me:$LINENO: result
: no
" >&5
6238 echo "${ECHO_T}no
" >&6
6242 if test -z "$ac_cv_prog_AR"; then
6244 # Extract the first word of "ar", so it can be a program name with args.
6245 set dummy ar; ac_word=$2
6246 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6247 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6248 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6249 echo $ECHO_N "(cached
) $ECHO_C" >&6
6251 if test -n "$ac_ct_AR"; then
6252 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_ac_ct_AR="ar"
6262 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6268 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6271 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6272 if test -n "$ac_ct_AR"; then
6273 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6274 echo "${ECHO_T}$ac_ct_AR" >&6
6276 echo "$as_me:$LINENO: result
: no
" >&5
6277 echo "${ECHO_T}no
" >&6
6285 test -z "$AR" && AR=ar
6286 test -z "$AR_FLAGS" && AR_FLAGS=cru
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}strip; ac_word=$2
6301 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6303 if test "${ac_cv_prog_STRIP+set}" = set; then
6304 echo $ECHO_N "(cached
) $ECHO_C" >&6
6306 if test -n "$STRIP"; then
6307 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6325 STRIP=$ac_cv_prog_STRIP
6326 if test -n "$STRIP"; then
6327 echo "$as_me:$LINENO: result
: $STRIP" >&5
6328 echo "${ECHO_T}$STRIP" >&6
6330 echo "$as_me:$LINENO: result
: no
" >&5
6331 echo "${ECHO_T}no
" >&6
6335 if test -z "$ac_cv_prog_STRIP"; then
6337 # Extract the first word of "strip
", so it can be a program name with args.
6338 set dummy strip; ac_word=$2
6339 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6341 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6342 echo $ECHO_N "(cached
) $ECHO_C" >&6
6344 if test -n "$ac_ct_STRIP"; then
6345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_STRIP="strip
"
6355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6365 if test -n "$ac_ct_STRIP"; then
6366 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6367 echo "${ECHO_T}$ac_ct_STRIP" >&6
6369 echo "$as_me:$LINENO: result
: no
" >&5
6370 echo "${ECHO_T}no
" >&6
6375 STRIP="$ac_cv_prog_STRIP"
6378 test -z "$STRIP" && STRIP=:
6385 if test -n "$ac_tool_prefix"; then
6386 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6387 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6388 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6389 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6390 if test "${ac_cv_prog_RANLIB+set}" = set; then
6391 echo $ECHO_N "(cached
) $ECHO_C" >&6
6393 if test -n "$RANLIB"; then
6394 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6404 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6412 RANLIB=$ac_cv_prog_RANLIB
6413 if test -n "$RANLIB"; then
6414 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6415 echo "${ECHO_T}$RANLIB" >&6
6417 echo "$as_me:$LINENO: result
: no
" >&5
6418 echo "${ECHO_T}no
" >&6
6422 if test -z "$ac_cv_prog_RANLIB"; then
6423 ac_ct_RANLIB=$RANLIB
6424 # Extract the first word of "ranlib
", so it can be a program name with args.
6425 set dummy ranlib; ac_word=$2
6426 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6427 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6428 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6429 echo $ECHO_N "(cached
) $ECHO_C" >&6
6431 if test -n "$ac_ct_RANLIB"; then
6432 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6442 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6448 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6451 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6452 if test -n "$ac_ct_RANLIB"; then
6453 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6454 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6456 echo "$as_me:$LINENO: result
: no
" >&5
6457 echo "${ECHO_T}no
" >&6
6460 RANLIB=$ac_ct_RANLIB
6462 RANLIB="$ac_cv_prog_RANLIB"
6465 test -z "$RANLIB" && RANLIB=:
6472 # Determine commands to create old-style static archives.
6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6474 old_postinstall_cmds='chmod 644 $oldlib'
6475 old_postuninstall_cmds=
6477 if test -n "$RANLIB"; then
6480 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6483 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6486 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6522 # If no C compiler was specified, use CC.
6525 # If no C compiler flags were specified, use CFLAGS.
6526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6528 # Allow CC to be a program name with arguments.
6532 # Check for command to grab the raw symbol name followed by C symbol from nm.
6533 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6534 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6535 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6536 echo $ECHO_N "(cached
) $ECHO_C" >&6
6539 # These are sane defaults that work on at least a few old systems.
6540 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6542 # Character class describing NM global symbol codes.
6543 symcode='[BCDEGRST]'
6545 # Regexp to match symbols that can be accessed directly from C.
6546 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6548 # Define system-specific variables.
6553 cygwin* | mingw* | pw32*)
6554 symcode='[ABCDGISTW]'
6557 if test "$host_cpu" = ia64; then
6558 symcode='[ABCDEGRST]'
6562 symcode='[BCDEGRST]'
6565 symcode='[BCDEGQRST]'
6576 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6584 # If we're using GNU nm, then use its standard symbol codes.
6585 case `$NM -V 2>&1` in
6586 *GNU* | *'with BFD'*)
6587 symcode='[ABCDGIRSTW]' ;;
6590 # Transform an extracted symbol line into a proper C declaration.
6591 # Some systems (esp. on ia64) link data and code symbols differently,
6592 # so use this general approach.
6593 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6595 # Transform an extracted symbol line into symbol name and symbol address
6596 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6598 # Handle CRLF in mingw tool chain
6602 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6606 # Try without a prefix underscore, then with it.
6607 for ac_symprfx in "" "_
"; do
6609 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6610 symxfrm="\\1 $ac_symprfx\\2 \\2"
6612 # Write the raw and C identifiers.
6613 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6614 # Fake it for dumpbin and say T for any non-static function
6615 # and D for any global variable.
6616 # Also find C++ and __fastcall symbols from MSVC++,
6617 # which start with @ or ?.
6618 lt_cv_sys_global_symbol_pipe="$AWK '"\
6619 " {last_section=section; section=\$ 3};"\
6620 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6621 " \$ 0!~/External *\|/{next};"\
6622 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6623 " {if(hide[section]) next};"\
6624 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6625 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6626 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6627 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6628 " ' prfx
=^
$ac_symprfx"
6630 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6633 # Check to see that the pipe works correctly.
6637 cat > conftest.$ac_ext <<_LT_EOF
6642 void nm_test_func(void);
6643 void nm_test_func(void){}
6647 int main(){nm_test_var='a';nm_test_func();return(0);}
6650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6651 (eval $ac_compile) 2>&5
6653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6654 (exit $ac_status); }; then
6655 # Now try to grab the symbols.
6657 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6658 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6661 (exit $ac_status); } && test -s "$nlist"; then
6662 # Try sorting and uniquifying the output.
6663 if sort "$nlist" | uniq > "$nlist"T; then
6664 mv -f "$nlist"T "$nlist"
6669 # Make sure that we snagged all the symbols we need.
6670 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6671 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6672 cat <<_LT_EOF > conftest.$ac_ext
6678 # Now generate the symbol file.
6679 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6681 cat <<_LT_EOF >> conftest.$ac_ext
6683 /* The mapping between symbol names and symbols. */
6688 lt__PROGRAM__LTX_preloaded_symbols[] =
6690 { "@PROGRAM@
", (void *) 0 },
6692 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6693 cat <<\_LT_EOF >> conftest.$ac_ext
6697 /* This works around a problem in FreeBSD linker */
6698 #ifdef FREEBSD_WORKAROUND
6699 static const void *lt_preloaded_setup() {
6700 return lt__PROGRAM__LTX_preloaded_symbols;
6708 # Now try linking the two files.
6709 mv conftest.$ac_objext conftstm.$ac_objext
6710 lt_save_LIBS="$LIBS"
6711 lt_save_CFLAGS="$CFLAGS"
6712 LIBS="conftstm.
$ac_objext"
6713 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6715 (eval $ac_link) 2>&5
6717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6718 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6721 LIBS="$lt_save_LIBS"
6722 CFLAGS="$lt_save_CFLAGS"
6724 echo "cannot
find nm_test_func
in $nlist" >&5
6727 echo "cannot
find nm_test_var
in $nlist" >&5
6730 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6733 echo "$progname: failed program was
:" >&5
6734 cat conftest.$ac_ext >&5
6736 rm -f conftest* conftst*
6738 # Do not use the global_symbol_pipe unless it works.
6739 if test "$pipe_works" = yes; then
6742 lt_cv_sys_global_symbol_pipe=
6748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6749 lt_cv_sys_global_symbol_to_cdecl=
6751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6752 echo "$as_me:$LINENO: result
: failed
" >&5
6753 echo "${ECHO_T}failed
" >&6
6755 echo "$as_me:$LINENO: result
: ok
" >&5
6756 echo "${ECHO_T}ok
" >&6
6775 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6776 if test "${enable_libtool_lock+set}" = set; then
6777 enableval="$enable_libtool_lock"
6780 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6782 # Some flags need to be propagated to the compiler or linker for good
6786 # Find out which ABI we are using.
6787 echo 'int i;' > conftest.$ac_ext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>&5
6791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6792 (exit $ac_status); }; then
6793 case `/usr/bin/file conftest.$ac_objext` in
6805 # Find out which ABI we are using.
6806 echo '#line 6806 "configure
"' > conftest.$ac_ext
6807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 (eval $ac_compile) 2>&5
6810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6811 (exit $ac_status); }; then
6812 if test "$lt_cv_prog_gnu_ld" = yes; then
6813 case `/usr/bin/file conftest.$ac_objext` in
6815 LD="${LD-ld} -melf32bsmip"
6818 LD="${LD-ld} -melf32bmipn32"
6821 LD="${LD-ld} -melf64bmip"
6825 case `/usr/bin/file conftest.$ac_objext` in
6841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6843 # Find out which ABI we are using.
6844 echo 'int i;' > conftest.$ac_ext
6845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6846 (eval $ac_compile) 2>&5
6848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6849 (exit $ac_status); }; then
6850 case `/usr/bin/file conftest.o` in
6853 x86_64-*kfreebsd*-gnu)
6854 LD="${LD-ld} -m elf_i386_fbsd
"
6857 LD="${LD-ld} -m elf_i386
"
6859 ppc64-*linux*|powerpc64-*linux*)
6860 LD="${LD-ld} -m elf32ppclinux
"
6863 LD="${LD-ld} -m elf_s390
"
6866 LD="${LD-ld} -m elf32_sparc
"
6872 x86_64-*kfreebsd*-gnu)
6873 LD="${LD-ld} -m elf_x86_64_fbsd
"
6876 LD="${LD-ld} -m elf_x86_64
"
6878 ppc*-*linux*|powerpc*-*linux*)
6879 LD="${LD-ld} -m elf64ppc
"
6881 s390*-*linux*|s390*-*tpf*)
6882 LD="${LD-ld} -m elf64_s390
"
6885 LD="${LD-ld} -m elf64_sparc
"
6895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6896 SAVE_CFLAGS="$CFLAGS"
6897 CFLAGS="$CFLAGS -belf"
6898 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6899 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6900 if test "${lt_cv_cc_needs_belf+set}" = set; then
6901 echo $ECHO_N "(cached
) $ECHO_C" >&6
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6909 if test x$gcc_no_link = xyes; then
6910 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6911 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6912 { (exit 1); exit 1; }; }
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6929 rm -f conftest.$ac_objext conftest$ac_exeext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6931 (eval $ac_link) 2>conftest.er1
6933 grep -v '^ *+' conftest.er1 >conftest.err
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try='test -s conftest$ac_exeext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 lt_cv_cc_needs_belf=yes
6953 echo "$as_me: failed program was
:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6956 lt_cv_cc_needs_belf=no
6958 rm -f conftest.err conftest.$ac_objext \
6959 conftest$ac_exeext conftest.$ac_ext
6961 ac_cpp='$CPP $CPPFLAGS'
6962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6967 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6968 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6969 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6970 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6971 CFLAGS="$SAVE_CFLAGS"
6975 # Find out which ABI we are using.
6976 echo 'int i;' > conftest.$ac_ext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6981 (exit $ac_status); }; then
6982 case `/usr/bin/file conftest.o` in
6984 case $lt_cv_prog_gnu_ld in
6985 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6986 *) LD="${LD-ld} -64" ;;
6995 need_locks="$enable_libtool_lock"
6998 for ac_header in dlfcn.h
7000 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7001 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7002 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7003 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7004 echo $ECHO_N "(cached
) $ECHO_C" >&6
7006 cat >conftest.$ac_ext <<_ACEOF
7009 cat confdefs.h >>conftest.$ac_ext
7010 cat >>conftest.$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 $ac_includes_default
7014 #include <$ac_header>
7016 rm -f conftest.$ac_objext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>conftest.er1
7020 grep -v '^ *+' conftest.er1 >conftest.err
7022 cat conftest.err >&5
7023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7024 (exit $ac_status); } &&
7025 { ac_try='test -z "$ac_c_werror_flag"
7026 || test ! -s conftest.err'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7031 (exit $ac_status); }; } &&
7032 { ac_try='test -s conftest.$ac_objext'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7037 (exit $ac_status); }; }; then
7038 eval "$as_ac_Header=yes"
7040 echo "$as_me: failed program was
:" >&5
7041 sed 's/^/| /' conftest.$ac_ext >&5
7043 eval "$as_ac_Header=no
"
7045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7047 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7050 cat >>confdefs.h <<_ACEOF
7051 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7060 # This can be used to rebuild libtool when needed
7061 LIBTOOL_DEPS="$ltmain"
7063 # Always use our own libtool.
7064 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7090 test -z "$LN_S" && LN_S="ln -s"
7105 if test -n "${ZSH_VERSION+set}" ; then
7106 setopt NO_GLOB_SUBST
7109 echo "$as_me:$LINENO: checking
for objdir
" >&5
7110 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7111 if test "${lt_cv_objdir+set}" = set; then
7112 echo $ECHO_N "(cached
) $ECHO_C" >&6
7114 rm -f .libs 2>/dev/null
7115 mkdir .libs 2>/dev/null
7116 if test -d .libs; then
7119 # MS-DOS does not allow filenames that begin with a dot.
7122 rmdir .libs 2>/dev/null
7124 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7125 echo "${ECHO_T}$lt_cv_objdir" >&6
7126 objdir=$lt_cv_objdir
7132 cat >>confdefs.h <<_ACEOF
7133 #define LT_OBJDIR "$lt_cv_objdir/"
7154 # AIX sometimes has problems with the GCC collect2 program. For some
7155 # reason, if we set the COLLECT_NAMES environment variable, the problems
7156 # vanish in a puff of smoke.
7157 if test "X
${COLLECT_NAMES+set}" != Xset; then
7159 export COLLECT_NAMES
7164 # Sed substitution that helps us do robust quoting. It backslashifies
7165 # metacharacters that are still active within double-quoted strings.
7166 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7168 # Same as above, but do not quote variable references.
7169 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7171 # Sed substitution to delay expansion of an escaped shell variable in a
7172 # double_quote_subst'ed string.
7173 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7175 # Sed substitution to delay expansion of an escaped single quote.
7176 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7178 # Sed substitution to avoid accidental globbing in evaled expressions
7179 no_glob_subst
='s/\*/\\\*/g'
7183 can_build_shared
=yes
7185 # All known linkers require a `.a' archive for static linking (except MSVC,
7186 # which needs '.lib').
7189 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7192 old_CFLAGS
="$CFLAGS"
7194 # Set sane defaults for various variables
7195 test -z "$CC" && CC
=cc
7196 test -z "$LTCC" && LTCC
=$CC
7197 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7198 test -z "$LD" && LD
=ld
7199 test -z "$ac_objext" && ac_objext
=o
7201 for cc_temp
in $compiler""; do
7203 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7204 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7209 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7212 # Only perform the check for file, if the check method requires it
7213 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7214 case $deplibs_check_method in
7216 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7217 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7218 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7219 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7220 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7227 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7228 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7229 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7230 for ac_dir
in $ac_dummy; do
7232 test -z "$ac_dir" && ac_dir
=.
7233 if test -f $ac_dir/${ac_tool_prefix}file; then
7234 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7235 if test -n "$file_magic_test_file"; then
7236 case $deplibs_check_method in
7238 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7239 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7240 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7241 $EGREP "$file_magic_regex" > /dev
/null
; then
7246 *** Warning: the command libtool uses to detect shared libraries,
7247 *** $file_magic_cmd, produces output that libtool cannot recognize.
7248 *** The result is that libtool may fail to recognize shared libraries
7249 *** as such. This will affect the creation of libtool libraries that
7250 *** depend on shared libraries, but programs linked with such libtool
7251 *** libraries will work regardless of this problem. Nevertheless, you
7252 *** may want to report the problem to your system manager and/or to
7253 *** bug-libtool@gnu.org
7263 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7268 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7269 if test -n "$MAGIC_CMD"; then
7270 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7271 echo "${ECHO_T}$MAGIC_CMD" >&6
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7281 if test -z "$lt_cv_path_MAGIC_CMD"; then
7282 if test -n "$ac_tool_prefix"; then
7283 echo "$as_me:$LINENO: checking for file" >&5
7284 echo $ECHO_N "checking for file... $ECHO_C" >&6
7285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7293 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7294 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7295 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7296 for ac_dir
in $ac_dummy; do
7298 test -z "$ac_dir" && ac_dir
=.
7299 if test -f $ac_dir/file; then
7300 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7301 if test -n "$file_magic_test_file"; then
7302 case $deplibs_check_method in
7304 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7305 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7306 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7307 $EGREP "$file_magic_regex" > /dev
/null
; then
7312 *** Warning: the command libtool uses to detect shared libraries,
7313 *** $file_magic_cmd, produces output that libtool cannot recognize.
7314 *** The result is that libtool may fail to recognize shared libraries
7315 *** as such. This will affect the creation of libtool libraries that
7316 *** depend on shared libraries, but programs linked with such libtool
7317 *** libraries will work regardless of this problem. Nevertheless, you
7318 *** may want to report the problem to your system manager and/or to
7319 *** bug-libtool@gnu.org
7329 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7334 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7335 if test -n "$MAGIC_CMD"; then
7336 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7337 echo "${ECHO_T}$MAGIC_CMD" >&6
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7353 # Use C for the default configuration in the libtool script
7357 ac_cpp
='$CPP $CPPFLAGS'
7358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7363 # Source file extension for C test sources.
7366 # Object file extension for compiled C test sources.
7370 # Code to be used in simple compile tests
7371 lt_simple_compile_test_code
="int some_variable = 0;"
7373 # Code to be used in simple link tests
7374 lt_simple_link_test_code
='int main(){return(0);}'
7382 # If no C compiler was specified, use CC.
7385 # If no C compiler flags were specified, use CFLAGS.
7386 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7388 # Allow CC to be a program name with arguments.
7391 # Save the default compiler, since it gets overwritten when the other
7392 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7393 compiler_DEFAULT
=$CC
7395 # save warnings/boilerplate of simple test code
7396 ac_outfile
=conftest.
$ac_objext
7397 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7398 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7399 _lt_compiler_boilerplate
=`cat conftest.err`
7402 ac_outfile
=conftest.
$ac_objext
7403 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7404 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7405 _lt_linker_boilerplate
=`cat conftest.err`
7410 ## There is no encapsulation within the following macros, do not change
7411 ## the running order or otherwise move them around unless you know exactly
7412 ## what you are doing...
7413 if test -n "$compiler"; then
7415 lt_prog_compiler_no_builtin_flag
=
7417 if test "$GCC" = yes; then
7418 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7420 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7421 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7422 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7425 lt_cv_prog_compiler_rtti_exceptions
=no
7426 ac_outfile
=conftest.
$ac_objext
7427 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7428 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7429 # Insert the option either (1) after the last *FLAGS variable, or
7430 # (2) before a word containing "conftest.", or (3) at the end.
7431 # Note that $ac_compile itself does not contain backslashes and begins
7432 # with a dollar sign (not a hyphen), so the echo should work correctly.
7433 # The option is referenced via a variable to avoid confusing sed.
7434 lt_compile
=`echo "$ac_compile" | $SED \
7435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7437 -e 's:$: $lt_compiler_flag:'`
7438 (eval echo "\"\$as_me:7438: $lt_compile\"" >&5)
7439 (eval "$lt_compile" 2>conftest.err
)
7441 cat conftest.err
>&5
7442 echo "$as_me:7442: \$? = $ac_status" >&5
7443 if (exit $ac_status) && test -s "$ac_outfile"; then
7444 # The compiler can only warn and ignore the option if not recognized
7445 # So say no if there are warnings other than the usual output.
7446 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7447 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7448 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7449 lt_cv_prog_compiler_rtti_exceptions
=yes
7455 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7456 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7458 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7459 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7471 lt_prog_compiler_wl
=
7472 lt_prog_compiler_pic
=
7473 lt_prog_compiler_static
=
7475 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7476 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7478 if test "$GCC" = yes; then
7479 lt_prog_compiler_wl
='-Wl,'
7480 lt_prog_compiler_static
='-static'
7484 # All AIX code is PIC.
7485 if test "$host_cpu" = ia64
; then
7486 # AIX 5 now supports IA64 processor
7487 lt_prog_compiler_static
='-Bstatic'
7492 if test "$host_cpu" = m68k
; then
7493 # FIXME: we need at least 68020 code to build shared libraries, but
7494 # adding the `-m68020' flag to GCC prevents building anything better,
7496 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7500 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7501 # PIC is the default for these OSes.
7504 mingw
* | cygwin
* | pw32
* | os2
*)
7505 # This hack is so that the source file can tell whether it is being
7506 # built for inclusion in a dll (and should export symbols for example).
7507 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7508 # (--disable-auto-import) libraries
7509 lt_prog_compiler_pic
='-DDLL_EXPORT'
7512 darwin
* | rhapsody
*)
7513 # PIC is the default on this platform
7514 # Common symbols not allowed in MH_DYLIB files
7515 lt_prog_compiler_pic
='-fno-common'
7519 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7526 lt_prog_compiler_pic
='-fPIC'
7532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7533 # Instead, we relocate shared libraries at runtime.
7537 # Just because we use GCC doesn't mean we suddenly get shared libraries
7538 # on systems that don't support them.
7539 lt_prog_compiler_can_build_shared
=no
7544 # QNX uses GNU C++, but need to define -shared option too, otherwise
7546 lt_prog_compiler_pic
='-fPIC -shared'
7550 if test -d /usr
/nec
; then
7551 lt_prog_compiler_pic
=-Kconform_pic
7556 lt_prog_compiler_pic
='-fPIC'
7560 # PORTME Check for flag to pass linker flags through the system compiler.
7563 lt_prog_compiler_wl
='-Wl,'
7564 if test "$host_cpu" = ia64
; then
7565 # AIX 5 now supports IA64 processor
7566 lt_prog_compiler_static
='-Bstatic'
7568 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7572 # PIC is the default on this platform
7573 # Common symbols not allowed in MH_DYLIB files
7574 case $cc_basename in
7576 lt_prog_compiler_pic
='-qnocommon'
7577 lt_prog_compiler_wl
='-Wl,'
7582 mingw
* | cygwin
* | pw32
* | os2
*)
7583 # This hack is so that the source file can tell whether it is being
7584 # built for inclusion in a dll (and should export symbols for example).
7585 lt_prog_compiler_pic
='-DDLL_EXPORT'
7588 hpux9
* | hpux10
* | hpux11
*)
7589 lt_prog_compiler_wl
='-Wl,'
7590 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7597 lt_prog_compiler_pic
='+Z'
7600 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7601 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7604 irix5
* | irix6
* | nonstopux
*)
7605 lt_prog_compiler_wl
='-Wl,'
7606 # PIC (with -KPIC) is the default.
7607 lt_prog_compiler_static
='-non_shared'
7610 linux
* | k
*bsd
*-gnu)
7611 case $cc_basename in
7613 lt_prog_compiler_wl
='-Wl,'
7614 lt_prog_compiler_pic
='-KPIC'
7615 lt_prog_compiler_static
='-static'
7617 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7618 # Portland Group compilers (*not* the Pentium gcc compiler,
7619 # which looks to be a dead project)
7620 lt_prog_compiler_wl
='-Wl,'
7621 lt_prog_compiler_pic
='-fpic'
7622 lt_prog_compiler_static
='-Bstatic'
7625 lt_prog_compiler_wl
='-Wl,'
7626 # All Alpha code is PIC.
7627 lt_prog_compiler_static
='-non_shared'
7630 case `$CC -V 2>&1 | sed 5q` in
7633 lt_prog_compiler_pic
='-KPIC'
7634 lt_prog_compiler_static
='-Bstatic'
7635 lt_prog_compiler_wl
='-Wl,'
7638 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7639 lt_prog_compiler_pic
='-KPIC'
7640 lt_prog_compiler_static
='-Bstatic'
7641 lt_prog_compiler_wl
=''
7649 lt_prog_compiler_pic
='-KPIC'
7650 lt_prog_compiler_static
='-Bstatic'
7654 # QNX uses GNU C++, but need to define -shared option too, otherwise
7656 lt_prog_compiler_pic
='-fPIC -shared'
7659 osf3
* | osf4
* | osf5
*)
7660 lt_prog_compiler_wl
='-Wl,'
7661 # All OSF/1 code is PIC.
7662 lt_prog_compiler_static
='-non_shared'
7666 lt_prog_compiler_static
='-non_shared'
7670 lt_prog_compiler_pic
='-KPIC'
7671 lt_prog_compiler_static
='-Bstatic'
7672 case $cc_basename in
7674 lt_prog_compiler_wl
='-Qoption ld ';;
7676 lt_prog_compiler_wl
='-Wl,';;
7681 lt_prog_compiler_wl
='-Qoption ld '
7682 lt_prog_compiler_pic
='-PIC'
7683 lt_prog_compiler_static
='-Bstatic'
7686 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7687 lt_prog_compiler_wl
='-Wl,'
7688 lt_prog_compiler_pic
='-KPIC'
7689 lt_prog_compiler_static
='-Bstatic'
7693 if test -d /usr
/nec
;then
7694 lt_prog_compiler_pic
='-Kconform_pic'
7695 lt_prog_compiler_static
='-Bstatic'
7699 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7700 lt_prog_compiler_wl
='-Wl,'
7701 lt_prog_compiler_pic
='-KPIC'
7702 lt_prog_compiler_static
='-Bstatic'
7706 lt_prog_compiler_wl
='-Wl,'
7707 lt_prog_compiler_can_build_shared
=no
7711 lt_prog_compiler_pic
='-pic'
7712 lt_prog_compiler_static
='-Bstatic'
7716 lt_prog_compiler_can_build_shared
=no
7722 # For platforms which do not support PIC, -DPIC is meaningless:
7724 lt_prog_compiler_pic
=
7727 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7730 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7731 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7739 # Check to make sure the PIC flag actually works.
7741 if test -n "$lt_prog_compiler_pic"; then
7742 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7743 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7744 if test "${lt_prog_compiler_pic_works+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 lt_prog_compiler_pic_works
=no
7748 ac_outfile
=conftest.
$ac_objext
7749 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7750 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7751 # Insert the option either (1) after the last *FLAGS variable, or
7752 # (2) before a word containing "conftest.", or (3) at the end.
7753 # Note that $ac_compile itself does not contain backslashes and begins
7754 # with a dollar sign (not a hyphen), so the echo should work correctly.
7755 # The option is referenced via a variable to avoid confusing sed.
7756 lt_compile
=`echo "$ac_compile" | $SED \
7757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7759 -e 's:$: $lt_compiler_flag:'`
7760 (eval echo "\"\$as_me:7760: $lt_compile\"" >&5)
7761 (eval "$lt_compile" 2>conftest.err
)
7763 cat conftest.err
>&5
7764 echo "$as_me:7764: \$? = $ac_status" >&5
7765 if (exit $ac_status) && test -s "$ac_outfile"; then
7766 # The compiler can only warn and ignore the option if not recognized
7767 # So say no if there are warnings other than the usual output.
7768 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7769 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7770 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7771 lt_prog_compiler_pic_works
=yes
7777 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7778 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7780 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7781 case $lt_prog_compiler_pic in
7783 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7786 lt_prog_compiler_pic
=
7787 lt_prog_compiler_can_build_shared
=no
7798 # Check to make sure the static flag actually works.
7800 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7801 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7802 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7803 if test "${lt_prog_compiler_static_works+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 lt_prog_compiler_static_works
=no
7807 save_LDFLAGS
="$LDFLAGS"
7808 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7809 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7810 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7811 # The linker can only warn and ignore the option if not recognized
7812 # So say no if there are warnings
7813 if test -s conftest.err
; then
7814 # Append any errors to the config.log.
7815 cat conftest.err
1>&5
7816 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7817 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7818 if diff conftest.exp conftest.er2
>/dev
/null
; then
7819 lt_prog_compiler_static_works
=yes
7822 lt_prog_compiler_static_works
=yes
7826 LDFLAGS
="$save_LDFLAGS"
7829 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7830 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7832 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7835 lt_prog_compiler_static
=
7844 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7845 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7846 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 lt_cv_prog_compiler_c_o
=no
7850 $RM -r conftest
2>/dev
/null
7854 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7856 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7857 # Insert the option either (1) after the last *FLAGS variable, or
7858 # (2) before a word containing "conftest.", or (3) at the end.
7859 # Note that $ac_compile itself does not contain backslashes and begins
7860 # with a dollar sign (not a hyphen), so the echo should work correctly.
7861 lt_compile
=`echo "$ac_compile" | $SED \
7862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7864 -e 's:$: $lt_compiler_flag:'`
7865 (eval echo "\"\$as_me:7865: $lt_compile\"" >&5)
7866 (eval "$lt_compile" 2>out
/conftest.err
)
7868 cat out
/conftest.err
>&5
7869 echo "$as_me:7869: \$? = $ac_status" >&5
7870 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7872 # The compiler can only warn and ignore the option if not recognized
7873 # So say no if there are warnings
7874 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7875 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7876 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7877 lt_cv_prog_compiler_c_o
=yes
7882 # SGI C++ compiler will create directory out/ii_files/ for
7883 # template instantiation
7884 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7885 $RM out
/* && rmdir out
7891 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7892 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7899 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7900 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7901 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 lt_cv_prog_compiler_c_o
=no
7905 $RM -r conftest
2>/dev
/null
7909 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7911 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7912 # Insert the option either (1) after the last *FLAGS variable, or
7913 # (2) before a word containing "conftest.", or (3) at the end.
7914 # Note that $ac_compile itself does not contain backslashes and begins
7915 # with a dollar sign (not a hyphen), so the echo should work correctly.
7916 lt_compile
=`echo "$ac_compile" | $SED \
7917 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7918 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7919 -e 's:$: $lt_compiler_flag:'`
7920 (eval echo "\"\$as_me:7920: $lt_compile\"" >&5)
7921 (eval "$lt_compile" 2>out
/conftest.err
)
7923 cat out
/conftest.err
>&5
7924 echo "$as_me:7924: \$? = $ac_status" >&5
7925 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7927 # The compiler can only warn and ignore the option if not recognized
7928 # So say no if there are warnings
7929 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7930 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7931 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7932 lt_cv_prog_compiler_c_o
=yes
7937 # SGI C++ compiler will create directory out/ii_files/ for
7938 # template instantiation
7939 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7940 $RM out
/* && rmdir out
7946 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7947 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7952 hard_links
="nottested"
7953 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7954 # do not overwrite the value of need_locks provided by the user
7955 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7956 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7959 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7961 ln conftest.a conftest.b
2>&5 || hard_links
=no
7962 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7963 echo "$as_me:$LINENO: result: $hard_links" >&5
7964 echo "${ECHO_T}$hard_links" >&6
7965 if test "$hard_links" = no
; then
7966 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7967 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7979 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7980 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7983 allow_undefined_flag
=
7984 always_export_symbols
=no
7986 archive_expsym_cmds
=
7987 compiler_needs_object
=no
7988 enable_shared_with_static_runtimes
=no
7989 export_dynamic_flag_spec
=
7990 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7991 hardcode_automatic
=no
7993 hardcode_direct_absolute
=no
7994 hardcode_libdir_flag_spec
=
7995 hardcode_libdir_flag_spec_ld
=
7996 hardcode_libdir_separator
=
7998 hardcode_shlibpath_var
=unsupported
8000 link_all_deplibs
=unknown
8003 old_archive_from_new_cmds
=
8004 old_archive_from_expsyms_cmds
=
8005 thread_safe_flag_spec
=
8006 whole_archive_flag_spec
=
8007 # include_expsyms should be a list of space-separated symbols to be *always*
8008 # included in the symbol list
8010 # exclude_expsyms can be an extended regexp of symbols to exclude
8011 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8012 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8013 # as well as any symbol that contains `d'.
8014 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8015 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8016 # platforms (ab)use it in PIC code, but their linkers get confused if
8017 # the symbol is explicitly referenced. Since portable code cannot
8018 # rely on this symbol name, it's probably fine to never include it in
8019 # preloaded symbol tables.
8020 extract_expsyms_cmds
=
8023 cygwin
* | mingw
* | pw32
*)
8024 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8025 # When not using gcc, we currently assume that we are using
8026 # Microsoft Visual C++.
8027 if test "$GCC" != yes; then
8032 # we just hope/assume this is gcc and not c89 (= MSVC++)
8041 if test "$with_gnu_ld" = yes; then
8042 # If archive_cmds runs LD, not CC, wlarc should be empty
8045 # Set some defaults for GNU ld with shared library support. These
8046 # are reset later if shared libraries are not supported. Putting them
8047 # here allows them to be overridden if necessary.
8048 runpath_var
=LD_RUN_PATH
8049 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8050 export_dynamic_flag_spec
='${wl}--export-dynamic'
8051 # ancient GNU ld didn't support --whole-archive et. al.
8052 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8053 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8055 whole_archive_flag_spec
=
8057 supports_anon_versioning
=no
8058 case `$LD -v 2>&1` in
8059 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8060 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8061 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8062 *\
2.11.
*) ;; # other 2.11 versions
8063 *) supports_anon_versioning
=yes ;;
8066 # See if GNU ld supports shared libraries.
8069 # On AIX/PPC, the GNU linker is very broken
8070 if test "$host_cpu" != ia64
; then
8074 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8075 *** to be unable to reliably create shared libraries on AIX.
8076 *** Therefore, libtool is disabling shared libraries support. If you
8077 *** really care for shared libraries, you may want to modify your PATH
8078 *** so that a non-GNU linker is found, and then restart.
8085 if test "$host_cpu" = m68k
; then
8086 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)'
8087 hardcode_libdir_flag_spec
='-L$libdir'
8088 hardcode_minus_L
=yes
8091 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8092 # that the semantics of dynamic libraries on AmigaOS, at least up
8093 # to version 4, is to share data among multiple programs linked
8094 # with the same dynamic library. Since this doesn't match the
8095 # behavior of shared libraries on other platforms, we can't use
8101 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8102 allow_undefined_flag
=unsupported
8103 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8104 # support --undefined. This deserves some investigation. FIXME
8105 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8111 cygwin
* | mingw
* | pw32
*)
8112 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8113 # as there is no search path for DLLs.
8114 hardcode_libdir_flag_spec
='-L$libdir'
8115 allow_undefined_flag
=unsupported
8116 always_export_symbols
=no
8117 enable_shared_with_static_runtimes
=yes
8118 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8120 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8121 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8122 # If the export-symbols file already is a .def file (1st line
8123 # is EXPORTS), use it as is; otherwise, prepend...
8124 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8125 cp $export_symbols $output_objdir/$soname.def;
8127 echo EXPORTS > $output_objdir/$soname.def;
8128 cat $export_symbols >> $output_objdir/$soname.def;
8130 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8138 hardcode_shlibpath_var
=no
8139 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8140 export_dynamic_flag_spec
='${wl}-E'
8141 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8142 # Instead, shared libraries are loaded at an image base (0x10000000 by
8143 # default) and relocated if they conflict, which is a slow very memory
8144 # consuming and fragmenting process. To avoid this, we pick a random,
8145 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8146 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8147 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8148 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'
8151 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8153 if test "$host_os" = linux-dietlibc
; then
8154 case $cc_basename in
8155 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8158 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8159 && test "$tmp_diet" = no
8162 case $cc_basename,$host_cpu in
8163 pgcc
*) # Portland Group C compiler
8164 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'
8165 tmp_addflag
=' $pic_flag'
8167 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8168 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'
8169 tmp_addflag
=' $pic_flag -Mnomain' ;;
8170 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8171 tmp_addflag
=' -i_dynamic' ;;
8172 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8173 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8174 ifc
* | ifort
*) # Intel Fortran compiler
8175 tmp_addflag
=' -nofor_main' ;;
8177 case `$CC -V 2>&1 | sed 5q` in
8178 *Sun\ C
*) # Sun C 5.9
8179 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'
8180 compiler_needs_object
=yes
8181 tmp_sharedflag
='-G' ;;
8182 *Sun\ F
*) # Sun Fortran 8.3
8183 tmp_sharedflag
='-G' ;;
8185 tmp_sharedflag
='-shared' ;;
8187 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8189 if test "x$supports_anon_versioning" = xyes
; then
8190 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8192 echo "local: *; };" >> $output_objdir/$libname.ver~
8193 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8201 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8202 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8211 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8216 *** create shared libraries on Solaris systems. Therefore, libtool
8217 *** is disabling shared libraries support. We urge you to upgrade GNU
8218 *** binutils to release 2.9.1 or newer. Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8223 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8224 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8231 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8232 case `$LD -v 2>&1` in
8233 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8238 *** reliably create shared libraries on SCO systems. Therefore, libtool
8239 *** is disabling shared libraries support. We urge you to upgrade GNU
8240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8241 *** your PATH or compiler configuration so that the native linker is
8242 *** used, and then restart.
8247 # For security reasons, it is highly recommended that you always
8248 # use absolute paths for naming shared libraries, and exclude the
8249 # DT_RUNPATH tag from executables and libraries. But doing so
8250 # requires that you compile everything twice, which is a pain.
8251 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8252 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8253 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8263 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8266 hardcode_shlibpath_var
=no
8270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8272 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8279 if test "$ld_shlibs" = no
; then
8281 hardcode_libdir_flag_spec
=
8282 export_dynamic_flag_spec
=
8283 whole_archive_flag_spec
=
8286 # PORTME fill in a description of your system's linker (not GNU ld)
8289 allow_undefined_flag
=unsupported
8290 always_export_symbols
=yes
8291 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'
8292 # Note: this linker hardcodes the directories in LIBPATH if there
8293 # are no directories specified by -L.
8294 hardcode_minus_L
=yes
8295 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8296 # Neither direct hardcoding nor static linking is supported with a
8298 hardcode_direct
=unsupported
8303 if test "$host_cpu" = ia64
; then
8304 # On IA64, the linker does run time linking by default, so we don't
8305 # have to do anything special.
8306 aix_use_runtimelinking
=no
8307 exp_sym_flag
='-Bexport'
8310 # If we're using GNU nm, then we don't want the "-C" option.
8311 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8312 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8313 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'
8315 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'
8317 aix_use_runtimelinking
=no
8319 # Test if we are trying to use run time linking or normal
8320 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8321 # need to do runtime linking.
8322 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8323 for ld_flag
in $LDFLAGS; do
8324 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8325 aix_use_runtimelinking
=yes
8332 exp_sym_flag
='-bexport'
8333 no_entry_flag
='-bnoentry'
8336 # When large executables or shared objects are built, AIX ld can
8337 # have problems creating the table of contents. If linking a library
8338 # or program results in "error TOC overflow" add -mminimal-toc to
8339 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8340 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8344 hardcode_direct_absolute
=yes
8345 hardcode_libdir_separator
=':'
8346 link_all_deplibs
=yes
8347 file_list_spec
='${wl}-f,'
8349 if test "$GCC" = yes; then
8350 case $host_os in aix4.
[012]|aix4.
[012].
*)
8351 # We only want to do this on AIX 4.2 and lower, the check
8352 # below for broken collect2 doesn't work under 4.3+
8353 collect2name
=`${CC} -print-prog-name=collect2`
8354 if test -f "$collect2name" &&
8355 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8357 # We have reworked collect2
8360 # We have old collect2
8361 hardcode_direct
=unsupported
8362 # It fails to find uninstalled libraries when the uninstalled
8363 # path is not listed in the libpath. Setting hardcode_minus_L
8364 # to unsupported forces relinking
8365 hardcode_minus_L
=yes
8366 hardcode_libdir_flag_spec
='-L$libdir'
8367 hardcode_libdir_separator
=
8371 shared_flag
='-shared'
8372 if test "$aix_use_runtimelinking" = yes; then
8373 shared_flag
="$shared_flag "'${wl}-G'
8377 if test "$host_cpu" = ia64
; then
8378 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8379 # chokes on -Wl,-G. The following line is correct:
8382 if test "$aix_use_runtimelinking" = yes; then
8383 shared_flag
='${wl}-G'
8385 shared_flag
='${wl}-bM:SRE'
8390 # It seems that -bexpall does not export symbols beginning with
8391 # underscore (_), so it is better to generate a list of symbols to export.
8392 always_export_symbols
=yes
8393 if test "$aix_use_runtimelinking" = yes; then
8394 # Warning - without using the other runtime loading flags (-brtl),
8395 # -berok will link without error, but may produce a broken library.
8396 allow_undefined_flag
='-berok'
8397 # Determine the default libpath from the value encoded in an
8399 if test x
$gcc_no_link = xyes
; then
8400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8402 { (exit 1); exit 1; }; }
8404 cat >conftest.
$ac_ext <<_ACEOF
8407 cat confdefs.h
>>conftest.
$ac_ext
8408 cat >>conftest.
$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8419 rm -f conftest.
$ac_objext conftest
$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>conftest.er1
8423 grep -v '^ *+' conftest.er1
>conftest.err
8425 cat conftest.err
>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try
='test -z "$ac_c_werror_flag"
8429 || test ! -s conftest.err'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; } &&
8435 { ac_try
='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8442 lt_aix_libpath_sed
='
8443 /Import File Strings/,/^$/ {
8449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8450 # Check for a 64-bit object if we didn't find anything.
8451 if test -z "$aix_libpath"; then
8452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.
$ac_ext >&5
8459 rm -f conftest.err conftest.
$ac_objext \
8460 conftest
$ac_exeext conftest.
$ac_ext
8461 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8463 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8464 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"
8466 if test "$host_cpu" = ia64
; then
8467 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8468 allow_undefined_flag
="-z nodefs"
8469 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"
8471 # Determine the default libpath from the value encoded in an
8473 if test x
$gcc_no_link = xyes
; then
8474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8476 { (exit 1); exit 1; }; }
8478 cat >conftest.
$ac_ext <<_ACEOF
8481 cat confdefs.h
>>conftest.
$ac_ext
8482 cat >>conftest.
$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8493 rm -f conftest.
$ac_objext conftest
$ac_exeext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8495 (eval $ac_link) 2>conftest.er1
8497 grep -v '^ *+' conftest.er1
>conftest.err
8499 cat conftest.err
>&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try
='test -z "$ac_c_werror_flag"
8503 || test ! -s conftest.err'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; } &&
8509 { ac_try
='test -s conftest$ac_exeext'
8510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8516 lt_aix_libpath_sed
='
8517 /Import File Strings/,/^$/ {
8523 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8524 # Check for a 64-bit object if we didn't find anything.
8525 if test -z "$aix_libpath"; then
8526 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.
$ac_ext >&5
8533 rm -f conftest.err conftest.
$ac_objext \
8534 conftest
$ac_exeext conftest.
$ac_ext
8535 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8537 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8538 # Warning - without using the other run time loading flags,
8539 # -berok will link without error, but may produce a broken library.
8540 no_undefined_flag
=' ${wl}-bernotok'
8541 allow_undefined_flag
=' ${wl}-berok'
8542 # Exported symbols can be pulled into shared objects from archives
8543 whole_archive_flag_spec
='$convenience'
8544 archive_cmds_need_lc
=yes
8545 # This is similar to how AIX traditionally builds its shared libraries.
8546 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'
8552 if test "$host_cpu" = m68k
; then
8553 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)'
8554 hardcode_libdir_flag_spec
='-L$libdir'
8555 hardcode_minus_L
=yes
8557 # see comment about different semantics on the GNU ld section
8562 export_dynamic_flag_spec
=-rdynamic
8565 cygwin
* | mingw
* | pw32
*)
8566 # When not using gcc, we currently assume that we are using
8567 # Microsoft Visual C++.
8568 # hardcode_libdir_flag_spec is actually meaningless, as there is
8569 # no search path for DLLs.
8570 hardcode_libdir_flag_spec
=' '
8571 allow_undefined_flag
=unsupported
8572 # Tell ltmain to make .lib files, not .a files.
8574 # Tell ltmain to make .dll files, not .so files.
8576 # FIXME: Setting linknames here is a bad hack.
8577 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8578 # The linker will automatically build a .lib file if we build a DLL.
8579 old_archive_from_new_cmds
='true'
8580 # FIXME: Should let the user specify the lib program.
8581 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8582 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8583 enable_shared_with_static_runtimes
=yes
8586 darwin
* | rhapsody
*)
8588 rhapsody
* | darwin1.
[012])
8589 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8592 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8594 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8597 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8602 archive_cmds_need_lc
=no
8604 hardcode_automatic
=yes
8605 hardcode_shlibpath_var
=unsupported
8606 whole_archive_flag_spec
=''
8607 link_all_deplibs
=yes
8608 if test "$GCC" = yes ; then
8609 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 lt_cv_apple_cc_single_mod
=no
8613 if test -z "${LT_MULTI_MODULE}"; then
8614 # By default we will add the -single_module flag. You can override
8615 # by either setting the environment variable LT_MULTI_MODULE
8616 # non-empty at configure time, or by adding -multi-module to the
8618 echo "int foo(void){return 1;}" > conftest.c
8619 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8620 -dynamiclib ${wl}-single_module conftest.c
8621 if test -f libconftest.dylib
; then
8622 lt_cv_apple_cc_single_mod
=yes
8623 rm libconftest.dylib
8629 output_verbose_link_cmd
=echo
8630 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8631 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8632 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}'
8634 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8635 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}'
8637 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8638 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}'
8640 case $cc_basename in
8642 output_verbose_link_cmd
=echo
8643 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8644 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8645 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8646 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}'
8647 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}'
8657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8658 hardcode_libdir_flag_spec
='-L$libdir'
8659 hardcode_shlibpath_var
=no
8666 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8667 # support. Future versions do this automatically, but an explicit c++rt0.o
8668 # does not break anything, and helps significantly (at the cost of a little
8671 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8672 hardcode_libdir_flag_spec
='-R$libdir'
8674 hardcode_shlibpath_var
=no
8677 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8679 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8681 hardcode_minus_L
=yes
8682 hardcode_shlibpath_var
=no
8685 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8686 freebsd
* | dragonfly
*)
8687 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8688 hardcode_libdir_flag_spec
='-R$libdir'
8690 hardcode_shlibpath_var
=no
8694 if test "$GCC" = yes; then
8695 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'
8697 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'
8699 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8700 hardcode_libdir_separator
=:
8703 # hardcode_minus_L: Not really in the search PATH,
8704 # but as the default location of the library.
8705 hardcode_minus_L
=yes
8706 export_dynamic_flag_spec
='${wl}-E'
8710 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8711 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8713 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8715 if test "$with_gnu_ld" = no
; then
8716 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8717 hardcode_libdir_flag_spec_ld
='+b $libdir'
8718 hardcode_libdir_separator
=:
8720 hardcode_direct_absolute
=yes
8721 export_dynamic_flag_spec
='${wl}-E'
8722 # hardcode_minus_L: Not really in the search PATH,
8723 # but as the default location of the library.
8724 hardcode_minus_L
=yes
8729 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8732 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8735 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8747 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8750 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8754 if test "$with_gnu_ld" = no
; then
8755 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8756 hardcode_libdir_separator
=:
8761 hardcode_shlibpath_var
=no
8765 hardcode_direct_absolute
=yes
8766 export_dynamic_flag_spec
='${wl}-E'
8768 # hardcode_minus_L: Not really in the search PATH,
8769 # but as the default location of the library.
8770 hardcode_minus_L
=yes
8776 irix5
* | irix6
* | nonstopux
*)
8777 if test "$GCC" = yes; then
8778 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'
8779 # Try to use the -exported_symbol ld option, if it does not
8780 # work, assume that -exports_file does not work either and
8781 # implicitly export all symbols.
8782 save_LDFLAGS
="$LDFLAGS"
8783 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8784 if test x
$gcc_no_link = xyes
; then
8785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8787 { (exit 1); exit 1; }; }
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 rm -f conftest.
$ac_objext conftest
$ac_exeext
8793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8794 (eval $ac_link) 2>conftest.er1
8796 grep -v '^ *+' conftest.er1
>conftest.err
8798 cat conftest.err
>&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } &&
8801 { ac_try
='test -z "$ac_c_werror_flag"
8802 || test ! -s conftest.err'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; } &&
8808 { ac_try
='test -s conftest$ac_exeext'
8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; }; then
8814 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'
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8821 rm -f conftest.err conftest.
$ac_objext \
8822 conftest
$ac_exeext conftest.
$ac_ext
8823 LDFLAGS
="$save_LDFLAGS"
8825 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'
8826 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'
8828 archive_cmds_need_lc
='no'
8829 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8830 hardcode_libdir_separator
=:
8832 link_all_deplibs
=yes
8836 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8837 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8839 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8841 hardcode_libdir_flag_spec
='-R$libdir'
8843 hardcode_shlibpath_var
=no
8847 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8849 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8850 hardcode_libdir_separator
=:
8851 hardcode_shlibpath_var
=no
8859 hardcode_shlibpath_var
=no
8860 hardcode_direct_absolute
=yes
8861 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8862 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8863 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8864 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8865 export_dynamic_flag_spec
='${wl}-E'
8868 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8869 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8870 hardcode_libdir_flag_spec
='-R$libdir'
8873 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8874 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8881 hardcode_libdir_flag_spec
='-L$libdir'
8882 hardcode_minus_L
=yes
8883 allow_undefined_flag
=unsupported
8884 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'
8885 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8889 if test "$GCC" = yes; then
8890 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8891 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'
8893 allow_undefined_flag
=' -expect_unresolved \*'
8894 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'
8896 archive_cmds_need_lc
='no'
8897 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8898 hardcode_libdir_separator
=:
8901 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8902 if test "$GCC" = yes; then
8903 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8904 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'
8905 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8907 allow_undefined_flag
=' -expect_unresolved \*'
8908 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'
8909 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~
8910 $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'
8912 # Both c and cxx compiler support -rpath directly
8913 hardcode_libdir_flag_spec
='-rpath $libdir'
8915 archive_cmds_need_lc
='no'
8916 hardcode_libdir_separator
=:
8920 no_undefined_flag
=' -z defs'
8921 if test "$GCC" = yes; then
8923 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8924 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8925 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8927 case `$CC -V 2>&1` in
8930 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8932 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8936 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8937 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8938 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8942 hardcode_libdir_flag_spec
='-R$libdir'
8943 hardcode_shlibpath_var
=no
8945 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8947 # The compiler driver will combine and reorder linker options,
8948 # but understands `-z linker_flag'. GCC discards it without `$wl',
8949 # but is careful enough not to reorder.
8950 # Supported since Solaris 2.6 (maybe 2.5.1?)
8951 if test "$GCC" = yes; then
8952 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8954 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8958 link_all_deplibs
=yes
8962 if test "x$host_vendor" = xsequent
; then
8963 # Use $CC to link under sequent, because it throws in some extra .o
8964 # files that make .init and .fini sections work.
8965 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8967 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8969 hardcode_libdir_flag_spec
='-L$libdir'
8971 hardcode_minus_L
=yes
8972 hardcode_shlibpath_var
=no
8976 case $host_vendor in
8978 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8979 hardcode_direct
=yes # is this really true???
8982 ## LD is ld it makes a PLAMLIB
8983 ## CC just makes a GrossModule.
8984 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8985 reload_cmds
='$CC -r -o $output$reload_objs'
8989 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8990 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8993 runpath_var
='LD_RUN_PATH'
8994 hardcode_shlibpath_var
=no
8998 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999 hardcode_shlibpath_var
=no
9000 export_dynamic_flag_spec
='-Bexport'
9004 if test -d /usr
/nec
; then
9005 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006 hardcode_shlibpath_var
=no
9007 runpath_var
=LD_RUN_PATH
9008 hardcode_runpath_var
=yes
9013 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9014 no_undefined_flag
='${wl}-z,text'
9015 archive_cmds_need_lc
=no
9016 hardcode_shlibpath_var
=no
9017 runpath_var
='LD_RUN_PATH'
9019 if test "$GCC" = yes; then
9020 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9021 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9023 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9024 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9028 sysv5
* | sco3.2v5
* | sco5v6
*)
9029 # Note: We can NOT use -z defs as we might desire, because we do not
9030 # link with -lc, and that would cause any symbols used from libc to
9031 # always be unresolved, which means just about no library would
9032 # ever link correctly. If we're not using GNU ld we use -z text
9033 # though, which does catch some bad symbols but isn't as heavy-handed
9035 no_undefined_flag
='${wl}-z,text'
9036 allow_undefined_flag
='${wl}-z,nodefs'
9037 archive_cmds_need_lc
=no
9038 hardcode_shlibpath_var
=no
9039 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9040 hardcode_libdir_separator
=':'
9041 link_all_deplibs
=yes
9042 export_dynamic_flag_spec
='${wl}-Bexport'
9043 runpath_var
='LD_RUN_PATH'
9045 if test "$GCC" = yes; then
9046 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9047 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9049 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9056 hardcode_libdir_flag_spec
='-L$libdir'
9057 hardcode_shlibpath_var
=no
9065 if test x
$host_vendor = xsni
; then
9067 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9068 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9074 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9075 echo "${ECHO_T}$ld_shlibs" >&6
9076 test "$ld_shlibs" = no
&& can_build_shared
=no
9078 with_gnu_ld
=$with_gnu_ld
9095 # Do we need to explicitly link libc?
9097 case "x$archive_cmds_need_lc" in
9099 # Assume -lc should be added
9100 archive_cmds_need_lc
=yes
9102 if test "$enable_shared" = yes && test "$GCC" = yes; then
9103 case $archive_cmds in
9105 # FIXME: we may have to deal with multi-command sequences.
9108 # Test whether the compiler implicitly links with -lc since on some
9109 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9110 # to ld, don't add -lc before -lgcc.
9111 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9112 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9114 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9117 (eval $ac_compile) 2>&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } 2>conftest.err
; then
9123 libobjs
=conftest.
$ac_objext
9125 wl
=$lt_prog_compiler_wl
9126 pic_flag
=$lt_prog_compiler_pic
9132 lt_save_allow_undefined_flag
=$allow_undefined_flag
9133 allow_undefined_flag
=
9134 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9135 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }
9140 archive_cmds_need_lc
=no
9142 archive_cmds_need_lc
=yes
9144 allow_undefined_flag
=$lt_save_allow_undefined_flag
9146 cat conftest.err
1>&5
9149 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9150 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9313 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9314 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9316 if test "$withGCC" = yes; then
9318 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9319 *) lt_awk_arg
="/^libraries:/" ;;
9321 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9322 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9323 # if the path contains ";" then we assume it to be the separator
9324 # otherwise default to the standard path separator (i.e. ":") - it is
9325 # assumed that no part of a normal pathname contains ";" but that should
9326 # okay in the real world where ";" in dirpaths is itself problematic.
9327 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9329 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9331 # Ok, now we have the path, separated by spaces, we can step through it
9332 # and add multilib dir if necessary.
9333 lt_tmp_lt_search_path_spec
=
9334 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9335 for lt_sys_path
in $lt_search_path_spec; do
9336 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9337 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9339 test -d "$lt_sys_path" && \
9340 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9343 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9344 BEGIN {RS=" "; FS="/|\n";} {
9347 for (lt_i = NF; lt_i > 0; lt_i--) {
9348 if ($lt_i != "" && $lt_i != ".") {
9349 if ($lt_i == "..") {
9352 if (lt_count == 0) {
9353 lt_foo="/" $lt_i lt_foo;
9360 if (lt_foo != "") { lt_freq[lt_foo]++; }
9361 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9363 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9365 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9368 libname_spec
='lib$name'
9376 shlibpath_overrides_runpath
=unknown
9378 dynamic_linker
="$host_os ld.so"
9379 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9380 need_lib_prefix
=unknown
9381 hardcode_into_libs
=no
9383 # when you set need_version to no, make sure it does not cause -set_version
9384 # flags to be left without arguments
9385 need_version
=unknown
9390 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9391 shlibpath_var
=LIBPATH
9393 # AIX 3 has no versioning support, so we append a major version to the name.
9394 soname_spec
='${libname}${release}${shared_ext}$major'
9401 hardcode_into_libs
=yes
9402 if test "$host_cpu" = ia64
; then
9403 # AIX 5 supports IA64
9404 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9405 shlibpath_var
=LD_LIBRARY_PATH
9407 # With GCC up to 2.95.x, collect2 would create an import file
9408 # for dependence libraries. The import file would start with
9409 # the line `#! .'. This would cause the generated library to
9410 # depend on `.', always an invalid library. This was fixed in
9411 # development snapshots of GCC prior to 3.0.
9413 aix4 | aix4.
[01] | aix4.
[01].
*)
9414 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9416 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9423 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9424 # soname into executable. Probably we can add versioning support to
9425 # collect2, so additional links can be useful in future.
9426 if test "$aix_use_runtimelinking" = yes; then
9427 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9428 # instead of lib<name>.a to let people know that these are not
9429 # typical AIX shared libraries.
9430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9432 # We preserve .a as extension for shared libraries through AIX4.2
9433 # and later when we are not doing run time linking.
9434 library_names_spec
='${libname}${release}.a $libname.a'
9435 soname_spec
='${libname}${release}${shared_ext}$major'
9437 shlibpath_var
=LIBPATH
9442 if test "$host_cpu" = m68k
; then
9443 library_names_spec
='$libname.ixlibrary $libname.a'
9444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9445 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'
9452 library_names_spec
='${libname}${shared_ext}'
9453 dynamic_linker
="$host_os ld.so"
9454 shlibpath_var
=LIBRARY_PATH
9460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9461 soname_spec
='${libname}${release}${shared_ext}$major'
9462 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9463 shlibpath_var
=LD_LIBRARY_PATH
9464 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9465 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9466 # the default ld.so.conf also contains /usr/contrib/lib and
9467 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9468 # libtool to hard-code these into programs
9471 cygwin
* | mingw
* | pw32
*)
9472 version_type
=windows
9477 case $withGCC,$host_os in
9478 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9479 library_names_spec
='$libname.dll.a'
9480 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9481 postinstall_cmds
='base_file=`basename \${file}`~
9482 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9483 dldir=$destdir/`dirname \$dlpath`~
9484 test -d \$dldir || mkdir -p \$dldir~
9485 $install_prog $dir/$dlname \$dldir/$dlname~
9486 chmod a+x \$dldir/$dlname~
9487 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9488 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9490 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9491 dlpath=$dir/\$dldll~
9493 shlibpath_overrides_runpath
=yes
9497 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9498 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9499 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9502 # MinGW DLLs use traditional 'lib' prefix
9503 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9504 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9505 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9506 # It is most probably a Windows format PATH printed by
9507 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9508 # path with ; separators, and with drive letters. We can handle the
9509 # drive letters (cygwin fileutils understands them), so leave them,
9510 # especially as we might pass files found there to a mingw objdump,
9511 # which wouldn't understand a cygwinified path. Ahh.
9512 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9514 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9518 # pw32 DLLs use 'pw' prefix rather than 'lib'
9519 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9525 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9528 dynamic_linker
='Win32 ld.exe'
9529 # FIXME: first we should search . and the directory the executable is in
9533 darwin
* | rhapsody
*)
9534 dynamic_linker
="$host_os dyld"
9538 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9539 soname_spec
='${libname}${release}${major}$shared_ext'
9540 shlibpath_overrides_runpath
=yes
9541 shlibpath_var
=DYLD_LIBRARY_PATH
9542 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9544 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9545 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9553 soname_spec
='${libname}${release}${shared_ext}$major'
9554 shlibpath_var
=LD_LIBRARY_PATH
9561 freebsd
* | dragonfly
*)
9562 # DragonFly does not have aout. When/if they implement a new
9563 # versioning mechanism, adjust this.
9564 if test -x /usr
/bin
/objformat
; then
9565 objformat
=`/usr/bin/objformat`
9568 freebsd
[123]*) objformat
=aout
;;
9572 version_type
=freebsd-
$objformat
9573 case $version_type in
9575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9580 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9584 shlibpath_var
=LD_LIBRARY_PATH
9587 shlibpath_overrides_runpath
=yes
9589 freebsd3.
[01]* | freebsdelf3.
[01]*)
9590 shlibpath_overrides_runpath
=yes
9591 hardcode_into_libs
=yes
9593 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9594 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9595 shlibpath_overrides_runpath
=no
9596 hardcode_into_libs
=yes
9598 *) # from 4.6 on, and DragonFly
9599 shlibpath_overrides_runpath
=yes
9600 hardcode_into_libs
=yes
9609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9610 soname_spec
='${libname}${release}${shared_ext}$major'
9611 shlibpath_var
=LD_LIBRARY_PATH
9612 hardcode_into_libs
=yes
9615 hpux9
* | hpux10
* | hpux11
*)
9616 # Give a soname corresponding to the major version so that dld.sl refuses to
9617 # link against other versions.
9624 hardcode_into_libs
=yes
9625 dynamic_linker
="$host_os dld.so"
9626 shlibpath_var
=LD_LIBRARY_PATH
9627 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629 soname_spec
='${libname}${release}${shared_ext}$major'
9630 if test "X$HPUX_IA64_MODE" = X32
; then
9631 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9633 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9635 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9639 hardcode_into_libs
=yes
9640 dynamic_linker
="$host_os dld.sl"
9641 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9642 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9644 soname_spec
='${libname}${release}${shared_ext}$major'
9645 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9646 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9650 dynamic_linker
="$host_os dld.sl"
9651 shlibpath_var
=SHLIB_PATH
9652 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9654 soname_spec
='${libname}${release}${shared_ext}$major'
9657 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9658 postinstall_cmds
='chmod 555 $lib'
9665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9666 soname_spec
='${libname}${release}${shared_ext}$major'
9667 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9668 shlibpath_var
=LD_LIBRARY_PATH
9669 shlibpath_overrides_runpath
=no
9670 hardcode_into_libs
=yes
9673 irix5
* | irix6
* | nonstopux
*)
9675 nonstopux
*) version_type
=nonstopux
;;
9677 if test "$lt_cv_prog_gnu_ld" = yes; then
9685 soname_spec
='${libname}${release}${shared_ext}$major'
9686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9688 irix5
* | nonstopux
*)
9692 case $LD in # libtool.m4 will add one of these switches to LD
9693 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9694 libsuff
= shlibsuff
= libmagic
=32-bit;;
9695 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9696 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9697 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9698 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9699 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9703 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9704 shlibpath_overrides_runpath
=no
9705 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9706 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9707 hardcode_into_libs
=yes
9710 # No shared lib support for Linux oldld, aout, or coff.
9711 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9715 # This must be Linux ELF.
9716 linux
* | k
*bsd
*-gnu)
9720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9721 soname_spec
='${libname}${release}${shared_ext}$major'
9722 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9723 shlibpath_var
=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath
=no
9725 # Some binutils ld are patched to set DT_RUNPATH
9726 save_LDFLAGS
=$LDFLAGS
9728 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9729 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9730 if test x
$gcc_no_link = xyes
; then
9731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9733 { (exit 1); exit 1; }; }
9735 cat >conftest.
$ac_ext <<_ACEOF
9738 cat confdefs.h
>>conftest.
$ac_ext
9739 cat >>conftest.
$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9750 rm -f conftest.
$ac_objext conftest
$ac_exeext
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 (eval $ac_link) 2>conftest.er1
9754 grep -v '^ *+' conftest.er1
>conftest.err
9756 cat conftest.err
>&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } &&
9759 { ac_try
='test -z "$ac_c_werror_flag"
9760 || test ! -s conftest.err'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; } &&
9766 { ac_try
='test -s conftest$ac_exeext'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; }; then
9772 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9773 shlibpath_overrides_runpath
=yes
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.
$ac_ext >&5
9781 rm -f conftest.err conftest.
$ac_objext \
9782 conftest
$ac_exeext conftest.
$ac_ext
9783 LDFLAGS
=$save_LDFLAGS
9786 # This implies no fast_install, which is unacceptable.
9787 # Some rework will be needed to allow for fast_install
9788 # before this can be enabled.
9789 hardcode_into_libs
=yes
9791 # Append ld.so.conf contents to the search path
9792 if test -f /etc
/ld.so.conf
; then
9793 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' ' '`
9794 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9797 # We used to test for /lib/ld.so.1 and disable shared libraries on
9798 # powerpc, because MkLinux only supported shared libraries with the
9799 # GNU dynamic linker. Since this was broken with cross compilers,
9800 # most powerpc-linux boxes support dynamic linking these days and
9801 # people can always --disable-shared, the test was removed, and we
9802 # assume the GNU/Linux dynamic linker is in use.
9803 dynamic_linker
='GNU/Linux ld.so'
9810 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9813 dynamic_linker
='NetBSD (a.out) ld.so'
9815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9816 soname_spec
='${libname}${release}${shared_ext}$major'
9817 dynamic_linker
='NetBSD ld.elf_so'
9819 shlibpath_var
=LD_LIBRARY_PATH
9820 shlibpath_overrides_runpath
=yes
9821 hardcode_into_libs
=yes
9826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9827 shlibpath_var
=LD_LIBRARY_PATH
9828 shlibpath_overrides_runpath
=yes
9835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 soname_spec
='${libname}${release}${shared_ext}$major'
9837 shlibpath_var
=LD_LIBRARY_PATH
9838 shlibpath_overrides_runpath
=no
9839 hardcode_into_libs
=yes
9840 dynamic_linker
='ldqnx.so'
9845 sys_lib_dlsearch_path_spec
="/usr/lib"
9847 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9849 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9850 *) need_version
=no
;;
9852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9854 shlibpath_var
=LD_LIBRARY_PATH
9855 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9857 openbsd2.
[89] | openbsd2.
[89].
*)
9858 shlibpath_overrides_runpath
=no
9861 shlibpath_overrides_runpath
=yes
9865 shlibpath_overrides_runpath
=yes
9870 libname_spec
='$name'
9873 library_names_spec
='$libname${shared_ext} $libname.a'
9874 dynamic_linker
='OS/2 ld.exe'
9875 shlibpath_var
=LIBPATH
9878 osf3
* | osf4
* | osf5
*)
9882 soname_spec
='${libname}${release}${shared_ext}$major'
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 shlibpath_var
=LD_LIBRARY_PATH
9885 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9886 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9898 soname_spec
='${libname}${release}${shared_ext}$major'
9899 shlibpath_var
=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath
=yes
9901 hardcode_into_libs
=yes
9902 # ldd complains unless libraries are executable
9903 postinstall_cmds
='chmod +x $lib'
9908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9909 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9910 shlibpath_var
=LD_LIBRARY_PATH
9911 shlibpath_overrides_runpath
=yes
9912 if test "$with_gnu_ld" = yes; then
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 soname_spec
='${libname}${release}${shared_ext}$major'
9922 shlibpath_var
=LD_LIBRARY_PATH
9923 case $host_vendor in
9925 shlibpath_overrides_runpath
=no
9927 runpath_var
=LD_RUN_PATH
9935 shlibpath_overrides_runpath
=no
9936 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9942 if test -d /usr
/nec
;then
9944 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9945 soname_spec
='$libname${shared_ext}.$major'
9946 shlibpath_var
=LD_LIBRARY_PATH
9950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9951 version_type
=freebsd-elf
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9955 soname_spec
='${libname}${release}${shared_ext}$major'
9956 shlibpath_var
=LD_LIBRARY_PATH
9957 shlibpath_overrides_runpath
=yes
9958 hardcode_into_libs
=yes
9959 if test "$with_gnu_ld" = yes; then
9960 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9962 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9965 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9969 sys_lib_dlsearch_path_spec
='/usr/lib'
9973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9977 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978 shlibpath_var
=LD_LIBRARY_PATH
9979 shlibpath_overrides_runpath
=no
9980 hardcode_into_libs
=yes
9985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9986 soname_spec
='${libname}${release}${shared_ext}$major'
9987 shlibpath_var
=LD_LIBRARY_PATH
9994 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9995 echo "${ECHO_T}$dynamic_linker" >&6
9996 test "$dynamic_linker" = no
&& can_build_shared
=no
9998 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9999 if test "$GCC" = yes; then
10000 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10089 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10090 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10092 if test -n "$hardcode_libdir_flag_spec" ||
10093 test -n "$runpath_var" ||
10094 test "X$hardcode_automatic" = "Xyes" ; then
10096 # We can hardcode non-existent directories.
10097 if test "$hardcode_direct" != no
&&
10098 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10099 # have to relink, otherwise we might link with an installed library
10100 # when we should be linking with a yet-to-be-installed one
10101 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10102 test "$hardcode_minus_L" != no
; then
10103 # Linking always hardcodes the temporary library directory.
10104 hardcode_action
=relink
10106 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10107 hardcode_action
=immediate
10110 # We cannot hardcode anything, or else we can only hardcode existing
10112 hardcode_action
=unsupported
10114 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10115 echo "${ECHO_T}$hardcode_action" >&6
10117 if test "$hardcode_action" = relink ||
10118 test "$inherit_rpath" = yes; then
10119 # Fast installation is not supported
10120 enable_fast_install
=no
10121 elif test "$shlibpath_overrides_runpath" = yes ||
10122 test "$enable_shared" = no
; then
10123 # Fast installation is not necessary
10124 enable_fast_install
=needless
10132 if test "x$enable_dlopen" != xyes
; then
10133 enable_dlopen
=unknown
10134 enable_dlopen_self
=unknown
10135 enable_dlopen_self_static
=unknown
10142 lt_cv_dlopen
="load_add_on"
10144 lt_cv_dlopen_self
=yes
10148 lt_cv_dlopen
="LoadLibrary"
10153 lt_cv_dlopen
="dlopen"
10158 # if libdl is installed we need to link against it
10159 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10160 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10161 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 ac_check_lib_save_LIBS
=$LIBS
10166 if test x
$gcc_no_link = xyes
; then
10167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10169 { (exit 1); exit 1; }; }
10171 cat >conftest.
$ac_ext <<_ACEOF
10174 cat confdefs.h
>>conftest.
$ac_ext
10175 cat >>conftest.
$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10178 /* Override any gcc2 internal prototype to avoid an error. */
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10193 rm -f conftest.
$ac_objext conftest
$ac_exeext
10194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10195 (eval $ac_link) 2>conftest.er1
10197 grep -v '^ *+' conftest.er1
>conftest.err
10199 cat conftest.err
>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try
='test -z "$ac_c_werror_flag"
10203 || test ! -s conftest.err'
10204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10205 (eval $ac_try) 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; } &&
10209 { ac_try
='test -s conftest$ac_exeext'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; }; then
10215 ac_cv_lib_dl_dlopen
=yes
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.
$ac_ext >&5
10220 ac_cv_lib_dl_dlopen
=no
10222 rm -f conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 LIBS
=$ac_check_lib_save_LIBS
10226 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10227 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10228 if test $ac_cv_lib_dl_dlopen = yes; then
10229 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10232 lt_cv_dlopen
="dyld"
10234 lt_cv_dlopen_self
=yes
10241 echo "$as_me:$LINENO: checking for shl_load" >&5
10242 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10243 if test "${ac_cv_func_shl_load+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 if test x
$gcc_no_link = xyes
; then
10247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10249 { (exit 1); exit 1; }; }
10251 cat >conftest.
$ac_ext <<_ACEOF
10254 cat confdefs.h
>>conftest.
$ac_ext
10255 cat >>conftest.
$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10259 #define shl_load innocuous_shl_load
10261 /* System header to define __stub macros and hopefully few prototypes,
10262 which can conflict with char shl_load (); below.
10263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10264 <limits.h> exists even on freestanding compilers. */
10267 # include <limits.h>
10269 # include <assert.h>
10274 /* Override any gcc2 internal prototype to avoid an error. */
10279 /* We use char because int might match the return type of a gcc2
10280 builtin and then its argument prototype would still apply. */
10282 /* The GNU C library defines this for functions which it implements
10283 to always fail with ENOSYS. Some functions are actually named
10284 something starting with __ and the normal name is an alias. */
10285 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10288 char (*f) () = shl_load;
10297 return f != shl_load;
10302 rm -f conftest.
$ac_objext conftest
$ac_exeext
10303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10304 (eval $ac_link) 2>conftest.er1
10306 grep -v '^ *+' conftest.er1
>conftest.err
10308 cat conftest.err
>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } &&
10311 { ac_try
='test -z "$ac_c_werror_flag"
10312 || test ! -s conftest.err'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; } &&
10318 { ac_try
='test -s conftest$ac_exeext'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; }; then
10324 ac_cv_func_shl_load
=yes
10326 echo "$as_me: failed program was:" >&5
10327 sed 's/^/| /' conftest.
$ac_ext >&5
10329 ac_cv_func_shl_load
=no
10331 rm -f conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10334 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10335 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10336 if test $ac_cv_func_shl_load = yes; then
10337 lt_cv_dlopen
="shl_load"
10339 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10340 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10341 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 ac_check_lib_save_LIBS
=$LIBS
10346 if test x
$gcc_no_link = xyes
; then
10347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10349 { (exit 1); exit 1; }; }
10351 cat >conftest.
$ac_ext <<_ACEOF
10354 cat confdefs.h
>>conftest.
$ac_ext
10355 cat >>conftest.
$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10373 rm -f conftest.
$ac_objext conftest
$ac_exeext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375 (eval $ac_link) 2>conftest.er1
10377 grep -v '^ *+' conftest.er1
>conftest.err
10379 cat conftest.err
>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try
='test -z "$ac_c_werror_flag"
10383 || test ! -s conftest.err'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; } &&
10389 { ac_try
='test -s conftest$ac_exeext'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; }; then
10395 ac_cv_lib_dld_shl_load
=yes
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.
$ac_ext >&5
10400 ac_cv_lib_dld_shl_load
=no
10402 rm -f conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 LIBS
=$ac_check_lib_save_LIBS
10406 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10407 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10408 if test $ac_cv_lib_dld_shl_load = yes; then
10409 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10411 echo "$as_me:$LINENO: checking for dlopen" >&5
10412 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10413 if test "${ac_cv_func_dlopen+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 if test x
$gcc_no_link = xyes
; then
10417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10419 { (exit 1); exit 1; }; }
10421 cat >conftest.
$ac_ext <<_ACEOF
10424 cat confdefs.h
>>conftest.
$ac_ext
10425 cat >>conftest.
$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10427 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10429 #define dlopen innocuous_dlopen
10431 /* System header to define __stub macros and hopefully few prototypes,
10432 which can conflict with char dlopen (); below.
10433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10434 <limits.h> exists even on freestanding compilers. */
10437 # include <limits.h>
10439 # include <assert.h>
10444 /* Override any gcc2 internal prototype to avoid an error. */
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10452 /* The GNU C library defines this for functions which it implements
10453 to always fail with ENOSYS. Some functions are actually named
10454 something starting with __ and the normal name is an alias. */
10455 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10458 char (*f) () = dlopen;
10467 return f != dlopen;
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try
='test -z "$ac_c_werror_flag"
10482 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } &&
10488 { ac_try
='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 ac_cv_func_dlopen
=yes
10496 echo "$as_me: failed program was:" >&5
10497 sed 's/^/| /' conftest.
$ac_ext >&5
10499 ac_cv_func_dlopen
=no
10501 rm -f conftest.err conftest.
$ac_objext \
10502 conftest
$ac_exeext conftest.
$ac_ext
10504 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10505 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10506 if test $ac_cv_func_dlopen = yes; then
10507 lt_cv_dlopen
="dlopen"
10509 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10510 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10511 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 ac_check_lib_save_LIBS
=$LIBS
10516 if test x
$gcc_no_link = xyes
; then
10517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10519 { (exit 1); exit 1; }; }
10521 cat >conftest.
$ac_ext <<_ACEOF
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10528 /* Override any gcc2 internal prototype to avoid an error. */
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10543 rm -f conftest.
$ac_objext conftest
$ac_exeext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10545 (eval $ac_link) 2>conftest.er1
10547 grep -v '^ *+' conftest.er1
>conftest.err
10549 cat conftest.err
>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 { ac_try
='test -z "$ac_c_werror_flag"
10553 || test ! -s conftest.err'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; } &&
10559 { ac_try
='test -s conftest$ac_exeext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 ac_cv_lib_dl_dlopen
=yes
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.
$ac_ext >&5
10570 ac_cv_lib_dl_dlopen
=no
10572 rm -f conftest.err conftest.
$ac_objext \
10573 conftest
$ac_exeext conftest.
$ac_ext
10574 LIBS
=$ac_check_lib_save_LIBS
10576 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10577 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10578 if test $ac_cv_lib_dl_dlopen = yes; then
10579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10581 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10582 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10583 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 ac_check_lib_save_LIBS
=$LIBS
10587 LIBS
="-lsvld $LIBS"
10588 if test x
$gcc_no_link = xyes
; then
10589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10591 { (exit 1); exit 1; }; }
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10600 /* Override any gcc2 internal prototype to avoid an error. */
10604 /* We use char because int might match the return type of a gcc2
10605 builtin and then its argument prototype would still apply. */
10615 rm -f conftest.
$ac_objext conftest
$ac_exeext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10617 (eval $ac_link) 2>conftest.er1
10619 grep -v '^ *+' conftest.er1
>conftest.err
10621 cat conftest.err
>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try
='test -z "$ac_c_werror_flag"
10625 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try
='test -s conftest$ac_exeext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_lib_svld_dlopen
=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.
$ac_ext >&5
10642 ac_cv_lib_svld_dlopen
=no
10644 rm -f conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10646 LIBS
=$ac_check_lib_save_LIBS
10648 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10649 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10650 if test $ac_cv_lib_svld_dlopen = yes; then
10651 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10653 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10654 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10655 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 ac_check_lib_save_LIBS
=$LIBS
10660 if test x
$gcc_no_link = xyes
; then
10661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10663 { (exit 1); exit 1; }; }
10665 cat >conftest.
$ac_ext <<_ACEOF
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10672 /* Override any gcc2 internal prototype to avoid an error. */
10676 /* We use char because int might match the return type of a gcc2
10677 builtin and then its argument prototype would still apply. */
10687 rm -f conftest.
$ac_objext conftest
$ac_exeext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10689 (eval $ac_link) 2>conftest.er1
10691 grep -v '^ *+' conftest.er1
>conftest.err
10693 cat conftest.err
>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try
='test -z "$ac_c_werror_flag"
10697 || test ! -s conftest.err'
10698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10699 (eval $ac_try) 2>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); }; } &&
10703 { ac_try
='test -s conftest$ac_exeext'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; }; then
10709 ac_cv_lib_dld_dld_link
=yes
10711 echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.
$ac_ext >&5
10714 ac_cv_lib_dld_dld_link
=no
10716 rm -f conftest.err conftest.
$ac_objext \
10717 conftest
$ac_exeext conftest.
$ac_ext
10718 LIBS
=$ac_check_lib_save_LIBS
10720 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10721 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10722 if test $ac_cv_lib_dld_dld_link = yes; then
10723 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10744 if test "x$lt_cv_dlopen" != xno
; then
10750 case $lt_cv_dlopen in
10752 save_CPPFLAGS
="$CPPFLAGS"
10753 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10755 save_LDFLAGS
="$LDFLAGS"
10756 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10759 LIBS
="$lt_cv_dlopen_libs $LIBS"
10761 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10762 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10763 if test "${lt_cv_dlopen_self+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 if test "$cross_compiling" = yes; then :
10767 lt_cv_dlopen_self
=cross
10769 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10770 lt_status
=$lt_dlunknown
10771 cat > conftest.
$ac_ext <<_LT_EOF
10772 #line 10772 "configure"
10773 #include "confdefs.h"
10782 # define LT_DLGLOBAL RTLD_GLOBAL
10785 # define LT_DLGLOBAL DL_GLOBAL
10787 # define LT_DLGLOBAL 0
10791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10792 find out it does not work in some platform. */
10793 #ifndef LT_DLLAZY_OR_NOW
10795 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10798 # define LT_DLLAZY_OR_NOW DL_LAZY
10801 # define LT_DLLAZY_OR_NOW RTLD_NOW
10804 # define LT_DLLAZY_OR_NOW DL_NOW
10806 # define LT_DLLAZY_OR_NOW 0
10814 extern "C" void exit (int);
10817 void fnord() { int i=42;}
10820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10821 int status = $lt_dlunknown;
10825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10826 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10827 /* dlclose (self); */
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10840 (.
/conftest
; exit; ) >&5 2>/dev
/null
10842 case x
$lt_status in
10843 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10844 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10845 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10848 # compilation failed
10849 lt_cv_dlopen_self
=no
10856 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10857 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10859 if test "x$lt_cv_dlopen_self" = xyes
; then
10860 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10861 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10862 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10863 if test "${lt_cv_dlopen_self_static+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 if test "$cross_compiling" = yes; then :
10867 lt_cv_dlopen_self_static
=cross
10869 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10870 lt_status
=$lt_dlunknown
10871 cat > conftest.
$ac_ext <<_LT_EOF
10872 #line 10872 "configure"
10873 #include "confdefs.h"
10882 # define LT_DLGLOBAL RTLD_GLOBAL
10885 # define LT_DLGLOBAL DL_GLOBAL
10887 # define LT_DLGLOBAL 0
10891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10892 find out it does not work in some platform. */
10893 #ifndef LT_DLLAZY_OR_NOW
10895 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10898 # define LT_DLLAZY_OR_NOW DL_LAZY
10901 # define LT_DLLAZY_OR_NOW RTLD_NOW
10904 # define LT_DLLAZY_OR_NOW DL_NOW
10906 # define LT_DLLAZY_OR_NOW 0
10914 extern "C" void exit (int);
10917 void fnord() { int i=42;}
10920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10921 int status = $lt_dlunknown;
10925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10926 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10927 /* dlclose (self); */
10935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936 (eval $ac_link) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10940 (.
/conftest
; exit; ) >&5 2>/dev
/null
10942 case x
$lt_status in
10943 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10944 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10945 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10948 # compilation failed
10949 lt_cv_dlopen_self_static
=no
10956 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10957 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10960 CPPFLAGS
="$save_CPPFLAGS"
10961 LDFLAGS
="$save_LDFLAGS"
10966 case $lt_cv_dlopen_self in
10967 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10968 *) enable_dlopen_self
=unknown
;;
10971 case $lt_cv_dlopen_self_static in
10972 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10973 *) enable_dlopen_self_static
=unknown
;;
10995 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10996 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10997 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10998 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10999 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11000 echo "$as_me:$LINENO: result: yes" >&5
11001 echo "${ECHO_T}yes" >&6
11003 # FIXME - insert some real tests, host_os isn't really good enough
11006 if test -n "$STRIP" ; then
11007 striplib
="$STRIP -x"
11008 old_striplib
="$STRIP -S"
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11017 echo "$as_me:$LINENO: result: no" >&5
11018 echo "${ECHO_T}no" >&6
11034 # Report which library types will actually be built
11035 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11036 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11037 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11038 echo "${ECHO_T}$can_build_shared" >&6
11040 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11041 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11042 test "$can_build_shared" = "no" && enable_shared
=no
11044 # On AIX, shared libraries and static libraries use the same namespace, and
11045 # are all built from PIC.
11048 test "$enable_shared" = yes && enable_static
=no
11049 if test -n "$RANLIB"; then
11050 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11051 postinstall_cmds
='$RANLIB $lib'
11056 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11057 test "$enable_shared" = yes && enable_static
=no
11061 echo "$as_me:$LINENO: result: $enable_shared" >&5
11062 echo "${ECHO_T}$enable_shared" >&6
11064 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11065 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11066 # Make sure either enable_shared or enable_static is yes.
11067 test "$enable_shared" = yes || enable_static
=yes
11068 echo "$as_me:$LINENO: result: $enable_static" >&5
11069 echo "${ECHO_T}$enable_static" >&6
11076 ac_cpp
='$CPP $CPPFLAGS'
11077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11095 ac_config_commands
="$ac_config_commands libtool"
11100 # Only expand once:
11103 for ac_prog
in gawk mawk nawk
awk
11105 # Extract the first word of "$ac_prog", so it can be a program name with args.
11106 set dummy
$ac_prog; ac_word
=$2
11107 echo "$as_me:$LINENO: checking for $ac_word" >&5
11108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11109 if test "${ac_cv_prog_AWK+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 if test -n "$AWK"; then
11113 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11116 for as_dir
in $PATH
11119 test -z "$as_dir" && as_dir
=.
11120 for ac_exec_ext
in '' $ac_executable_extensions; do
11121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11122 ac_cv_prog_AWK
="$ac_prog"
11123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11131 AWK
=$ac_cv_prog_AWK
11132 if test -n "$AWK"; then
11133 echo "$as_me:$LINENO: result: $AWK" >&5
11134 echo "${ECHO_T}$AWK" >&6
11136 echo "$as_me:$LINENO: result: no" >&5
11137 echo "${ECHO_T}no" >&6
11140 test -n "$AWK" && break
11144 ac_cpp
='$CPP $CPPFLAGS'
11145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11148 if test -n "$ac_tool_prefix"; then
11149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11150 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11151 echo "$as_me:$LINENO: checking for $ac_word" >&5
11152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11153 if test "${ac_cv_prog_CC+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 if test -n "$CC"; then
11157 ac_cv_prog_CC
="$CC" # Let the user override the test.
11159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11160 for as_dir
in $PATH
11163 test -z "$as_dir" && as_dir
=.
11164 for ac_exec_ext
in '' $ac_executable_extensions; do
11165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11166 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11176 if test -n "$CC"; then
11177 echo "$as_me:$LINENO: result: $CC" >&5
11178 echo "${ECHO_T}$CC" >&6
11180 echo "$as_me:$LINENO: result: no" >&5
11181 echo "${ECHO_T}no" >&6
11185 if test -z "$ac_cv_prog_CC"; then
11187 # Extract the first word of "gcc", so it can be a program name with args.
11188 set dummy gcc
; ac_word
=$2
11189 echo "$as_me:$LINENO: checking for $ac_word" >&5
11190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11191 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 if test -n "$ac_ct_CC"; then
11195 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11198 for as_dir
in $PATH
11201 test -z "$as_dir" && as_dir
=.
11202 for ac_exec_ext
in '' $ac_executable_extensions; do
11203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_ac_ct_CC
="gcc"
11205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11213 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11214 if test -n "$ac_ct_CC"; then
11215 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11216 echo "${ECHO_T}$ac_ct_CC" >&6
11218 echo "$as_me:$LINENO: result: no" >&5
11219 echo "${ECHO_T}no" >&6
11224 CC
="$ac_cv_prog_CC"
11227 if test -z "$CC"; then
11228 if test -n "$ac_tool_prefix"; then
11229 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11230 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11231 echo "$as_me:$LINENO: checking for $ac_word" >&5
11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11233 if test "${ac_cv_prog_CC+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 if test -n "$CC"; then
11237 ac_cv_prog_CC
="$CC" # Let the user override the test.
11239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11240 for as_dir
in $PATH
11243 test -z "$as_dir" && as_dir
=.
11244 for ac_exec_ext
in '' $ac_executable_extensions; do
11245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11246 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11256 if test -n "$CC"; then
11257 echo "$as_me:$LINENO: result: $CC" >&5
11258 echo "${ECHO_T}$CC" >&6
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11265 if test -z "$ac_cv_prog_CC"; then
11267 # Extract the first word of "cc", so it can be a program name with args.
11268 set dummy cc
; ac_word
=$2
11269 echo "$as_me:$LINENO: checking for $ac_word" >&5
11270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 if test -n "$ac_ct_CC"; then
11275 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11278 for as_dir
in $PATH
11281 test -z "$as_dir" && as_dir
=.
11282 for ac_exec_ext
in '' $ac_executable_extensions; do
11283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_prog_ac_ct_CC
="cc"
11285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11294 if test -n "$ac_ct_CC"; then
11295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11296 echo "${ECHO_T}$ac_ct_CC" >&6
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11304 CC
="$ac_cv_prog_CC"
11308 if test -z "$CC"; then
11309 # Extract the first word of "cc", so it can be a program name with args.
11310 set dummy cc
; ac_word
=$2
11311 echo "$as_me:$LINENO: checking for $ac_word" >&5
11312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11313 if test "${ac_cv_prog_CC+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 if test -n "$CC"; then
11317 ac_cv_prog_CC
="$CC" # Let the user override the test.
11319 ac_prog_rejected
=no
11320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11321 for as_dir
in $PATH
11324 test -z "$as_dir" && as_dir
=.
11325 for ac_exec_ext
in '' $ac_executable_extensions; do
11326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11327 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11328 ac_prog_rejected
=yes
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11338 if test $ac_prog_rejected = yes; then
11339 # We found a bogon in the path, so make sure we never use it.
11340 set dummy
$ac_cv_prog_CC
11342 if test $# != 0; then
11343 # We chose a different compiler from the bogus one.
11344 # However, it has the same basename, so the bogon will be chosen
11345 # first if we set CC to just the basename; use the full file name.
11347 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11353 if test -n "$CC"; then
11354 echo "$as_me:$LINENO: result: $CC" >&5
11355 echo "${ECHO_T}$CC" >&6
11357 echo "$as_me:$LINENO: result: no" >&5
11358 echo "${ECHO_T}no" >&6
11362 if test -z "$CC"; then
11363 if test -n "$ac_tool_prefix"; then
11366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11367 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11368 echo "$as_me:$LINENO: checking for $ac_word" >&5
11369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370 if test "${ac_cv_prog_CC+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 if test -n "$CC"; then
11374 ac_cv_prog_CC
="$CC" # Let the user override the test.
11376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11377 for as_dir
in $PATH
11380 test -z "$as_dir" && as_dir
=.
11381 for ac_exec_ext
in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11393 if test -n "$CC"; then
11394 echo "$as_me:$LINENO: result: $CC" >&5
11395 echo "${ECHO_T}$CC" >&6
11397 echo "$as_me:$LINENO: result: no" >&5
11398 echo "${ECHO_T}no" >&6
11401 test -n "$CC" && break
11404 if test -z "$CC"; then
11408 # Extract the first word of "$ac_prog", so it can be a program name with args.
11409 set dummy
$ac_prog; ac_word
=$2
11410 echo "$as_me:$LINENO: checking for $ac_word" >&5
11411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 if test -n "$ac_ct_CC"; then
11416 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11419 for as_dir
in $PATH
11422 test -z "$as_dir" && as_dir
=.
11423 for ac_exec_ext
in '' $ac_executable_extensions; do
11424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11425 ac_cv_prog_ac_ct_CC
="$ac_prog"
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11435 if test -n "$ac_ct_CC"; then
11436 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11437 echo "${ECHO_T}$ac_ct_CC" >&6
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11443 test -n "$ac_ct_CC" && break
11452 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11453 echo "$as_me: error: in \`$ac_pwd':" >&2;}
11454 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11455 See \`config.log' for more details." >&5
11456 echo "$as_me: error: no acceptable C compiler found in \$PATH
11457 See \`config.log' for more details." >&2;}
11458 { (exit 1); exit 1; }; }; }
11460 # Provide some information about the compiler.
11461 echo "$as_me:$LINENO:" \
11462 "checking for C compiler version" >&5
11463 ac_compiler
=`set X $ac_compile; echo $2`
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11465 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11470 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11475 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11480 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11481 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11482 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 cat >conftest.
$ac_ext <<_ACEOF
11488 cat confdefs.h
>>conftest.
$ac_ext
11489 cat >>conftest.
$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11503 rm -f conftest.
$ac_objext
11504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11505 (eval $ac_compile) 2>conftest.er1
11507 grep -v '^ *+' conftest.er1
>conftest.err
11509 cat conftest.err
>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } &&
11512 { ac_try
='test -z "$ac_c_werror_flag"
11513 || test ! -s conftest.err'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; } &&
11519 { ac_try
='test -s conftest.$ac_objext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 ac_compiler_gnu
=yes
11527 echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.
$ac_ext >&5
11532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11533 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11536 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11537 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11538 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11539 ac_test_CFLAGS
=${CFLAGS+set}
11540 ac_save_CFLAGS
=$CFLAGS
11542 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11544 if test "${ac_cv_prog_cc_g+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 cat >conftest.
$ac_ext <<_ACEOF
11550 cat confdefs.h
>>conftest.
$ac_ext
11551 cat >>conftest.
$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11562 rm -f conftest.
$ac_objext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564 (eval $ac_compile) 2>conftest.er1
11566 grep -v '^ *+' conftest.er1
>conftest.err
11568 cat conftest.err
>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } &&
11571 { ac_try
='test -z "$ac_c_werror_flag"
11572 || test ! -s conftest.err'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; } &&
11578 { ac_try
='test -s conftest.$ac_objext'
11579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11580 (eval $ac_try) 2>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; }; then
11584 ac_cv_prog_cc_g
=yes
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.
$ac_ext >&5
11591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11593 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11594 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11595 if test "$ac_test_CFLAGS" = set; then
11596 CFLAGS
=$ac_save_CFLAGS
11597 elif test $ac_cv_prog_cc_g = yes; then
11598 if test "$GCC" = yes; then
11604 if test "$GCC" = yes; then
11610 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11611 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11612 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 ac_cv_prog_cc_stdc
=no
11617 cat >conftest.
$ac_ext <<_ACEOF
11620 cat confdefs.h
>>conftest.
$ac_ext
11621 cat >>conftest.
$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11623 #include <stdarg.h>
11625 #include <sys/types.h>
11626 #include <sys/stat.h>
11627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11628 struct buf { int x; };
11629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11630 static char *e (p, i)
11636 static char *f (char * (*g) (char **, int), char **p, ...)
11641 s = g (p, va_arg (v,int));
11646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11647 function prototypes and stuff, but not '\xHH' hex character constants.
11648 These don't provoke an error unfortunately, instead are silently treated
11649 as 'x'. The following induces an error, until -std1 is added to get
11650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11651 array size at least. It's necessary to write '\x00'==0 to get something
11652 that's true only with -std1. */
11653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11655 int test (int i, double x);
11656 struct s1 {int (*f) (int a);};
11657 struct s2 {int (*f) (double a);};
11658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11669 # Don't try gcc -ansi; that turns off useful extensions and
11670 # breaks some systems' header files.
11671 # AIX -qlanglvl=ansi
11672 # Ultrix and OSF/1 -std1
11673 # HP-UX 10.20 and later -Ae
11674 # HP-UX older versions -Aa -D_HPUX_SOURCE
11675 # SVR4 -Xc -D__EXTENSIONS__
11676 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11678 CC
="$ac_save_CC $ac_arg"
11679 rm -f conftest.
$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681 (eval $ac_compile) 2>conftest.er1
11683 grep -v '^ *+' conftest.er1
>conftest.err
11685 cat conftest.err
>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try
='test -z "$ac_c_werror_flag"
11689 || test ! -s conftest.err'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try
='test -s conftest.$ac_objext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 ac_cv_prog_cc_stdc
=$ac_arg
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.
$ac_ext >&5
11708 rm -f conftest.err conftest.
$ac_objext
11710 rm -f conftest.
$ac_ext conftest.
$ac_objext
11715 case "x$ac_cv_prog_cc_stdc" in
11717 echo "$as_me:$LINENO: result: none needed" >&5
11718 echo "${ECHO_T}none needed" >&6 ;;
11720 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11721 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11722 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11725 # Some people use a C++ compiler to compile C. Since we use `exit',
11726 # in C++ we need to declare it. In case someone uses the same compiler
11727 # for both compiling C and C++ we need to have the C++ compiler decide
11728 # the declaration of exit, since it's the most demanding environment.
11729 cat >conftest.
$ac_ext <<_ACEOF
11730 #ifndef __cplusplus
11734 rm -f conftest.
$ac_objext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>conftest.er1
11738 grep -v '^ *+' conftest.er1
>conftest.err
11740 cat conftest.err
>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } &&
11743 { ac_try
='test -z "$ac_c_werror_flag"
11744 || test ! -s conftest.err'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; } &&
11750 { ac_try
='test -s conftest.$ac_objext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 for ac_declaration
in \
11758 'extern "C" void std::exit (int) throw (); using std::exit;' \
11759 'extern "C" void std::exit (int); using std::exit;' \
11760 'extern "C" void exit (int) throw ();' \
11761 'extern "C" void exit (int);' \
11764 cat >conftest.
$ac_ext <<_ACEOF
11767 cat confdefs.h
>>conftest.
$ac_ext
11768 cat >>conftest.
$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11771 #include <stdlib.h>
11780 rm -f conftest.
$ac_objext
11781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11782 (eval $ac_compile) 2>conftest.er1
11784 grep -v '^ *+' conftest.er1
>conftest.err
11786 cat conftest.err
>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } &&
11789 { ac_try
='test -z "$ac_c_werror_flag"
11790 || test ! -s conftest.err'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; } &&
11796 { ac_try
='test -s conftest.$ac_objext'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11804 echo "$as_me: failed program was:" >&5
11805 sed 's/^/| /' conftest.
$ac_ext >&5
11809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11810 cat >conftest.
$ac_ext <<_ACEOF
11813 cat confdefs.h
>>conftest.
$ac_ext
11814 cat >>conftest.
$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11825 rm -f conftest.
$ac_objext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11827 (eval $ac_compile) 2>conftest.er1
11829 grep -v '^ *+' conftest.er1
>conftest.err
11831 cat conftest.err
>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try
='test -z "$ac_c_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try
='test -s conftest.$ac_objext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.
$ac_ext >&5
11853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11856 if test -n "$ac_declaration"; then
11857 echo '#ifdef __cplusplus' >>confdefs.h
11858 echo $ac_declaration >>confdefs.h
11859 echo '#endif' >>confdefs.h
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.
$ac_ext >&5
11867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11869 ac_cpp
='$CPP $CPPFLAGS'
11870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11874 depcc
="$CC" am_compiler_list
=
11876 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11877 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11878 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11882 # We make a subdir and do the tests there. Otherwise we can end up
11883 # making bogus files that we don't know about and never remove. For
11884 # instance it was reported that on HP-UX the gcc test will end up
11885 # making a dummy file named `D' -- because `-MD' means `put the output
11888 # Copy depcomp to subdir because otherwise we won't find it if we're
11889 # using a relative directory.
11890 cp "$am_depcomp" conftest.dir
11892 # We will build objects and dependencies in a subdirectory because
11893 # it helps to detect inapplicable dependency modes. For instance
11894 # both Tru64's cc and ICC support -MD to output dependencies as a
11895 # side effect of compilation, but ICC will put the dependencies in
11896 # the current directory while Tru64 will put them in the object
11900 am_cv_CC_dependencies_compiler_type
=none
11901 if test "$am_compiler_list" = ""; then
11902 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11904 for depmode
in $am_compiler_list; do
11905 # Setup a source with many dependencies, because some compilers
11906 # like to wrap large dependency lists on column 80 (with \), and
11907 # we should not choose a depcomp mode which is confused by this.
11909 # We need to recreate these files for each test, as the compiler may
11910 # overwrite some of them when testing with obscure command lines.
11911 # This happens at least with the AIX C compiler.
11913 for i
in 1 2 3 4 5 6; do
11914 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11915 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11916 # Solaris 8's {/usr,}/bin/sh.
11917 touch sub
/conftst
$i.h
11919 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11923 # after this tag, mechanisms are not by side-effect, so they'll
11924 # only be used when explicitly requested
11925 if test "x$enable_dependency_tracking" = xyes
; then
11933 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11934 # mode. It turns out that the SunPro C++ compiler does not properly
11935 # handle `-M -o', and we need to detect this.
11936 if depmode
=$depmode \
11937 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
11938 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11939 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
11940 >/dev
/null
2>conftest.err
&&
11941 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11942 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
11943 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11944 # icc doesn't choke on unknown options, it will just issue warnings
11945 # or remarks (even with -Werror). So we grep stderr for any message
11946 # that says an option was ignored or not supported.
11947 # When given -MP, icc 7.0 and 7.1 complain thusly:
11948 # icc: Command line warning: ignoring option '-M'; no argument required
11949 # The diagnosis changed in icc 8.0:
11950 # icc: Command line remark: option '-MP' not supported
11951 if (grep 'ignoring option' conftest.err ||
11952 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11953 am_cv_CC_dependencies_compiler_type
=$depmode
11960 rm -rf conftest.dir
11962 am_cv_CC_dependencies_compiler_type
=none
11966 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11967 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
11968 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11973 test "x$enable_dependency_tracking" != xno \
11974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11975 am__fastdepCC_TRUE
=
11976 am__fastdepCC_FALSE
='#'
11978 am__fastdepCC_TRUE
='#'
11979 am__fastdepCC_FALSE
=
11983 if test "x$CC" != xcc
; then
11984 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11985 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
11987 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11988 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
11990 set dummy
$CC; ac_cc
=`echo $2 |
11991 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11992 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 cat >conftest.
$ac_ext <<_ACEOF
11998 cat confdefs.h
>>conftest.
$ac_ext
11999 cat >>conftest.
$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12010 # Make sure it works both with $CC and with simple cc.
12011 # We do the test twice because some compilers refuse to overwrite an
12012 # existing .o file with -o, though they will create one.
12013 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12014 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); };
12025 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
12026 if test "x$CC" != xcc
; then
12027 # Test first that cc exists at all.
12028 if { ac_try
='cc -c conftest.$ac_ext >&5'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12035 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } &&
12040 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); };
12049 # cc exists but doesn't like -o.
12050 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12055 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
12060 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
12061 echo "$as_me:$LINENO: result: yes" >&5
12062 echo "${ECHO_T}yes" >&6
12064 echo "$as_me:$LINENO: result: no" >&5
12065 echo "${ECHO_T}no" >&6
12067 cat >>confdefs.h
<<\_ACEOF
12068 #define NO_MINUS_C_MINUS_O 1
12073 # FIXME: we rely on the cache variable name because
12074 # there is no other way.
12076 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12077 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12078 # Losing compiler, so override with the script.
12079 # FIXME: It is wrong to rewrite CC.
12080 # But if we don't then we get into trouble of one sort or another.
12081 # A longer-term fix would be to have automake use am__CC in this case,
12082 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12083 CC
="$am_aux_dir/compile $CC"
12087 ac_cpp
='$CPP $CPPFLAGS'
12088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12091 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12092 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12093 # On Suns, sometimes $CPP names a directory.
12094 if test -n "$CPP" && test -d "$CPP"; then
12097 if test -z "$CPP"; then
12098 if test "${ac_cv_prog_CPP+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 # Double quotes because CPP needs to be expanded
12102 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12104 ac_preproc_ok
=false
12105 for ac_c_preproc_warn_flag
in '' yes
12107 # Use a header file that comes with gcc, so configuring glibc
12108 # with a fresh cross-compiler works.
12109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12110 # <limits.h> exists even on freestanding compilers.
12111 # On the NeXT, cc -E runs the code through the compiler's parser,
12112 # not just through cpp. "Syntax error" is here to catch this case.
12113 cat >conftest.
$ac_ext <<_ACEOF
12116 cat confdefs.h
>>conftest.
$ac_ext
12117 cat >>conftest.
$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 # include <limits.h>
12122 # include <assert.h>
12126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12129 grep -v '^ *+' conftest.er1
>conftest.err
12131 cat conftest.err
>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } >/dev
/null
; then
12134 if test -s conftest.err
; then
12135 ac_cpp_err
=$ac_c_preproc_warn_flag
12136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12143 if test -z "$ac_cpp_err"; then
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 # Broken: fails on valid input.
12152 rm -f conftest.err conftest.
$ac_ext
12154 # OK, works on sane cases. Now check whether non-existent headers
12155 # can be detected and how.
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <ac_nonexistent.h>
12164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12167 grep -v '^ *+' conftest.er1
>conftest.err
12169 cat conftest.err
>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } >/dev
/null
; then
12172 if test -s conftest.err
; then
12173 ac_cpp_err
=$ac_c_preproc_warn_flag
12174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12181 if test -z "$ac_cpp_err"; then
12182 # Broken: success on invalid input.
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.
$ac_ext >&5
12188 # Passes both tests.
12192 rm -f conftest.err conftest.
$ac_ext
12195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12196 rm -f conftest.err conftest.
$ac_ext
12197 if $ac_preproc_ok; then
12202 ac_cv_prog_CPP
=$CPP
12205 CPP
=$ac_cv_prog_CPP
12207 ac_cv_prog_CPP
=$CPP
12209 echo "$as_me:$LINENO: result: $CPP" >&5
12210 echo "${ECHO_T}$CPP" >&6
12211 ac_preproc_ok
=false
12212 for ac_c_preproc_warn_flag
in '' yes
12214 # Use a header file that comes with gcc, so configuring glibc
12215 # with a fresh cross-compiler works.
12216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12217 # <limits.h> exists even on freestanding compilers.
12218 # On the NeXT, cc -E runs the code through the compiler's parser,
12219 # not just through cpp. "Syntax error" is here to catch this case.
12220 cat >conftest.
$ac_ext <<_ACEOF
12223 cat confdefs.h
>>conftest.
$ac_ext
12224 cat >>conftest.
$ac_ext <<_ACEOF
12225 /* end confdefs.h. */
12227 # include <limits.h>
12229 # include <assert.h>
12233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12236 grep -v '^ *+' conftest.er1
>conftest.err
12238 cat conftest.err
>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } >/dev
/null
; then
12241 if test -s conftest.err
; then
12242 ac_cpp_err
=$ac_c_preproc_warn_flag
12243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12250 if test -z "$ac_cpp_err"; then
12253 echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.
$ac_ext >&5
12256 # Broken: fails on valid input.
12259 rm -f conftest.err conftest.
$ac_ext
12261 # OK, works on sane cases. Now check whether non-existent headers
12262 # can be detected and how.
12263 cat >conftest.
$ac_ext <<_ACEOF
12266 cat confdefs.h
>>conftest.
$ac_ext
12267 cat >>conftest.
$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12269 #include <ac_nonexistent.h>
12271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12274 grep -v '^ *+' conftest.er1
>conftest.err
12276 cat conftest.err
>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } >/dev
/null
; then
12279 if test -s conftest.err
; then
12280 ac_cpp_err
=$ac_c_preproc_warn_flag
12281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12288 if test -z "$ac_cpp_err"; then
12289 # Broken: success on invalid input.
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12295 # Passes both tests.
12299 rm -f conftest.err conftest.
$ac_ext
12302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12303 rm -f conftest.err conftest.
$ac_ext
12304 if $ac_preproc_ok; then
12307 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12308 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12309 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12310 See \`config.log' for more details." >&5
12311 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12312 See \`config.log' for more details." >&2;}
12313 { (exit 1); exit 1; }; }; }
12317 ac_cpp
='$CPP $CPPFLAGS'
12318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12323 ac_cpp
='$CXXCPP $CPPFLAGS'
12324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12327 if test -n "$ac_tool_prefix"; then
12328 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12331 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12332 echo "$as_me:$LINENO: checking for $ac_word" >&5
12333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12334 if test "${ac_cv_prog_CXX+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 if test -n "$CXX"; then
12338 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12341 for as_dir
in $PATH
12344 test -z "$as_dir" && as_dir
=.
12345 for ac_exec_ext
in '' $ac_executable_extensions; do
12346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12347 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12356 CXX
=$ac_cv_prog_CXX
12357 if test -n "$CXX"; then
12358 echo "$as_me:$LINENO: result: $CXX" >&5
12359 echo "${ECHO_T}$CXX" >&6
12361 echo "$as_me:$LINENO: result: no" >&5
12362 echo "${ECHO_T}no" >&6
12365 test -n "$CXX" && break
12368 if test -z "$CXX"; then
12370 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12372 # Extract the first word of "$ac_prog", so it can be a program name with args.
12373 set dummy
$ac_prog; ac_word
=$2
12374 echo "$as_me:$LINENO: checking for $ac_word" >&5
12375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12376 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 if test -n "$ac_ct_CXX"; then
12380 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12383 for as_dir
in $PATH
12386 test -z "$as_dir" && as_dir
=.
12387 for ac_exec_ext
in '' $ac_executable_extensions; do
12388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12389 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12398 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12399 if test -n "$ac_ct_CXX"; then
12400 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12401 echo "${ECHO_T}$ac_ct_CXX" >&6
12403 echo "$as_me:$LINENO: result: no" >&5
12404 echo "${ECHO_T}no" >&6
12407 test -n "$ac_ct_CXX" && break
12409 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12415 # Provide some information about the compiler.
12416 echo "$as_me:$LINENO:" \
12417 "checking for C++ compiler version" >&5
12418 ac_compiler
=`set X $ac_compile; echo $2`
12419 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12420 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }
12424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12425 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }
12429 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12430 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }
12435 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12436 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12437 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 cat >conftest.
$ac_ext <<_ACEOF
12443 cat confdefs.h
>>conftest.
$ac_ext
12444 cat >>conftest.
$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12458 rm -f conftest.
$ac_objext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12460 (eval $ac_compile) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try
='test -z "$ac_cxx_werror_flag"
12468 || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try
='test -s conftest.$ac_objext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_compiler_gnu
=yes
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12488 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12491 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12492 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12493 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12494 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12495 ac_save_CXXFLAGS
=$CXXFLAGS
12497 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12498 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12499 if test "${ac_cv_prog_cxx_g+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 cat >conftest.
$ac_ext <<_ACEOF
12505 cat confdefs.h
>>conftest.
$ac_ext
12506 cat >>conftest.
$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12517 rm -f conftest.
$ac_objext
12518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12519 (eval $ac_compile) 2>conftest.er1
12521 grep -v '^ *+' conftest.er1
>conftest.err
12523 cat conftest.err
>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } &&
12526 { ac_try
='test -z "$ac_cxx_werror_flag"
12527 || test ! -s conftest.err'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; } &&
12533 { ac_try
='test -s conftest.$ac_objext'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; }; then
12539 ac_cv_prog_cxx_g
=yes
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.
$ac_ext >&5
12544 ac_cv_prog_cxx_g
=no
12546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12548 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12549 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12550 if test "$ac_test_CXXFLAGS" = set; then
12551 CXXFLAGS
=$ac_save_CXXFLAGS
12552 elif test $ac_cv_prog_cxx_g = yes; then
12553 if test "$GXX" = yes; then
12559 if test "$GXX" = yes; then
12565 for ac_declaration
in \
12567 'extern "C" void std::exit (int) throw (); using std::exit;' \
12568 'extern "C" void std::exit (int); using std::exit;' \
12569 'extern "C" void exit (int) throw ();' \
12570 'extern "C" void exit (int);' \
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12580 #include <stdlib.h>
12589 rm -f conftest.
$ac_objext
12590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12591 (eval $ac_compile) 2>conftest.er1
12593 grep -v '^ *+' conftest.er1
>conftest.err
12595 cat conftest.err
>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } &&
12598 { ac_try
='test -z "$ac_cxx_werror_flag"
12599 || test ! -s conftest.err'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; } &&
12605 { ac_try
='test -s conftest.$ac_objext'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; }; then
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.
$ac_ext >&5
12618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12619 cat >conftest.
$ac_ext <<_ACEOF
12622 cat confdefs.h
>>conftest.
$ac_ext
12623 cat >>conftest.
$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12634 rm -f conftest.
$ac_objext
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>conftest.er1
12638 grep -v '^ *+' conftest.er1
>conftest.err
12640 cat conftest.err
>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } &&
12643 { ac_try
='test -z "$ac_cxx_werror_flag"
12644 || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try
='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12665 if test -n "$ac_declaration"; then
12666 echo '#ifdef __cplusplus' >>confdefs.h
12667 echo $ac_declaration >>confdefs.h
12668 echo '#endif' >>confdefs.h
12672 ac_cpp
='$CPP $CPPFLAGS'
12673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12677 depcc
="$CXX" am_compiler_list
=
12679 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12680 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12681 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12682 echo $ECHO_N "(cached) $ECHO_C" >&6
12684 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12685 # We make a subdir and do the tests there. Otherwise we can end up
12686 # making bogus files that we don't know about and never remove. For
12687 # instance it was reported that on HP-UX the gcc test will end up
12688 # making a dummy file named `D' -- because `-MD' means `put the output
12691 # Copy depcomp to subdir because otherwise we won't find it if we're
12692 # using a relative directory.
12693 cp "$am_depcomp" conftest.dir
12695 # We will build objects and dependencies in a subdirectory because
12696 # it helps to detect inapplicable dependency modes. For instance
12697 # both Tru64's cc and ICC support -MD to output dependencies as a
12698 # side effect of compilation, but ICC will put the dependencies in
12699 # the current directory while Tru64 will put them in the object
12703 am_cv_CXX_dependencies_compiler_type
=none
12704 if test "$am_compiler_list" = ""; then
12705 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12707 for depmode
in $am_compiler_list; do
12708 # Setup a source with many dependencies, because some compilers
12709 # like to wrap large dependency lists on column 80 (with \), and
12710 # we should not choose a depcomp mode which is confused by this.
12712 # We need to recreate these files for each test, as the compiler may
12713 # overwrite some of them when testing with obscure command lines.
12714 # This happens at least with the AIX C compiler.
12716 for i
in 1 2 3 4 5 6; do
12717 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12718 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12719 # Solaris 8's {/usr,}/bin/sh.
12720 touch sub
/conftst
$i.h
12722 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12726 # after this tag, mechanisms are not by side-effect, so they'll
12727 # only be used when explicitly requested
12728 if test "x$enable_dependency_tracking" = xyes
; then
12736 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12737 # mode. It turns out that the SunPro C++ compiler does not properly
12738 # handle `-M -o', and we need to detect this.
12739 if depmode
=$depmode \
12740 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12741 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12742 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12743 >/dev
/null
2>conftest.err
&&
12744 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12745 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12746 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12747 # icc doesn't choke on unknown options, it will just issue warnings
12748 # or remarks (even with -Werror). So we grep stderr for any message
12749 # that says an option was ignored or not supported.
12750 # When given -MP, icc 7.0 and 7.1 complain thusly:
12751 # icc: Command line warning: ignoring option '-M'; no argument required
12752 # The diagnosis changed in icc 8.0:
12753 # icc: Command line remark: option '-MP' not supported
12754 if (grep 'ignoring option' conftest.err ||
12755 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12756 am_cv_CXX_dependencies_compiler_type
=$depmode
12763 rm -rf conftest.dir
12765 am_cv_CXX_dependencies_compiler_type
=none
12769 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12770 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12771 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12776 test "x$enable_dependency_tracking" != xno \
12777 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12778 am__fastdepCXX_TRUE
=
12779 am__fastdepCXX_FALSE
='#'
12781 am__fastdepCXX_TRUE
='#'
12782 am__fastdepCXX_FALSE
=
12788 ac_cpp
='$CXXCPP $CPPFLAGS'
12789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12792 if test -n "$ac_tool_prefix"; then
12793 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12796 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12797 echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12799 if test "${ac_cv_prog_CXX+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 if test -n "$CXX"; then
12803 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12806 for as_dir
in $PATH
12809 test -z "$as_dir" && as_dir
=.
12810 for ac_exec_ext
in '' $ac_executable_extensions; do
12811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12812 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12821 CXX
=$ac_cv_prog_CXX
12822 if test -n "$CXX"; then
12823 echo "$as_me:$LINENO: result: $CXX" >&5
12824 echo "${ECHO_T}$CXX" >&6
12826 echo "$as_me:$LINENO: result: no" >&5
12827 echo "${ECHO_T}no" >&6
12830 test -n "$CXX" && break
12833 if test -z "$CXX"; then
12835 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12837 # Extract the first word of "$ac_prog", so it can be a program name with args.
12838 set dummy
$ac_prog; ac_word
=$2
12839 echo "$as_me:$LINENO: checking for $ac_word" >&5
12840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 if test -n "$ac_ct_CXX"; then
12845 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12848 for as_dir
in $PATH
12851 test -z "$as_dir" && as_dir
=.
12852 for ac_exec_ext
in '' $ac_executable_extensions; do
12853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12854 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12863 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12864 if test -n "$ac_ct_CXX"; then
12865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12866 echo "${ECHO_T}$ac_ct_CXX" >&6
12868 echo "$as_me:$LINENO: result: no" >&5
12869 echo "${ECHO_T}no" >&6
12872 test -n "$ac_ct_CXX" && break
12874 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12880 # Provide some information about the compiler.
12881 echo "$as_me:$LINENO:" \
12882 "checking for C++ compiler version" >&5
12883 ac_compiler
=`set X $ac_compile; echo $2`
12884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12885 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }
12889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12890 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); }
12894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12895 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }
12900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 cat >conftest.
$ac_ext <<_ACEOF
12908 cat confdefs.h
>>conftest.
$ac_ext
12909 cat >>conftest.
$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12923 rm -f conftest.
$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12927 grep -v '^ *+' conftest.er1
>conftest.err
12929 cat conftest.err
>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try
='test -z "$ac_cxx_werror_flag"
12933 || test ! -s conftest.err'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; } &&
12939 { ac_try
='test -s conftest.$ac_objext'
12940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 (eval $ac_try) 2>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); }; }; then
12945 ac_compiler_gnu
=yes
12947 echo "$as_me: failed program was:" >&5
12948 sed 's/^/| /' conftest.
$ac_ext >&5
12952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12953 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12958 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12959 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12960 ac_save_CXXFLAGS
=$CXXFLAGS
12962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12964 if test "${ac_cv_prog_cxx_g+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 cat >conftest.
$ac_ext <<_ACEOF
12970 cat confdefs.h
>>conftest.
$ac_ext
12971 cat >>conftest.
$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12982 rm -f conftest.
$ac_objext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12984 (eval $ac_compile) 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try
='test -z "$ac_cxx_werror_flag"
12992 || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try
='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_prog_cxx_g
=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 ac_cv_prog_cxx_g
=no
13011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13015 if test "$ac_test_CXXFLAGS" = set; then
13016 CXXFLAGS
=$ac_save_CXXFLAGS
13017 elif test $ac_cv_prog_cxx_g = yes; then
13018 if test "$GXX" = yes; then
13024 if test "$GXX" = yes; then
13030 for ac_declaration
in \
13032 'extern "C" void std::exit (int) throw (); using std::exit;' \
13033 'extern "C" void std::exit (int); using std::exit;' \
13034 'extern "C" void exit (int) throw ();' \
13035 'extern "C" void exit (int);' \
13038 cat >conftest.
$ac_ext <<_ACEOF
13041 cat confdefs.h
>>conftest.
$ac_ext
13042 cat >>conftest.
$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13045 #include <stdlib.h>
13054 rm -f conftest.
$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13058 grep -v '^ *+' conftest.er1
>conftest.err
13060 cat conftest.err
>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -z "$ac_cxx_werror_flag"
13064 || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try
='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.
$ac_ext >&5
13083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13084 cat >conftest.
$ac_ext <<_ACEOF
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13099 rm -f conftest.
$ac_objext
13100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13101 (eval $ac_compile) 2>conftest.er1
13103 grep -v '^ *+' conftest.er1
>conftest.err
13105 cat conftest.err
>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); } &&
13108 { ac_try
='test -z "$ac_cxx_werror_flag"
13109 || test ! -s conftest.err'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; } &&
13115 { ac_try
='test -s conftest.$ac_objext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.
$ac_ext >&5
13127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13130 if test -n "$ac_declaration"; then
13131 echo '#ifdef __cplusplus' >>confdefs.h
13132 echo $ac_declaration >>confdefs.h
13133 echo '#endif' >>confdefs.h
13137 ac_cpp
='$CPP $CPPFLAGS'
13138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13142 depcc
="$CXX" am_compiler_list
=
13144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13146 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13150 # We make a subdir and do the tests there. Otherwise we can end up
13151 # making bogus files that we don't know about and never remove. For
13152 # instance it was reported that on HP-UX the gcc test will end up
13153 # making a dummy file named `D' -- because `-MD' means `put the output
13156 # Copy depcomp to subdir because otherwise we won't find it if we're
13157 # using a relative directory.
13158 cp "$am_depcomp" conftest.dir
13160 # We will build objects and dependencies in a subdirectory because
13161 # it helps to detect inapplicable dependency modes. For instance
13162 # both Tru64's cc and ICC support -MD to output dependencies as a
13163 # side effect of compilation, but ICC will put the dependencies in
13164 # the current directory while Tru64 will put them in the object
13168 am_cv_CXX_dependencies_compiler_type
=none
13169 if test "$am_compiler_list" = ""; then
13170 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13172 for depmode
in $am_compiler_list; do
13173 # Setup a source with many dependencies, because some compilers
13174 # like to wrap large dependency lists on column 80 (with \), and
13175 # we should not choose a depcomp mode which is confused by this.
13177 # We need to recreate these files for each test, as the compiler may
13178 # overwrite some of them when testing with obscure command lines.
13179 # This happens at least with the AIX C compiler.
13181 for i
in 1 2 3 4 5 6; do
13182 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13184 # Solaris 8's {/usr,}/bin/sh.
13185 touch sub
/conftst
$i.h
13187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13191 # after this tag, mechanisms are not by side-effect, so they'll
13192 # only be used when explicitly requested
13193 if test "x$enable_dependency_tracking" = xyes
; then
13201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13202 # mode. It turns out that the SunPro C++ compiler does not properly
13203 # handle `-M -o', and we need to detect this.
13204 if depmode
=$depmode \
13205 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13206 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13207 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13208 >/dev
/null
2>conftest.err
&&
13209 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13210 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13211 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13212 # icc doesn't choke on unknown options, it will just issue warnings
13213 # or remarks (even with -Werror). So we grep stderr for any message
13214 # that says an option was ignored or not supported.
13215 # When given -MP, icc 7.0 and 7.1 complain thusly:
13216 # icc: Command line warning: ignoring option '-M'; no argument required
13217 # The diagnosis changed in icc 8.0:
13218 # icc: Command line remark: option '-MP' not supported
13219 if (grep 'ignoring option' conftest.err ||
13220 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13221 am_cv_CXX_dependencies_compiler_type
=$depmode
13228 rm -rf conftest.dir
13230 am_cv_CXX_dependencies_compiler_type
=none
13234 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13235 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13236 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13241 test "x$enable_dependency_tracking" != xno \
13242 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13243 am__fastdepCXX_TRUE
=
13244 am__fastdepCXX_FALSE
='#'
13246 am__fastdepCXX_TRUE
='#'
13247 am__fastdepCXX_FALSE
=
13251 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13252 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13253 (test "X$CXX" != "Xg++"))) ; then
13255 ac_cpp
='$CXXCPP $CPPFLAGS'
13256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13259 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13260 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13261 if test -z "$CXXCPP"; then
13262 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 # Double quotes because CXXCPP needs to be expanded
13266 for CXXCPP
in "$CXX -E" "/lib/cpp"
13268 ac_preproc_ok
=false
13269 for ac_cxx_preproc_warn_flag
in '' yes
13271 # Use a header file that comes with gcc, so configuring glibc
13272 # with a fresh cross-compiler works.
13273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13274 # <limits.h> exists even on freestanding compilers.
13275 # On the NeXT, cc -E runs the code through the compiler's parser,
13276 # not just through cpp. "Syntax error" is here to catch this case.
13277 cat >conftest.
$ac_ext <<_ACEOF
13280 cat confdefs.h
>>conftest.
$ac_ext
13281 cat >>conftest.
$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13284 # include <limits.h>
13286 # include <assert.h>
13290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13293 grep -v '^ *+' conftest.er1
>conftest.err
13295 cat conftest.err
>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } >/dev
/null
; then
13298 if test -s conftest.err
; then
13299 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13300 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13307 if test -z "$ac_cpp_err"; then
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.
$ac_ext >&5
13313 # Broken: fails on valid input.
13316 rm -f conftest.err conftest.
$ac_ext
13318 # OK, works on sane cases. Now check whether non-existent headers
13319 # can be detected and how.
13320 cat >conftest.
$ac_ext <<_ACEOF
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <ac_nonexistent.h>
13328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13331 grep -v '^ *+' conftest.er1
>conftest.err
13333 cat conftest.err
>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); } >/dev
/null
; then
13336 if test -s conftest.err
; then
13337 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13338 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13345 if test -z "$ac_cpp_err"; then
13346 # Broken: success on invalid input.
13349 echo "$as_me: failed program was:" >&5
13350 sed 's/^/| /' conftest.
$ac_ext >&5
13352 # Passes both tests.
13356 rm -f conftest.err conftest.
$ac_ext
13359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13360 rm -f conftest.err conftest.
$ac_ext
13361 if $ac_preproc_ok; then
13366 ac_cv_prog_CXXCPP
=$CXXCPP
13369 CXXCPP
=$ac_cv_prog_CXXCPP
13371 ac_cv_prog_CXXCPP
=$CXXCPP
13373 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13374 echo "${ECHO_T}$CXXCPP" >&6
13375 ac_preproc_ok
=false
13376 for ac_cxx_preproc_warn_flag
in '' yes
13378 # Use a header file that comes with gcc, so configuring glibc
13379 # with a fresh cross-compiler works.
13380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13381 # <limits.h> exists even on freestanding compilers.
13382 # On the NeXT, cc -E runs the code through the compiler's parser,
13383 # not just through cpp. "Syntax error" is here to catch this case.
13384 cat >conftest.
$ac_ext <<_ACEOF
13387 cat confdefs.h
>>conftest.
$ac_ext
13388 cat >>conftest.
$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13391 # include <limits.h>
13393 # include <assert.h>
13397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } >/dev
/null
; then
13405 if test -s conftest.err
; then
13406 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13407 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13414 if test -z "$ac_cpp_err"; then
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.
$ac_ext >&5
13420 # Broken: fails on valid input.
13423 rm -f conftest.err conftest.
$ac_ext
13425 # OK, works on sane cases. Now check whether non-existent headers
13426 # can be detected and how.
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <ac_nonexistent.h>
13435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13438 grep -v '^ *+' conftest.er1
>conftest.err
13440 cat conftest.err
>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } >/dev
/null
; then
13443 if test -s conftest.err
; then
13444 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13445 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13452 if test -z "$ac_cpp_err"; then
13453 # Broken: success on invalid input.
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 # Passes both tests.
13463 rm -f conftest.err conftest.
$ac_ext
13466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13467 rm -f conftest.err conftest.
$ac_ext
13468 if $ac_preproc_ok; then
13471 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13473 _lt_caught_CXX_error
=yes; }
13477 ac_cpp
='$CPP $CPPFLAGS'
13478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13483 _lt_caught_CXX_error
=yes
13490 ac_cpp
='$CXXCPP $CPPFLAGS'
13491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13495 archive_cmds_need_lc_CXX
=no
13496 allow_undefined_flag_CXX
=
13497 always_export_symbols_CXX
=no
13498 archive_expsym_cmds_CXX
=
13499 compiler_needs_object_CXX
=no
13500 export_dynamic_flag_spec_CXX
=
13501 hardcode_direct_CXX
=no
13502 hardcode_direct_absolute_CXX
=no
13503 hardcode_libdir_flag_spec_CXX
=
13504 hardcode_libdir_flag_spec_ld_CXX
=
13505 hardcode_libdir_separator_CXX
=
13506 hardcode_minus_L_CXX
=no
13507 hardcode_shlibpath_var_CXX
=unsupported
13508 hardcode_automatic_CXX
=no
13509 inherit_rpath_CXX
=no
13511 module_expsym_cmds_CXX
=
13512 link_all_deplibs_CXX
=unknown
13513 old_archive_cmds_CXX
=$old_archive_cmds
13514 no_undefined_flag_CXX
=
13515 whole_archive_flag_spec_CXX
=
13516 enable_shared_with_static_runtimes_CXX
=no
13518 # Source file extension for C++ test sources.
13521 # Object file extension for compiled C++ test sources.
13525 # No sense in running all these tests if we already determined that
13526 # the CXX compiler isn't working. Some variables (like enable_shared)
13527 # are currently assumed to apply to all compilers on this platform,
13528 # and will be corrupted by setting them based on a non-working compiler.
13529 if test "$_lt_caught_CXX_error" != yes; then
13530 # Code to be used in simple compile tests
13531 lt_simple_compile_test_code
="int some_variable = 0;"
13533 # Code to be used in simple link tests
13534 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13536 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13543 # If no C compiler was specified, use CC.
13546 # If no C compiler flags were specified, use CFLAGS.
13547 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13549 # Allow CC to be a program name with arguments.
13553 # save warnings/boilerplate of simple test code
13554 ac_outfile
=conftest.
$ac_objext
13555 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13556 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13557 _lt_compiler_boilerplate
=`cat conftest.err`
13560 ac_outfile
=conftest.
$ac_objext
13561 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13562 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13563 _lt_linker_boilerplate
=`cat conftest.err`
13567 # Allow CC to be a program name with arguments.
13572 lt_save_with_gnu_ld
=$with_gnu_ld
13573 lt_save_path_LD
=$lt_cv_path_LD
13574 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13575 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13577 $as_unset lt_cv_prog_gnu_ld
13579 if test -n "${lt_cv_path_LDCXX+set}"; then
13580 lt_cv_path_LD
=$lt_cv_path_LDCXX
13582 $as_unset lt_cv_path_LD
13584 test -z "${LDCXX+set}" || LD
=$LDCXX
13588 for cc_temp
in $compiler""; do
13590 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13591 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13596 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13599 if test -n "$compiler"; then
13600 # We don't want -fno-exception when compiling C++ code, so set the
13601 # no_builtin_flag separately
13602 if test "$GXX" = yes; then
13603 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13605 lt_prog_compiler_no_builtin_flag_CXX
=
13608 if test "$GXX" = yes; then
13609 # Set up default GNU C++ configuration
13613 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13614 if test "${with_gnu_ld+set}" = set; then
13615 withval
="$with_gnu_ld"
13616 test "$withval" = no || with_gnu_ld
=yes
13621 if test "$GCC" = yes; then
13622 # Check if gcc -print-prog-name=ld gives a path.
13623 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13624 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13627 # gcc leaves a trailing carriage return which upsets mingw
13628 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13630 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13633 # Accept absolute paths.
13635 re_direlt
='/[^/][^/]*/\.\./'
13636 # Canonicalize the pathname of ld
13637 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13638 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13639 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13641 test -z "$LD" && LD
="$ac_prog"
13644 # If it fails, then pretend we aren't using GCC.
13648 # If it is relative, then search for the first ld in PATH.
13649 with_gnu_ld
=unknown
13652 elif test "$with_gnu_ld" = yes; then
13653 echo "$as_me:$LINENO: checking for GNU ld" >&5
13654 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13656 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13657 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13659 if test "${lt_cv_path_LD+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 if test -z "$LD"; then
13663 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13664 for ac_dir
in $PATH; do
13666 test -z "$ac_dir" && ac_dir
=.
13667 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13668 lt_cv_path_LD
="$ac_dir/$ac_prog"
13669 # Check to see if the program is GNU ld. I'd rather use --version,
13670 # but apparently some variants of GNU ld only accept -v.
13671 # Break only if it was the GNU/non-GNU ld that we prefer.
13672 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13673 *GNU
* |
*'with BFD'*)
13674 test "$with_gnu_ld" != no
&& break
13677 test "$with_gnu_ld" != yes && break
13684 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13688 LD
="$lt_cv_path_LD"
13689 if test -n "$LD"; then
13690 echo "$as_me:$LINENO: result: $LD" >&5
13691 echo "${ECHO_T}$LD" >&6
13693 echo "$as_me:$LINENO: result: no" >&5
13694 echo "${ECHO_T}no" >&6
13696 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13697 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13698 { (exit 1); exit 1; }; }
13699 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13700 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13701 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13705 case `$LD -v 2>&1 </dev/null` in
13706 *GNU
* |
*'with BFD'*)
13707 lt_cv_prog_gnu_ld
=yes
13710 lt_cv_prog_gnu_ld
=no
13714 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13715 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13716 with_gnu_ld
=$lt_cv_prog_gnu_ld
13724 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13725 # archiving commands below assume that GNU ld is being used.
13726 if test "$with_gnu_ld" = yes; then
13727 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13728 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'
13730 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13731 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13733 # If archive_cmds runs LD, not CC, wlarc should be empty
13734 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13735 # investigate it a little bit more. (MM)
13738 # ancient GNU ld didn't support --whole-archive et. al.
13739 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13740 $GREP 'no-whole-archive' > /dev
/null
; then
13741 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13743 whole_archive_flag_spec_CXX
=
13749 # A generic and very simple default shared library creation
13750 # command for GNU C++ for the case where it uses the native
13751 # linker, instead of GNU ld. If possible, this setting should
13752 # overridden to take advantage of the native linker features on
13753 # the platform it is being used on.
13754 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13757 # Commands to make compiler produce verbose output that lists
13758 # what "hidden" libraries, object files and flags are used when
13759 # linking a shared library.
13760 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13768 # PORTME: fill in a description of your system's C++ link characteristics
13769 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13770 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13774 # FIXME: insert proper C++ library support
13778 if test "$host_cpu" = ia64
; then
13779 # On IA64, the linker does run time linking by default, so we don't
13780 # have to do anything special.
13781 aix_use_runtimelinking
=no
13782 exp_sym_flag
='-Bexport'
13785 aix_use_runtimelinking
=no
13787 # Test if we are trying to use run time linking or normal
13788 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13789 # need to do runtime linking.
13790 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13791 for ld_flag
in $LDFLAGS; do
13794 aix_use_runtimelinking
=yes
13802 exp_sym_flag
='-bexport'
13803 no_entry_flag
='-bnoentry'
13806 # When large executables or shared objects are built, AIX ld can
13807 # have problems creating the table of contents. If linking a library
13808 # or program results in "error TOC overflow" add -mminimal-toc to
13809 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13810 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13812 archive_cmds_CXX
=''
13813 hardcode_direct_CXX
=yes
13814 hardcode_direct_absolute_CXX
=yes
13815 hardcode_libdir_separator_CXX
=':'
13816 link_all_deplibs_CXX
=yes
13817 file_list_spec_CXX
='${wl}-f,'
13819 if test "$GXX" = yes; then
13820 case $host_os in aix4.
[012]|aix4.
[012].
*)
13821 # We only want to do this on AIX 4.2 and lower, the check
13822 # below for broken collect2 doesn't work under 4.3+
13823 collect2name
=`${CC} -print-prog-name=collect2`
13824 if test -f "$collect2name" &&
13825 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13827 # We have reworked collect2
13830 # We have old collect2
13831 hardcode_direct_CXX
=unsupported
13832 # It fails to find uninstalled libraries when the uninstalled
13833 # path is not listed in the libpath. Setting hardcode_minus_L
13834 # to unsupported forces relinking
13835 hardcode_minus_L_CXX
=yes
13836 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13837 hardcode_libdir_separator_CXX
=
13840 shared_flag
='-shared'
13841 if test "$aix_use_runtimelinking" = yes; then
13842 shared_flag
="$shared_flag "'${wl}-G'
13846 if test "$host_cpu" = ia64
; then
13847 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13848 # chokes on -Wl,-G. The following line is correct:
13851 if test "$aix_use_runtimelinking" = yes; then
13852 shared_flag
='${wl}-G'
13854 shared_flag
='${wl}-bM:SRE'
13859 # It seems that -bexpall does not export symbols beginning with
13860 # underscore (_), so it is better to generate a list of symbols to
13862 always_export_symbols_CXX
=yes
13863 if test "$aix_use_runtimelinking" = yes; then
13864 # Warning - without using the other runtime loading flags (-brtl),
13865 # -berok will link without error, but may produce a broken library.
13866 allow_undefined_flag_CXX
='-berok'
13867 # Determine the default libpath from the value encoded in an empty
13869 if test x
$gcc_no_link = xyes
; then
13870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13872 { (exit 1); exit 1; }; }
13874 cat >conftest.
$ac_ext <<_ACEOF
13877 cat confdefs.h
>>conftest.
$ac_ext
13878 cat >>conftest.
$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13889 rm -f conftest.
$ac_objext conftest
$ac_exeext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13891 (eval $ac_link) 2>conftest.er1
13893 grep -v '^ *+' conftest.er1
>conftest.err
13895 cat conftest.err
>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } &&
13898 { ac_try
='test -z "$ac_cxx_werror_flag"
13899 || test ! -s conftest.err'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; } &&
13905 { ac_try
='test -s conftest$ac_exeext'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; }; then
13912 lt_aix_libpath_sed
='
13913 /Import File Strings/,/^$/ {
13919 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13920 # Check for a 64-bit object if we didn't find anything.
13921 if test -z "$aix_libpath"; then
13922 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.
$ac_ext >&5
13929 rm -f conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13933 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13935 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"
13937 if test "$host_cpu" = ia64
; then
13938 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13939 allow_undefined_flag_CXX
="-z nodefs"
13940 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"
13942 # Determine the default libpath from the value encoded in an
13943 # empty executable.
13944 if test x
$gcc_no_link = xyes
; then
13945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13947 { (exit 1); exit 1; }; }
13949 cat >conftest.
$ac_ext <<_ACEOF
13952 cat confdefs.h
>>conftest.
$ac_ext
13953 cat >>conftest.
$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13964 rm -f conftest.
$ac_objext conftest
$ac_exeext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966 (eval $ac_link) 2>conftest.er1
13968 grep -v '^ *+' conftest.er1
>conftest.err
13970 cat conftest.err
>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try
='test -z "$ac_cxx_werror_flag"
13974 || test ! -s conftest.err'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; } &&
13980 { ac_try
='test -s conftest$ac_exeext'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13987 lt_aix_libpath_sed
='
13988 /Import File Strings/,/^$/ {
13994 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13995 # Check for a 64-bit object if we didn't find anything.
13996 if test -z "$aix_libpath"; then
13997 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14004 rm -f conftest.err conftest.
$ac_objext \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14008 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14009 # Warning - without using the other run time loading flags,
14010 # -berok will link without error, but may produce a broken library.
14011 no_undefined_flag_CXX
=' ${wl}-bernotok'
14012 allow_undefined_flag_CXX
=' ${wl}-berok'
14013 # Exported symbols can be pulled into shared objects from archives
14014 whole_archive_flag_spec_CXX
='$convenience'
14015 archive_cmds_need_lc_CXX
=yes
14016 # This is similar to how AIX traditionally builds its shared
14018 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'
14024 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14025 allow_undefined_flag_CXX
=unsupported
14026 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14027 # support --undefined. This deserves some investigation. FIXME
14028 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14035 case $cc_basename in
14037 # FIXME: insert proper C++ library support
14043 cygwin
* | mingw
* | pw32
*)
14044 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14045 # as there is no search path for DLLs.
14046 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14047 allow_undefined_flag_CXX
=unsupported
14048 always_export_symbols_CXX
=no
14049 enable_shared_with_static_runtimes_CXX
=yes
14051 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14052 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'
14053 # If the export-symbols file already is a .def file (1st line
14054 # is EXPORTS), use it as is; otherwise, prepend...
14055 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14056 cp $export_symbols $output_objdir/$soname.def;
14058 echo EXPORTS > $output_objdir/$soname.def;
14059 cat $export_symbols >> $output_objdir/$soname.def;
14061 $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'
14066 darwin
* | rhapsody
*)
14068 rhapsody
* | darwin1.
[012])
14069 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
14072 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
14074 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14077 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
14082 archive_cmds_need_lc_CXX
=no
14083 hardcode_direct_CXX
=no
14084 hardcode_automatic_CXX
=yes
14085 hardcode_shlibpath_var_CXX
=unsupported
14086 whole_archive_flag_spec_CXX
=''
14087 link_all_deplibs_CXX
=yes
14089 if test "$GXX" = yes ; then
14090 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 lt_cv_apple_cc_single_mod
=no
14094 if test -z "${LT_MULTI_MODULE}"; then
14095 # By default we will add the -single_module flag. You can override
14096 # by either setting the environment variable LT_MULTI_MODULE
14097 # non-empty at configure time, or by adding -multi-module to the
14099 echo "int foo(void){return 1;}" > conftest.c
14100 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14101 -dynamiclib ${wl}-single_module conftest.c
14102 if test -f libconftest.dylib
; then
14103 lt_cv_apple_cc_single_mod
=yes
14104 rm libconftest.dylib
14106 rm conftest.
$ac_ext
14110 output_verbose_link_cmd
=echo
14111 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
14112 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14113 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}'
14115 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'
14116 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}'
14118 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14119 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}'
14121 case $cc_basename in
14123 output_verbose_link_cmd
=echo
14124 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'
14125 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14126 # Don't fix this by using the ld -exported_symbols_list flag,
14127 # it doesn't exist in older darwin lds
14128 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}'
14129 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}'
14139 case $cc_basename in
14141 # FIXME: insert proper C++ library support
14145 # Green Hills C++ Compiler
14146 # FIXME: insert proper C++ library support
14150 # FIXME: insert proper C++ library support
14157 # C++ shared libraries reported to be fairly broken before
14163 archive_cmds_need_lc_CXX
=no
14166 freebsd
* | dragonfly
*)
14167 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14176 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14177 hardcode_libdir_separator_CXX
=:
14178 export_dynamic_flag_spec_CXX
='${wl}-E'
14179 hardcode_direct_CXX
=yes
14180 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14181 # but as the default
14182 # location of the library.
14184 case $cc_basename in
14186 # FIXME: insert proper C++ library support
14190 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'
14191 # Commands to make compiler produce verbose output that lists
14192 # what "hidden" libraries, object files and flags are used when
14193 # linking a shared library.
14195 # There doesn't appear to be a way to prevent this compiler from
14196 # explicitly linking system object files so we need to strip them
14197 # from the output so that they don't get included in the library
14199 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'
14202 if test "$GXX" = yes; then
14203 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'
14205 # FIXME: insert proper C++ library support
14213 if test $with_gnu_ld = no
; then
14214 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14215 hardcode_libdir_separator_CXX
=:
14221 export_dynamic_flag_spec_CXX
='${wl}-E'
14227 hardcode_direct_CXX
=no
14228 hardcode_shlibpath_var_CXX
=no
14231 hardcode_direct_CXX
=yes
14232 hardcode_direct_absolute_CXX
=yes
14233 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14234 # but as the default
14235 # location of the library.
14239 case $cc_basename in
14241 # FIXME: insert proper C++ library support
14247 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14250 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14253 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14256 # Commands to make compiler produce verbose output that lists
14257 # what "hidden" libraries, object files and flags are used when
14258 # linking a shared library.
14260 # There doesn't appear to be a way to prevent this compiler from
14261 # explicitly linking system object files so we need to strip them
14262 # from the output so that they don't get included in the library
14264 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'
14267 if test "$GXX" = yes; then
14268 if test $with_gnu_ld = no
; then
14271 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14274 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14277 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'
14282 # FIXME: insert proper C++ library support
14290 hardcode_direct_CXX
=no
14291 hardcode_shlibpath_var_CXX
=no
14292 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14293 export_dynamic_flag_spec_CXX
='${wl}-E'
14294 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14295 # Instead, shared libraries are loaded at an image base (0x10000000 by
14296 # default) and relocated if they conflict, which is a slow very memory
14297 # consuming and fragmenting process. To avoid this, we pick a random,
14298 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14299 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14300 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'
14301 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'
14304 case $cc_basename in
14307 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'
14309 # Archives containing C++ object files must be created using
14310 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14311 # necessary to make sure instantiated templates are included
14313 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14316 if test "$GXX" = yes; then
14317 if test "$with_gnu_ld" = no
; then
14318 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'
14320 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'
14323 link_all_deplibs_CXX
=yes
14326 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14327 hardcode_libdir_separator_CXX
=:
14328 inherit_rpath_CXX
=yes
14331 linux
* | k
*bsd
*-gnu)
14332 case $cc_basename in
14334 # Kuck and Associates, Inc. (KAI) C++ Compiler
14336 # KCC will only create a shared library if the output file
14337 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14338 # to its proper name (with version) after linking.
14339 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'
14340 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'
14341 # Commands to make compiler produce verbose output that lists
14342 # what "hidden" libraries, object files and flags are used when
14343 # linking a shared library.
14345 # There doesn't appear to be a way to prevent this compiler from
14346 # explicitly linking system object files so we need to strip them
14347 # from the output so that they don't get included in the library
14349 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'
14351 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14352 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14354 # Archives containing C++ object files must be created using
14355 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14356 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14361 # version 8.0 and above of icpc choke on multiply defined symbols
14362 # if we add $predep_objects and $postdep_objects, however 7.1 and
14363 # earlier do not add the objects themselves.
14364 case `$CC -V 2>&1` in
14366 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14367 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'
14369 *) # Version 8.0 or newer
14372 ia64
*) tmp_idyn
=' -i_dynamic';;
14374 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14375 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'
14378 archive_cmds_need_lc_CXX
=no
14379 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14380 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14381 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14384 # Portland Group C++ compiler
14387 prelink_cmds_CXX
='tpldir=Template.dir~
14389 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14390 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14391 old_archive_cmds_CXX
='tpldir=Template.dir~
14393 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14394 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14396 archive_cmds_CXX
='tpldir=Template.dir~
14398 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14399 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14400 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14402 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14403 $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'
14405 *) # Version 6 will use weak symbols
14406 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14407 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'
14411 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14412 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14413 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'
14417 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14418 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'
14420 runpath_var
=LD_RUN_PATH
14421 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14422 hardcode_libdir_separator_CXX
=:
14424 # Commands to make compiler produce verbose output that lists
14425 # what "hidden" libraries, object files and flags are used when
14426 # linking a shared library.
14428 # There doesn't appear to be a way to prevent this compiler from
14429 # explicitly linking system object files so we need to strip them
14430 # from the output so that they don't get included in the library
14432 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'
14435 case `$CC -V 2>&1 | sed 5q` in
14438 no_undefined_flag_CXX
=' -zdefs'
14439 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14440 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'
14441 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14442 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'
14443 compiler_needs_object_CXX
=yes
14445 # Not sure whether something based on
14446 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14448 output_verbose_link_cmd
='echo'
14450 # Archives containing C++ object files must be created using
14451 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14452 # necessary to make sure instantiated templates are included
14454 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14462 # FIXME: insert proper C++ library support
14467 # FIXME: insert proper C++ library support
14472 case $cc_basename in
14474 # FIXME: insert proper C++ library support
14478 # FIXME: insert proper C++ library support
14485 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14486 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14488 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14489 hardcode_direct_CXX
=yes
14490 hardcode_shlibpath_var_CXX
=no
14492 # Workaround some broken pre-1.5 toolchains
14493 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14501 # C++ shared libraries are fairly broken
14506 hardcode_direct_CXX
=yes
14507 hardcode_shlibpath_var_CXX
=no
14508 hardcode_direct_absolute_CXX
=yes
14509 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14510 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14511 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14512 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14513 export_dynamic_flag_spec_CXX
='${wl}-E'
14514 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14516 output_verbose_link_cmd
=echo
14519 osf3
* | osf4
* | osf5
*)
14520 case $cc_basename in
14522 # Kuck and Associates, Inc. (KAI) C++ Compiler
14524 # KCC will only create a shared library if the output file
14525 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14526 # to its proper name (with version) after linking.
14527 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'
14529 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14530 hardcode_libdir_separator_CXX
=:
14532 # Archives containing C++ object files must be created using
14533 # the KAI C++ compiler.
14535 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14536 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14540 # Rational C++ 2.4.1
14541 # FIXME: insert proper C++ library support
14547 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14548 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'
14549 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14552 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14553 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'
14554 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14555 echo "-hidden">> $lib.exp~
14556 $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~
14558 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14562 hardcode_libdir_separator_CXX
=:
14564 # Commands to make compiler produce verbose output that lists
14565 # what "hidden" libraries, object files and flags are used when
14566 # linking a shared library.
14568 # There doesn't appear to be a way to prevent this compiler from
14569 # explicitly linking system object files so we need to strip them
14570 # from the output so that they don't get included in the library
14572 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'
14575 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14576 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14579 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'
14582 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'
14586 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14587 hardcode_libdir_separator_CXX
=:
14589 # Commands to make compiler produce verbose output that lists
14590 # what "hidden" libraries, object files and flags are used when
14591 # linking a shared library.
14592 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14595 # FIXME: insert proper C++ library support
14603 # FIXME: insert proper C++ library support
14608 case $cc_basename in
14611 # FIXME: insert proper C++ library support
14616 # FIXME: insert proper C++ library support
14620 # FIXME: insert proper C++ library support
14627 case $cc_basename in
14629 # Sun C++ 4.2, 5.x and Centerline C++
14630 archive_cmds_need_lc_CXX
=yes
14631 no_undefined_flag_CXX
=' -zdefs'
14632 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14633 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14634 $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'
14636 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14637 hardcode_shlibpath_var_CXX
=no
14639 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14641 # The compiler driver will combine and reorder linker options,
14642 # but understands `-z linker_flag'.
14643 # Supported since Solaris 2.6 (maybe 2.5.1?)
14644 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14647 link_all_deplibs_CXX
=yes
14649 output_verbose_link_cmd
='echo'
14651 # Archives containing C++ object files must be created using
14652 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14653 # necessary to make sure instantiated templates are included
14655 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14658 # Green Hills C++ Compiler
14659 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14661 # The C++ compiler must be used to create the archive.
14662 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14665 # GNU C++ compiler with Solaris linker
14666 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14667 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14668 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14669 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14670 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14671 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14673 # Commands to make compiler produce verbose output that lists
14674 # what "hidden" libraries, object files and flags are used when
14675 # linking a shared library.
14676 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14678 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14680 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14681 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14682 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14684 # Commands to make compiler produce verbose output that lists
14685 # what "hidden" libraries, object files and flags are used when
14686 # linking a shared library.
14687 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14690 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14692 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14694 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14702 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14703 no_undefined_flag_CXX
='${wl}-z,text'
14704 archive_cmds_need_lc_CXX
=no
14705 hardcode_shlibpath_var_CXX
=no
14706 runpath_var
='LD_RUN_PATH'
14708 case $cc_basename in
14710 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14714 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14715 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 sysv5
* | sco3.2v5
* | sco5v6
*)
14721 # Note: We can NOT use -z defs as we might desire, because we do not
14722 # link with -lc, and that would cause any symbols used from libc to
14723 # always be unresolved, which means just about no library would
14724 # ever link correctly. If we're not using GNU ld we use -z text
14725 # though, which does catch some bad symbols but isn't as heavy-handed
14727 no_undefined_flag_CXX
='${wl}-z,text'
14728 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14729 archive_cmds_need_lc_CXX
=no
14730 hardcode_shlibpath_var_CXX
=no
14731 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14732 hardcode_libdir_separator_CXX
=':'
14733 link_all_deplibs_CXX
=yes
14734 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14735 runpath_var
='LD_RUN_PATH'
14737 case $cc_basename in
14739 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14744 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750 case $cc_basename in
14752 # NonStop-UX NCC 3.20
14753 # FIXME: insert proper C++ library support
14757 # FIXME: insert proper C++ library support
14764 # FIXME: insert proper C++ library support
14769 # FIXME: insert proper C++ library support
14774 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14775 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14776 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14782 ## There is no encapsulation within the following macros, do not change
14783 ## the running order or otherwise move them around unless you know exactly
14784 ## what you are doing...
14785 # Dependencies to place before and after the object being linked:
14786 predep_objects_CXX
=
14787 postdep_objects_CXX
=
14790 compiler_lib_search_path_CXX
=
14792 cat > conftest.
$ac_ext <<_LT_EOF
14796 Foo (void) { a = 0; }
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 # Parse the compiler output and extract the necessary
14808 # objects, libraries and library flags.
14810 # Sentinel used to keep track of whether or not we are before
14811 # the conftest object file.
14812 pre_test_object_deps_done
=no
14814 # The `*' in the case matches for architectures that use `case' in
14815 # $output_verbose_cmd can trigger glob expansion during the loop
14816 # eval without this substitution.
14817 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14819 for p
in `eval $output_verbose_link_cmd`; do
14823 # Some compilers place space between "-{L,R}" and the path.
14824 # Remove the space.
14825 if test $p = "-L" ||
14826 test $p = "-R"; then
14833 if test "$pre_test_object_deps_done" = no
; then
14836 # Internal compiler library paths should come after those
14837 # provided the user. The postdeps already come after the
14838 # user supplied libs so there is no need to process them.
14839 if test -z "$compiler_lib_search_path_CXX"; then
14840 compiler_lib_search_path_CXX
="${prev}${p}"
14842 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14845 # The "-l" case would never come before the object being
14846 # linked, so don't bother handling this case.
14849 if test -z "$postdeps_CXX"; then
14850 postdeps_CXX
="${prev}${p}"
14852 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14858 # This assumes that the test object file only shows up
14859 # once in the compiler output.
14860 if test "$p" = "conftest.$objext"; then
14861 pre_test_object_deps_done
=yes
14865 if test "$pre_test_object_deps_done" = no
; then
14866 if test -z "$predep_objects_CXX"; then
14867 predep_objects_CXX
="$p"
14869 predep_objects_CXX
="$predep_objects_CXX $p"
14872 if test -z "$postdep_objects_CXX"; then
14873 postdep_objects_CXX
="$p"
14875 postdep_objects_CXX
="$postdep_objects_CXX $p"
14880 *) ;; # Ignore the rest.
14888 echo "libtool.m4: error: problem compiling CXX test program"
14891 $RM -f confest.
$objext
14893 # PORTME: override above test on systems where it is broken
14896 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14897 # hack all around it, let's just trust "g++" to DTRT.
14898 predep_objects_CXX
=
14899 postdep_objects_CXX
=
14904 case `$CC -V 2>&1 | sed 5q` in
14908 # The more standards-conforming stlport4 library is
14909 # incompatible with the Cstd library. Avoid specifying
14910 # it if it's in CXXFLAGS. Ignore libCrun as
14911 # -library=stlport4 depends on it.
14912 case " $CXX $CXXFLAGS " in
14913 *" -library=stlport4 "*)
14914 solaris_use_stlport4
=yes
14918 if test "$solaris_use_stlport4" != yes; then
14919 postdeps_CXX
='-library=Cstd -library=Crun'
14926 case $cc_basename in
14928 # The more standards-conforming stlport4 library is
14929 # incompatible with the Cstd library. Avoid specifying
14930 # it if it's in CXXFLAGS. Ignore libCrun as
14931 # -library=stlport4 depends on it.
14932 case " $CXX $CXXFLAGS " in
14933 *" -library=stlport4 "*)
14934 solaris_use_stlport4
=yes
14938 # Adding this requires a known-good setup of shared libraries for
14939 # Sun compiler versions before 5.6, else PIC objects from an old
14940 # archive will be linked into the output, leading to subtle bugs.
14941 if test "$solaris_use_stlport4" != yes; then
14942 postdeps_CXX
='-library=Cstd -library=Crun'
14950 case " $postdeps_CXX " in
14951 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14979 lt_prog_compiler_wl_CXX
=
14980 lt_prog_compiler_pic_CXX
=
14981 lt_prog_compiler_static_CXX
=
14983 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14984 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14986 # C++ specific cases for pic, static, wl, etc.
14987 if test "$GXX" = yes; then
14988 lt_prog_compiler_wl_CXX
='-Wl,'
14989 lt_prog_compiler_static_CXX
='-static'
14993 # All AIX code is PIC.
14994 if test "$host_cpu" = ia64
; then
14995 # AIX 5 now supports IA64 processor
14996 lt_prog_compiler_static_CXX
='-Bstatic'
15000 if test "$host_cpu" = m68k
; then
15001 # FIXME: we need at least 68020 code to build shared libraries, but
15002 # adding the `-m68020' flag to GCC prevents building anything better,
15004 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15007 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15008 # PIC is the default for these OSes.
15010 mingw
* | cygwin
* | os2
* | pw32
*)
15011 # This hack is so that the source file can tell whether it is being
15012 # built for inclusion in a dll (and should export symbols for example).
15013 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15014 # (--disable-auto-import) libraries
15015 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15017 darwin
* | rhapsody
*)
15018 # PIC is the default on this platform
15019 # Common symbols not allowed in MH_DYLIB files
15020 lt_prog_compiler_pic_CXX
='-fno-common'
15023 # DJGPP does not support shared libraries at all
15024 lt_prog_compiler_pic_CXX
=
15027 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15028 # Instead, we relocate shared libraries at runtime.
15031 if test -d /usr
/nec
; then
15032 lt_prog_compiler_pic_CXX
=-Kconform_pic
15036 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15037 # not for PA HP-UX.
15042 lt_prog_compiler_pic_CXX
='-fPIC'
15047 # QNX uses GNU C++, but need to define -shared option too, otherwise
15048 # it will coredump.
15049 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15052 lt_prog_compiler_pic_CXX
='-fPIC'
15058 # All AIX code is PIC.
15059 if test "$host_cpu" = ia64
; then
15060 # AIX 5 now supports IA64 processor
15061 lt_prog_compiler_static_CXX
='-Bstatic'
15063 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15067 case $cc_basename in
15069 # Green Hills C++ Compiler
15070 # _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"
15075 # PIC is the default on this platform
15076 # Common symbols not allowed in MH_DYLIB files
15077 case $cc_basename in
15079 lt_prog_compiler_pic_CXX
='-qnocommon'
15080 lt_prog_compiler_wl_CXX
='-Wl,'
15085 case $cc_basename in
15087 lt_prog_compiler_pic_CXX
='-KPIC'
15090 # Green Hills C++ Compiler
15091 lt_prog_compiler_pic_CXX
='-pic'
15097 freebsd
* | dragonfly
*)
15098 # FreeBSD uses GNU C++
15100 hpux9
* | hpux10
* | hpux11
*)
15101 case $cc_basename in
15103 lt_prog_compiler_wl_CXX
='-Wl,'
15104 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15105 if test "$host_cpu" != ia64
; then
15106 lt_prog_compiler_pic_CXX
='+Z'
15110 lt_prog_compiler_wl_CXX
='-Wl,'
15111 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15117 lt_prog_compiler_pic_CXX
='+Z'
15126 # This is c89, which is MS Visual C++ (no shared libs)
15127 # Anyone wants to do a port?
15129 irix5
* | irix6
* | nonstopux
*)
15130 case $cc_basename in
15132 lt_prog_compiler_wl_CXX
='-Wl,'
15133 lt_prog_compiler_static_CXX
='-non_shared'
15134 # CC pic flag -KPIC is the default.
15140 linux
* | k
*bsd
*-gnu)
15141 case $cc_basename in
15144 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15145 lt_prog_compiler_pic_CXX
='-fPIC'
15149 lt_prog_compiler_wl_CXX
='-Wl,'
15150 lt_prog_compiler_pic_CXX
='-KPIC'
15151 lt_prog_compiler_static_CXX
='-static'
15154 # Portland Group C++ compiler
15155 lt_prog_compiler_wl_CXX
='-Wl,'
15156 lt_prog_compiler_pic_CXX
='-fpic'
15157 lt_prog_compiler_static_CXX
='-Bstatic'
15161 # Make sure the PIC flag is empty. It appears that all Alpha
15162 # Linux and Compaq Tru64 Unix objects are PIC.
15163 lt_prog_compiler_pic_CXX
=
15164 lt_prog_compiler_static_CXX
='-non_shared'
15167 case `$CC -V 2>&1 | sed 5q` in
15170 lt_prog_compiler_pic_CXX
='-KPIC'
15171 lt_prog_compiler_static_CXX
='-Bstatic'
15172 lt_prog_compiler_wl_CXX
='-Qoption ld '
15183 case $cc_basename in
15185 lt_prog_compiler_pic_CXX
='-W c,exportall'
15194 # QNX uses GNU C++, but need to define -shared option too, otherwise
15195 # it will coredump.
15196 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15198 osf3
* | osf4
* | osf5
*)
15199 case $cc_basename in
15201 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15204 # Rational C++ 2.4.1
15205 lt_prog_compiler_pic_CXX
='-pic'
15208 # Digital/Compaq C++
15209 lt_prog_compiler_wl_CXX
='-Wl,'
15210 # Make sure the PIC flag is empty. It appears that all Alpha
15211 # Linux and Compaq Tru64 Unix objects are PIC.
15212 lt_prog_compiler_pic_CXX
=
15213 lt_prog_compiler_static_CXX
='-non_shared'
15222 case $cc_basename in
15224 # Sun C++ 4.2, 5.x and Centerline C++
15225 lt_prog_compiler_pic_CXX
='-KPIC'
15226 lt_prog_compiler_static_CXX
='-Bstatic'
15227 lt_prog_compiler_wl_CXX
='-Qoption ld '
15230 # Green Hills C++ Compiler
15231 lt_prog_compiler_pic_CXX
='-PIC'
15238 case $cc_basename in
15241 lt_prog_compiler_pic_CXX
='-pic'
15242 lt_prog_compiler_static_CXX
='-Bstatic'
15246 lt_prog_compiler_pic_CXX
='-pic'
15252 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15253 case $cc_basename in
15255 lt_prog_compiler_wl_CXX
='-Wl,'
15256 lt_prog_compiler_pic_CXX
='-KPIC'
15257 lt_prog_compiler_static_CXX
='-Bstatic'
15262 case $cc_basename in
15264 # NonStop-UX NCC 3.20
15265 lt_prog_compiler_pic_CXX
='-KPIC'
15274 lt_prog_compiler_can_build_shared_CXX
=no
15280 # For platforms which do not support PIC, -DPIC is meaningless:
15282 lt_prog_compiler_pic_CXX
=
15285 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15288 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15289 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15294 # Check to make sure the PIC flag actually works.
15296 if test -n "$lt_prog_compiler_pic_CXX"; then
15297 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15298 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15299 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 lt_prog_compiler_pic_works_CXX
=no
15303 ac_outfile
=conftest.
$ac_objext
15304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15305 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15306 # Insert the option either (1) after the last *FLAGS variable, or
15307 # (2) before a word containing "conftest.", or (3) at the end.
15308 # Note that $ac_compile itself does not contain backslashes and begins
15309 # with a dollar sign (not a hyphen), so the echo should work correctly.
15310 # The option is referenced via a variable to avoid confusing sed.
15311 lt_compile
=`echo "$ac_compile" | $SED \
15312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15314 -e 's:$: $lt_compiler_flag:'`
15315 (eval echo "\"\$as_me:15315: $lt_compile\"" >&5)
15316 (eval "$lt_compile" 2>conftest.err
)
15318 cat conftest.err
>&5
15319 echo "$as_me:15319: \$? = $ac_status" >&5
15320 if (exit $ac_status) && test -s "$ac_outfile"; then
15321 # The compiler can only warn and ignore the option if not recognized
15322 # So say no if there are warnings other than the usual output.
15323 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15324 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15325 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15326 lt_prog_compiler_pic_works_CXX
=yes
15332 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15333 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15335 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
15336 case $lt_prog_compiler_pic_CXX in
15338 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15341 lt_prog_compiler_pic_CXX
=
15342 lt_prog_compiler_can_build_shared_CXX
=no
15350 # Check to make sure the static flag actually works.
15352 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15353 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15354 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15355 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15356 echo $ECHO_N "(cached) $ECHO_C" >&6
15358 lt_prog_compiler_static_works_CXX
=no
15359 save_LDFLAGS
="$LDFLAGS"
15360 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15361 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15362 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15363 # The linker can only warn and ignore the option if not recognized
15364 # So say no if there are warnings
15365 if test -s conftest.err
; then
15366 # Append any errors to the config.log.
15367 cat conftest.err
1>&5
15368 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15369 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15370 if diff conftest.exp conftest.er2
>/dev
/null
; then
15371 lt_prog_compiler_static_works_CXX
=yes
15374 lt_prog_compiler_static_works_CXX
=yes
15378 LDFLAGS
="$save_LDFLAGS"
15381 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15382 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15384 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
15387 lt_prog_compiler_static_CXX
=
15393 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15394 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15395 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 lt_cv_prog_compiler_c_o_CXX
=no
15399 $RM -r conftest
2>/dev
/null
15403 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15405 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15406 # Insert the option either (1) after the last *FLAGS variable, or
15407 # (2) before a word containing "conftest.", or (3) at the end.
15408 # Note that $ac_compile itself does not contain backslashes and begins
15409 # with a dollar sign (not a hyphen), so the echo should work correctly.
15410 lt_compile
=`echo "$ac_compile" | $SED \
15411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15413 -e 's:$: $lt_compiler_flag:'`
15414 (eval echo "\"\$as_me:15414: $lt_compile\"" >&5)
15415 (eval "$lt_compile" 2>out
/conftest.err
)
15417 cat out
/conftest.err
>&5
15418 echo "$as_me:15418: \$? = $ac_status" >&5
15419 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15421 # The compiler can only warn and ignore the option if not recognized
15422 # So say no if there are warnings
15423 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15424 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15425 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15426 lt_cv_prog_compiler_c_o_CXX
=yes
15431 # SGI C++ compiler will create directory out/ii_files/ for
15432 # template instantiation
15433 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15434 $RM out
/* && rmdir out
15440 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15441 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15447 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15448 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 lt_cv_prog_compiler_c_o_CXX
=no
15451 $RM -r conftest
2>/dev
/null
15455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15457 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15458 # Insert the option either (1) after the last *FLAGS variable, or
15459 # (2) before a word containing "conftest.", or (3) at the end.
15460 # Note that $ac_compile itself does not contain backslashes and begins
15461 # with a dollar sign (not a hyphen), so the echo should work correctly.
15462 lt_compile
=`echo "$ac_compile" | $SED \
15463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15465 -e 's:$: $lt_compiler_flag:'`
15466 (eval echo "\"\$as_me:15466: $lt_compile\"" >&5)
15467 (eval "$lt_compile" 2>out
/conftest.err
)
15469 cat out
/conftest.err
>&5
15470 echo "$as_me:15470: \$? = $ac_status" >&5
15471 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15473 # The compiler can only warn and ignore the option if not recognized
15474 # So say no if there are warnings
15475 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15476 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15477 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15478 lt_cv_prog_compiler_c_o_CXX
=yes
15483 # SGI C++ compiler will create directory out/ii_files/ for
15484 # template instantiation
15485 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15486 $RM out
/* && rmdir out
15492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15498 hard_links
="nottested"
15499 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15500 # do not overwrite the value of need_locks provided by the user
15501 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15502 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15505 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15507 ln conftest.a conftest.b
2>&5 || hard_links
=no
15508 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15509 echo "$as_me:$LINENO: result: $hard_links" >&5
15510 echo "${ECHO_T}$hard_links" >&6
15511 if test "$hard_links" = no
; then
15512 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15513 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15522 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15523 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15525 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15528 # If we're using GNU nm, then we don't want the "-C" option.
15529 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15530 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15531 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'
15533 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'
15537 export_symbols_cmds_CXX
="$ltdll_cmds"
15540 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'
15543 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15547 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15548 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15549 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15551 with_gnu_ld_CXX
=$with_gnu_ld
15559 # Do we need to explicitly link libc?
15561 case "x$archive_cmds_need_lc_CXX" in
15563 # Assume -lc should be added
15564 archive_cmds_need_lc_CXX
=yes
15566 if test "$enable_shared" = yes && test "$GCC" = yes; then
15567 case $archive_cmds_CXX in
15569 # FIXME: we may have to deal with multi-command sequences.
15572 # Test whether the compiler implicitly links with -lc since on some
15573 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15574 # to ld, don't add -lc before -lgcc.
15575 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15576 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15578 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } 2>conftest.err
; then
15587 libobjs
=conftest.
$ac_objext
15589 wl
=$lt_prog_compiler_wl_CXX
15590 pic_flag
=$lt_prog_compiler_pic_CXX
15596 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15597 allow_undefined_flag_CXX
=
15598 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15599 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }
15604 archive_cmds_need_lc_CXX
=no
15606 archive_cmds_need_lc_CXX
=yes
15608 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15610 cat conftest.err
1>&5
15613 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15614 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15684 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15685 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15687 library_names_spec
=
15688 libname_spec
='lib$name'
15692 postuninstall_cmds
=
15696 shlibpath_overrides_runpath
=unknown
15698 dynamic_linker
="$host_os ld.so"
15699 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15700 need_lib_prefix
=unknown
15701 hardcode_into_libs
=no
15703 # when you set need_version to no, make sure it does not cause -set_version
15704 # flags to be left without arguments
15705 need_version
=unknown
15710 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15711 shlibpath_var
=LIBPATH
15713 # AIX 3 has no versioning support, so we append a major version to the name.
15714 soname_spec
='${libname}${release}${shared_ext}$major'
15721 hardcode_into_libs
=yes
15722 if test "$host_cpu" = ia64
; then
15723 # AIX 5 supports IA64
15724 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15725 shlibpath_var
=LD_LIBRARY_PATH
15727 # With GCC up to 2.95.x, collect2 would create an import file
15728 # for dependence libraries. The import file would start with
15729 # the line `#! .'. This would cause the generated library to
15730 # depend on `.', always an invalid library. This was fixed in
15731 # development snapshots of GCC prior to 3.0.
15733 aix4 | aix4.
[01] | aix4.
[01].
*)
15734 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15736 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15739 can_build_shared
=no
15743 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15744 # soname into executable. Probably we can add versioning support to
15745 # collect2, so additional links can be useful in future.
15746 if test "$aix_use_runtimelinking" = yes; then
15747 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15748 # instead of lib<name>.a to let people know that these are not
15749 # typical AIX shared libraries.
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15752 # We preserve .a as extension for shared libraries through AIX4.2
15753 # and later when we are not doing run time linking.
15754 library_names_spec
='${libname}${release}.a $libname.a'
15755 soname_spec
='${libname}${release}${shared_ext}$major'
15757 shlibpath_var
=LIBPATH
15762 if test "$host_cpu" = m68k
; then
15763 library_names_spec
='$libname.ixlibrary $libname.a'
15764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15765 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'
15772 library_names_spec
='${libname}${shared_ext}'
15773 dynamic_linker
="$host_os ld.so"
15774 shlibpath_var
=LIBRARY_PATH
15780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15781 soname_spec
='${libname}${release}${shared_ext}$major'
15782 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15783 shlibpath_var
=LD_LIBRARY_PATH
15784 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15785 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15786 # the default ld.so.conf also contains /usr/contrib/lib and
15787 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15788 # libtool to hard-code these into programs
15791 cygwin
* | mingw
* | pw32
*)
15792 version_type
=windows
15797 case $withGCC,$host_os in
15798 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15799 library_names_spec
='$libname.dll.a'
15800 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15801 postinstall_cmds
='base_file=`basename \${file}`~
15802 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15803 dldir=$destdir/`dirname \$dlpath`~
15804 test -d \$dldir || mkdir -p \$dldir~
15805 $install_prog $dir/$dlname \$dldir/$dlname~
15806 chmod a+x \$dldir/$dlname~
15807 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15808 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15810 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15811 dlpath=$dir/\$dldll~
15813 shlibpath_overrides_runpath
=yes
15817 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15818 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15819 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15822 # MinGW DLLs use traditional 'lib' prefix
15823 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15824 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15825 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15826 # It is most probably a Windows format PATH printed by
15827 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15828 # path with ; separators, and with drive letters. We can handle the
15829 # drive letters (cygwin fileutils understands them), so leave them,
15830 # especially as we might pass files found there to a mingw objdump,
15831 # which wouldn't understand a cygwinified path. Ahh.
15832 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15834 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15838 # pw32 DLLs use 'pw' prefix rather than 'lib'
15839 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15845 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15848 dynamic_linker
='Win32 ld.exe'
15849 # FIXME: first we should search . and the directory the executable is in
15853 darwin
* | rhapsody
*)
15854 dynamic_linker
="$host_os dyld"
15855 version_type
=darwin
15858 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15859 soname_spec
='${libname}${release}${major}$shared_ext'
15860 shlibpath_overrides_runpath
=yes
15861 shlibpath_var
=DYLD_LIBRARY_PATH
15862 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15864 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15872 soname_spec
='${libname}${release}${shared_ext}$major'
15873 shlibpath_var
=LD_LIBRARY_PATH
15880 freebsd
* | dragonfly
*)
15881 # DragonFly does not have aout. When/if they implement a new
15882 # versioning mechanism, adjust this.
15883 if test -x /usr
/bin
/objformat
; then
15884 objformat
=`/usr/bin/objformat`
15887 freebsd
[123]*) objformat
=aout
;;
15888 *) objformat
=elf
;;
15891 version_type
=freebsd-
$objformat
15892 case $version_type in
15894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15899 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15903 shlibpath_var
=LD_LIBRARY_PATH
15906 shlibpath_overrides_runpath
=yes
15908 freebsd3.
[01]* | freebsdelf3.
[01]*)
15909 shlibpath_overrides_runpath
=yes
15910 hardcode_into_libs
=yes
15912 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15913 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15914 shlibpath_overrides_runpath
=no
15915 hardcode_into_libs
=yes
15917 *) # from 4.6 on, and DragonFly
15918 shlibpath_overrides_runpath
=yes
15919 hardcode_into_libs
=yes
15928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15929 soname_spec
='${libname}${release}${shared_ext}$major'
15930 shlibpath_var
=LD_LIBRARY_PATH
15931 hardcode_into_libs
=yes
15934 hpux9
* | hpux10
* | hpux11
*)
15935 # Give a soname corresponding to the major version so that dld.sl refuses to
15936 # link against other versions.
15943 hardcode_into_libs
=yes
15944 dynamic_linker
="$host_os dld.so"
15945 shlibpath_var
=LD_LIBRARY_PATH
15946 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec
='${libname}${release}${shared_ext}$major'
15949 if test "X$HPUX_IA64_MODE" = X32
; then
15950 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15952 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15954 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15958 hardcode_into_libs
=yes
15959 dynamic_linker
="$host_os dld.sl"
15960 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15961 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15963 soname_spec
='${libname}${release}${shared_ext}$major'
15964 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15965 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15969 dynamic_linker
="$host_os dld.sl"
15970 shlibpath_var
=SHLIB_PATH
15971 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15973 soname_spec
='${libname}${release}${shared_ext}$major'
15976 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15977 postinstall_cmds
='chmod 555 $lib'
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15985 soname_spec
='${libname}${release}${shared_ext}$major'
15986 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath
=no
15989 hardcode_into_libs
=yes
15992 irix5
* | irix6
* | nonstopux
*)
15994 nonstopux
*) version_type
=nonstopux
;;
15996 if test "$lt_cv_prog_gnu_ld" = yes; then
16004 soname_spec
='${libname}${release}${shared_ext}$major'
16005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16007 irix5
* | nonstopux
*)
16008 libsuff
= shlibsuff
=
16011 case $LD in # libtool.m4 will add one of these switches to LD
16012 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16013 libsuff
= shlibsuff
= libmagic
=32-bit;;
16014 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16015 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16016 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16017 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16018 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16022 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16023 shlibpath_overrides_runpath
=no
16024 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16025 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16026 hardcode_into_libs
=yes
16029 # No shared lib support for Linux oldld, aout, or coff.
16030 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16034 # This must be Linux ELF.
16035 linux
* | k
*bsd
*-gnu)
16039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16040 soname_spec
='${libname}${release}${shared_ext}$major'
16041 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16042 shlibpath_var
=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath
=no
16044 # Some binutils ld are patched to set DT_RUNPATH
16045 save_LDFLAGS
=$LDFLAGS
16046 save_libdir
=$libdir
16047 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16048 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16049 if test x
$gcc_no_link = xyes
; then
16050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16052 { (exit 1); exit 1; }; }
16054 cat >conftest.
$ac_ext <<_ACEOF
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16069 rm -f conftest.
$ac_objext conftest
$ac_exeext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071 (eval $ac_link) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_cxx_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest$ac_exeext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
16092 shlibpath_overrides_runpath
=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.
$ac_ext >&5
16100 rm -f conftest.err conftest.
$ac_objext \
16101 conftest
$ac_exeext conftest.
$ac_ext
16102 LDFLAGS
=$save_LDFLAGS
16103 libdir
=$save_libdir
16105 # This implies no fast_install, which is unacceptable.
16106 # Some rework will be needed to allow for fast_install
16107 # before this can be enabled.
16108 hardcode_into_libs
=yes
16110 # Append ld.so.conf contents to the search path
16111 if test -f /etc
/ld.so.conf
; then
16112 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' ' '`
16113 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16116 # We used to test for /lib/ld.so.1 and disable shared libraries on
16117 # powerpc, because MkLinux only supported shared libraries with the
16118 # GNU dynamic linker. Since this was broken with cross compilers,
16119 # most powerpc-linux boxes support dynamic linking these days and
16120 # people can always --disable-shared, the test was removed, and we
16121 # assume the GNU/Linux dynamic linker is in use.
16122 dynamic_linker
='GNU/Linux ld.so'
16129 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16131 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16132 dynamic_linker
='NetBSD (a.out) ld.so'
16134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16135 soname_spec
='${libname}${release}${shared_ext}$major'
16136 dynamic_linker
='NetBSD ld.elf_so'
16138 shlibpath_var
=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath
=yes
16140 hardcode_into_libs
=yes
16145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16146 shlibpath_var
=LD_LIBRARY_PATH
16147 shlibpath_overrides_runpath
=yes
16154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16155 soname_spec
='${libname}${release}${shared_ext}$major'
16156 shlibpath_var
=LD_LIBRARY_PATH
16157 shlibpath_overrides_runpath
=no
16158 hardcode_into_libs
=yes
16159 dynamic_linker
='ldqnx.so'
16164 sys_lib_dlsearch_path_spec
="/usr/lib"
16166 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16168 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16169 *) need_version
=no
;;
16171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16172 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16173 shlibpath_var
=LD_LIBRARY_PATH
16174 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16176 openbsd2.
[89] | openbsd2.
[89].
*)
16177 shlibpath_overrides_runpath
=no
16180 shlibpath_overrides_runpath
=yes
16184 shlibpath_overrides_runpath
=yes
16189 libname_spec
='$name'
16192 library_names_spec
='$libname${shared_ext} $libname.a'
16193 dynamic_linker
='OS/2 ld.exe'
16194 shlibpath_var
=LIBPATH
16197 osf3
* | osf4
* | osf5
*)
16201 soname_spec
='${libname}${release}${shared_ext}$major'
16202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16203 shlibpath_var
=LD_LIBRARY_PATH
16204 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16205 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16217 soname_spec
='${libname}${release}${shared_ext}$major'
16218 shlibpath_var
=LD_LIBRARY_PATH
16219 shlibpath_overrides_runpath
=yes
16220 hardcode_into_libs
=yes
16221 # ldd complains unless libraries are executable
16222 postinstall_cmds
='chmod +x $lib'
16227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16228 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16229 shlibpath_var
=LD_LIBRARY_PATH
16230 shlibpath_overrides_runpath
=yes
16231 if test "$with_gnu_ld" = yes; then
16239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16240 soname_spec
='${libname}${release}${shared_ext}$major'
16241 shlibpath_var
=LD_LIBRARY_PATH
16242 case $host_vendor in
16244 shlibpath_overrides_runpath
=no
16246 runpath_var
=LD_RUN_PATH
16254 shlibpath_overrides_runpath
=no
16255 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16261 if test -d /usr
/nec
;then
16263 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16264 soname_spec
='$libname${shared_ext}.$major'
16265 shlibpath_var
=LD_LIBRARY_PATH
16269 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16270 version_type
=freebsd-elf
16273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16274 soname_spec
='${libname}${release}${shared_ext}$major'
16275 shlibpath_var
=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath
=yes
16277 hardcode_into_libs
=yes
16278 if test "$with_gnu_ld" = yes; then
16279 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16281 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16284 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16288 sys_lib_dlsearch_path_spec
='/usr/lib'
16292 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16296 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16297 shlibpath_var
=LD_LIBRARY_PATH
16298 shlibpath_overrides_runpath
=no
16299 hardcode_into_libs
=yes
16304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16305 soname_spec
='${libname}${release}${shared_ext}$major'
16306 shlibpath_var
=LD_LIBRARY_PATH
16313 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16314 echo "${ECHO_T}$dynamic_linker" >&6
16315 test "$dynamic_linker" = no
&& can_build_shared
=no
16317 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16318 if test "$GCC" = yes; then
16319 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16357 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16358 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16359 hardcode_action_CXX
=
16360 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16361 test -n "$runpath_var_CXX" ||
16362 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16364 # We can hardcode non-existent directories.
16365 if test "$hardcode_direct_CXX" != no
&&
16366 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16367 # have to relink, otherwise we might link with an installed library
16368 # when we should be linking with a yet-to-be-installed one
16369 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16370 test "$hardcode_minus_L_CXX" != no
; then
16371 # Linking always hardcodes the temporary library directory.
16372 hardcode_action_CXX
=relink
16374 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16375 hardcode_action_CXX
=immediate
16378 # We cannot hardcode anything, or else we can only hardcode existing
16380 hardcode_action_CXX
=unsupported
16382 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16383 echo "${ECHO_T}$hardcode_action_CXX" >&6
16385 if test "$hardcode_action_CXX" = relink ||
16386 test "$inherit_rpath_CXX" = yes; then
16387 # Fast installation is not supported
16388 enable_fast_install
=no
16389 elif test "$shlibpath_overrides_runpath" = yes ||
16390 test "$enable_shared" = no
; then
16391 # Fast installation is not necessary
16392 enable_fast_install
=needless
16401 fi # test -n "$compiler"
16407 with_gnu_ld
=$lt_save_with_gnu_ld
16408 lt_cv_path_LDCXX
=$lt_cv_path_LD
16409 lt_cv_path_LD
=$lt_save_path_LD
16410 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16411 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16412 fi # test "$_lt_caught_CXX_error" != yes
16415 ac_cpp
='$CPP $CPPFLAGS'
16416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16422 # Handle -Werror default case.
16423 if test "$ENABLE_WERROR" = default
; then
16426 if test "$GCC" = yes; then
16433 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16434 # Extract the first word of "perl", so it can be a program name with args.
16435 set dummy perl
; ac_word
=$2
16436 echo "$as_me:$LINENO: checking for $ac_word" >&5
16437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16438 if test "${ac_cv_path_PERL+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16447 for as_dir
in $PATH
16450 test -z "$as_dir" && as_dir
=.
16451 for ac_exec_ext
in '' $ac_executable_extensions; do
16452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16453 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 PERL
=$ac_cv_path_PERL
16465 if test -n "$PERL"; then
16466 echo "$as_me:$LINENO: result: $PERL" >&5
16467 echo "${ECHO_T}$PERL" >&6
16469 echo "$as_me:$LINENO: result: no" >&5
16470 echo "${ECHO_T}no" >&6
16475 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16477 ac_config_commands
="$ac_config_commands mkcollections.pl"
16481 if test "x${COMPILE_JNI}" = xyes
; then
16485 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16486 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16487 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 cat >conftest.
$ac_ext <<_ACEOF
16494 cat confdefs.h
>>conftest.
$ac_ext
16495 cat >>conftest.
$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16501 extern int testfunction(int x) __attribute__((,,))
16506 rm -f conftest.
$ac_objext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508 (eval $ac_compile) 2>conftest.er1
16510 grep -v '^ *+' conftest.er1
>conftest.err
16512 cat conftest.err
>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try
='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try
='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 gcc_cv_c_gcc_attribute_supported
=yes
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.
$ac_ext >&5
16533 gcc_cv_c_gcc_attribute_supported
=no
16535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16539 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes
; then
16541 echo "$as_me:$LINENO: result: yes" >&5
16542 echo "${ECHO_T}yes" >&6
16544 cat >>confdefs.h
<<\_ACEOF
16545 #define HAVE_GNUC25_ATTRIB
16551 echo "$as_me:$LINENO: result: no" >&5
16552 echo "${ECHO_T}no" >&6
16565 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16566 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16567 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16581 extern int testfunction(int x) __attribute__((unused))
16586 rm -f conftest.
$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try
='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try
='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 gcc_cv_c_gcc_attribute_unused
=yes
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.
$ac_ext >&5
16613 gcc_cv_c_gcc_attribute_unused
=no
16615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16619 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes
; then
16621 echo "$as_me:$LINENO: result: yes" >&5
16622 echo "${ECHO_T}yes" >&6
16624 cat >>confdefs.h
<<\_ACEOF
16625 #define HAVE_GNUC25_UNUSED
16631 echo "$as_me:$LINENO: result: no" >&5
16632 echo "${ECHO_T}no" >&6
16641 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16642 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16643 if test "${ac_cv_header_stdc+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.
$ac_ext <<_ACEOF
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 #include <stdlib.h>
16653 #include <stdarg.h>
16654 #include <string.h>
16665 rm -f conftest.
$ac_objext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16667 (eval $ac_compile) 2>conftest.er1
16669 grep -v '^ *+' conftest.er1
>conftest.err
16671 cat conftest.err
>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } &&
16674 { ac_try
='test -z "$ac_c_werror_flag"
16675 || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try
='test -s conftest.$ac_objext'
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
16687 ac_cv_header_stdc
=yes
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.
$ac_ext >&5
16692 ac_cv_header_stdc
=no
16694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16696 if test $ac_cv_header_stdc = yes; then
16697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 #include <string.h>
16707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16708 $EGREP "memchr" >/dev
/null
2>&1; then
16711 ac_cv_header_stdc
=no
16717 if test $ac_cv_header_stdc = yes; then
16718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 #include <stdlib.h>
16728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16729 $EGREP "free" >/dev
/null
2>&1; then
16732 ac_cv_header_stdc
=no
16738 if test $ac_cv_header_stdc = yes; then
16739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16740 if test "$cross_compiling" = yes; then
16743 cat >conftest.
$ac_ext <<_ACEOF
16746 cat confdefs.h
>>conftest.
$ac_ext
16747 cat >>conftest.
$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16750 #if ((' ' & 0x0FF) == 0x020)
16751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16754 # define ISLOWER(c) \
16755 (('a' <= (c) && (c) <= 'i') \
16756 || ('j' <= (c) && (c) <= 'r') \
16757 || ('s' <= (c) && (c) <= 'z'))
16758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16766 for (i = 0; i < 256; i++)
16767 if (XOR (islower (i), ISLOWER (i))
16768 || toupper (i) != TOUPPER (i))
16773 rm -f conftest
$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16786 echo "$as_me: program exited with status $ac_status" >&5
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.
$ac_ext >&5
16790 ( exit $ac_status )
16791 ac_cv_header_stdc
=no
16793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16797 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16798 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16799 if test $ac_cv_header_stdc = yes; then
16801 cat >>confdefs.h
<<\_ACEOF
16802 #define STDC_HEADERS 1
16808 echo "$as_me:$LINENO: checking size of void *" >&5
16809 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16810 if test "${ac_cv_sizeof_void_p+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16814 cat >conftest.
$ac_ext <<_ACEOF
16817 cat confdefs.h
>>conftest.
$ac_ext
16818 cat >>conftest.
$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 #include "confdefs.h"
16821 #include <sys/types.h>
16827 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_c_werror_flag"
16842 || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try
='test -s conftest.$ac_objext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_sizeof_void_p
=$ac_size
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.
$ac_ext >&5
16860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16866 if test x
$ac_cv_sizeof_void_p = x
; then
16867 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16868 echo "$as_me: error: cannot determine a size for void *" >&2;}
16869 { (exit 1); exit 1; }; }
16871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16872 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16874 cat >>confdefs.h
<<_ACEOF
16875 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16880 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16881 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16882 if test "${ac_cv_c_bigendian+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 ac_cv_c_bigendian
=unknown
16886 # See if sys/param.h defines the BYTE_ORDER macro.
16887 cat >conftest.
$ac_ext <<_ACEOF
16890 cat confdefs.h
>>conftest.
$ac_ext
16891 cat >>conftest.
$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 #include <sys/types.h>
16894 #include <sys/param.h>
16899 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16900 bogus endian macros
16906 rm -f conftest.
$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16910 grep -v '^ *+' conftest.er1
>conftest.err
16912 cat conftest.err
>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try
='test -z "$ac_c_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try
='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 # It does; now see whether it defined to BIG_ENDIAN or not.
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 #include <sys/types.h>
16936 #include <sys/param.h>
16941 #if BYTE_ORDER != BIG_ENDIAN
16948 rm -f conftest.
$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>conftest.er1
16952 grep -v '^ *+' conftest.er1
>conftest.err
16954 cat conftest.err
>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try
='test -z "$ac_c_werror_flag"
16958 || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try
='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_cv_c_bigendian
=yes
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.
$ac_ext >&5
16975 ac_cv_c_bigendian
=no
16977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.
$ac_ext >&5
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 if test $ac_cv_c_bigendian = unknown
; then
16985 if test "$cross_compiling" = yes; then
16986 echo $ac_n "cross-compiling... " 2>&6
16988 cat >conftest.
$ac_ext <<_ACEOF
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16995 /* Are we little or big endian? From Harbison&Steele. */
16999 char c[sizeof (long)];
17002 exit (u.c[sizeof (long) - 1] == 1);
17005 rm -f conftest
$ac_exeext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_c_bigendian
=no
17018 echo "$as_me: program exited with status $ac_status" >&5
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.
$ac_ext >&5
17022 ( exit $ac_status )
17023 ac_cv_c_bigendian
=yes
17025 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17030 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17031 if test $ac_cv_c_bigendian = unknown
; then
17032 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
17033 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
17035 cat >conftest.c
<<EOF
17036 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17037 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17038 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
17039 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17040 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17041 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17042 int main() { _ascii (); _ebcdic (); return 0; }
17044 if test -f conftest.c
; then
17045 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
17046 if test `grep -l BIGenDianSyS conftest.o` ; then
17047 echo $ac_n ' big endian probe OK, ' 1>&6
17048 ac_cv_c_bigendian
=yes
17050 if test `grep -l LiTTleEnDian conftest.o` ; then
17051 echo $ac_n ' little endian probe OK, ' 1>&6
17052 if test $ac_cv_c_bigendian = yes ; then
17053 ac_cv_c_bigendian
=unknown
;
17055 ac_cv_c_bigendian
=no
17058 echo $ac_n 'guessing bigendian ... ' >&6
17061 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17062 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17064 if test $ac_cv_c_bigendian = yes; then
17066 cat >>confdefs.h
<<\_ACEOF
17067 #define WORDS_BIGENDIAN 1
17071 cat >>confdefs.h
<<\_ACEOF
17072 #define HOST_WORDS_BIG_ENDIAN 1
17080 cat >>confdefs.h
<<_ACEOF
17081 #define BYTEORDER $BYTEORDER
17084 if test $ac_cv_c_bigendian = unknown
; then
17085 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
17086 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
17087 { (exit 1); exit 1; }; }
17110 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
17112 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
17119 sys
/event.h sys
/epoll.h \
17122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17124 echo "$as_me:$LINENO: checking for $ac_header" >&5
17125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17132 # Is the header compilable?
17133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17135 cat >conftest.
$ac_ext <<_ACEOF
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17142 #include <$ac_header>
17144 rm -f conftest.
$ac_objext
17145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17146 (eval $ac_compile) 2>conftest.er1
17148 grep -v '^ *+' conftest.er1
>conftest.err
17150 cat conftest.err
>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } &&
17153 { ac_try
='test -z "$ac_c_werror_flag"
17154 || test ! -s conftest.err'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; } &&
17160 { ac_try
='test -s conftest.$ac_objext'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; }; then
17166 ac_header_compiler
=yes
17168 echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.
$ac_ext >&5
17171 ac_header_compiler
=no
17173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17175 echo "${ECHO_T}$ac_header_compiler" >&6
17177 # Is the header present?
17178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17180 cat >conftest.
$ac_ext <<_ACEOF
17183 cat confdefs.h
>>conftest.
$ac_ext
17184 cat >>conftest.
$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17186 #include <$ac_header>
17188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17191 grep -v '^ *+' conftest.er1
>conftest.err
17193 cat conftest.err
>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } >/dev
/null
; then
17196 if test -s conftest.err
; then
17197 ac_cpp_err
=$ac_c_preproc_warn_flag
17198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17205 if test -z "$ac_cpp_err"; then
17206 ac_header_preproc
=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.
$ac_ext >&5
17211 ac_header_preproc
=no
17213 rm -f conftest.err conftest.
$ac_ext
17214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17215 echo "${ECHO_T}$ac_header_preproc" >&6
17217 # So? What about this header?
17218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17224 ac_header_preproc
=yes
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17241 ## -------------------------------- ##
17242 ## Report this to classpath@gnu.org ##
17243 ## -------------------------------- ##
17246 sed "s/^/$as_me: WARNING: /" >&2
17249 echo "$as_me:$LINENO: checking for $ac_header" >&5
17250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 eval "$as_ac_Header=\$ac_header_preproc"
17256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17261 cat >>confdefs.h
<<_ACEOF
17262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <stdint.h>
17279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17280 $EGREP "uint32_t" >/dev
/null
2>&1; then
17282 cat >>confdefs.h
<<\_ACEOF
17283 #define HAVE_INT32_DEFINED 1
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 #include <inttypes.h>
17298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17299 $EGREP "uint32_t" >/dev
/null
2>&1; then
17301 cat >>confdefs.h
<<\_ACEOF
17302 #define HAVE_INT32_DEFINED 1
17308 cat >conftest.
$ac_ext <<_ACEOF
17311 cat confdefs.h
>>conftest.
$ac_ext
17312 cat >>conftest.
$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 #include <sys/types.h>
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17320 cat >>confdefs.h
<<\_ACEOF
17321 #define HAVE_BSD_INT32_DEFINED 1
17327 cat >conftest.
$ac_ext <<_ACEOF
17330 cat confdefs.h
>>conftest.
$ac_ext
17331 cat >>conftest.
$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 #include <sys/config.h>
17336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17337 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17339 cat >>confdefs.h
<<\_ACEOF
17340 #define HAVE_BSD_INT32_DEFINED 1
17347 echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
17348 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6
17349 if test "${ac_cv_search_inet_pton+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 ac_func_search_save_LIBS
=$LIBS
17353 ac_cv_search_inet_pton
=no
17354 if test x
$gcc_no_link = xyes
; then
17355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17357 { (exit 1); exit 1; }; }
17359 cat >conftest.
$ac_ext <<_ACEOF
17362 cat confdefs.h
>>conftest.
$ac_ext
17363 cat >>conftest.
$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17366 /* Override any gcc2 internal prototype to avoid an error. */
17370 /* We use char because int might match the return type of a gcc2
17371 builtin and then its argument prototype would still apply. */
17381 rm -f conftest.
$ac_objext conftest
$ac_exeext
17382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17383 (eval $ac_link) 2>conftest.er1
17385 grep -v '^ *+' conftest.er1
>conftest.err
17387 cat conftest.err
>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try
='test -z "$ac_c_werror_flag"
17391 || test ! -s conftest.err'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; } &&
17397 { ac_try
='test -s conftest$ac_exeext'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17403 ac_cv_search_inet_pton
="none required"
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.
$ac_ext >&5
17409 rm -f conftest.err conftest.
$ac_objext \
17410 conftest
$ac_exeext conftest.
$ac_ext
17411 if test "$ac_cv_search_inet_pton" = no
; then
17412 for ac_lib
in nsl
; do
17413 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17414 if test x
$gcc_no_link = xyes
; then
17415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17417 { (exit 1); exit 1; }; }
17419 cat >conftest.
$ac_ext <<_ACEOF
17422 cat confdefs.h
>>conftest.
$ac_ext
17423 cat >>conftest.
$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17426 /* Override any gcc2 internal prototype to avoid an error. */
17430 /* We use char because int might match the return type of a gcc2
17431 builtin and then its argument prototype would still apply. */
17441 rm -f conftest.
$ac_objext conftest
$ac_exeext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17443 (eval $ac_link) 2>conftest.er1
17445 grep -v '^ *+' conftest.er1
>conftest.err
17447 cat conftest.err
>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try
='test -z "$ac_c_werror_flag"
17451 || test ! -s conftest.err'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; } &&
17457 { ac_try
='test -s conftest$ac_exeext'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; }; then
17463 ac_cv_search_inet_pton
="-l$ac_lib"
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17470 rm -f conftest.err conftest.
$ac_objext \
17471 conftest
$ac_exeext conftest.
$ac_ext
17474 LIBS
=$ac_func_search_save_LIBS
17476 echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
17477 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6
17478 if test "$ac_cv_search_inet_pton" != no
; then
17479 test "$ac_cv_search_inet_pton" = "none required" || LIBS
="$ac_cv_search_inet_pton $LIBS"
17538 for ac_func
in ftruncate fsync
select \
17539 gethostname socket strerror fork pipe execve open close \
17540 lseek fstat
read readv
write writev htonl memset htons connect \
17541 getsockname getpeername
bind listen accept \
17542 recvfrom send sendto setsockopt getsockopt
time mktime \
17543 gethostbyname_r localtime_r \
17546 mmap munmap mincore msync madvise getpagesize sysconf \
17548 inet_aton inet_addr inet_pton \
17549 getifaddrs kqueue kevent epoll_create \
17550 readdir_r getloadavg
17552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17553 echo "$as_me:$LINENO: checking for $ac_func" >&5
17554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17555 if eval "test \"\${$as_ac_var+set}\" = set"; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 if test x
$gcc_no_link = xyes
; then
17559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17561 { (exit 1); exit 1; }; }
17563 cat >conftest.
$ac_ext <<_ACEOF
17566 cat confdefs.h
>>conftest.
$ac_ext
17567 cat >>conftest.
$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17571 #define $ac_func innocuous_$ac_func
17573 /* System header to define __stub macros and hopefully few prototypes,
17574 which can conflict with char $ac_func (); below.
17575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17576 <limits.h> exists even on freestanding compilers. */
17579 # include <limits.h>
17581 # include <assert.h>
17586 /* Override any gcc2 internal prototype to avoid an error. */
17591 /* We use char because int might match the return type of a gcc2
17592 builtin and then its argument prototype would still apply. */
17594 /* The GNU C library defines this for functions which it implements
17595 to always fail with ENOSYS. Some functions are actually named
17596 something starting with __ and the normal name is an alias. */
17597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17600 char (*f) () = $ac_func;
17609 return f != $ac_func;
17614 rm -f conftest.
$ac_objext conftest
$ac_exeext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17616 (eval $ac_link) 2>conftest.er1
17618 grep -v '^ *+' conftest.er1
>conftest.err
17620 cat conftest.err
>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } &&
17623 { ac_try
='test -z "$ac_c_werror_flag"
17624 || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try
='test -s conftest$ac_exeext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 eval "$as_ac_var=yes"
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 eval "$as_ac_var=no"
17643 rm -f conftest.err conftest.
$ac_objext \
17644 conftest
$ac_exeext conftest.
$ac_ext
17646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17648 if test `eval echo '${'$as_ac_var'}'` = yes; then
17649 cat >>confdefs.h
<<_ACEOF
17650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17658 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17659 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17660 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 ac_check_lib_save_LIBS
=$LIBS
17664 LIBS
="-lmagic $LIBS"
17665 if test x
$gcc_no_link = xyes
; then
17666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17668 { (exit 1); exit 1; }; }
17670 cat >conftest.
$ac_ext <<_ACEOF
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17677 /* Override any gcc2 internal prototype to avoid an error. */
17681 /* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
17683 char magic_open ();
17692 rm -f conftest.
$ac_objext conftest
$ac_exeext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17694 (eval $ac_link) 2>conftest.er1
17696 grep -v '^ *+' conftest.er1
>conftest.err
17698 cat conftest.err
>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try
='test -z "$ac_c_werror_flag"
17702 || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try
='test -s conftest$ac_exeext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_lib_magic_magic_open
=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.
$ac_ext >&5
17719 ac_cv_lib_magic_magic_open
=no
17721 rm -f conftest.err conftest.
$ac_objext \
17722 conftest
$ac_exeext conftest.
$ac_ext
17723 LIBS
=$ac_check_lib_save_LIBS
17725 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17726 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17727 if test $ac_cv_lib_magic_magic_open = yes; then
17733 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17734 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17735 cat >conftest.
$ac_ext <<_ACEOF
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 #include <netinet/in.h>
17745 struct sockaddr_in6 addr6;
17750 rm -f conftest.
$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try
='test -z "$ac_c_werror_flag"
17760 || test ! -s conftest.err'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; } &&
17766 { ac_try
='test -s conftest.$ac_objext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17773 cat >>confdefs.h
<<\_ACEOF
17774 #define HAVE_INET6 1
17777 echo "$as_me:$LINENO: result: yes" >&5
17778 echo "${ECHO_T}yes" >&6
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.
$ac_ext >&5
17783 echo "$as_me:$LINENO: result: no" >&5
17784 echo "${ECHO_T}no" >&6
17786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17788 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17789 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17790 if test "${ac_cv_header_time+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 cat >conftest.
$ac_ext <<_ACEOF
17796 cat confdefs.h
>>conftest.
$ac_ext
17797 cat >>conftest.
$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 #include <sys/types.h>
17800 #include <sys/time.h>
17806 if ((struct tm *) 0)
17812 rm -f conftest.
$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17816 grep -v '^ *+' conftest.er1
>conftest.err
17818 cat conftest.err
>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try
='test -z "$ac_c_werror_flag"
17822 || test ! -s conftest.err'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try
='test -s conftest.$ac_objext'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17834 ac_cv_header_time
=yes
17836 echo "$as_me: failed program was:" >&5
17837 sed 's/^/| /' conftest.
$ac_ext >&5
17839 ac_cv_header_time
=no
17841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17843 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17844 echo "${ECHO_T}$ac_cv_header_time" >&6
17845 if test $ac_cv_header_time = yes; then
17847 cat >>confdefs.h
<<\_ACEOF
17848 #define TIME_WITH_SYS_TIME 1
17853 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17854 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17855 if test "${ac_cv_struct_tm+set}" = set; then
17856 echo $ECHO_N "(cached) $ECHO_C" >&6
17858 cat >conftest.
$ac_ext <<_ACEOF
17861 cat confdefs.h
>>conftest.
$ac_ext
17862 cat >>conftest.
$ac_ext <<_ACEOF
17863 /* end confdefs.h. */
17864 #include <sys/types.h>
17870 struct tm *tp; tp->tm_sec;
17875 rm -f conftest.
$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17879 grep -v '^ *+' conftest.er1
>conftest.err
17881 cat conftest.err
>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try
='test -z "$ac_c_werror_flag"
17885 || test ! -s conftest.err'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; } &&
17891 { ac_try
='test -s conftest.$ac_objext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_cv_struct_tm
=time.h
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.
$ac_ext >&5
17902 ac_cv_struct_tm
=sys
/time.h
17904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17906 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17907 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17908 if test $ac_cv_struct_tm = sys
/time.h
; then
17910 cat >>confdefs.h
<<\_ACEOF
17911 #define TM_IN_SYS_TIME 1
17916 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17917 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17918 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17921 cat >conftest.
$ac_ext <<_ACEOF
17924 cat confdefs.h
>>conftest.
$ac_ext
17925 cat >>conftest.
$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 #include <sys/types.h>
17928 #include <$ac_cv_struct_tm>
17934 static struct tm ac_aggr;
17935 if (ac_aggr.tm_zone)
17941 rm -f conftest.
$ac_objext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943 (eval $ac_compile) 2>conftest.er1
17945 grep -v '^ *+' conftest.er1
>conftest.err
17947 cat conftest.err
>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try
='test -z "$ac_c_werror_flag"
17951 || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try
='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_cv_member_struct_tm_tm_zone
=yes
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.
$ac_ext >&5
17968 cat >conftest.
$ac_ext <<_ACEOF
17971 cat confdefs.h
>>conftest.
$ac_ext
17972 cat >>conftest.
$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 #include <sys/types.h>
17975 #include <$ac_cv_struct_tm>
17981 static struct tm ac_aggr;
17982 if (sizeof ac_aggr.tm_zone)
17988 rm -f conftest.
$ac_objext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17990 (eval $ac_compile) 2>conftest.er1
17992 grep -v '^ *+' conftest.er1
>conftest.err
17994 cat conftest.err
>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try
='test -z "$ac_c_werror_flag"
17998 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try
='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_member_struct_tm_tm_zone
=yes
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18015 ac_cv_member_struct_tm_tm_zone
=no
18017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18021 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18022 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
18023 if test $ac_cv_member_struct_tm_tm_zone = yes; then
18025 cat >>confdefs.h
<<_ACEOF
18026 #define HAVE_STRUCT_TM_TM_ZONE 1
18032 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
18034 cat >>confdefs.h
<<\_ACEOF
18035 #define HAVE_TM_ZONE 1
18039 echo "$as_me:$LINENO: checking for tzname" >&5
18040 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
18041 if test "${ac_cv_var_tzname+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 if test x
$gcc_no_link = xyes
; then
18045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18047 { (exit 1); exit 1; }; }
18049 cat >conftest.
$ac_ext <<_ACEOF
18052 cat confdefs.h
>>conftest.
$ac_ext
18053 cat >>conftest.
$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18056 #ifndef tzname /* For SGI. */
18057 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
18068 rm -f conftest.
$ac_objext conftest
$ac_exeext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18070 (eval $ac_link) 2>conftest.er1
18072 grep -v '^ *+' conftest.er1
>conftest.err
18074 cat conftest.err
>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try
='test -z "$ac_c_werror_flag"
18078 || test ! -s conftest.err'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try
='test -s conftest$ac_exeext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_var_tzname
=yes
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.
$ac_ext >&5
18095 ac_cv_var_tzname
=no
18097 rm -f conftest.err conftest.
$ac_objext \
18098 conftest
$ac_exeext conftest.
$ac_ext
18100 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
18101 echo "${ECHO_T}$ac_cv_var_tzname" >&6
18102 if test $ac_cv_var_tzname = yes; then
18104 cat >>confdefs.h
<<\_ACEOF
18105 #define HAVE_TZNAME 1
18112 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
18113 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
18114 cat >conftest.
$ac_ext <<_ACEOF
18117 cat confdefs.h
>>conftest.
$ac_ext
18118 cat >>conftest.
$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18124 struct tm tim; tim.tm_gmtoff = 0;
18129 rm -f conftest.
$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1
>conftest.err
18135 cat conftest.err
>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try
='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18152 cat >>confdefs.h
<<\_ACEOF
18153 #define STRUCT_TM_HAS_GMTOFF 1
18156 echo "$as_me:$LINENO: result: yes" >&5
18157 echo "${ECHO_T}yes" >&6
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.
$ac_ext >&5
18162 echo "$as_me:$LINENO: result: no" >&5
18163 echo "${ECHO_T}no" >&6
18164 echo "$as_me:$LINENO: checking for global timezone variable" >&5
18165 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18176 void i(){long z2 = 2*timezone;}
18181 rm -f conftest.
$ac_objext
18182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18183 (eval $ac_compile) 2>conftest.er1
18185 grep -v '^ *+' conftest.er1
>conftest.err
18187 cat conftest.err
>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } &&
18190 { ac_try
='test -z "$ac_c_werror_flag"
18191 || test ! -s conftest.err'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; } &&
18197 { ac_try
='test -s conftest.$ac_objext'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; }; then
18204 cat >>confdefs.h
<<\_ACEOF
18205 #define HAVE_TIMEZONE 1
18208 echo "$as_me:$LINENO: result: yes" >&5
18209 echo "${ECHO_T}yes" >&6
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.
$ac_ext >&5
18214 echo "$as_me:$LINENO: result: no" >&5
18215 echo "${ECHO_T}no" >&6
18216 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
18217 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
18218 cat >conftest.
$ac_ext <<_ACEOF
18221 cat confdefs.h
>>conftest.
$ac_ext
18222 cat >>conftest.
$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18228 long z2 = _timezone;
18233 rm -f conftest.
$ac_objext
18234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18235 (eval $ac_compile) 2>conftest.er1
18237 grep -v '^ *+' conftest.er1
>conftest.err
18239 cat conftest.err
>&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); } &&
18242 { ac_try
='test -z "$ac_c_werror_flag"
18243 || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try
='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18256 cat >>confdefs.h
<<\_ACEOF
18257 #define HAVE_UNDERSCORE_TIMEZONE 1
18260 echo "$as_me:$LINENO: result: yes" >&5
18261 echo "${ECHO_T}yes" >&6
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.
$ac_ext >&5
18266 echo "$as_me:$LINENO: result: no" >&5
18267 echo "${ECHO_T}no" >&6
18269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18275 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18276 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18277 if test "${ac_cv_c_const+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 cat >conftest.
$ac_ext <<_ACEOF
18283 cat confdefs.h
>>conftest.
$ac_ext
18284 cat >>conftest.
$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18290 /* FIXME: Include the comments suggested by Paul. */
18291 #ifndef __cplusplus
18292 /* Ultrix mips cc rejects this. */
18293 typedef int charset[2];
18295 /* SunOS 4.1.1 cc rejects this. */
18296 char const *const *ccp;
18298 /* NEC SVR4.0.2 mips cc rejects this. */
18299 struct point {int x, y;};
18300 static struct point const zero = {0,0};
18301 /* AIX XL C 1.02.0.0 rejects this.
18302 It does not let you subtract one const X* pointer from another in
18303 an arm of an if-expression whose if-part is not a constant
18305 const char *g = "string";
18306 ccp = &g + (g ? g-g : 0);
18307 /* HPUX 7.0 cc rejects these. */
18310 ccp = (char const *const *) p;
18311 { /* SCO 3.2v4 cc rejects this. */
18313 char const *s = 0 ? (char *) 0 : (char const *) 0;
18317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18318 int x[] = {25, 17};
18319 const int *foo = &x[0];
18322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18323 typedef const int *iptr;
18327 { /* AIX XL C 1.02.0.0 rejects this saying
18328 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18329 struct s { int j; const int *ap[3]; };
18330 struct s *b; b->j = 5;
18332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18333 const int foo = 10;
18341 rm -f conftest.
$ac_objext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343 (eval $ac_compile) 2>conftest.er1
18345 grep -v '^ *+' conftest.er1
>conftest.err
18347 cat conftest.err
>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } &&
18350 { ac_try
='test -z "$ac_c_werror_flag"
18351 || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18372 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18373 echo "${ECHO_T}$ac_cv_c_const" >&6
18374 if test $ac_cv_c_const = no
; then
18376 cat >>confdefs.h
<<\_ACEOF
18382 echo "$as_me:$LINENO: checking for inline" >&5
18383 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18384 if test "${ac_cv_c_inline+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 for ac_kw
in inline __inline__ __inline
; do
18389 cat >conftest.
$ac_ext <<_ACEOF
18392 cat confdefs.h
>>conftest.
$ac_ext
18393 cat >>conftest.
$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #ifndef __cplusplus
18397 static $ac_kw foo_t static_foo () {return 0; }
18398 $ac_kw foo_t foo () {return 0; }
18402 rm -f conftest.
$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18406 grep -v '^ *+' conftest.er1
>conftest.err
18408 cat conftest.err
>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try
='test -z "$ac_c_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try
='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_c_inline
=$ac_kw; break
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18434 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18435 echo "${ECHO_T}$ac_cv_c_inline" >&6
18438 case $ac_cv_c_inline in
18441 case $ac_cv_c_inline in
18443 *) ac_val
=$ac_cv_c_inline;;
18445 cat >>confdefs.h
<<_ACEOF
18446 #ifndef __cplusplus
18447 #define inline $ac_val
18453 echo "$as_me:$LINENO: checking for __attribute__" >&5
18454 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18455 if test "${ac_cv_c_attribute+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 cat >conftest.
$ac_ext <<_ACEOF
18462 cat confdefs.h
>>conftest.
$ac_ext
18463 cat >>conftest.
$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 void foo(void) __attribute__ ((__noreturn__));
18468 rm -f conftest.
$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try
='test -z "$ac_c_werror_flag"
18478 || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try
='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 ac_cv_c_attribute
=yes
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 ac_cv_c_attribute
=no
18498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18501 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18502 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18505 case $ac_cv_c_attribute in
18508 cat >>confdefs.h
<<_ACEOF
18509 #define __attribute__(x) /* nothing */
18517 ac_cpp
='$CPP $CPPFLAGS'
18518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18522 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
18523 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
18525 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 ################################################################
18532 ac_cv_func_which_gethostbyname_r
=unknown
18535 # ONE ARGUMENT (sanity check)
18538 # This should fail, as there is no variant of gethostbyname_r() that takes
18539 # a single argument. If it actually compiles, then we can assume that
18540 # netdb.h is not declaring the function, and the compiler is thereby
18541 # assuming an implicit prototype. In which case, we're out of luck.
18543 cat >conftest.
$ac_ext <<_ACEOF
18546 cat confdefs.h
>>conftest.
$ac_ext
18547 cat >>conftest.
$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18554 char *name = "www.gnu.org";
18555 (void)gethostbyname_r(name) /* ; */
18561 rm -f conftest.
$ac_objext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18563 (eval $ac_compile) 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try
='test -z "$ac_c_werror_flag"
18571 || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_func_which_gethostbyname_r
=no
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18596 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18598 cat >conftest.
$ac_ext <<_ACEOF
18601 cat confdefs.h
>>conftest.
$ac_ext
18602 cat >>conftest.
$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18609 char *name = "www.gnu.org";
18610 struct hostent ret, *retp;
18614 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
18620 rm -f conftest.
$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622 (eval $ac_compile) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try
='test -z "$ac_c_werror_flag"
18630 || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try
='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_func_which_gethostbyname_r
=six
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18657 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18670 char *name = "www.gnu.org";
18671 struct hostent ret;
18675 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
18681 rm -f conftest.
$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>conftest.er1
18685 grep -v '^ *+' conftest.er1
>conftest.err
18687 cat conftest.err
>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try
='test -z "$ac_c_werror_flag"
18691 || test ! -s conftest.err'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; } &&
18697 { ac_try
='test -s conftest.$ac_objext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_func_which_gethostbyname_r
=five
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.
$ac_ext >&5
18709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18715 # (e.g. AIX, HP-UX, Tru64)
18718 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18731 char *name = "www.gnu.org";
18732 struct hostent ret;
18733 struct hostent_data data;
18734 (void)gethostbyname_r(name, &ret, &data) /* ; */
18740 rm -f conftest.
$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_c_werror_flag"
18750 || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try
='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_cv_func_which_gethostbyname_r
=three
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18772 ################################################################
18777 case "$ac_cv_func_which_gethostbyname_r" in
18779 echo "$as_me:$LINENO: result: three" >&5
18780 echo "${ECHO_T}three" >&6
18782 cat >>confdefs.h
<<\_ACEOF
18783 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
18789 echo "$as_me:$LINENO: result: five" >&5
18790 echo "${ECHO_T}five" >&6
18792 cat >>confdefs.h
<<\_ACEOF
18793 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
18799 echo "$as_me:$LINENO: result: six" >&5
18800 echo "${ECHO_T}six" >&6
18802 cat >>confdefs.h
<<\_ACEOF
18803 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
18809 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
18810 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
18814 echo "$as_me:$LINENO: result: can't tell" >&5
18815 echo "${ECHO_T}can't tell" >&6
18819 { { echo "$as_me:$LINENO: error: internal error" >&5
18820 echo "$as_me: error: internal error" >&2;}
18821 { (exit 1); exit 1; }; }
18826 ac_cpp
='$CPP $CPPFLAGS'
18827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18835 if test "X$prefix" = "XNONE"; then
18836 acl_final_prefix
="$ac_default_prefix"
18838 acl_final_prefix
="$prefix"
18840 if test "X$exec_prefix" = "XNONE"; then
18841 acl_final_exec_prefix
='${prefix}'
18843 acl_final_exec_prefix
="$exec_prefix"
18845 acl_save_prefix
="$prefix"
18846 prefix
="$acl_final_prefix"
18847 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
18848 prefix
="$acl_save_prefix"
18851 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18852 if test "${with_gnu_ld+set}" = set; then
18853 withval
="$with_gnu_ld"
18854 test "$withval" = no || with_gnu_ld
=yes
18858 # Prepare PATH_SEPARATOR.
18859 # The user is always right.
18860 if test "${PATH_SEPARATOR+set}" != set; then
18861 echo "#! /bin/sh" >conf$$.sh
18862 echo "exit 0" >>conf$$.sh
18864 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18872 if test "$GCC" = yes; then
18873 # Check if gcc -print-prog-name=ld gives a path.
18874 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18875 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18878 # gcc leaves a trailing carriage return which upsets mingw
18879 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18881 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18884 # Accept absolute paths.
18885 [\\/]* |
[A-Za-z
]:[\\/]*)
18886 re_direlt
='/[^/][^/]*/\.\./'
18887 # Canonicalize the path of ld
18888 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18889 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18890 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18892 test -z "$LD" && LD
="$ac_prog"
18895 # If it fails, then pretend we aren't using GCC.
18899 # If it is relative, then search for the first ld in PATH.
18900 with_gnu_ld
=unknown
18903 elif test "$with_gnu_ld" = yes; then
18904 echo "$as_me:$LINENO: checking for GNU ld" >&5
18905 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18907 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18908 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18910 if test "${acl_cv_path_LD+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18913 if test -z "$LD"; then
18914 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18915 for ac_dir
in $PATH; do
18916 test -z "$ac_dir" && ac_dir
=.
18917 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18918 acl_cv_path_LD
="$ac_dir/$ac_prog"
18919 # Check to see if the program is GNU ld. I'd rather use --version,
18920 # but apparently some GNU ld's only accept -v.
18921 # Break only if it was the GNU/non-GNU ld that we prefer.
18922 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
18923 test "$with_gnu_ld" != no
&& break
18925 test "$with_gnu_ld" != yes && break
18931 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18935 LD
="$acl_cv_path_LD"
18936 if test -n "$LD"; then
18937 echo "$as_me:$LINENO: result: $LD" >&5
18938 echo "${ECHO_T}$LD" >&6
18940 echo "$as_me:$LINENO: result: no" >&5
18941 echo "${ECHO_T}no" >&6
18943 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18944 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18945 { (exit 1); exit 1; }; }
18946 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18947 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18948 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18952 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
18953 acl_cv_prog_gnu_ld
=yes
18955 acl_cv_prog_gnu_ld
=no
18958 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18959 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18960 with_gnu_ld
=$acl_cv_prog_gnu_ld
18964 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18965 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18966 if test "${acl_cv_rpath+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18971 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18973 rm -f .
/conftest.sh
18977 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18978 echo "${ECHO_T}$acl_cv_rpath" >&6
18980 libext
="$acl_cv_libext"
18981 shlibext
="$acl_cv_shlibext"
18982 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18983 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18984 hardcode_direct
="$acl_cv_hardcode_direct"
18985 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18986 # Check whether --enable-rpath or --disable-rpath was given.
18987 if test "${enable_rpath+set}" = set; then
18988 enableval
="$enable_rpath"
19002 acl_save_prefix
="$prefix"
19003 prefix
="$acl_final_prefix"
19004 acl_save_exec_prefix
="$exec_prefix"
19005 exec_prefix
="$acl_final_exec_prefix"
19007 eval additional_includedir
=\"$includedir\"
19008 eval additional_libdir
=\"$libdir\"
19010 exec_prefix
="$acl_save_exec_prefix"
19011 prefix
="$acl_save_prefix"
19014 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
19015 if test "${with_libiconv_prefix+set}" = set; then
19016 withval
="$with_libiconv_prefix"
19018 if test "X$withval" = "Xno"; then
19021 if test "X$withval" = "X"; then
19023 acl_save_prefix
="$prefix"
19024 prefix
="$acl_final_prefix"
19025 acl_save_exec_prefix
="$exec_prefix"
19026 exec_prefix
="$acl_final_exec_prefix"
19028 eval additional_includedir
=\"$includedir\"
19029 eval additional_libdir
=\"$libdir\"
19031 exec_prefix
="$acl_save_exec_prefix"
19032 prefix
="$acl_save_prefix"
19035 additional_includedir
="$withval/include"
19036 additional_libdir
="$withval/lib"
19046 names_already_handled
=
19047 names_next_round
='iconv '
19048 while test -n "$names_next_round"; do
19049 names_this_round
="$names_next_round"
19051 for name
in $names_this_round; do
19053 for n
in $names_already_handled; do
19054 if test "$n" = "$name"; then
19055 already_handled
=yes
19059 if test -z "$already_handled"; then
19060 names_already_handled
="$names_already_handled $name"
19061 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19062 eval value
=\"\
$HAVE_LIB$uppername\"
19063 if test -n "$value"; then
19064 if test "$value" = yes; then
19065 eval value
=\"\
$LIB$uppername\"
19066 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
19067 eval value
=\"\
$LTLIB$uppername\"
19068 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
19077 if test $use_additional = yes; then
19078 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19079 found_dir
="$additional_libdir"
19080 found_so
="$additional_libdir/lib$name.$shlibext"
19081 if test -f "$additional_libdir/lib$name.la"; then
19082 found_la
="$additional_libdir/lib$name.la"
19085 if test -f "$additional_libdir/lib$name.$libext"; then
19086 found_dir
="$additional_libdir"
19087 found_a
="$additional_libdir/lib$name.$libext"
19088 if test -f "$additional_libdir/lib$name.la"; then
19089 found_la
="$additional_libdir/lib$name.la"
19094 if test "X$found_dir" = "X"; then
19095 for x
in $LDFLAGS $LTLIBICONV; do
19097 acl_save_prefix
="$prefix"
19098 prefix
="$acl_final_prefix"
19099 acl_save_exec_prefix
="$exec_prefix"
19100 exec_prefix
="$acl_final_exec_prefix"
19102 exec_prefix
="$acl_save_exec_prefix"
19103 prefix
="$acl_save_prefix"
19107 dir
=`echo "X$x" | sed -e 's/^X-L//'`
19108 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19110 found_so
="$dir/lib$name.$shlibext"
19111 if test -f "$dir/lib$name.la"; then
19112 found_la
="$dir/lib$name.la"
19115 if test -f "$dir/lib$name.$libext"; then
19117 found_a
="$dir/lib$name.$libext"
19118 if test -f "$dir/lib$name.la"; then
19119 found_la
="$dir/lib$name.la"
19125 if test "X$found_dir" != "X"; then
19130 if test "X$found_dir" != "X"; then
19131 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19132 if test "X$found_so" != "X"; then
19133 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
19134 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19137 for x
in $ltrpathdirs; do
19138 if test "X$x" = "X$found_dir"; then
19143 if test -z "$haveit"; then
19144 ltrpathdirs
="$ltrpathdirs $found_dir"
19146 if test "$hardcode_direct" = yes; then
19147 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19149 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
19150 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19152 for x
in $rpathdirs; do
19153 if test "X$x" = "X$found_dir"; then
19158 if test -z "$haveit"; then
19159 rpathdirs
="$rpathdirs $found_dir"
19163 for x
in $LDFLAGS $LIBICONV; do
19165 acl_save_prefix
="$prefix"
19166 prefix
="$acl_final_prefix"
19167 acl_save_exec_prefix
="$exec_prefix"
19168 exec_prefix
="$acl_final_exec_prefix"
19170 exec_prefix
="$acl_save_exec_prefix"
19171 prefix
="$acl_save_prefix"
19173 if test "X$x" = "X-L$found_dir"; then
19178 if test -z "$haveit"; then
19179 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19181 if test "$hardcode_minus_L" != no
; then
19182 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
19184 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
19190 if test "X$found_a" != "X"; then
19191 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
19193 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19196 additional_includedir
=
19197 case "$found_dir" in
19199 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
19200 additional_includedir
="$basedir/include"
19203 if test "X$additional_includedir" != "X"; then
19204 if test "X$additional_includedir" != "X/usr/include"; then
19206 if test "X$additional_includedir" = "X/usr/local/include"; then
19207 if test -n "$GCC"; then
19209 linux
*) haveit
=yes;;
19213 if test -z "$haveit"; then
19214 for x
in $CPPFLAGS $INCICONV; do
19216 acl_save_prefix
="$prefix"
19217 prefix
="$acl_final_prefix"
19218 acl_save_exec_prefix
="$exec_prefix"
19219 exec_prefix
="$acl_final_exec_prefix"
19221 exec_prefix
="$acl_save_exec_prefix"
19222 prefix
="$acl_save_prefix"
19224 if test "X$x" = "X-I$additional_includedir"; then
19229 if test -z "$haveit"; then
19230 if test -d "$additional_includedir"; then
19231 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19237 if test -n "$found_la"; then
19238 save_libdir
="$libdir"
19239 case "$found_la" in
19240 */* |
*\\*) .
"$found_la" ;;
19241 *) .
"./$found_la" ;;
19243 libdir
="$save_libdir"
19244 for dep
in $dependency_libs; do
19247 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
19248 if test "X$additional_libdir" != "X/usr/lib"; then
19250 if test "X$additional_libdir" = "X/usr/local/lib"; then
19251 if test -n "$GCC"; then
19253 linux
*) haveit
=yes;;
19257 if test -z "$haveit"; then
19259 for x
in $LDFLAGS $LIBICONV; do
19261 acl_save_prefix
="$prefix"
19262 prefix
="$acl_final_prefix"
19263 acl_save_exec_prefix
="$exec_prefix"
19264 exec_prefix
="$acl_final_exec_prefix"
19266 exec_prefix
="$acl_save_exec_prefix"
19267 prefix
="$acl_save_prefix"
19269 if test "X$x" = "X-L$additional_libdir"; then
19274 if test -z "$haveit"; then
19275 if test -d "$additional_libdir"; then
19276 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19280 for x
in $LDFLAGS $LTLIBICONV; do
19282 acl_save_prefix
="$prefix"
19283 prefix
="$acl_final_prefix"
19284 acl_save_exec_prefix
="$exec_prefix"
19285 exec_prefix
="$acl_final_exec_prefix"
19287 exec_prefix
="$acl_save_exec_prefix"
19288 prefix
="$acl_save_prefix"
19290 if test "X$x" = "X-L$additional_libdir"; then
19295 if test -z "$haveit"; then
19296 if test -d "$additional_libdir"; then
19297 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19304 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
19305 if test "$enable_rpath" != no
; then
19307 for x
in $rpathdirs; do
19308 if test "X$x" = "X$dir"; then
19313 if test -z "$haveit"; then
19314 rpathdirs
="$rpathdirs $dir"
19317 for x
in $ltrpathdirs; do
19318 if test "X$x" = "X$dir"; then
19323 if test -z "$haveit"; then
19324 ltrpathdirs
="$ltrpathdirs $dir"
19329 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19332 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19335 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
19336 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19342 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
19343 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19349 if test "X$rpathdirs" != "X"; then
19350 if test -n "$hardcode_libdir_separator"; then
19352 for found_dir
in $rpathdirs; do
19353 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19355 acl_save_libdir
="$libdir"
19357 eval flag
=\"$hardcode_libdir_flag_spec\"
19358 libdir
="$acl_save_libdir"
19359 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19361 for found_dir
in $rpathdirs; do
19362 acl_save_libdir
="$libdir"
19363 libdir
="$found_dir"
19364 eval flag
=\"$hardcode_libdir_flag_spec\"
19365 libdir
="$acl_save_libdir"
19366 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19370 if test "X$ltrpathdirs" != "X"; then
19371 for found_dir
in $ltrpathdirs; do
19372 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19382 am_save_CPPFLAGS
="$CPPFLAGS"
19384 for element
in $INCICONV; do
19386 for x
in $CPPFLAGS; do
19388 acl_save_prefix
="$prefix"
19389 prefix
="$acl_final_prefix"
19390 acl_save_exec_prefix
="$exec_prefix"
19391 exec_prefix
="$acl_final_exec_prefix"
19393 exec_prefix
="$acl_save_exec_prefix"
19394 prefix
="$acl_save_prefix"
19396 if test "X$x" = "X$element"; then
19401 if test -z "$haveit"; then
19402 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19407 echo "$as_me:$LINENO: checking for iconv" >&5
19408 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
19409 if test "${am_cv_func_iconv+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 am_cv_func_iconv
="no, consider installing GNU libiconv"
19415 if test x
$gcc_no_link = xyes
; then
19416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418 { (exit 1); exit 1; }; }
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <stdlib.h>
19431 iconv_t cd = iconv_open("","");
19432 iconv(cd,NULL,NULL,NULL,NULL);
19438 rm -f conftest.
$ac_objext conftest
$ac_exeext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440 (eval $ac_link) 2>conftest.er1
19442 grep -v '^ *+' conftest.er1
>conftest.err
19444 cat conftest.err
>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try
='test -z "$ac_c_werror_flag"
19448 || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try
='test -s conftest$ac_exeext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 am_cv_func_iconv
=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19466 rm -f conftest.err conftest.
$ac_objext \
19467 conftest
$ac_exeext conftest.
$ac_ext
19468 if test "$am_cv_func_iconv" != yes; then
19469 am_save_LIBS
="$LIBS"
19470 LIBS
="$LIBS $LIBICONV"
19471 if test x
$gcc_no_link = xyes
; then
19472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474 { (exit 1); exit 1; }; }
19476 cat >conftest.
$ac_ext <<_ACEOF
19479 cat confdefs.h
>>conftest.
$ac_ext
19480 cat >>conftest.
$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 #include <stdlib.h>
19487 iconv_t cd = iconv_open("","");
19488 iconv(cd,NULL,NULL,NULL,NULL);
19494 rm -f conftest.
$ac_objext conftest
$ac_exeext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19496 (eval $ac_link) 2>conftest.er1
19498 grep -v '^ *+' conftest.er1
>conftest.err
19500 cat conftest.err
>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try
='test -z "$ac_c_werror_flag"
19504 || test ! -s conftest.err'
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); }; } &&
19510 { ac_try
='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 am_cv_lib_iconv
=yes
19517 am_cv_func_iconv
=yes
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.
$ac_ext >&5
19523 rm -f conftest.err conftest.
$ac_objext \
19524 conftest
$ac_exeext conftest.
$ac_ext
19525 LIBS
="$am_save_LIBS"
19529 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
19530 echo "${ECHO_T}$am_cv_func_iconv" >&6
19531 if test "$am_cv_func_iconv" = yes; then
19533 cat >>confdefs.h
<<\_ACEOF
19534 #define HAVE_ICONV 1
19538 if test "$am_cv_lib_iconv" = yes; then
19539 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
19540 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
19541 echo "$as_me:$LINENO: result: $LIBICONV" >&5
19542 echo "${ECHO_T}$LIBICONV" >&6
19544 CPPFLAGS
="$am_save_CPPFLAGS"
19551 if test "$am_cv_func_iconv" = yes; then
19552 echo "$as_me:$LINENO: checking for iconv declaration" >&5
19553 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
19554 if test "${am_cv_proto_iconv+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 cat >conftest.
$ac_ext <<_ACEOF
19561 cat confdefs.h
>>conftest.
$ac_ext
19562 cat >>conftest.
$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19565 #include <stdlib.h>
19571 #if defined(__STDC__) || defined(__cplusplus)
19572 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19585 rm -f conftest.
$ac_objext
19586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19587 (eval $ac_compile) 2>conftest.er1
19589 grep -v '^ *+' conftest.er1
>conftest.err
19591 cat conftest.err
>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } &&
19594 { ac_try
='test -z "$ac_c_werror_flag"
19595 || test ! -s conftest.err'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; } &&
19601 { ac_try
='test -s conftest.$ac_objext'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 am_cv_proto_iconv_arg1
=""
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.
$ac_ext >&5
19612 am_cv_proto_iconv_arg1
="const"
19614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19615 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);"
19618 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19619 echo "$as_me:$LINENO: result: ${ac_t:-
19620 }$am_cv_proto_iconv" >&5
19621 echo "${ECHO_T}${ac_t:-
19622 }$am_cv_proto_iconv" >&6
19624 cat >>confdefs.h
<<_ACEOF
19625 #define ICONV_CONST $am_cv_proto_iconv_arg1
19631 if test "x${GCC}" = xyes
; then
19633 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
19636 EXTRA_CFLAGS
='-fexceptions -fasynchronous-unwind-tables'
19639 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
19643 if test "x${ENABLE_WERROR}" = xyes
; then
19644 ERROR_CFLAGS
='-Werror'
19649 if test "x${COMPILE_XMLJ}" = xyes
; then
19653 if test -z "$PKG_CONFIG"; then
19654 # Extract the first word of "pkg-config", so it can be a program name with args.
19655 set dummy pkg-config
; ac_word
=$2
19656 echo "$as_me:$LINENO: checking for $ac_word" >&5
19657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 case $PKG_CONFIG in
19663 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19667 for as_dir
in $PATH
19670 test -z "$as_dir" && as_dir
=.
19671 for ac_exec_ext
in '' $ac_executable_extensions; do
19672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19673 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19684 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19686 if test -n "$PKG_CONFIG"; then
19687 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19688 echo "${ECHO_T}$PKG_CONFIG" >&6
19690 echo "$as_me:$LINENO: result: no" >&5
19691 echo "${ECHO_T}no" >&6
19696 if test "$PKG_CONFIG" = "no" ; then
19697 echo "*** The pkg-config script could not be found. Make sure it is"
19698 echo "*** in your path, or set the PKG_CONFIG environment variable"
19699 echo "*** to the full path to pkg-config."
19700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19702 PKG_CONFIG_MIN_VERSION
=0.9.0
19703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19704 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
19705 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
19707 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
19708 echo "$as_me:$LINENO: result: yes" >&5
19709 echo "${ECHO_T}yes" >&6
19712 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
19713 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
19714 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
19715 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
19716 echo "${ECHO_T}$XML_CFLAGS" >&6
19718 echo "$as_me:$LINENO: checking XML_LIBS" >&5
19719 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
19720 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
19721 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
19722 echo "${ECHO_T}$XML_LIBS" >&6
19726 ## If we have a custom action on failure, don't print errors, but
19727 ## do set a variable so people can do so.
19728 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
19729 echo $XML_PKG_ERRORS
19735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19740 if test $succeeded = yes; then
19743 { { 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
19744 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;}
19745 { (exit 1); exit 1; }; }
19751 if test -z "$PKG_CONFIG"; then
19752 # Extract the first word of "pkg-config", so it can be a program name with args.
19753 set dummy pkg-config
; ac_word
=$2
19754 echo "$as_me:$LINENO: checking for $ac_word" >&5
19755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19756 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 case $PKG_CONFIG in
19761 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19765 for as_dir
in $PATH
19768 test -z "$as_dir" && as_dir
=.
19769 for ac_exec_ext
in '' $ac_executable_extensions; do
19770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19771 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19778 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19782 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19784 if test -n "$PKG_CONFIG"; then
19785 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19786 echo "${ECHO_T}$PKG_CONFIG" >&6
19788 echo "$as_me:$LINENO: result: no" >&5
19789 echo "${ECHO_T}no" >&6
19794 if test "$PKG_CONFIG" = "no" ; then
19795 echo "*** The pkg-config script could not be found. Make sure it is"
19796 echo "*** in your path, or set the PKG_CONFIG environment variable"
19797 echo "*** to the full path to pkg-config."
19798 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19800 PKG_CONFIG_MIN_VERSION
=0.9.0
19801 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19802 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19803 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19805 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19806 echo "$as_me:$LINENO: result: yes" >&5
19807 echo "${ECHO_T}yes" >&6
19810 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19811 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19812 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19813 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19814 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19816 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19817 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19818 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19819 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19820 echo "${ECHO_T}$XSLT_LIBS" >&6
19824 ## If we have a custom action on failure, don't print errors, but
19825 ## do set a variable so people can do so.
19826 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19827 echo $XSLT_PKG_ERRORS
19833 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19834 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19838 if test $succeeded = yes; then
19841 { { 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
19842 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;}
19843 { (exit 1); exit 1; }; }
19852 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19853 echo "$as_me:$LINENO: checking for X" >&5
19854 echo $ECHO_N "checking for X... $ECHO_C" >&6
19857 # Check whether --with-x or --without-x was given.
19858 if test "${with_x+set}" = set; then
19862 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19863 if test "x$with_x" = xno
; then
19864 # The user explicitly disabled X.
19867 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19868 # Both variables are already set.
19871 if test "${ac_cv_have_x+set}" = set; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 # One or both of the vars are not set, and there is no cached value.
19875 ac_x_includes
=no ac_x_libraries
=no
19876 rm -fr conftest.dir
19877 if mkdir conftest.dir
; then
19879 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19880 cat >Imakefile
<<'_ACEOF'
19882 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19884 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19886 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19887 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19888 for ac_extension
in a so sl
; do
19889 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19890 test -f $ac_im_libdir/libX11.
$ac_extension; then
19891 ac_im_usrlibdir
=$ac_im_libdir; break
19894 # Screen out bogus values from the imake configuration. They are
19895 # bogus both because they are the default anyway, and because
19896 # using them would break gcc on systems where it needs fixed includes.
19897 case $ac_im_incroot in
19899 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19901 case $ac_im_usrlibdir in
19902 /usr
/lib |
/lib
) ;;
19903 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19907 rm -fr conftest.dir
19910 # Standard set of common directories for X headers.
19911 # Check X11 before X11Rn because it is often a symlink to the current release.
19923 /usr/local/X11/include
19924 /usr/local/X11R6/include
19925 /usr/local/X11R5/include
19926 /usr/local/X11R4/include
19928 /usr/local/include/X11
19929 /usr/local/include/X11R6
19930 /usr/local/include/X11R5
19931 /usr/local/include/X11R4
19935 /usr/XFree86/include/X11
19939 /usr/unsupported/include
19940 /usr/athena/include
19941 /usr/local/x11r5/include
19942 /usr/lpp/Xamples/include
19944 /usr/openwin/include
19945 /usr/openwin/share/include'
19947 if test "$ac_x_includes" = no
; then
19948 # Guess where to find include files, by looking for Xlib.h.
19949 # First, try using that file with no special directory specified.
19950 cat >conftest.
$ac_ext <<_ACEOF
19953 cat confdefs.h
>>conftest.
$ac_ext
19954 cat >>conftest.
$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #include <X11/Xlib.h>
19958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19961 grep -v '^ *+' conftest.er1
>conftest.err
19963 cat conftest.err
>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } >/dev
/null
; then
19966 if test -s conftest.err
; then
19967 ac_cpp_err
=$ac_c_preproc_warn_flag
19968 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19975 if test -z "$ac_cpp_err"; then
19976 # We can compile using X headers with no special include directory.
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 for ac_dir
in $ac_x_header_dirs; do
19983 if test -r "$ac_dir/X11/Xlib.h"; then
19984 ac_x_includes
=$ac_dir
19989 rm -f conftest.err conftest.
$ac_ext
19990 fi # $ac_x_includes = no
19992 if test "$ac_x_libraries" = no
; then
19993 # Check for the libraries.
19994 # See if we find them without any special options.
19995 # Don't add to $LIBS permanently.
19998 if test x
$gcc_no_link = xyes
; then
19999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20001 { (exit 1); exit 1; }; }
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 #include <X11/Xlib.h>
20018 rm -f conftest.
$ac_objext conftest
$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20041 # We can link X programs with no special library path.
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20048 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20050 # Don't even attempt the hair of trying to link an X program!
20051 for ac_extension
in a so sl
; do
20052 if test -r $ac_dir/libXt.
$ac_extension; then
20053 ac_x_libraries
=$ac_dir
20059 rm -f conftest.err conftest.
$ac_objext \
20060 conftest
$ac_exeext conftest.
$ac_ext
20061 fi # $ac_x_libraries = no
20063 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
20064 # Didn't find X anywhere. Cache the known absence of X.
20065 ac_cv_have_x
="have_x=no"
20067 # Record where we found X for the cache.
20068 ac_cv_have_x
="have_x=yes \
20069 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20074 eval "$ac_cv_have_x"
20077 if test "$have_x" != yes; then
20078 echo "$as_me:$LINENO: result: $have_x" >&5
20079 echo "${ECHO_T}$have_x" >&6
20082 # If each of the values was on the command line, it overrides each guess.
20083 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20084 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20085 # Update the cache value to reflect the command line values.
20086 ac_cv_have_x
="have_x=yes \
20087 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20088 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20089 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20092 if test "$no_x" = yes; then
20093 # Not all programs may use this symbol, but it does not hurt to define it.
20095 cat >>confdefs.h
<<\_ACEOF
20096 #define X_DISPLAY_MISSING 1
20099 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20101 if test -n "$x_includes"; then
20102 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20105 # It would also be nice to do this for all -L options, not just this one.
20106 if test -n "$x_libraries"; then
20107 X_LIBS
="$X_LIBS -L$x_libraries"
20108 # For Solaris; some versions of Sun CC require a space after -R and
20109 # others require no space. Words are not sufficient . . . .
20110 case `(uname -sr) 2>/dev/null` in
20112 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20113 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20114 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20115 if test x
$gcc_no_link = xyes
; then
20116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20118 { (exit 1); exit 1; }; }
20120 cat >conftest.
$ac_ext <<_ACEOF
20123 cat confdefs.h
>>conftest.
$ac_ext
20124 cat >>conftest.
$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20135 rm -f conftest.
$ac_objext conftest
$ac_exeext
20136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20137 (eval $ac_link) 2>conftest.er1
20139 grep -v '^ *+' conftest.er1
>conftest.err
20141 cat conftest.err
>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } &&
20144 { ac_try
='test -z "$ac_c_werror_flag"
20145 || test ! -s conftest.err'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; } &&
20151 { ac_try
='test -s conftest$ac_exeext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.
$ac_ext >&5
20164 rm -f conftest.err conftest.
$ac_objext \
20165 conftest
$ac_exeext conftest.
$ac_ext
20166 if test $ac_R_nospace = yes; then
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20169 X_LIBS
="$X_LIBS -R$x_libraries"
20171 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20172 if test x
$gcc_no_link = xyes
; then
20173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20175 { (exit 1); exit 1; }; }
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20192 rm -f conftest.
$ac_objext conftest
$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>conftest.er1
20196 grep -v '^ *+' conftest.er1
>conftest.err
20198 cat conftest.err
>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try
='test -z "$ac_c_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try
='test -s conftest$ac_exeext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.
$ac_ext >&5
20221 rm -f conftest.err conftest.
$ac_objext \
20222 conftest
$ac_exeext conftest.
$ac_ext
20223 if test $ac_R_space = yes; then
20224 echo "$as_me:$LINENO: result: yes" >&5
20225 echo "${ECHO_T}yes" >&6
20226 X_LIBS
="$X_LIBS -R $x_libraries"
20228 echo "$as_me:$LINENO: result: neither works" >&5
20229 echo "${ECHO_T}neither works" >&6
20232 LIBS
=$ac_xsave_LIBS
20236 # Check for system-dependent libraries X programs must link with.
20237 # Do this before checking for the system-independent R6 libraries
20238 # (-lICE), since we may need -lsocket or whatever for X linking.
20240 if test "$ISC" = yes; then
20241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20243 # Martyn Johnson says this is needed for Ultrix, if the X
20244 # libraries were built with DECnet support. And Karl Berry says
20245 # the Alpha needs dnet_stub (dnet does not exist).
20246 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20247 if test x
$gcc_no_link = xyes
; then
20248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20250 { (exit 1); exit 1; }; }
20252 cat >conftest.
$ac_ext <<_ACEOF
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20259 /* Override any gcc2 internal prototype to avoid an error. */
20263 /* We use char because int might match the return type of a gcc2
20264 builtin and then its argument prototype would still apply. */
20265 char XOpenDisplay ();
20274 rm -f conftest.
$ac_objext conftest
$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276 (eval $ac_link) 2>conftest.er1
20278 grep -v '^ *+' conftest.er1
>conftest.err
20280 cat conftest.err
>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try
='test -z "$ac_c_werror_flag"
20284 || test ! -s conftest.err'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try
='test -s conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.
$ac_ext >&5
20301 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20302 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20303 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 ac_check_lib_save_LIBS
=$LIBS
20307 LIBS
="-ldnet $LIBS"
20308 if test x
$gcc_no_link = xyes
; then
20309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20311 { (exit 1); exit 1; }; }
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20320 /* Override any gcc2 internal prototype to avoid an error. */
20324 /* We use char because int might match the return type of a gcc2
20325 builtin and then its argument prototype would still apply. */
20335 rm -f conftest.
$ac_objext conftest
$ac_exeext
20336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20337 (eval $ac_link) 2>conftest.er1
20339 grep -v '^ *+' conftest.er1
>conftest.err
20341 cat conftest.err
>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try
='test -z "$ac_c_werror_flag"
20345 || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try
='test -s conftest$ac_exeext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_lib_dnet_dnet_ntoa
=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.
$ac_ext >&5
20362 ac_cv_lib_dnet_dnet_ntoa
=no
20364 rm -f conftest.err conftest.
$ac_objext \
20365 conftest
$ac_exeext conftest.
$ac_ext
20366 LIBS
=$ac_check_lib_save_LIBS
20368 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20369 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20370 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20374 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20375 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20376 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20377 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 ac_check_lib_save_LIBS
=$LIBS
20381 LIBS
="-ldnet_stub $LIBS"
20382 if test x
$gcc_no_link = xyes
; then
20383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20385 { (exit 1); exit 1; }; }
20387 cat >conftest.
$ac_ext <<_ACEOF
20390 cat confdefs.h
>>conftest.
$ac_ext
20391 cat >>conftest.
$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20394 /* Override any gcc2 internal prototype to avoid an error. */
20398 /* We use char because int might match the return type of a gcc2
20399 builtin and then its argument prototype would still apply. */
20409 rm -f conftest.
$ac_objext conftest
$ac_exeext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20411 (eval $ac_link) 2>conftest.er1
20413 grep -v '^ *+' conftest.er1
>conftest.err
20415 cat conftest.err
>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try
='test -z "$ac_c_werror_flag"
20419 || test ! -s conftest.err'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; } &&
20425 { ac_try
='test -s conftest$ac_exeext'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; }; then
20431 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.
$ac_ext >&5
20436 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20438 rm -f conftest.err conftest.
$ac_objext \
20439 conftest
$ac_exeext conftest.
$ac_ext
20440 LIBS
=$ac_check_lib_save_LIBS
20442 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20443 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20444 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20450 rm -f conftest.err conftest.
$ac_objext \
20451 conftest
$ac_exeext conftest.
$ac_ext
20452 LIBS
="$ac_xsave_LIBS"
20454 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20455 # to get the SysV transport functions.
20456 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20458 # The nsl library prevents programs from opening the X display
20459 # on Irix 5.2, according to T.E. Dickey.
20460 # The functions gethostbyname, getservbyname, and inet_addr are
20461 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20462 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20463 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20464 if test "${ac_cv_func_gethostbyname+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 if test x
$gcc_no_link = xyes
; then
20468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20470 { (exit 1); exit 1; }; }
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20480 #define gethostbyname innocuous_gethostbyname
20482 /* System header to define __stub macros and hopefully few prototypes,
20483 which can conflict with char gethostbyname (); below.
20484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20485 <limits.h> exists even on freestanding compilers. */
20488 # include <limits.h>
20490 # include <assert.h>
20493 #undef gethostbyname
20495 /* Override any gcc2 internal prototype to avoid an error. */
20500 /* We use char because int might match the return type of a gcc2
20501 builtin and then its argument prototype would still apply. */
20502 char gethostbyname ();
20503 /* The GNU C library defines this for functions which it implements
20504 to always fail with ENOSYS. Some functions are actually named
20505 something starting with __ and the normal name is an alias. */
20506 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20509 char (*f) () = gethostbyname;
20518 return f != gethostbyname;
20523 rm -f conftest.
$ac_objext conftest
$ac_exeext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20525 (eval $ac_link) 2>conftest.er1
20527 grep -v '^ *+' conftest.er1
>conftest.err
20529 cat conftest.err
>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try
='test -z "$ac_c_werror_flag"
20533 || test ! -s conftest.err'
20534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535 (eval $ac_try) 2>&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try
='test -s conftest$ac_exeext'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; }; then
20545 ac_cv_func_gethostbyname
=yes
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.
$ac_ext >&5
20550 ac_cv_func_gethostbyname
=no
20552 rm -f conftest.err conftest.
$ac_objext \
20553 conftest
$ac_exeext conftest.
$ac_ext
20555 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20556 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20558 if test $ac_cv_func_gethostbyname = no
; then
20559 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20560 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20561 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 ac_check_lib_save_LIBS
=$LIBS
20566 if test x
$gcc_no_link = xyes
; then
20567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20569 { (exit 1); exit 1; }; }
20571 cat >conftest.
$ac_ext <<_ACEOF
20574 cat confdefs.h
>>conftest.
$ac_ext
20575 cat >>conftest.
$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20578 /* Override any gcc2 internal prototype to avoid an error. */
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20584 char gethostbyname ();
20593 rm -f conftest.
$ac_objext conftest
$ac_exeext
20594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20595 (eval $ac_link) 2>conftest.er1
20597 grep -v '^ *+' conftest.er1
>conftest.err
20599 cat conftest.err
>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } &&
20602 { ac_try
='test -z "$ac_c_werror_flag"
20603 || test ! -s conftest.err'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; } &&
20609 { ac_try
='test -s conftest$ac_exeext'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; }; then
20615 ac_cv_lib_nsl_gethostbyname
=yes
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.
$ac_ext >&5
20620 ac_cv_lib_nsl_gethostbyname
=no
20622 rm -f conftest.err conftest.
$ac_objext \
20623 conftest
$ac_exeext conftest.
$ac_ext
20624 LIBS
=$ac_check_lib_save_LIBS
20626 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20632 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20633 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 ac_check_lib_save_LIBS
=$LIBS
20640 if test x
$gcc_no_link = xyes
; then
20641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20643 { (exit 1); exit 1; }; }
20645 cat >conftest.
$ac_ext <<_ACEOF
20648 cat confdefs.h
>>conftest.
$ac_ext
20649 cat >>conftest.
$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20652 /* Override any gcc2 internal prototype to avoid an error. */
20656 /* We use char because int might match the return type of a gcc2
20657 builtin and then its argument prototype would still apply. */
20658 char gethostbyname ();
20667 rm -f conftest.
$ac_objext conftest
$ac_exeext
20668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20669 (eval $ac_link) 2>conftest.er1
20671 grep -v '^ *+' conftest.er1
>conftest.err
20673 cat conftest.err
>&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } &&
20676 { ac_try
='test -z "$ac_c_werror_flag"
20677 || test ! -s conftest.err'
20678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20679 (eval $ac_try) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); }; } &&
20683 { ac_try
='test -s conftest$ac_exeext'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; }; then
20689 ac_cv_lib_bsd_gethostbyname
=yes
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.
$ac_ext >&5
20694 ac_cv_lib_bsd_gethostbyname
=no
20696 rm -f conftest.err conftest.
$ac_objext \
20697 conftest
$ac_exeext conftest.
$ac_ext
20698 LIBS
=$ac_check_lib_save_LIBS
20700 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20701 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20702 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20703 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20709 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20710 # socket/setsockopt and other routines are undefined under SCO ODT
20711 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20712 # on later versions), says Simon Leinen: it contains gethostby*
20713 # variants that don't use the name server (or something). -lsocket
20714 # must be given before -lnsl if both are needed. We assume that
20715 # if connect needs -lnsl, so does gethostbyname.
20716 echo "$as_me:$LINENO: checking for connect" >&5
20717 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20718 if test "${ac_cv_func_connect+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 if test x
$gcc_no_link = xyes
; then
20722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20724 { (exit 1); exit 1; }; }
20726 cat >conftest.
$ac_ext <<_ACEOF
20729 cat confdefs.h
>>conftest.
$ac_ext
20730 cat >>conftest.
$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20734 #define connect innocuous_connect
20736 /* System header to define __stub macros and hopefully few prototypes,
20737 which can conflict with char connect (); below.
20738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20739 <limits.h> exists even on freestanding compilers. */
20742 # include <limits.h>
20744 # include <assert.h>
20749 /* Override any gcc2 internal prototype to avoid an error. */
20754 /* We use char because int might match the return type of a gcc2
20755 builtin and then its argument prototype would still apply. */
20757 /* The GNU C library defines this for functions which it implements
20758 to always fail with ENOSYS. Some functions are actually named
20759 something starting with __ and the normal name is an alias. */
20760 #if defined (__stub_connect) || defined (__stub___connect)
20763 char (*f) () = connect;
20772 return f != connect;
20777 rm -f conftest.
$ac_objext conftest
$ac_exeext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20779 (eval $ac_link) 2>conftest.er1
20781 grep -v '^ *+' conftest.er1
>conftest.err
20783 cat conftest.err
>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try
='test -z "$ac_c_werror_flag"
20787 || test ! -s conftest.err'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; } &&
20793 { ac_try
='test -s conftest$ac_exeext'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; }; then
20799 ac_cv_func_connect
=yes
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.
$ac_ext >&5
20804 ac_cv_func_connect
=no
20806 rm -f conftest.err conftest.
$ac_objext \
20807 conftest
$ac_exeext conftest.
$ac_ext
20809 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20810 echo "${ECHO_T}$ac_cv_func_connect" >&6
20812 if test $ac_cv_func_connect = no
; then
20813 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20814 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20815 if test "${ac_cv_lib_socket_connect+set}" = set; then
20816 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 ac_check_lib_save_LIBS
=$LIBS
20819 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20820 if test x
$gcc_no_link = xyes
; then
20821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20823 { (exit 1); exit 1; }; }
20825 cat >conftest.
$ac_ext <<_ACEOF
20828 cat confdefs.h
>>conftest.
$ac_ext
20829 cat >>conftest.
$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20832 /* Override any gcc2 internal prototype to avoid an error. */
20836 /* We use char because int might match the return type of a gcc2
20837 builtin and then its argument prototype would still apply. */
20847 rm -f conftest.
$ac_objext conftest
$ac_exeext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20849 (eval $ac_link) 2>conftest.er1
20851 grep -v '^ *+' conftest.er1
>conftest.err
20853 cat conftest.err
>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } &&
20856 { ac_try
='test -z "$ac_c_werror_flag"
20857 || test ! -s conftest.err'
20858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859 (eval $ac_try) 2>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); }; } &&
20863 { ac_try
='test -s conftest$ac_exeext'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; }; then
20869 ac_cv_lib_socket_connect
=yes
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20874 ac_cv_lib_socket_connect
=no
20876 rm -f conftest.err conftest.
$ac_objext \
20877 conftest
$ac_exeext conftest.
$ac_ext
20878 LIBS
=$ac_check_lib_save_LIBS
20880 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20881 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20882 if test $ac_cv_lib_socket_connect = yes; then
20883 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20888 # Guillermo Gomez says -lposix is necessary on A/UX.
20889 echo "$as_me:$LINENO: checking for remove" >&5
20890 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20891 if test "${ac_cv_func_remove+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 if test x
$gcc_no_link = xyes
; then
20895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20897 { (exit 1); exit 1; }; }
20899 cat >conftest.
$ac_ext <<_ACEOF
20902 cat confdefs.h
>>conftest.
$ac_ext
20903 cat >>conftest.
$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20907 #define remove innocuous_remove
20909 /* System header to define __stub macros and hopefully few prototypes,
20910 which can conflict with char remove (); below.
20911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20912 <limits.h> exists even on freestanding compilers. */
20915 # include <limits.h>
20917 # include <assert.h>
20922 /* Override any gcc2 internal prototype to avoid an error. */
20927 /* We use char because int might match the return type of a gcc2
20928 builtin and then its argument prototype would still apply. */
20930 /* The GNU C library defines this for functions which it implements
20931 to always fail with ENOSYS. Some functions are actually named
20932 something starting with __ and the normal name is an alias. */
20933 #if defined (__stub_remove) || defined (__stub___remove)
20936 char (*f) () = remove;
20945 return f != remove;
20950 rm -f conftest.
$ac_objext conftest
$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952 (eval $ac_link) 2>conftest.er1
20954 grep -v '^ *+' conftest.er1
>conftest.err
20956 cat conftest.err
>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try
='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try
='test -s conftest$ac_exeext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_func_remove
=yes
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.
$ac_ext >&5
20977 ac_cv_func_remove
=no
20979 rm -f conftest.err conftest.
$ac_objext \
20980 conftest
$ac_exeext conftest.
$ac_ext
20982 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20983 echo "${ECHO_T}$ac_cv_func_remove" >&6
20985 if test $ac_cv_func_remove = no
; then
20986 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20987 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20988 if test "${ac_cv_lib_posix_remove+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 ac_check_lib_save_LIBS
=$LIBS
20992 LIBS
="-lposix $LIBS"
20993 if test x
$gcc_no_link = xyes
; then
20994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20996 { (exit 1); exit 1; }; }
20998 cat >conftest.
$ac_ext <<_ACEOF
21001 cat confdefs.h
>>conftest.
$ac_ext
21002 cat >>conftest.
$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21005 /* Override any gcc2 internal prototype to avoid an error. */
21009 /* We use char because int might match the return type of a gcc2
21010 builtin and then its argument prototype would still apply. */
21020 rm -f conftest.
$ac_objext conftest
$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>conftest.er1
21024 grep -v '^ *+' conftest.er1
>conftest.err
21026 cat conftest.err
>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try
='test -z "$ac_c_werror_flag"
21030 || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try
='test -s conftest$ac_exeext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_cv_lib_posix_remove
=yes
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.
$ac_ext >&5
21047 ac_cv_lib_posix_remove
=no
21049 rm -f conftest.err conftest.
$ac_objext \
21050 conftest
$ac_exeext conftest.
$ac_ext
21051 LIBS
=$ac_check_lib_save_LIBS
21053 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21055 if test $ac_cv_lib_posix_remove = yes; then
21056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21062 echo "$as_me:$LINENO: checking for shmat" >&5
21063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21064 if test "${ac_cv_func_shmat+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 if test x
$gcc_no_link = xyes
; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21072 cat >conftest.
$ac_ext <<_ACEOF
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
21079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21080 #define shmat innocuous_shmat
21082 /* System header to define __stub macros and hopefully few prototypes,
21083 which can conflict with char shmat (); below.
21084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21085 <limits.h> exists even on freestanding compilers. */
21088 # include <limits.h>
21090 # include <assert.h>
21095 /* Override any gcc2 internal prototype to avoid an error. */
21100 /* We use char because int might match the return type of a gcc2
21101 builtin and then its argument prototype would still apply. */
21103 /* The GNU C library defines this for functions which it implements
21104 to always fail with ENOSYS. Some functions are actually named
21105 something starting with __ and the normal name is an alias. */
21106 #if defined (__stub_shmat) || defined (__stub___shmat)
21109 char (*f) () = shmat;
21123 rm -f conftest.
$ac_objext conftest
$ac_exeext
21124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21125 (eval $ac_link) 2>conftest.er1
21127 grep -v '^ *+' conftest.er1
>conftest.err
21129 cat conftest.err
>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } &&
21132 { ac_try
='test -z "$ac_c_werror_flag"
21133 || test ! -s conftest.err'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; } &&
21139 { ac_try
='test -s conftest$ac_exeext'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; }; then
21145 ac_cv_func_shmat
=yes
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.
$ac_ext >&5
21150 ac_cv_func_shmat
=no
21152 rm -f conftest.err conftest.
$ac_objext \
21153 conftest
$ac_exeext conftest.
$ac_ext
21155 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21156 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21158 if test $ac_cv_func_shmat = no
; then
21159 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21160 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21161 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 ac_check_lib_save_LIBS
=$LIBS
21166 if test x
$gcc_no_link = xyes
; then
21167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21169 { (exit 1); exit 1; }; }
21171 cat >conftest.
$ac_ext <<_ACEOF
21174 cat confdefs.h
>>conftest.
$ac_ext
21175 cat >>conftest.
$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21178 /* Override any gcc2 internal prototype to avoid an error. */
21182 /* We use char because int might match the return type of a gcc2
21183 builtin and then its argument prototype would still apply. */
21193 rm -f conftest.
$ac_objext conftest
$ac_exeext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21195 (eval $ac_link) 2>conftest.er1
21197 grep -v '^ *+' conftest.er1
>conftest.err
21199 cat conftest.err
>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try
='test -z "$ac_c_werror_flag"
21203 || test ! -s conftest.err'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; } &&
21209 { ac_try
='test -s conftest$ac_exeext'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; }; then
21215 ac_cv_lib_ipc_shmat
=yes
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.
$ac_ext >&5
21220 ac_cv_lib_ipc_shmat
=no
21222 rm -f conftest.err conftest.
$ac_objext \
21223 conftest
$ac_exeext conftest.
$ac_ext
21224 LIBS
=$ac_check_lib_save_LIBS
21226 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21227 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21228 if test $ac_cv_lib_ipc_shmat = yes; then
21229 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21235 # Check for libraries that X11R6 Xt/Xaw programs need.
21236 ac_save_LDFLAGS
=$LDFLAGS
21237 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21238 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21239 # check for ICE first), but we must link in the order -lSM -lICE or
21240 # we get undefined symbols. So assume we have SM if we have ICE.
21241 # These have to be linked with before -lX11, unlike the other
21242 # libraries we check for below, so use a different variable.
21243 # John Interrante, Karl Berry
21244 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21245 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21246 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 ac_check_lib_save_LIBS
=$LIBS
21250 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21251 if test x
$gcc_no_link = xyes
; then
21252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21254 { (exit 1); exit 1; }; }
21256 cat >conftest.
$ac_ext <<_ACEOF
21259 cat confdefs.h
>>conftest.
$ac_ext
21260 cat >>conftest.
$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21263 /* Override any gcc2 internal prototype to avoid an error. */
21267 /* We use char because int might match the return type of a gcc2
21268 builtin and then its argument prototype would still apply. */
21269 char IceConnectionNumber ();
21273 IceConnectionNumber ();
21278 rm -f conftest.
$ac_objext conftest
$ac_exeext
21279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21280 (eval $ac_link) 2>conftest.er1
21282 grep -v '^ *+' conftest.er1
>conftest.err
21284 cat conftest.err
>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try
='test -z "$ac_c_werror_flag"
21288 || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try
='test -s conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_lib_ICE_IceConnectionNumber
=yes
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.
$ac_ext >&5
21305 ac_cv_lib_ICE_IceConnectionNumber
=no
21307 rm -f conftest.err conftest.
$ac_objext \
21308 conftest
$ac_exeext conftest.
$ac_ext
21309 LIBS
=$ac_check_lib_save_LIBS
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21312 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21313 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21314 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21317 LDFLAGS
=$ac_save_LDFLAGS
21321 if test "$no_x" = yes; then
21322 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
21323 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
21324 { (exit 1); exit 1; }; }
21326 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21327 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
21328 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21329 echo $ECHO_N "(cached) $ECHO_C" >&6
21331 ac_check_lib_save_LIBS
=$LIBS
21332 LIBS
="-lXtst ${X_LIBS} $LIBS"
21333 if test x
$gcc_no_link = xyes
; then
21334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21336 { (exit 1); exit 1; }; }
21338 cat >conftest.
$ac_ext <<_ACEOF
21341 cat confdefs.h
>>conftest.
$ac_ext
21342 cat >>conftest.
$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21345 /* Override any gcc2 internal prototype to avoid an error. */
21349 /* We use char because int might match the return type of a gcc2
21350 builtin and then its argument prototype would still apply. */
21351 char XTestQueryExtension ();
21355 XTestQueryExtension ();
21360 rm -f conftest.
$ac_objext conftest
$ac_exeext
21361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21362 (eval $ac_link) 2>conftest.er1
21364 grep -v '^ *+' conftest.er1
>conftest.err
21366 cat conftest.err
>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } &&
21369 { ac_try
='test -z "$ac_c_werror_flag"
21370 || test ! -s conftest.err'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; } &&
21376 { ac_try
='test -s conftest$ac_exeext'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; }; then
21382 ac_cv_lib_Xtst_XTestQueryExtension
=yes
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 ac_cv_lib_Xtst_XTestQueryExtension
=no
21389 rm -f conftest.err conftest.
$ac_objext \
21390 conftest
$ac_exeext conftest.
$ac_ext
21391 LIBS
=$ac_check_lib_save_LIBS
21393 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21394 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
21395 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
21396 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
21398 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
21399 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
21400 { (exit 1); exit 1; }; }
21407 if test -z "$PKG_CONFIG"; then
21408 # Extract the first word of "pkg-config", so it can be a program name with args.
21409 set dummy pkg-config
; ac_word
=$2
21410 echo "$as_me:$LINENO: checking for $ac_word" >&5
21411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21412 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 case $PKG_CONFIG in
21417 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21421 for as_dir
in $PATH
21424 test -z "$as_dir" && as_dir
=.
21425 for ac_exec_ext
in '' $ac_executable_extensions; do
21426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21427 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21434 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21438 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21440 if test -n "$PKG_CONFIG"; then
21441 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21442 echo "${ECHO_T}$PKG_CONFIG" >&6
21444 echo "$as_me:$LINENO: result: no" >&5
21445 echo "${ECHO_T}no" >&6
21450 if test "$PKG_CONFIG" = "no" ; then
21451 echo "*** The pkg-config script could not be found. Make sure it is"
21452 echo "*** in your path, or set the PKG_CONFIG environment variable"
21453 echo "*** to the full path to pkg-config."
21454 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21456 PKG_CONFIG_MIN_VERSION
=0.9.0
21457 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21458 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21459 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
21461 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21462 echo "$as_me:$LINENO: result: yes" >&5
21463 echo "${ECHO_T}yes" >&6
21466 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21467 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
21468 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21469 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21470 echo "${ECHO_T}$GTK_CFLAGS" >&6
21472 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21473 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
21474 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21475 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21476 echo "${ECHO_T}$GTK_LIBS" >&6
21480 ## If we have a custom action on failure, don't print errors, but
21481 ## do set a variable so people can do so.
21482 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21483 echo $GTK_PKG_ERRORS
21489 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21490 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21494 if test $succeeded = yes; then
21497 { { 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
21498 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;}
21499 { (exit 1); exit 1; }; }
21505 if test -z "$PKG_CONFIG"; then
21506 # Extract the first word of "pkg-config", so it can be a program name with args.
21507 set dummy pkg-config
; ac_word
=$2
21508 echo "$as_me:$LINENO: checking for $ac_word" >&5
21509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21510 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 case $PKG_CONFIG in
21515 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21519 for as_dir
in $PATH
21522 test -z "$as_dir" && as_dir
=.
21523 for ac_exec_ext
in '' $ac_executable_extensions; do
21524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21525 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21532 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21536 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21538 if test -n "$PKG_CONFIG"; then
21539 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21540 echo "${ECHO_T}$PKG_CONFIG" >&6
21542 echo "$as_me:$LINENO: result: no" >&5
21543 echo "${ECHO_T}no" >&6
21548 if test "$PKG_CONFIG" = "no" ; then
21549 echo "*** The pkg-config script could not be found. Make sure it is"
21550 echo "*** in your path, or set the PKG_CONFIG environment variable"
21551 echo "*** to the full path to pkg-config."
21552 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21554 PKG_CONFIG_MIN_VERSION
=0.9.0
21555 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21556 echo "$as_me:$LINENO: checking for freetype2" >&5
21557 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
21559 if $PKG_CONFIG --exists "freetype2" ; then
21560 echo "$as_me:$LINENO: result: yes" >&5
21561 echo "${ECHO_T}yes" >&6
21564 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
21565 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
21566 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
21567 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
21568 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
21570 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
21571 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
21572 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
21573 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
21574 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
21576 FREETYPE2_CFLAGS
=""
21578 ## If we have a custom action on failure, don't print errors, but
21579 ## do set a variable so people can do so.
21580 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
21581 echo $FREETYPE2_PKG_ERRORS
21587 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21588 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21592 if test $succeeded = yes; then
21595 { { 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
21596 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;}
21597 { (exit 1); exit 1; }; }
21603 if test -z "$PKG_CONFIG"; then
21604 # Extract the first word of "pkg-config", so it can be a program name with args.
21605 set dummy pkg-config
; ac_word
=$2
21606 echo "$as_me:$LINENO: checking for $ac_word" >&5
21607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21611 case $PKG_CONFIG in
21613 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21617 for as_dir
in $PATH
21620 test -z "$as_dir" && as_dir
=.
21621 for ac_exec_ext
in '' $ac_executable_extensions; do
21622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21623 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21634 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21636 if test -n "$PKG_CONFIG"; then
21637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21638 echo "${ECHO_T}$PKG_CONFIG" >&6
21640 echo "$as_me:$LINENO: result: no" >&5
21641 echo "${ECHO_T}no" >&6
21646 if test "$PKG_CONFIG" = "no" ; then
21647 echo "*** The pkg-config script could not be found. Make sure it is"
21648 echo "*** in your path, or set the PKG_CONFIG environment variable"
21649 echo "*** to the full path to pkg-config."
21650 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21652 PKG_CONFIG_MIN_VERSION
=0.9.0
21653 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21654 echo "$as_me:$LINENO: checking for pangoft2" >&5
21655 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21657 if $PKG_CONFIG --exists "pangoft2" ; then
21658 echo "$as_me:$LINENO: result: yes" >&5
21659 echo "${ECHO_T}yes" >&6
21662 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21663 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21664 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21665 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21666 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21668 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21669 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21670 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21671 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21672 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21676 ## If we have a custom action on failure, don't print errors, but
21677 ## do set a variable so people can do so.
21678 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21679 echo $PANGOFT2_PKG_ERRORS
21685 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21686 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21690 if test $succeeded = yes; then
21693 { { 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
21694 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;}
21695 { (exit 1); exit 1; }; }
21701 if test -z "$PKG_CONFIG"; then
21702 # Extract the first word of "pkg-config", so it can be a program name with args.
21703 set dummy pkg-config
; ac_word
=$2
21704 echo "$as_me:$LINENO: checking for $ac_word" >&5
21705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21706 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 case $PKG_CONFIG in
21711 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21715 for as_dir
in $PATH
21718 test -z "$as_dir" && as_dir
=.
21719 for ac_exec_ext
in '' $ac_executable_extensions; do
21720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21721 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21728 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21732 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21734 if test -n "$PKG_CONFIG"; then
21735 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21736 echo "${ECHO_T}$PKG_CONFIG" >&6
21738 echo "$as_me:$LINENO: result: no" >&5
21739 echo "${ECHO_T}no" >&6
21744 if test "$PKG_CONFIG" = "no" ; then
21745 echo "*** The pkg-config script could not be found. Make sure it is"
21746 echo "*** in your path, or set the PKG_CONFIG environment variable"
21747 echo "*** to the full path to pkg-config."
21748 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21750 PKG_CONFIG_MIN_VERSION
=0.9.0
21751 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21752 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
21753 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
21755 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
21756 echo "$as_me:$LINENO: result: yes" >&5
21757 echo "${ECHO_T}yes" >&6
21760 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
21761 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
21762 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
21763 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
21764 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
21766 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
21767 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
21768 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
21769 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
21770 echo "${ECHO_T}$CAIRO_LIBS" >&6
21774 ## If we have a custom action on failure, don't print errors, but
21775 ## do set a variable so people can do so.
21776 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
21777 echo $CAIRO_PKG_ERRORS
21783 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21784 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21788 if test $succeeded = yes; then
21791 { { 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
21792 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;}
21793 { (exit 1); exit 1; }; }
21796 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
21797 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
21798 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21801 ac_check_lib_save_LIBS
=$LIBS
21802 LIBS
="-lXrender ${X_LIBS} $LIBS"
21803 if test x
$gcc_no_link = xyes
; then
21804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21806 { (exit 1); exit 1; }; }
21808 cat >conftest.
$ac_ext <<_ACEOF
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21815 /* Override any gcc2 internal prototype to avoid an error. */
21819 /* We use char because int might match the return type of a gcc2
21820 builtin and then its argument prototype would still apply. */
21821 char XRenderQueryExtension ();
21825 XRenderQueryExtension ();
21830 rm -f conftest.
$ac_objext conftest
$ac_exeext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>conftest.er1
21834 grep -v '^ *+' conftest.er1
>conftest.err
21836 cat conftest.err
>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try
='test -z "$ac_c_werror_flag"
21840 || test ! -s conftest.err'
21841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21842 (eval $ac_try) 2>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); }; } &&
21846 { ac_try
='test -s conftest$ac_exeext'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; }; then
21852 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.
$ac_ext >&5
21857 ac_cv_lib_Xrender_XRenderQueryExtension
=no
21859 rm -f conftest.err conftest.
$ac_objext \
21860 conftest
$ac_exeext conftest.
$ac_ext
21861 LIBS
=$ac_check_lib_save_LIBS
21863 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21864 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21865 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21867 cat >>confdefs.h
<<\_ACEOF
21868 #define HAVE_XRENDER 1
21870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
21876 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21877 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21878 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21881 ac_check_lib_save_LIBS
=$LIBS
21882 LIBS
="-lXrandr ${X_LIBS} $LIBS"
21883 if test x
$gcc_no_link = xyes
; then
21884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21886 { (exit 1); exit 1; }; }
21888 cat >conftest.
$ac_ext <<_ACEOF
21891 cat confdefs.h
>>conftest.
$ac_ext
21892 cat >>conftest.
$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21895 /* Override any gcc2 internal prototype to avoid an error. */
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21901 char XRRQueryExtension ();
21905 XRRQueryExtension ();
21910 rm -f conftest.
$ac_objext conftest
$ac_exeext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21912 (eval $ac_link) 2>conftest.er1
21914 grep -v '^ *+' conftest.er1
>conftest.err
21916 cat conftest.err
>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try
='test -z "$ac_c_werror_flag"
21920 || test ! -s conftest.err'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; } &&
21926 { ac_try
='test -s conftest$ac_exeext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.
$ac_ext >&5
21937 ac_cv_lib_Xrandr_XRRQueryExtension
=no
21939 rm -f conftest.err conftest.
$ac_objext \
21940 conftest
$ac_exeext conftest.
$ac_ext
21941 LIBS
=$ac_check_lib_save_LIBS
21943 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21944 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21945 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21947 cat >>confdefs.h
<<\_ACEOF
21948 #define HAVE_XRANDR 1
21950 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
21965 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
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 gconf-2.0 >= 2.6.0" >&5
22021 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
22023 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
22024 echo "$as_me:$LINENO: result: yes" >&5
22025 echo "${ECHO_T}yes" >&6
22028 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
22029 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
22030 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
22031 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
22032 echo "${ECHO_T}$GCONF_CFLAGS" >&6
22034 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
22035 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
22036 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
22037 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
22038 echo "${ECHO_T}$GCONF_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 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
22045 echo $GCONF_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 (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
22060 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;}
22061 { (exit 1); exit 1; }; }
22069 if test -z "$PKG_CONFIG"; then
22070 # Extract the first word of "pkg-config", so it can be a program name with args.
22071 set dummy pkg-config
; ac_word
=$2
22072 echo "$as_me:$LINENO: checking for $ac_word" >&5
22073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22074 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22075 echo $ECHO_N "(cached) $ECHO_C" >&6
22077 case $PKG_CONFIG in
22079 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22083 for as_dir
in $PATH
22086 test -z "$as_dir" && as_dir
=.
22087 for ac_exec_ext
in '' $ac_executable_extensions; do
22088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22089 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22096 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22100 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22102 if test -n "$PKG_CONFIG"; then
22103 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22104 echo "${ECHO_T}$PKG_CONFIG" >&6
22106 echo "$as_me:$LINENO: result: no" >&5
22107 echo "${ECHO_T}no" >&6
22112 if test "$PKG_CONFIG" = "no" ; then
22113 echo "*** The pkg-config script could not be found. Make sure it is"
22114 echo "*** in your path, or set the PKG_CONFIG environment variable"
22115 echo "*** to the full path to pkg-config."
22116 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22118 PKG_CONFIG_MIN_VERSION
=0.9.0
22119 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22120 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
22121 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
22123 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
22124 echo "$as_me:$LINENO: result: yes" >&5
22125 echo "${ECHO_T}yes" >&6
22128 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
22129 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
22130 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
22131 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
22132 echo "${ECHO_T}$GDK_CFLAGS" >&6
22134 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
22135 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
22136 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
22137 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
22138 echo "${ECHO_T}$GDK_LIBS" >&6
22142 ## If we have a custom action on failure, don't print errors, but
22143 ## do set a variable so people can do so.
22144 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
22145 echo $GDK_PKG_ERRORS
22151 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22152 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22156 if test $succeeded = yes; then
22159 { { 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
22160 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;}
22161 { (exit 1); exit 1; }; }
22166 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
22167 if test "$USE_GCONF_PREFS_PEER" = ""; then
22168 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
22172 if test "x${COMPILE_GSTREAMER_PEER}" = xyes
; then
22173 GST_MAJORMINOR
=0.10
22174 GST_REQUIRED
=0.10.10
22179 if test -z "$PKG_CONFIG"; then
22180 # Extract the first word of "pkg-config", so it can be a program name with args.
22181 set dummy pkg-config
; ac_word
=$2
22182 echo "$as_me:$LINENO: checking for $ac_word" >&5
22183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22184 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 case $PKG_CONFIG in
22189 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22193 for as_dir
in $PATH
22196 test -z "$as_dir" && as_dir
=.
22197 for ac_exec_ext
in '' $ac_executable_extensions; do
22198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22199 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22206 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22210 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22212 if test -n "$PKG_CONFIG"; then
22213 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22214 echo "${ECHO_T}$PKG_CONFIG" >&6
22216 echo "$as_me:$LINENO: result: no" >&5
22217 echo "${ECHO_T}no" >&6
22222 if test "$PKG_CONFIG" = "no" ; then
22223 echo "*** The pkg-config script could not be found. Make sure it is"
22224 echo "*** in your path, or set the PKG_CONFIG environment variable"
22225 echo "*** to the full path to pkg-config."
22226 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22228 PKG_CONFIG_MIN_VERSION
=0.9.0
22229 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22230 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22231 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22233 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22234 echo "$as_me:$LINENO: result: yes" >&5
22235 echo "${ECHO_T}yes" >&6
22238 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
22239 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
22240 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22241 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
22242 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
22244 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
22245 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
22246 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22247 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
22248 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
22250 GSTREAMER_CFLAGS
=""
22252 ## If we have a custom action on failure, don't print errors, but
22253 ## do set a variable so people can do so.
22254 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22255 echo $GSTREAMER_PKG_ERRORS
22261 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22262 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22266 if test $succeeded = yes; then
22269 { { 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
22270 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;}
22271 { (exit 1); exit 1; }; }
22280 if test -z "$PKG_CONFIG"; then
22281 # Extract the first word of "pkg-config", so it can be a program name with args.
22282 set dummy pkg-config
; ac_word
=$2
22283 echo "$as_me:$LINENO: checking for $ac_word" >&5
22284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22285 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22288 case $PKG_CONFIG in
22290 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22294 for as_dir
in $PATH
22297 test -z "$as_dir" && as_dir
=.
22298 for ac_exec_ext
in '' $ac_executable_extensions; do
22299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22300 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22307 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22311 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22313 if test -n "$PKG_CONFIG"; then
22314 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22315 echo "${ECHO_T}$PKG_CONFIG" >&6
22317 echo "$as_me:$LINENO: result: no" >&5
22318 echo "${ECHO_T}no" >&6
22323 if test "$PKG_CONFIG" = "no" ; then
22324 echo "*** The pkg-config script could not be found. Make sure it is"
22325 echo "*** in your path, or set the PKG_CONFIG environment variable"
22326 echo "*** to the full path to pkg-config."
22327 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22329 PKG_CONFIG_MIN_VERSION
=0.9.0
22330 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22331 echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22332 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22334 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22335 echo "$as_me:$LINENO: result: yes" >&5
22336 echo "${ECHO_T}yes" >&6
22339 echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
22340 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
22341 GSTREAMER_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22342 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
22343 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
22345 echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
22346 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
22347 GSTREAMER_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22348 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
22349 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
22351 GSTREAMER_BASE_CFLAGS
=""
22352 GSTREAMER_BASE_LIBS
=""
22353 ## If we have a custom action on failure, don't print errors, but
22354 ## do set a variable so people can do so.
22355 GSTREAMER_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22356 echo $GSTREAMER_BASE_PKG_ERRORS
22362 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22363 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22367 if test $succeeded = yes; then
22370 { { 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
22371 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;}
22372 { (exit 1); exit 1; }; }
22381 if test -z "$PKG_CONFIG"; then
22382 # Extract the first word of "pkg-config", so it can be a program name with args.
22383 set dummy pkg-config
; ac_word
=$2
22384 echo "$as_me:$LINENO: checking for $ac_word" >&5
22385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22386 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 case $PKG_CONFIG in
22391 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22395 for as_dir
in $PATH
22398 test -z "$as_dir" && as_dir
=.
22399 for ac_exec_ext
in '' $ac_executable_extensions; do
22400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22401 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22408 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22412 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22414 if test -n "$PKG_CONFIG"; then
22415 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22416 echo "${ECHO_T}$PKG_CONFIG" >&6
22418 echo "$as_me:$LINENO: result: no" >&5
22419 echo "${ECHO_T}no" >&6
22424 if test "$PKG_CONFIG" = "no" ; then
22425 echo "*** The pkg-config script could not be found. Make sure it is"
22426 echo "*** in your path, or set the PKG_CONFIG environment variable"
22427 echo "*** to the full path to pkg-config."
22428 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22430 PKG_CONFIG_MIN_VERSION
=0.9.0
22431 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22432 echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22433 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22435 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22436 echo "$as_me:$LINENO: result: yes" >&5
22437 echo "${ECHO_T}yes" >&6
22440 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22441 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
22442 GSTREAMER_PLUGINS_BASE_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22443 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22444 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
22446 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
22447 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
22448 GSTREAMER_PLUGINS_BASE_LIBS
=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22449 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
22450 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
22452 GSTREAMER_PLUGINS_BASE_CFLAGS
=""
22453 GSTREAMER_PLUGINS_BASE_LIBS
=""
22454 ## If we have a custom action on failure, don't print errors, but
22455 ## do set a variable so people can do so.
22456 GSTREAMER_PLUGINS_BASE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22457 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
22463 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22464 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22468 if test $succeeded = yes; then
22471 { { 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
22472 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;}
22473 { (exit 1); exit 1; }; }
22479 GST_PLUGIN_LDFLAGS
='-module -avoid-version -Wno-unused-parameter -no-undefined'
22482 GSTREAMER_FILE_READER
=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
22483 GSTREAMER_MIXER_PROVIDER
=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
22488 if test "x${COMPILE_QT_PEER}" = xyes
; then
22492 if test -z "$PKG_CONFIG"; then
22493 # Extract the first word of "pkg-config", so it can be a program name with args.
22494 set dummy pkg-config
; ac_word
=$2
22495 echo "$as_me:$LINENO: checking for $ac_word" >&5
22496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 case $PKG_CONFIG in
22502 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22506 for as_dir
in $PATH
22509 test -z "$as_dir" && as_dir
=.
22510 for ac_exec_ext
in '' $ac_executable_extensions; do
22511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22512 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22519 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22523 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22525 if test -n "$PKG_CONFIG"; then
22526 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22527 echo "${ECHO_T}$PKG_CONFIG" >&6
22529 echo "$as_me:$LINENO: result: no" >&5
22530 echo "${ECHO_T}no" >&6
22535 if test "$PKG_CONFIG" = "no" ; then
22536 echo "*** The pkg-config script could not be found. Make sure it is"
22537 echo "*** in your path, or set the PKG_CONFIG environment variable"
22538 echo "*** to the full path to pkg-config."
22539 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22541 PKG_CONFIG_MIN_VERSION
=0.9.0
22542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22543 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
22544 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
22546 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
22547 echo "$as_me:$LINENO: result: yes" >&5
22548 echo "${ECHO_T}yes" >&6
22551 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
22552 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
22553 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
22554 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
22555 echo "${ECHO_T}$QT_CFLAGS" >&6
22557 echo "$as_me:$LINENO: checking QT_LIBS" >&5
22558 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
22559 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
22560 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
22561 echo "${ECHO_T}$QT_LIBS" >&6
22565 ## If we have a custom action on failure, don't print errors, but
22566 ## do set a variable so people can do so.
22567 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
22574 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22575 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22579 if test $succeeded = yes; then
22585 if test "x$HAVE_QT4" = "xyes"; then
22586 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
22587 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
22588 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22589 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
22590 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22591 if eval "test \"\${$as_ac_File+set}\" = set"; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22594 test "$cross_compiling" = yes &&
22595 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22596 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22597 { (exit 1); exit 1; }; }
22598 if test -r "$QT_INCLUDE_DIR/QWidget"; then
22599 eval "$as_ac_File=yes"
22601 eval "$as_ac_File=no"
22604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22605 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22606 if test `eval echo '${'$as_ac_File'}'` = yes; then
22607 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
22608 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
22610 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22611 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
22612 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22613 if eval "test \"\${$as_ac_File+set}\" = set"; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22616 test "$cross_compiling" = yes &&
22617 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22618 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22619 { (exit 1); exit 1; }; }
22620 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
22621 eval "$as_ac_File=yes"
22623 eval "$as_ac_File=no"
22626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22627 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22628 if test `eval echo '${'$as_ac_File'}'` = yes; then
22629 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
22631 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
22632 echo "$as_me: WARNING: QWidget not found" >&2;}
22637 # Extract the first word of "moc", so it can be a program name with args.
22638 set dummy moc
; ac_word
=$2
22639 echo "$as_me:$LINENO: checking for $ac_word" >&5
22640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22641 if test "${ac_cv_prog_MOC+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22644 if test -n "$MOC"; then
22645 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22648 for as_dir
in $PATH
22651 test -z "$as_dir" && as_dir
=.
22652 for ac_exec_ext
in '' $ac_executable_extensions; do
22653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22654 ac_cv_prog_MOC
="moc"
22655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22663 MOC
=$ac_cv_prog_MOC
22664 if test -n "$MOC"; then
22665 echo "$as_me:$LINENO: result: $MOC" >&5
22666 echo "${ECHO_T}$MOC" >&6
22668 echo "$as_me:$LINENO: result: no" >&5
22669 echo "${ECHO_T}no" >&6
22672 # Extract the first word of "moc-qt4", so it can be a program name with args.
22673 set dummy moc-qt4
; ac_word
=$2
22674 echo "$as_me:$LINENO: checking for $ac_word" >&5
22675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22676 if test "${ac_cv_prog_MOC+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 if test -n "$MOC"; then
22680 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22683 for as_dir
in $PATH
22686 test -z "$as_dir" && as_dir
=.
22687 for ac_exec_ext
in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_prog_MOC
="moc-qt4"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22698 MOC
=$ac_cv_prog_MOC
22699 if test -n "$MOC"; then
22700 echo "$as_me:$LINENO: result: $MOC" >&5
22701 echo "${ECHO_T}$MOC" >&6
22703 echo "$as_me:$LINENO: result: no" >&5
22704 echo "${ECHO_T}no" >&6
22708 if test "x$HAVE_QT4" = "xno"; then
22709 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
22710 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
22714 # Check whether --with-qt4dir or --without-qt4dir was given.
22715 if test "${with_qt4dir+set}" = set; then
22716 withval
="$with_qt4dir"
22720 if test x
"$QT4DIR" = x
; then
22721 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
22722 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
22723 { (exit 1); exit 1; }; }
22725 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
22726 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
22727 # Extract the first word of "moc", so it can be a program name with args.
22728 set dummy moc
; ac_word
=$2
22729 echo "$as_me:$LINENO: checking for $ac_word" >&5
22730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22731 if test "${ac_cv_prog_MOC+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 if test -n "$MOC"; then
22735 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22738 for as_dir
in $QT4DIR/bin
22741 test -z "$as_dir" && as_dir
=.
22742 for ac_exec_ext
in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22753 MOC
=$ac_cv_prog_MOC
22754 if test -n "$MOC"; then
22755 echo "$as_me:$LINENO: result: $MOC" >&5
22756 echo "${ECHO_T}$MOC" >&6
22758 echo "$as_me:$LINENO: result: no" >&5
22759 echo "${ECHO_T}no" >&6
22762 if test x
"$MOC" = x
; then
22763 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
22764 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
22765 { (exit 1); exit 1; }; }
22767 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
22768 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
22769 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
22770 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
22773 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
22774 of your installed Qt4 installation." >&5
22775 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
22776 of your installed Qt4 installation." >&2;}
22777 { (exit 1); exit 1; }; }
22781 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
22782 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
22786 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
22787 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
22788 cat >conftest.
$ac_ext <<_ACEOF
22791 cat confdefs.h
>>conftest.
$ac_ext
22792 cat >>conftest.
$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 #include <sys/socket.h>
22798 int f = MSG_NOSIGNAL;
22803 rm -f conftest.
$ac_objext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22805 (eval $ac_compile) 2>conftest.er1
22807 grep -v '^ *+' conftest.er1
>conftest.err
22809 cat conftest.err
>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); } &&
22812 { ac_try
='test -z "$ac_c_werror_flag"
22813 || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try
='test -s conftest.$ac_objext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22825 echo "$as_me:$LINENO: result: yes" >&5
22826 echo "${ECHO_T}yes" >&6
22828 cat >>confdefs.h
<<\_ACEOF
22829 #define HAVE_MSG_NOSIGNAL 1
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.
$ac_ext >&5
22836 echo "$as_me:$LINENO: result: no" >&5
22837 echo "${ECHO_T}no" >&6
22840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22841 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
22842 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
22843 cat >conftest.
$ac_ext <<_ACEOF
22846 cat confdefs.h
>>conftest.
$ac_ext
22847 cat >>conftest.
$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 #include <sys/socket.h>
22853 int f = SO_NOSIGPIPE;
22858 rm -f conftest.
$ac_objext
22859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22860 (eval $ac_compile) 2>conftest.er1
22862 grep -v '^ *+' conftest.er1
>conftest.err
22864 cat conftest.err
>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } &&
22867 { ac_try
='test -z "$ac_c_werror_flag"
22868 || test ! -s conftest.err'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; } &&
22874 { ac_try
='test -s conftest.$ac_objext'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 echo "$as_me:$LINENO: result: yes" >&5
22881 echo "${ECHO_T}yes" >&6
22883 cat >>confdefs.h
<<\_ACEOF
22884 #define HAVE_SO_NOSIGPIPE 1
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.
$ac_ext >&5
22891 echo "$as_me:$LINENO: result: no" >&5
22892 echo "${ECHO_T}no" >&6
22895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22896 echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
22897 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6
22898 cat >conftest.
$ac_ext <<_ACEOF
22901 cat confdefs.h
>>conftest.
$ac_ext
22902 cat >>conftest.
$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904 #include <sys/socket.h>
22908 int f = MSG_WAITALL;
22913 rm -f conftest.
$ac_objext
22914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22915 (eval $ac_compile) 2>conftest.er1
22917 grep -v '^ *+' conftest.er1
>conftest.err
22919 cat conftest.err
>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } &&
22922 { ac_try
='test -z "$ac_c_werror_flag"
22923 || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try
='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935 echo "$as_me:$LINENO: result: yes" >&5
22936 echo "${ECHO_T}yes" >&6
22938 cat >>confdefs.h
<<\_ACEOF
22939 #define HAVE_MSG_WAITALL 1
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 echo "$as_me:$LINENO: result: no" >&5
22947 echo "${ECHO_T}no" >&6
22950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22952 if test "x${COMPILE_PLUGIN}" = xyes
; then
22956 if test -z "$PKG_CONFIG"; then
22957 # Extract the first word of "pkg-config", so it can be a program name with args.
22958 set dummy pkg-config
; ac_word
=$2
22959 echo "$as_me:$LINENO: checking for $ac_word" >&5
22960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22964 case $PKG_CONFIG in
22966 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22970 for as_dir
in $PATH
22973 test -z "$as_dir" && as_dir
=.
22974 for ac_exec_ext
in '' $ac_executable_extensions; do
22975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22976 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22983 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22987 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22989 if test -n "$PKG_CONFIG"; then
22990 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22991 echo "${ECHO_T}$PKG_CONFIG" >&6
22993 echo "$as_me:$LINENO: result: no" >&5
22994 echo "${ECHO_T}no" >&6
22999 if test "$PKG_CONFIG" = "no" ; then
23000 echo "*** The pkg-config script could not be found. Make sure it is"
23001 echo "*** in your path, or set the PKG_CONFIG environment variable"
23002 echo "*** to the full path to pkg-config."
23003 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23005 PKG_CONFIG_MIN_VERSION
=0.9.0
23006 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23007 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
23008 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
23010 if $PKG_CONFIG --exists "mozilla-plugin" ; then
23011 echo "$as_me:$LINENO: result: yes" >&5
23012 echo "${ECHO_T}yes" >&6
23015 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23016 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23017 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
23018 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23019 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23021 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23022 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23023 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
23024 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23025 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23029 ## If we have a custom action on failure, don't print errors, but
23030 ## do set a variable so people can do so.
23031 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
23038 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23039 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23043 if test $succeeded = yes; then
23049 if test "x${MOZILLA_FOUND}" = xno
; then
23053 if test -z "$PKG_CONFIG"; then
23054 # Extract the first word of "pkg-config", so it can be a program name with args.
23055 set dummy pkg-config
; ac_word
=$2
23056 echo "$as_me:$LINENO: checking for $ac_word" >&5
23057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 case $PKG_CONFIG in
23063 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23067 for as_dir
in $PATH
23070 test -z "$as_dir" && as_dir
=.
23071 for ac_exec_ext
in '' $ac_executable_extensions; do
23072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23073 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23080 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23084 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23086 if test -n "$PKG_CONFIG"; then
23087 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23088 echo "${ECHO_T}$PKG_CONFIG" >&6
23090 echo "$as_me:$LINENO: result: no" >&5
23091 echo "${ECHO_T}no" >&6
23096 if test "$PKG_CONFIG" = "no" ; then
23097 echo "*** The pkg-config script could not be found. Make sure it is"
23098 echo "*** in your path, or set the PKG_CONFIG environment variable"
23099 echo "*** to the full path to pkg-config."
23100 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23102 PKG_CONFIG_MIN_VERSION
=0.9.0
23103 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23104 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
23105 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
23107 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
23108 echo "$as_me:$LINENO: result: yes" >&5
23109 echo "${ECHO_T}yes" >&6
23112 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23113 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23114 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
23115 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23116 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23118 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23119 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23120 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
23121 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23122 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23126 ## If we have a custom action on failure, don't print errors, but
23127 ## do set a variable so people can do so.
23128 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
23135 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23136 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23140 if test $succeeded = yes; then
23147 if test "x${MOZILLA_FOUND}" = xno
; then
23151 if test -z "$PKG_CONFIG"; then
23152 # Extract the first word of "pkg-config", so it can be a program name with args.
23153 set dummy pkg-config
; ac_word
=$2
23154 echo "$as_me:$LINENO: checking for $ac_word" >&5
23155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23156 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 case $PKG_CONFIG in
23161 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23165 for as_dir
in $PATH
23168 test -z "$as_dir" && as_dir
=.
23169 for ac_exec_ext
in '' $ac_executable_extensions; do
23170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23171 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23178 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23182 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23184 if test -n "$PKG_CONFIG"; then
23185 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23186 echo "${ECHO_T}$PKG_CONFIG" >&6
23188 echo "$as_me:$LINENO: result: no" >&5
23189 echo "${ECHO_T}no" >&6
23194 if test "$PKG_CONFIG" = "no" ; then
23195 echo "*** The pkg-config script could not be found. Make sure it is"
23196 echo "*** in your path, or set the PKG_CONFIG environment variable"
23197 echo "*** to the full path to pkg-config."
23198 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23200 PKG_CONFIG_MIN_VERSION
=0.9.0
23201 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23202 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
23203 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
23205 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
23206 echo "$as_me:$LINENO: result: yes" >&5
23207 echo "${ECHO_T}yes" >&6
23210 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23211 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23212 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
23213 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23214 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23216 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23217 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23218 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
23219 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23220 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23224 ## If we have a custom action on failure, don't print errors, but
23225 ## do set a variable so people can do so.
23226 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
23233 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23234 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23238 if test $succeeded = yes; then
23245 if test "x${MOZILLA_FOUND}" = xno
; then
23249 if test -z "$PKG_CONFIG"; then
23250 # Extract the first word of "pkg-config", so it can be a program name with args.
23251 set dummy pkg-config
; ac_word
=$2
23252 echo "$as_me:$LINENO: checking for $ac_word" >&5
23253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23257 case $PKG_CONFIG in
23259 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23263 for as_dir
in $PATH
23266 test -z "$as_dir" && as_dir
=.
23267 for ac_exec_ext
in '' $ac_executable_extensions; do
23268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23269 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23276 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23280 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23282 if test -n "$PKG_CONFIG"; then
23283 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23284 echo "${ECHO_T}$PKG_CONFIG" >&6
23286 echo "$as_me:$LINENO: result: no" >&5
23287 echo "${ECHO_T}no" >&6
23292 if test "$PKG_CONFIG" = "no" ; then
23293 echo "*** The pkg-config script could not be found. Make sure it is"
23294 echo "*** in your path, or set the PKG_CONFIG environment variable"
23295 echo "*** to the full path to pkg-config."
23296 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23298 PKG_CONFIG_MIN_VERSION
=0.9.0
23299 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23300 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
23301 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
23303 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
23304 echo "$as_me:$LINENO: result: yes" >&5
23305 echo "${ECHO_T}yes" >&6
23308 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23309 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23310 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23311 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23312 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23314 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23315 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23316 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23317 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23318 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23322 ## If we have a custom action on failure, don't print errors, but
23323 ## do set a variable so people can do so.
23324 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23331 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23332 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23336 if test $succeeded = yes; then
23343 if test "x${MOZILLA_FOUND}" = xno
; then
23347 if test -z "$PKG_CONFIG"; then
23348 # Extract the first word of "pkg-config", so it can be a program name with args.
23349 set dummy pkg-config
; ac_word
=$2
23350 echo "$as_me:$LINENO: checking for $ac_word" >&5
23351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23352 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23353 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 case $PKG_CONFIG in
23357 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23361 for as_dir
in $PATH
23364 test -z "$as_dir" && as_dir
=.
23365 for ac_exec_ext
in '' $ac_executable_extensions; do
23366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23367 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23374 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23378 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23380 if test -n "$PKG_CONFIG"; then
23381 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23382 echo "${ECHO_T}$PKG_CONFIG" >&6
23384 echo "$as_me:$LINENO: result: no" >&5
23385 echo "${ECHO_T}no" >&6
23390 if test "$PKG_CONFIG" = "no" ; then
23391 echo "*** The pkg-config script could not be found. Make sure it is"
23392 echo "*** in your path, or set the PKG_CONFIG environment variable"
23393 echo "*** to the full path to pkg-config."
23394 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23396 PKG_CONFIG_MIN_VERSION
=0.9.0
23397 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23398 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
23399 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
23401 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
23402 echo "$as_me:$LINENO: result: yes" >&5
23403 echo "${ECHO_T}yes" >&6
23406 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23407 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23408 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
23409 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23410 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23412 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23413 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23414 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
23415 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23416 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23420 ## If we have a custom action on failure, don't print errors, but
23421 ## do set a variable so people can do so.
23422 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
23429 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23430 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23434 if test $succeeded = yes; then
23441 if test "x${MOZILLA_FOUND}" = xno
; then
23445 if test -z "$PKG_CONFIG"; then
23446 # Extract the first word of "pkg-config", so it can be a program name with args.
23447 set dummy pkg-config
; ac_word
=$2
23448 echo "$as_me:$LINENO: checking for $ac_word" >&5
23449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23453 case $PKG_CONFIG in
23455 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23459 for as_dir
in $PATH
23462 test -z "$as_dir" && as_dir
=.
23463 for ac_exec_ext
in '' $ac_executable_extensions; do
23464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23465 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23472 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23476 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23478 if test -n "$PKG_CONFIG"; then
23479 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23480 echo "${ECHO_T}$PKG_CONFIG" >&6
23482 echo "$as_me:$LINENO: result: no" >&5
23483 echo "${ECHO_T}no" >&6
23488 if test "$PKG_CONFIG" = "no" ; then
23489 echo "*** The pkg-config script could not be found. Make sure it is"
23490 echo "*** in your path, or set the PKG_CONFIG environment variable"
23491 echo "*** to the full path to pkg-config."
23492 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23494 PKG_CONFIG_MIN_VERSION
=0.9.0
23495 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23496 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
23497 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
23499 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23500 echo "$as_me:$LINENO: result: yes" >&5
23501 echo "${ECHO_T}yes" >&6
23504 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23505 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23506 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23507 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23508 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23510 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23511 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23512 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23513 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23514 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23518 ## If we have a custom action on failure, don't print errors, but
23519 ## do set a variable so people can do so.
23520 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23527 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23528 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23532 if test $succeeded = yes; then
23539 if test "x${MOZILLA_FOUND}" = xno
; then
23540 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
23541 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
23542 { (exit 1); exit 1; }; }
23548 if test -z "$PKG_CONFIG"; then
23549 # Extract the first word of "pkg-config", so it can be a program name with args.
23550 set dummy pkg-config
; ac_word
=$2
23551 echo "$as_me:$LINENO: checking for $ac_word" >&5
23552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23553 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 case $PKG_CONFIG in
23558 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23562 for as_dir
in $PATH
23565 test -z "$as_dir" && as_dir
=.
23566 for ac_exec_ext
in '' $ac_executable_extensions; do
23567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23568 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23575 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23579 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23581 if test -n "$PKG_CONFIG"; then
23582 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23583 echo "${ECHO_T}$PKG_CONFIG" >&6
23585 echo "$as_me:$LINENO: result: no" >&5
23586 echo "${ECHO_T}no" >&6
23591 if test "$PKG_CONFIG" = "no" ; then
23592 echo "*** The pkg-config script could not be found. Make sure it is"
23593 echo "*** in your path, or set the PKG_CONFIG environment variable"
23594 echo "*** to the full path to pkg-config."
23595 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23597 PKG_CONFIG_MIN_VERSION
=0.9.0
23598 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23599 echo "$as_me:$LINENO: checking for glib-2.0" >&5
23600 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
23602 if $PKG_CONFIG --exists "glib-2.0" ; then
23603 echo "$as_me:$LINENO: result: yes" >&5
23604 echo "${ECHO_T}yes" >&6
23607 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
23608 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
23609 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
23610 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
23611 echo "${ECHO_T}$GLIB_CFLAGS" >&6
23613 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
23614 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
23615 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
23616 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
23617 echo "${ECHO_T}$GLIB_LIBS" >&6
23621 ## If we have a custom action on failure, don't print errors, but
23622 ## do set a variable so people can do so.
23623 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23624 echo $GLIB_PKG_ERRORS
23630 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23631 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23635 if test $succeeded = yes; then
23638 { { 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
23639 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;}
23640 { (exit 1); exit 1; }; }
23646 if test -z "$PKG_CONFIG"; then
23647 # Extract the first word of "pkg-config", so it can be a program name with args.
23648 set dummy pkg-config
; ac_word
=$2
23649 echo "$as_me:$LINENO: checking for $ac_word" >&5
23650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 case $PKG_CONFIG in
23656 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23660 for as_dir
in $PATH
23663 test -z "$as_dir" && as_dir
=.
23664 for ac_exec_ext
in '' $ac_executable_extensions; do
23665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23666 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23677 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23679 if test -n "$PKG_CONFIG"; then
23680 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23681 echo "${ECHO_T}$PKG_CONFIG" >&6
23683 echo "$as_me:$LINENO: result: no" >&5
23684 echo "${ECHO_T}no" >&6
23689 if test "$PKG_CONFIG" = "no" ; then
23690 echo "*** The pkg-config script could not be found. Make sure it is"
23691 echo "*** in your path, or set the PKG_CONFIG environment variable"
23692 echo "*** to the full path to pkg-config."
23693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23695 PKG_CONFIG_MIN_VERSION
=0.9.0
23696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23697 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23698 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
23700 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23701 echo "$as_me:$LINENO: result: yes" >&5
23702 echo "${ECHO_T}yes" >&6
23705 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
23706 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
23707 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23708 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
23709 echo "${ECHO_T}$GTK_CFLAGS" >&6
23711 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
23712 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
23713 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23714 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
23715 echo "${ECHO_T}$GTK_LIBS" >&6
23719 ## If we have a custom action on failure, don't print errors, but
23720 ## do set a variable so people can do so.
23721 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23722 echo $GTK_PKG_ERRORS
23728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23733 if test $succeeded = yes; then
23736 { { 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
23737 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;}
23738 { (exit 1); exit 1; }; }
23749 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23754 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
23757 # Check whether --with-javah or --without-javah was given.
23758 if test "${with_javah+set}" = set; then
23759 withval
="$with_javah"
23761 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23763 if test "x${withval}" != x
; then
23764 if test -f "${withval}"; then
23765 USER_JAVAH
="${withval}"
23767 # Extract the first word of ""${withval}"", so it can be a program name with args.
23768 set dummy
"${withval}"; ac_word
=$2
23769 echo "$as_me:$LINENO: checking for $ac_word" >&5
23770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23771 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23774 case $USER_JAVAH in
23776 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23780 for as_dir
in $PATH
23783 test -z "$as_dir" && as_dir
=.
23784 for ac_exec_ext
in '' $ac_executable_extensions; do
23785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23786 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23796 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23798 if test -n "$USER_JAVAH"; then
23799 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23800 echo "${ECHO_T}$USER_JAVAH" >&6
23802 echo "$as_me:$LINENO: result: no" >&5
23803 echo "${ECHO_T}no" >&6
23808 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23810 # Extract the first word of "$ac_prog", so it can be a program name with args.
23811 set dummy
$ac_prog; ac_word
=$2
23812 echo "$as_me:$LINENO: checking for $ac_word" >&5
23813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23814 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23815 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 case $USER_JAVAH in
23819 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23823 for as_dir
in $PATH
23826 test -z "$as_dir" && as_dir
=.
23827 for ac_exec_ext
in '' $ac_executable_extensions; do
23828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23829 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23839 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23841 if test -n "$USER_JAVAH"; then
23842 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23843 echo "${ECHO_T}$USER_JAVAH" >&6
23845 echo "$as_me:$LINENO: result: no" >&5
23846 echo "${ECHO_T}no" >&6
23849 test -n "$USER_JAVAH" && break
23854 if test "x${USER_JAVAH}" = x
; then
23855 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23856 echo "$as_me: error: can not find javah" >&2;}
23857 { (exit 1); exit 1; }; }
23862 if test "x" != x
; then
23863 if test -f ""; then
23866 # Extract the first word of """", so it can be a program name with args.
23867 set dummy
""; ac_word
=$2
23868 echo "$as_me:$LINENO: checking for $ac_word" >&5
23869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23870 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23871 echo $ECHO_N "(cached) $ECHO_C" >&6
23873 case $USER_JAVAH in
23875 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23879 for as_dir
in $PATH
23882 test -z "$as_dir" && as_dir
=.
23883 for ac_exec_ext
in '' $ac_executable_extensions; do
23884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23885 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23895 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23897 if test -n "$USER_JAVAH"; then
23898 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23899 echo "${ECHO_T}$USER_JAVAH" >&6
23901 echo "$as_me:$LINENO: result: no" >&5
23902 echo "${ECHO_T}no" >&6
23907 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23909 # Extract the first word of "$ac_prog", so it can be a program name with args.
23910 set dummy
$ac_prog; ac_word
=$2
23911 echo "$as_me:$LINENO: checking for $ac_word" >&5
23912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23913 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23916 case $USER_JAVAH in
23918 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23922 for as_dir
in $PATH
23925 test -z "$as_dir" && as_dir
=.
23926 for ac_exec_ext
in '' $ac_executable_extensions; do
23927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23928 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23938 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23940 if test -n "$USER_JAVAH"; then
23941 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23942 echo "${ECHO_T}$USER_JAVAH" >&6
23944 echo "$as_me:$LINENO: result: no" >&5
23945 echo "${ECHO_T}no" >&6
23948 test -n "$USER_JAVAH" && break
23953 if test "x${USER_JAVAH}" = x
; then
23954 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23955 echo "$as_me: error: can not find javah" >&2;}
23956 { (exit 1); exit 1; }; }
23964 if test "x" != x
; then
23965 if test -f ""; then
23968 # Extract the first word of """", so it can be a program name with args.
23969 set dummy
""; ac_word
=$2
23970 echo "$as_me:$LINENO: checking for $ac_word" >&5
23971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23972 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 case $USER_JAVAH in
23977 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23981 for as_dir
in $PATH
23984 test -z "$as_dir" && as_dir
=.
23985 for ac_exec_ext
in '' $ac_executable_extensions; do
23986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23987 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23997 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23999 if test -n "$USER_JAVAH"; then
24000 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
24001 echo "${ECHO_T}$USER_JAVAH" >&6
24003 echo "$as_me:$LINENO: result: no" >&5
24004 echo "${ECHO_T}no" >&6
24009 for ac_prog
in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
24011 # Extract the first word of "$ac_prog", so it can be a program name with args.
24012 set dummy
$ac_prog; ac_word
=$2
24013 echo "$as_me:$LINENO: checking for $ac_word" >&5
24014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24015 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24018 case $USER_JAVAH in
24020 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
24023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24024 for as_dir
in $PATH
24027 test -z "$as_dir" && as_dir
=.
24028 for ac_exec_ext
in '' $ac_executable_extensions; do
24029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24030 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
24031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24040 USER_JAVAH
=$ac_cv_path_USER_JAVAH
24042 if test -n "$USER_JAVAH"; then
24043 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
24044 echo "${ECHO_T}$USER_JAVAH" >&6
24046 echo "$as_me:$LINENO: result: no" >&5
24047 echo "${ECHO_T}no" >&6
24050 test -n "$USER_JAVAH" && break
24055 if test "x${USER_JAVAH}" = x
; then
24056 { { echo "$as_me:$LINENO: error: can not find javah" >&5
24057 echo "$as_me: error: can not find javah" >&2;}
24058 { (exit 1); exit 1; }; }
24067 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
24070 if test "x${COMPILE_JNI}" = xyes
; then
24071 echo "$as_me:$LINENO: checking jni_md.h support" >&5
24072 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
24073 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
24074 echo "$as_me:$LINENO: result: yes" >&5
24075 echo "${ECHO_T}yes" >&6
24078 target_os
=linux-gnu
24079 { echo "$as_me:$LINENO: WARNING: no" >&5
24080 echo "$as_me: WARNING: no" >&2;}
24082 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
24083 ac_dests
="include/jni_md.h"
24084 while test -n "$ac_sources"; do
24085 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
24086 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
24087 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
24089 ac_config_links
="$ac_config_links $ac_config_links_1"
24094 user_specified_javac
=
24098 # Check whether --with-gcj or --without-gcj was given.
24099 if test "${with_gcj+set}" = set; then
24100 withval
="$with_gcj"
24102 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24104 if test "x${withval}" != x
; then
24105 if test -f "${withval}"; then
24108 # Extract the first word of ""${withval}"", so it can be a program name with args.
24109 set dummy
"${withval}"; ac_word
=$2
24110 echo "$as_me:$LINENO: checking for $ac_word" >&5
24111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24112 if test "${ac_cv_path_GCJ+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24121 for as_dir
in $PATH
24124 test -z "$as_dir" && as_dir
=.
24125 for ac_exec_ext
in '' $ac_executable_extensions; do
24126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24127 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24137 GCJ
=$ac_cv_path_GCJ
24139 if test -n "$GCJ"; then
24140 echo "$as_me:$LINENO: result: $GCJ" >&5
24141 echo "${ECHO_T}$GCJ" >&6
24143 echo "$as_me:$LINENO: result: no" >&5
24144 echo "${ECHO_T}no" >&6
24149 # Extract the first word of ""gcj"", so it can be a program name with args.
24150 set dummy
"gcj"; ac_word
=$2
24151 echo "$as_me:$LINENO: checking for $ac_word" >&5
24152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24153 if test "${ac_cv_path_GCJ+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24162 for as_dir
in $PATH
24165 test -z "$as_dir" && as_dir
=.
24166 for ac_exec_ext
in '' $ac_executable_extensions; do
24167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24168 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24178 GCJ
=$ac_cv_path_GCJ
24180 if test -n "$GCJ"; then
24181 echo "$as_me:$LINENO: result: $GCJ" >&5
24182 echo "${ECHO_T}$GCJ" >&6
24184 echo "$as_me:$LINENO: result: no" >&5
24185 echo "${ECHO_T}no" >&6
24189 if test "x$GCJ" != x
; then
24190 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24191 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24193 ac_cpp
='$CPP $CPPFLAGS'
24194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24198 cat >conftest.
$ac_ext <<_ACEOF
24200 #error GCJ 4.0.0 or higher is required
24204 $GCJ -E conftest.c
> /dev
/null
24206 if test "x$gcj_4_result" = "x0"; then
24207 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24208 echo "${ECHO_T}4.0 or higher found" >&6
24210 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24211 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24214 ac_cpp
='$CPP $CPPFLAGS'
24215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24222 if test "x${withval}" != xno
; then
24224 if test "x" != x
; then
24225 if test -f ""; then
24228 # Extract the first word of """", so it can be a program name with args.
24229 set dummy
""; ac_word
=$2
24230 echo "$as_me:$LINENO: checking for $ac_word" >&5
24231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24232 if test "${ac_cv_path_GCJ+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24237 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24241 for as_dir
in $PATH
24244 test -z "$as_dir" && as_dir
=.
24245 for ac_exec_ext
in '' $ac_executable_extensions; do
24246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24247 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24257 GCJ
=$ac_cv_path_GCJ
24259 if test -n "$GCJ"; then
24260 echo "$as_me:$LINENO: result: $GCJ" >&5
24261 echo "${ECHO_T}$GCJ" >&6
24263 echo "$as_me:$LINENO: result: no" >&5
24264 echo "${ECHO_T}no" >&6
24269 # Extract the first word of ""gcj"", so it can be a program name with args.
24270 set dummy
"gcj"; ac_word
=$2
24271 echo "$as_me:$LINENO: checking for $ac_word" >&5
24272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24273 if test "${ac_cv_path_GCJ+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24278 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24282 for as_dir
in $PATH
24285 test -z "$as_dir" && as_dir
=.
24286 for ac_exec_ext
in '' $ac_executable_extensions; do
24287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24288 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24298 GCJ
=$ac_cv_path_GCJ
24300 if test -n "$GCJ"; then
24301 echo "$as_me:$LINENO: result: $GCJ" >&5
24302 echo "${ECHO_T}$GCJ" >&6
24304 echo "$as_me:$LINENO: result: no" >&5
24305 echo "${ECHO_T}no" >&6
24309 if test "x$GCJ" != x
; then
24310 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24311 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24313 ac_cpp
='$CPP $CPPFLAGS'
24314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24318 cat >conftest.
$ac_ext <<_ACEOF
24320 #error GCJ 4.0.0 or higher is required
24324 $GCJ -E conftest.c
> /dev
/null
24326 if test "x$gcj_4_result" = "x0"; then
24327 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24328 echo "${ECHO_T}4.0 or higher found" >&6
24330 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24331 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24334 ac_cpp
='$CPP $CPPFLAGS'
24335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24343 user_specified_javac
=gcj
24348 if test "x" != x
; then
24349 if test -f ""; then
24352 # Extract the first word of """", so it can be a program name with args.
24353 set dummy
""; ac_word
=$2
24354 echo "$as_me:$LINENO: checking for $ac_word" >&5
24355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24356 if test "${ac_cv_path_GCJ+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24365 for as_dir
in $PATH
24368 test -z "$as_dir" && as_dir
=.
24369 for ac_exec_ext
in '' $ac_executable_extensions; do
24370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24371 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24381 GCJ
=$ac_cv_path_GCJ
24383 if test -n "$GCJ"; then
24384 echo "$as_me:$LINENO: result: $GCJ" >&5
24385 echo "${ECHO_T}$GCJ" >&6
24387 echo "$as_me:$LINENO: result: no" >&5
24388 echo "${ECHO_T}no" >&6
24393 # Extract the first word of ""gcj"", so it can be a program name with args.
24394 set dummy
"gcj"; ac_word
=$2
24395 echo "$as_me:$LINENO: checking for $ac_word" >&5
24396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24397 if test "${ac_cv_path_GCJ+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24402 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
24405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24406 for as_dir
in $PATH
24409 test -z "$as_dir" && as_dir
=.
24410 for ac_exec_ext
in '' $ac_executable_extensions; do
24411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24412 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
24413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24422 GCJ
=$ac_cv_path_GCJ
24424 if test -n "$GCJ"; then
24425 echo "$as_me:$LINENO: result: $GCJ" >&5
24426 echo "${ECHO_T}$GCJ" >&6
24428 echo "$as_me:$LINENO: result: no" >&5
24429 echo "${ECHO_T}no" >&6
24433 if test "x$GCJ" != x
; then
24434 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24435 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24437 ac_cpp
='$CPP $CPPFLAGS'
24438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24442 cat >conftest.
$ac_ext <<_ACEOF
24444 #error GCJ 4.0.0 or higher is required
24448 $GCJ -E conftest.c
> /dev
/null
24450 if test "x$gcj_4_result" = "x0"; then
24451 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24452 echo "${ECHO_T}4.0 or higher found" >&6
24454 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24455 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24458 ac_cpp
='$CPP $CPPFLAGS'
24459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24471 # Check whether --with-jikes or --without-jikes was given.
24472 if test "${with_jikes+set}" = set; then
24473 withval
="$with_jikes"
24475 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24477 if test "x${withval}" != x
; then
24478 if test -f "${withval}"; then
24481 # Extract the first word of ""${withval}"", so it can be a program name with args.
24482 set dummy
"${withval}"; ac_word
=$2
24483 echo "$as_me:$LINENO: checking for $ac_word" >&5
24484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24485 if test "${ac_cv_path_JIKES+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24490 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24494 for as_dir
in $PATH
24497 test -z "$as_dir" && as_dir
=.
24498 for ac_exec_ext
in '' $ac_executable_extensions; do
24499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24500 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24510 JIKES
=$ac_cv_path_JIKES
24512 if test -n "$JIKES"; then
24513 echo "$as_me:$LINENO: result: $JIKES" >&5
24514 echo "${ECHO_T}$JIKES" >&6
24516 echo "$as_me:$LINENO: result: no" >&5
24517 echo "${ECHO_T}no" >&6
24522 # Extract the first word of ""jikes"", so it can be a program name with args.
24523 set dummy
"jikes"; ac_word
=$2
24524 echo "$as_me:$LINENO: checking for $ac_word" >&5
24525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24526 if test "${ac_cv_path_JIKES+set}" = set; then
24527 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24535 for as_dir
in $PATH
24538 test -z "$as_dir" && as_dir
=.
24539 for ac_exec_ext
in '' $ac_executable_extensions; do
24540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24541 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24551 JIKES
=$ac_cv_path_JIKES
24553 if test -n "$JIKES"; then
24554 echo "$as_me:$LINENO: result: $JIKES" >&5
24555 echo "${ECHO_T}$JIKES" >&6
24557 echo "$as_me:$LINENO: result: no" >&5
24558 echo "${ECHO_T}no" >&6
24562 if test "x$JIKES" != "x"; then
24563 echo "$as_me:$LINENO: checking jikes version" >&5
24564 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24565 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24566 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24567 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24568 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24569 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24573 if test "x$JIKES" != "x"; then
24574 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24575 echo "${ECHO_T}$JIKES_VERSION" >&6
24577 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24578 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24582 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24583 JIKESENCODING
='-encoding UTF-8'
24587 JIKESWARNINGS
="+Pno-switchcheck"
24588 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24589 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24590 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24598 if test "x${withval}" != xno
; then
24600 if test "x" != x
; then
24601 if test -f ""; then
24604 # Extract the first word of """", so it can be a program name with args.
24605 set dummy
""; ac_word
=$2
24606 echo "$as_me:$LINENO: checking for $ac_word" >&5
24607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24608 if test "${ac_cv_path_JIKES+set}" = set; then
24609 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24617 for as_dir
in $PATH
24620 test -z "$as_dir" && as_dir
=.
24621 for ac_exec_ext
in '' $ac_executable_extensions; do
24622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24623 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24633 JIKES
=$ac_cv_path_JIKES
24635 if test -n "$JIKES"; then
24636 echo "$as_me:$LINENO: result: $JIKES" >&5
24637 echo "${ECHO_T}$JIKES" >&6
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24645 # Extract the first word of ""jikes"", so it can be a program name with args.
24646 set dummy
"jikes"; ac_word
=$2
24647 echo "$as_me:$LINENO: checking for $ac_word" >&5
24648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24649 if test "${ac_cv_path_JIKES+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24658 for as_dir
in $PATH
24661 test -z "$as_dir" && as_dir
=.
24662 for ac_exec_ext
in '' $ac_executable_extensions; do
24663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24664 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24674 JIKES
=$ac_cv_path_JIKES
24676 if test -n "$JIKES"; then
24677 echo "$as_me:$LINENO: result: $JIKES" >&5
24678 echo "${ECHO_T}$JIKES" >&6
24680 echo "$as_me:$LINENO: result: no" >&5
24681 echo "${ECHO_T}no" >&6
24685 if test "x$JIKES" != "x"; then
24686 echo "$as_me:$LINENO: checking jikes version" >&5
24687 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24688 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24689 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24690 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24691 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24692 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24696 if test "x$JIKES" != "x"; then
24697 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24698 echo "${ECHO_T}$JIKES_VERSION" >&6
24700 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24701 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24705 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24706 JIKESENCODING
='-encoding UTF-8'
24710 JIKESWARNINGS
="+Pno-switchcheck"
24711 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24712 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24713 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24722 user_specified_javac
=jikes
24727 if test "x" != x
; then
24728 if test -f ""; then
24731 # Extract the first word of """", so it can be a program name with args.
24732 set dummy
""; ac_word
=$2
24733 echo "$as_me:$LINENO: checking for $ac_word" >&5
24734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24735 if test "${ac_cv_path_JIKES+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24740 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24744 for as_dir
in $PATH
24747 test -z "$as_dir" && as_dir
=.
24748 for ac_exec_ext
in '' $ac_executable_extensions; do
24749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24750 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24760 JIKES
=$ac_cv_path_JIKES
24762 if test -n "$JIKES"; then
24763 echo "$as_me:$LINENO: result: $JIKES" >&5
24764 echo "${ECHO_T}$JIKES" >&6
24766 echo "$as_me:$LINENO: result: no" >&5
24767 echo "${ECHO_T}no" >&6
24772 # Extract the first word of ""jikes"", so it can be a program name with args.
24773 set dummy
"jikes"; ac_word
=$2
24774 echo "$as_me:$LINENO: checking for $ac_word" >&5
24775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24776 if test "${ac_cv_path_JIKES+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24785 for as_dir
in $PATH
24788 test -z "$as_dir" && as_dir
=.
24789 for ac_exec_ext
in '' $ac_executable_extensions; do
24790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24791 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24801 JIKES
=$ac_cv_path_JIKES
24803 if test -n "$JIKES"; then
24804 echo "$as_me:$LINENO: result: $JIKES" >&5
24805 echo "${ECHO_T}$JIKES" >&6
24807 echo "$as_me:$LINENO: result: no" >&5
24808 echo "${ECHO_T}no" >&6
24812 if test "x$JIKES" != "x"; then
24813 echo "$as_me:$LINENO: checking jikes version" >&5
24814 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24815 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24816 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24817 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24818 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24819 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24823 if test "x$JIKES" != "x"; then
24824 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24825 echo "${ECHO_T}$JIKES_VERSION" >&6
24827 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24828 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24832 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24833 JIKESENCODING
='-encoding UTF-8'
24837 JIKESWARNINGS
="+Pno-switchcheck"
24838 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24839 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24840 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24853 # Check whether --with-kjc or --without-kjc was given.
24854 if test "${with_kjc+set}" = set; then
24855 withval
="$with_kjc"
24857 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24859 if test "x${withval}" != x
; then
24860 if test -f "${withval}"; then
24863 # Extract the first word of ""${withval}"", so it can be a program name with args.
24864 set dummy
"${withval}"; ac_word
=$2
24865 echo "$as_me:$LINENO: checking for $ac_word" >&5
24866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24867 if test "${ac_cv_path_KJC+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24876 for as_dir
in $PATH
24879 test -z "$as_dir" && as_dir
=.
24880 for ac_exec_ext
in '' $ac_executable_extensions; do
24881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24882 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24892 KJC
=$ac_cv_path_KJC
24894 if test -n "$KJC"; then
24895 echo "$as_me:$LINENO: result: $KJC" >&5
24896 echo "${ECHO_T}$KJC" >&6
24898 echo "$as_me:$LINENO: result: no" >&5
24899 echo "${ECHO_T}no" >&6
24904 # Extract the first word of ""kJC"", so it can be a program name with args.
24905 set dummy
"kJC"; ac_word
=$2
24906 echo "$as_me:$LINENO: checking for $ac_word" >&5
24907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24908 if test "${ac_cv_path_KJC+set}" = set; then
24909 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24917 for as_dir
in $PATH
24920 test -z "$as_dir" && as_dir
=.
24921 for ac_exec_ext
in '' $ac_executable_extensions; do
24922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24923 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24933 KJC
=$ac_cv_path_KJC
24935 if test -n "$KJC"; then
24936 echo "$as_me:$LINENO: result: $KJC" >&5
24937 echo "${ECHO_T}$KJC" >&6
24939 echo "$as_me:$LINENO: result: no" >&5
24940 echo "${ECHO_T}no" >&6
24946 if test "x${withval}" != xno
; then
24948 if test "x" != x
; then
24949 if test -f ""; then
24952 # Extract the first word of """", so it can be a program name with args.
24953 set dummy
""; ac_word
=$2
24954 echo "$as_me:$LINENO: checking for $ac_word" >&5
24955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24956 if test "${ac_cv_path_KJC+set}" = set; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24965 for as_dir
in $PATH
24968 test -z "$as_dir" && as_dir
=.
24969 for ac_exec_ext
in '' $ac_executable_extensions; do
24970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24971 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24981 KJC
=$ac_cv_path_KJC
24983 if test -n "$KJC"; then
24984 echo "$as_me:$LINENO: result: $KJC" >&5
24985 echo "${ECHO_T}$KJC" >&6
24987 echo "$as_me:$LINENO: result: no" >&5
24988 echo "${ECHO_T}no" >&6
24993 # Extract the first word of ""kJC"", so it can be a program name with args.
24994 set dummy
"kJC"; ac_word
=$2
24995 echo "$as_me:$LINENO: checking for $ac_word" >&5
24996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24997 if test "${ac_cv_path_KJC+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
25005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25006 for as_dir
in $PATH
25009 test -z "$as_dir" && as_dir
=.
25010 for ac_exec_ext
in '' $ac_executable_extensions; do
25011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25012 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
25013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25022 KJC
=$ac_cv_path_KJC
25024 if test -n "$KJC"; then
25025 echo "$as_me:$LINENO: result: $KJC" >&5
25026 echo "${ECHO_T}$KJC" >&6
25028 echo "$as_me:$LINENO: result: no" >&5
25029 echo "${ECHO_T}no" >&6
25036 user_specified_javac
=kjc
25041 if test "x" != x
; then
25042 if test -f ""; then
25045 # Extract the first word of """", so it can be a program name with args.
25046 set dummy
""; ac_word
=$2
25047 echo "$as_me:$LINENO: checking for $ac_word" >&5
25048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25049 if test "${ac_cv_path_KJC+set}" = set; then
25050 echo $ECHO_N "(cached) $ECHO_C" >&6
25054 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
25057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25058 for as_dir
in $PATH
25061 test -z "$as_dir" && as_dir
=.
25062 for ac_exec_ext
in '' $ac_executable_extensions; do
25063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25064 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
25065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25074 KJC
=$ac_cv_path_KJC
25076 if test -n "$KJC"; then
25077 echo "$as_me:$LINENO: result: $KJC" >&5
25078 echo "${ECHO_T}$KJC" >&6
25080 echo "$as_me:$LINENO: result: no" >&5
25081 echo "${ECHO_T}no" >&6
25086 # Extract the first word of ""kJC"", so it can be a program name with args.
25087 set dummy
"kJC"; ac_word
=$2
25088 echo "$as_me:$LINENO: checking for $ac_word" >&5
25089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25090 if test "${ac_cv_path_KJC+set}" = set; then
25091 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
25098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25099 for as_dir
in $PATH
25102 test -z "$as_dir" && as_dir
=.
25103 for ac_exec_ext
in '' $ac_executable_extensions; do
25104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25105 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
25106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25115 KJC
=$ac_cv_path_KJC
25117 if test -n "$KJC"; then
25118 echo "$as_me:$LINENO: result: $KJC" >&5
25119 echo "${ECHO_T}$KJC" >&6
25121 echo "$as_me:$LINENO: result: no" >&5
25122 echo "${ECHO_T}no" >&6
25133 # Check whether --with-ecj or --without-ecj was given.
25134 if test "${with_ecj+set}" = set; then
25135 withval
="$with_ecj"
25137 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
25139 if test "x${withval}" != x
; then
25140 if test -f "${withval}"; then
25143 # Extract the first word of ""${withval}"", so it can be a program name with args.
25144 set dummy
"${withval}"; ac_word
=$2
25145 echo "$as_me:$LINENO: checking for $ac_word" >&5
25146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25147 if test "${ac_cv_path_ECJ+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25156 for as_dir
in $PATH
25159 test -z "$as_dir" && as_dir
=.
25160 for ac_exec_ext
in '' $ac_executable_extensions; do
25161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25162 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25172 ECJ
=$ac_cv_path_ECJ
25174 if test -n "$ECJ"; then
25175 echo "$as_me:$LINENO: result: $ECJ" >&5
25176 echo "${ECHO_T}$ECJ" >&6
25178 echo "$as_me:$LINENO: result: no" >&5
25179 echo "${ECHO_T}no" >&6
25184 # Extract the first word of ""ecj"", so it can be a program name with args.
25185 set dummy
"ecj"; ac_word
=$2
25186 echo "$as_me:$LINENO: checking for $ac_word" >&5
25187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25188 if test "${ac_cv_path_ECJ+set}" = set; then
25189 echo $ECHO_N "(cached) $ECHO_C" >&6
25193 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25197 for as_dir
in $PATH
25200 test -z "$as_dir" && as_dir
=.
25201 for ac_exec_ext
in '' $ac_executable_extensions; do
25202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25203 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25213 ECJ
=$ac_cv_path_ECJ
25215 if test -n "$ECJ"; then
25216 echo "$as_me:$LINENO: result: $ECJ" >&5
25217 echo "${ECHO_T}$ECJ" >&6
25219 echo "$as_me:$LINENO: result: no" >&5
25220 echo "${ECHO_T}no" >&6
25226 if test "x${withval}" != xno
; then
25228 if test "x" != x
; then
25229 if test -f ""; then
25232 # Extract the first word of """", so it can be a program name with args.
25233 set dummy
""; ac_word
=$2
25234 echo "$as_me:$LINENO: checking for $ac_word" >&5
25235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25236 if test "${ac_cv_path_ECJ+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25245 for as_dir
in $PATH
25248 test -z "$as_dir" && as_dir
=.
25249 for ac_exec_ext
in '' $ac_executable_extensions; do
25250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25251 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25261 ECJ
=$ac_cv_path_ECJ
25263 if test -n "$ECJ"; then
25264 echo "$as_me:$LINENO: result: $ECJ" >&5
25265 echo "${ECHO_T}$ECJ" >&6
25267 echo "$as_me:$LINENO: result: no" >&5
25268 echo "${ECHO_T}no" >&6
25273 # Extract the first word of ""ecj"", so it can be a program name with args.
25274 set dummy
"ecj"; ac_word
=$2
25275 echo "$as_me:$LINENO: checking for $ac_word" >&5
25276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25277 if test "${ac_cv_path_ECJ+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25286 for as_dir
in $PATH
25289 test -z "$as_dir" && as_dir
=.
25290 for ac_exec_ext
in '' $ac_executable_extensions; do
25291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25292 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25302 ECJ
=$ac_cv_path_ECJ
25304 if test -n "$ECJ"; then
25305 echo "$as_me:$LINENO: result: $ECJ" >&5
25306 echo "${ECHO_T}$ECJ" >&6
25308 echo "$as_me:$LINENO: result: no" >&5
25309 echo "${ECHO_T}no" >&6
25316 user_specified_javac
=ecj
25321 if test "x" != x
; then
25322 if test -f ""; then
25325 # Extract the first word of """", so it can be a program name with args.
25326 set dummy
""; ac_word
=$2
25327 echo "$as_me:$LINENO: checking for $ac_word" >&5
25328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25329 if test "${ac_cv_path_ECJ+set}" = set; then
25330 echo $ECHO_N "(cached) $ECHO_C" >&6
25334 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25338 for as_dir
in $PATH
25341 test -z "$as_dir" && as_dir
=.
25342 for ac_exec_ext
in '' $ac_executable_extensions; do
25343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25344 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25354 ECJ
=$ac_cv_path_ECJ
25356 if test -n "$ECJ"; then
25357 echo "$as_me:$LINENO: result: $ECJ" >&5
25358 echo "${ECHO_T}$ECJ" >&6
25360 echo "$as_me:$LINENO: result: no" >&5
25361 echo "${ECHO_T}no" >&6
25366 # Extract the first word of ""ecj"", so it can be a program name with args.
25367 set dummy
"ecj"; ac_word
=$2
25368 echo "$as_me:$LINENO: checking for $ac_word" >&5
25369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25370 if test "${ac_cv_path_ECJ+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
25378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25379 for as_dir
in $PATH
25382 test -z "$as_dir" && as_dir
=.
25383 for ac_exec_ext
in '' $ac_executable_extensions; do
25384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25385 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
25386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25395 ECJ
=$ac_cv_path_ECJ
25397 if test -n "$ECJ"; then
25398 echo "$as_me:$LINENO: result: $ECJ" >&5
25399 echo "${ECHO_T}$ECJ" >&6
25401 echo "$as_me:$LINENO: result: no" >&5
25402 echo "${ECHO_T}no" >&6
25413 # Check whether --with-javac or --without-javac was given.
25414 if test "${with_javac+set}" = set; then
25415 withval
="$with_javac"
25417 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
25419 if test "x${withval}" != x
; then
25422 # Extract the first word of ""javac"", so it can be a program name with args.
25423 set dummy
"javac"; ac_word
=$2
25424 echo "$as_me:$LINENO: checking for $ac_word" >&5
25425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25426 if test "${ac_cv_path_JAVAC+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25435 for as_dir
in $PATH
25438 test -z "$as_dir" && as_dir
=.
25439 for ac_exec_ext
in '' $ac_executable_extensions; do
25440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25441 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25451 JAVAC
=$ac_cv_path_JAVAC
25453 if test -n "$JAVAC"; then
25454 echo "$as_me:$LINENO: result: $JAVAC" >&5
25455 echo "${ECHO_T}$JAVAC" >&6
25457 echo "$as_me:$LINENO: result: no" >&5
25458 echo "${ECHO_T}no" >&6
25464 if test "x${withval}" != xno
; then
25466 if test "x" != x
; then
25469 # Extract the first word of ""javac"", so it can be a program name with args.
25470 set dummy
"javac"; ac_word
=$2
25471 echo "$as_me:$LINENO: checking for $ac_word" >&5
25472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25473 if test "${ac_cv_path_JAVAC+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25482 for as_dir
in $PATH
25485 test -z "$as_dir" && as_dir
=.
25486 for ac_exec_ext
in '' $ac_executable_extensions; do
25487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25488 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25498 JAVAC
=$ac_cv_path_JAVAC
25500 if test -n "$JAVAC"; then
25501 echo "$as_me:$LINENO: result: $JAVAC" >&5
25502 echo "${ECHO_T}$JAVAC" >&6
25504 echo "$as_me:$LINENO: result: no" >&5
25505 echo "${ECHO_T}no" >&6
25512 user_specified_javac
=javac
25517 if test "x" != x
; then
25520 # Extract the first word of ""javac"", so it can be a program name with args.
25521 set dummy
"javac"; ac_word
=$2
25522 echo "$as_me:$LINENO: checking for $ac_word" >&5
25523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25524 if test "${ac_cv_path_JAVAC+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25533 for as_dir
in $PATH
25536 test -z "$as_dir" && as_dir
=.
25537 for ac_exec_ext
in '' $ac_executable_extensions; do
25538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25539 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25549 JAVAC
=$ac_cv_path_JAVAC
25551 if test -n "$JAVAC"; then
25552 echo "$as_me:$LINENO: result: $JAVAC" >&5
25553 echo "${ECHO_T}$JAVAC" >&6
25555 echo "$as_me:$LINENO: result: no" >&5
25556 echo "${ECHO_T}no" >&6
25566 if test "x${user_specified_javac}" = x
; then
25569 if test "x${GCJ}" != x
; then
25571 FOUND_GCJ_FALSE
='#'
25579 if test "x${JIKES}" != x
; then
25581 FOUND_JIKES_FALSE
='#'
25583 FOUND_JIKES_TRUE
='#'
25589 if test "x${ECJ}" != x
; then
25591 FOUND_ECJ_FALSE
='#'
25599 if test "x${JAVAC}" != x
; then
25601 FOUND_JAVAC_FALSE
='#'
25603 FOUND_JAVAC_TRUE
='#'
25610 if test "x${user_specified_javac}" = xgcj
; then
25612 FOUND_GCJ_FALSE
='#'
25620 if test "x${user_specified_javac}" = xjikes
; then
25622 FOUND_JIKES_FALSE
='#'
25624 FOUND_JIKES_TRUE
='#'
25630 if test "x${user_specified_javac}" = xecj
; then
25632 FOUND_ECJ_FALSE
='#'
25640 if test "x${user_specified_javac}" = xjavac
; then
25642 FOUND_JAVAC_FALSE
='#'
25644 FOUND_JAVAC_TRUE
='#'
25651 if test "x${user_specified_javac}" = xkjc
; then
25653 FOUND_KJC_FALSE
='#'
25661 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \
25662 && test "x${JAVAC}" = x
&& test "x${user_specified_javac}" != xkjc
25664 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5
25665 echo "$as_me: error: cannot find javac, try --with-ecj" >&2;}
25666 { (exit 1); exit 1; }; }
25673 # Check whether --with-classpath or --without-classpath was given.
25674 if test "${with_classpath+set}" = set; then
25675 withval
="$with_classpath"
25677 if test "x${withval}" = xyes
; then
25678 # set user classpath to CLASSPATH from env
25679 echo "$as_me:$LINENO: checking for classlib" >&5
25680 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25681 USER_CLASSLIB
=${CLASSPATH}
25683 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
25684 echo "${ECHO_T}${USER_CLASSLIB}" >&6
25685 conditional_with_classlib
=true
25686 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
25687 # set user classpath to specified value
25688 echo "$as_me:$LINENO: checking for classlib" >&5
25689 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25690 USER_CLASSLIB
=${withval}
25692 echo "$as_me:$LINENO: result: ${withval}" >&5
25693 echo "${ECHO_T}${withval}" >&6
25694 conditional_with_classlib
=true
25698 conditional_with_classlib
=false
25702 if test "x${conditional_with_classlib}" = xtrue
; then
25703 USER_SPECIFIED_CLASSLIB_TRUE
=
25704 USER_SPECIFIED_CLASSLIB_FALSE
='#'
25706 USER_SPECIFIED_CLASSLIB_TRUE
='#'
25707 USER_SPECIFIED_CLASSLIB_FALSE
=
25712 # Check whether --with-vm-classes or --without-vm-classes was given.
25713 if test "${with_vm_classes+set}" = set; then
25714 withval
="$with_vm_classes"
25715 vm_classes
="$with_vm_classes"
25717 vm_classes
='${top_srcdir}/vm/reference'
25722 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25723 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25724 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25725 if test "${enable_maintainer_mode+set}" = set; then
25726 enableval
="$enable_maintainer_mode"
25727 USE_MAINTAINER_MODE
=$enableval
25729 USE_MAINTAINER_MODE
=no
25731 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25732 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25735 if test $USE_MAINTAINER_MODE = yes; then
25736 MAINTAINER_MODE_TRUE
=
25737 MAINTAINER_MODE_FALSE
='#'
25739 MAINTAINER_MODE_TRUE
='#'
25740 MAINTAINER_MODE_FALSE
=
25743 MAINT
=$MAINTAINER_MODE_TRUE
25747 # Check whether --enable-debug or --disable-debug was given.
25748 if test "${enable_debug+set}" = set; then
25749 enableval
="$enable_debug"
25750 case "${enableval}" in
25754 cat >>confdefs.h
<<\_ACEOF
25759 no
) LIBDEBUG
="false" ;;
25760 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25761 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25762 { (exit 1); exit 1; }; } ;;
25769 # Check whether --enable-load-library or --disable-load-library was given.
25770 if test "${enable_load_library+set}" = set; then
25771 enableval
="$enable_load_library"
25772 case "${enableval}" in
25773 yes) INIT_LOAD_LIBRARY
="true" ;;
25774 no
) INIT_LOAD_LIBRARY
="false" ;;
25775 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25776 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25777 { (exit 1); exit 1; }; } ;;
25780 INIT_LOAD_LIBRARY
="true"
25786 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25787 if test "${with_ecj_jar+set}" = set; then
25788 withval
="$with_ecj_jar"
25791 if test -f $multi_basedir/ecj.jar
; then
25792 ECJ_JAR
='$(jardir)/ecj.jar'
25797 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25798 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25799 enableval
="$enable_java_lang_system_explicit_initialization"
25800 case "${enableval}" in
25801 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
25802 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
25803 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25804 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25805 { (exit 1); exit 1; }; } ;;
25808 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
25816 # Extract the first word of "mkdir", so it can be a program name with args.
25817 set dummy mkdir
; ac_word
=$2
25818 echo "$as_me:$LINENO: checking for $ac_word" >&5
25819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25820 if test "${ac_cv_path_MKDIR+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25825 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
25828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25829 for as_dir
in $PATH
25832 test -z "$as_dir" && as_dir
=.
25833 for ac_exec_ext
in '' $ac_executable_extensions; do
25834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25835 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
25836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25845 MKDIR
=$ac_cv_path_MKDIR
25847 if test -n "$MKDIR"; then
25848 echo "$as_me:$LINENO: result: $MKDIR" >&5
25849 echo "${ECHO_T}$MKDIR" >&6
25851 echo "$as_me:$LINENO: result: no" >&5
25852 echo "${ECHO_T}no" >&6
25855 # Extract the first word of "cp", so it can be a program name with args.
25856 set dummy
cp; ac_word
=$2
25857 echo "$as_me:$LINENO: checking for $ac_word" >&5
25858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25859 if test "${ac_cv_path_CP+set}" = set; then
25860 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
25867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25868 for as_dir
in $PATH
25871 test -z "$as_dir" && as_dir
=.
25872 for ac_exec_ext
in '' $ac_executable_extensions; do
25873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25874 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
25875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25886 if test -n "$CP"; then
25887 echo "$as_me:$LINENO: result: $CP" >&5
25888 echo "${ECHO_T}$CP" >&6
25890 echo "$as_me:$LINENO: result: no" >&5
25891 echo "${ECHO_T}no" >&6
25894 # Extract the first word of "date", so it can be a program name with args.
25895 set dummy
date; ac_word
=$2
25896 echo "$as_me:$LINENO: checking for $ac_word" >&5
25897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25898 if test "${ac_cv_path_DATE+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
25906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25907 for as_dir
in $PATH
25910 test -z "$as_dir" && as_dir
=.
25911 for ac_exec_ext
in '' $ac_executable_extensions; do
25912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25913 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
25914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25923 DATE
=$ac_cv_path_DATE
25925 if test -n "$DATE"; then
25926 echo "$as_me:$LINENO: result: $DATE" >&5
25927 echo "${ECHO_T}$DATE" >&6
25929 echo "$as_me:$LINENO: result: no" >&5
25930 echo "${ECHO_T}no" >&6
25934 # Extract the first word of "find", so it can be a program name with args.
25935 set dummy
find; ac_word
=$2
25936 echo "$as_me:$LINENO: checking for $ac_word" >&5
25937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25938 if test "${ac_cv_path_FIND+set}" = set; then
25939 echo $ECHO_N "(cached) $ECHO_C" >&6
25943 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
25946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25947 for as_dir
in $PATH
25950 test -z "$as_dir" && as_dir
=.
25951 for ac_exec_ext
in '' $ac_executable_extensions; do
25952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25953 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
25954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25963 FIND
=$ac_cv_path_FIND
25965 if test -n "$FIND"; then
25966 echo "$as_me:$LINENO: result: $FIND" >&5
25967 echo "${ECHO_T}$FIND" >&6
25969 echo "$as_me:$LINENO: result: no" >&5
25970 echo "${ECHO_T}no" >&6
25975 # Extract the first word of "zip", so it can be a program name with args.
25976 set dummy
zip; ac_word
=$2
25977 echo "$as_me:$LINENO: checking for $ac_word" >&5
25978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25979 if test "${ac_cv_path_ZIP+set}" = set; then
25980 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25988 for as_dir
in $PATH
25991 test -z "$as_dir" && as_dir
=.
25992 for ac_exec_ext
in '' $ac_executable_extensions; do
25993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25994 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26004 ZIP
=$ac_cv_path_ZIP
26006 if test -n "$ZIP"; then
26007 echo "$as_me:$LINENO: result: $ZIP" >&5
26008 echo "${ECHO_T}$ZIP" >&6
26010 echo "$as_me:$LINENO: result: no" >&5
26011 echo "${ECHO_T}no" >&6
26015 # Check whether --with-fastjar or --without-fastjar was given.
26016 if test "${with_fastjar+set}" = set; then
26017 withval
="$with_fastjar"
26019 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
26020 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
26022 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
26023 echo "${ECHO_T}${FASTJAR}" >&6
26026 # Extract the first word of "fastjar", so it can be a program name with args.
26027 set dummy fastjar
; ac_word
=$2
26028 echo "$as_me:$LINENO: checking for $ac_word" >&5
26029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26030 if test "${ac_cv_path_FASTJAR+set}" = set; then
26031 echo $ECHO_N "(cached) $ECHO_C" >&6
26035 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
26038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26039 for as_dir
in $PATH
26042 test -z "$as_dir" && as_dir
=.
26043 for ac_exec_ext
in '' $ac_executable_extensions; do
26044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26045 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
26046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26055 FASTJAR
=$ac_cv_path_FASTJAR
26057 if test -n "$FASTJAR"; then
26058 echo "$as_me:$LINENO: result: $FASTJAR" >&5
26059 echo "${ECHO_T}$FASTJAR" >&6
26061 echo "$as_me:$LINENO: result: no" >&5
26062 echo "${ECHO_T}no" >&6
26066 if test x
"${FASTJAR}" != x
; then
26071 # Check whether --with-glibj or --without-glibj was given.
26072 if test "${with_glibj+set}" = set; then
26073 withval
="$with_glibj"
26075 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
26076 install_class_files
=no
26077 build_class_files
=yes
26079 elif test "x${withval}" = xboth
; then
26080 install_class_files
=yes
26081 build_class_files
=yes
26083 elif test "x${withval}" = xflat
; then
26084 install_class_files
=yes
26085 build_class_files
=yes
26087 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
26088 install_class_files
=no
26089 build_class_files
=no
26091 elif test "x${withval}" = xbuild
; then
26092 install_class_files
=no
26093 build_class_files
=yes
26096 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
26097 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
26098 { (exit 1); exit 1; }; }
26103 install_class_files
=no
26109 if test "x${use_zip}" = xyes
; then
26110 INSTALL_GLIBJ_ZIP_TRUE
=
26111 INSTALL_GLIBJ_ZIP_FALSE
='#'
26113 INSTALL_GLIBJ_ZIP_TRUE
='#'
26114 INSTALL_GLIBJ_ZIP_FALSE
=
26119 if test "x${install_class_files}" = xyes
; then
26120 INSTALL_CLASS_FILES_TRUE
=
26121 INSTALL_CLASS_FILES_FALSE
='#'
26123 INSTALL_CLASS_FILES_TRUE
='#'
26124 INSTALL_CLASS_FILES_FALSE
=
26129 if test "x${build_class_files}" = xyes
; then
26130 BUILD_CLASS_FILES_TRUE
=
26131 BUILD_CLASS_FILES_FALSE
='#'
26133 BUILD_CLASS_FILES_TRUE
='#'
26134 BUILD_CLASS_FILES_FALSE
=
26138 # Check whether --enable-examples or --disable-examples was given.
26139 if test "${enable_examples+set}" = set; then
26140 enableval
="$enable_examples"
26141 case "${enableval}" in
26142 yes) EXAMPLESDIR
="examples" ;;
26143 no
) EXAMPLESDIR
="" ;;
26144 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
26145 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
26146 { (exit 1); exit 1; }; } ;;
26149 EXAMPLESDIR
="examples"
26151 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
26159 # Check whether --with-gjdoc or --without-gjdoc was given.
26160 if test "${with_gjdoc+set}" = set; then
26161 withval
="$with_gjdoc"
26162 if test "x${withval}" = xno
; then
26164 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
26166 # Extract the first word of "gjdoc", so it can be a program name with args.
26167 set dummy gjdoc
; ac_word
=$2
26168 echo "$as_me:$LINENO: checking for $ac_word" >&5
26169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26170 if test "${ac_cv_path_GJDOC+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
26178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26179 for as_dir
in $PATH
26182 test -z "$as_dir" && as_dir
=.
26183 for ac_exec_ext
in '' $ac_executable_extensions; do
26184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26185 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
26186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26192 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
26196 GJDOC
=$ac_cv_path_GJDOC
26198 if test -n "$GJDOC"; then
26199 echo "$as_me:$LINENO: result: $GJDOC" >&5
26200 echo "${ECHO_T}$GJDOC" >&6
26202 echo "$as_me:$LINENO: result: no" >&5
26203 echo "${ECHO_T}no" >&6
26206 if test "x${GJDOC}" = xno
; then
26207 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
26208 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
26209 { (exit 1); exit 1; }; };
26214 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
26215 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
26216 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
26217 if eval "test \"\${$as_ac_File+set}\" = set"; then
26218 echo $ECHO_N "(cached) $ECHO_C" >&6
26220 test "$cross_compiling" = yes &&
26221 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26222 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26223 { (exit 1); exit 1; }; }
26224 if test -r "${GJDOC}"; then
26225 eval "$as_ac_File=yes"
26227 eval "$as_ac_File=no"
26230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26231 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26232 if test `eval echo '${'$as_ac_File'}'` = yes; then
26235 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
26236 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
26237 { (exit 1); exit 1; }; }
26247 if test "x${WITH_GJDOC}" = xyes
; then
26248 CREATE_API_DOCS_TRUE
=
26249 CREATE_API_DOCS_FALSE
='#'
26251 CREATE_API_DOCS_TRUE
='#'
26252 CREATE_API_DOCS_FALSE
=
26259 # Check whether --with-jay or --without-jay was given.
26260 if test "${with_jay+set}" = set; then
26261 withval
="$with_jay"
26263 if test -d "${withval}"; then
26264 JAY_DIR_PATH
="${withval}"
26265 # Extract the first word of "jay", so it can be a program name with args.
26266 set dummy jay
; ac_word
=$2
26267 echo "$as_me:$LINENO: checking for $ac_word" >&5
26268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26269 if test "${ac_cv_path_JAY+set}" = set; then
26270 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
26277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26278 for as_dir
in ${JAY_DIR_PATH}
26281 test -z "$as_dir" && as_dir
=.
26282 for ac_exec_ext
in '' $ac_executable_extensions; do
26283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26284 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
26285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26291 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
26295 JAY
=$ac_cv_path_JAY
26297 if test -n "$JAY"; then
26298 echo "$as_me:$LINENO: result: $JAY" >&5
26299 echo "${ECHO_T}$JAY" >&6
26301 echo "$as_me:$LINENO: result: no" >&5
26302 echo "${ECHO_T}no" >&6
26305 if test "x${JAY}" = xno
; then
26306 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
26307 echo "$as_me: error: \"jay executable not found\"" >&2;}
26308 { (exit 1); exit 1; }; };
26311 JAY_DIR_PATH
=`dirname "${withval}"`
26315 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
26316 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
26317 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
26318 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
26319 if eval "test \"\${$as_ac_File+set}\" = set"; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26322 test "$cross_compiling" = yes &&
26323 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26324 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26325 { (exit 1); exit 1; }; }
26326 if test -r "${JAY_SKELETON}"; then
26327 eval "$as_ac_File=yes"
26329 eval "$as_ac_File=no"
26332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26333 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26334 if test `eval echo '${'$as_ac_File'}'` = yes; then
26337 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
26338 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
26339 { (exit 1); exit 1; }; }
26351 if test "x${JAY_FOUND}" = xyes
; then
26352 REGEN_PARSERS_TRUE
=
26353 REGEN_PARSERS_FALSE
='#'
26355 REGEN_PARSERS_TRUE
='#'
26356 REGEN_PARSERS_FALSE
=
26361 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
26362 if test "${enable_portable_native_sync+set}" = set; then
26363 enableval
="$enable_portable_native_sync"
26364 case "${enableval}" in
26367 cat >>confdefs.h
<<\_ACEOF
26368 #define PORTABLE_NATIVE_SYNC 1
26374 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
26375 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
26376 { (exit 1); exit 1; }; }
26381 # ------ AX CREATE STDINT H -------------------------------------
26382 echo "$as_me:$LINENO: checking for stdint types" >&5
26383 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
26384 ac_stdint_h
=`echo include/config-int.h`
26385 # try to shortcircuit - if the default include path of the compiler
26386 # can find a "stdint.h" header then we assume that all compilers can.
26387 if test "${ac_cv_header_stdint_t+set}" = set; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26391 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
26392 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
26393 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
26394 cat >conftest.
$ac_ext <<_ACEOF
26397 cat confdefs.h
>>conftest.
$ac_ext
26398 cat >>conftest.
$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <stdint.h>
26404 int_least32_t v = 0;
26409 rm -f conftest.
$ac_objext
26410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26411 (eval $ac_compile) 2>conftest.er1
26413 grep -v '^ *+' conftest.er1
>conftest.err
26415 cat conftest.err
>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } &&
26418 { ac_try
='test -z "$ac_c_werror_flag"
26419 || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try
='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_cv_stdint_result
="(assuming C99 compatible system)"
26432 ac_cv_header_stdint_t
="stdint.h";
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.
$ac_ext >&5
26437 ac_cv_header_stdint_t
=""
26439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26440 CXXFLAGS
="$old_CXXFLAGS"
26441 CPPFLAGS
="$old_CPPFLAGS"
26442 CFLAGS
="$old_CFLAGS"
26446 v
="... $ac_cv_header_stdint_h"
26447 if test "$ac_stdint_h" = "stdint.h" ; then
26448 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
26449 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
26450 elif test "$ac_stdint_h" = "inttypes.h" ; then
26451 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
26452 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
26453 elif test "_$ac_cv_header_stdint_t" = "_" ; then
26454 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
26455 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
26457 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
26458 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
26459 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
26462 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
26465 inttype_headers
=`echo | sed -e 's/,/ /g'`
26467 ac_cv_stdint_result
="(no helpful system typedefs seen)"
26469 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26470 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26471 if test "${ac_cv_header_stdint_x+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
26476 echo "$as_me:$LINENO: result: (..)" >&5
26477 echo "${ECHO_T}(..)" >&6
26478 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26479 unset ac_cv_type_uintptr_t
26480 unset ac_cv_type_uint64_t
26481 echo "$as_me:$LINENO: checking for uintptr_t" >&5
26482 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
26483 if test "${ac_cv_type_uintptr_t+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 cat >conftest.
$ac_ext <<_ACEOF
26489 cat confdefs.h
>>conftest.
$ac_ext
26490 cat >>conftest.
$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26497 if ((uintptr_t *) 0)
26499 if (sizeof (uintptr_t))
26505 rm -f conftest.
$ac_objext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26507 (eval $ac_compile) 2>conftest.er1
26509 grep -v '^ *+' conftest.er1
>conftest.err
26511 cat conftest.err
>&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try
='test -z "$ac_c_werror_flag"
26515 || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try
='test -s conftest.$ac_objext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_type_uintptr_t
=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.
$ac_ext >&5
26532 ac_cv_type_uintptr_t
=no
26534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26536 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26537 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26538 if test $ac_cv_type_uintptr_t = yes; then
26539 ac_cv_header_stdint_x
=$i
26544 echo "$as_me:$LINENO: checking for uint64_t" >&5
26545 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26546 if test "${ac_cv_type_uint64_t+set}" = set; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26549 cat >conftest.
$ac_ext <<_ACEOF
26552 cat confdefs.h
>>conftest.
$ac_ext
26553 cat >>conftest.
$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26560 if ((uint64_t *) 0)
26562 if (sizeof (uint64_t))
26568 rm -f conftest.
$ac_objext
26569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26570 (eval $ac_compile) 2>conftest.er1
26572 grep -v '^ *+' conftest.er1
>conftest.err
26574 cat conftest.err
>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } &&
26577 { ac_try
='test -z "$ac_c_werror_flag"
26578 || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); }; } &&
26584 { ac_try
='test -s conftest.$ac_objext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26590 ac_cv_type_uint64_t
=yes
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.
$ac_ext >&5
26595 ac_cv_type_uint64_t
=no
26597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26599 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26600 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26601 if test $ac_cv_type_uint64_t = yes; then
26607 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
26610 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26611 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26614 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26615 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26618 if test "_$ac_cv_header_stdint_x" = "_" ; then
26620 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26621 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26622 if test "${ac_cv_header_stdint_o+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
26627 echo "$as_me:$LINENO: result: (..)" >&5
26628 echo "${ECHO_T}(..)" >&6
26629 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
26630 unset ac_cv_type_uint32_t
26631 unset ac_cv_type_uint64_t
26632 echo "$as_me:$LINENO: checking for uint32_t" >&5
26633 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26634 if test "${ac_cv_type_uint32_t+set}" = set; then
26635 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 cat >conftest.
$ac_ext <<_ACEOF
26640 cat confdefs.h
>>conftest.
$ac_ext
26641 cat >>conftest.
$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26648 if ((uint32_t *) 0)
26650 if (sizeof (uint32_t))
26656 rm -f conftest.
$ac_objext
26657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26658 (eval $ac_compile) 2>conftest.er1
26660 grep -v '^ *+' conftest.er1
>conftest.err
26662 cat conftest.err
>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } &&
26665 { ac_try
='test -z "$ac_c_werror_flag"
26666 || test ! -s conftest.err'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; } &&
26672 { ac_try
='test -s conftest.$ac_objext'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; }; then
26678 ac_cv_type_uint32_t
=yes
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.
$ac_ext >&5
26683 ac_cv_type_uint32_t
=no
26685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26687 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26688 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26689 if test $ac_cv_type_uint32_t = yes; then
26690 ac_cv_header_stdint_o
=$i
26695 echo "$as_me:$LINENO: checking for uint64_t" >&5
26696 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26697 if test "${ac_cv_type_uint64_t+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26700 cat >conftest.
$ac_ext <<_ACEOF
26703 cat confdefs.h
>>conftest.
$ac_ext
26704 cat >>conftest.
$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26711 if ((uint64_t *) 0)
26713 if (sizeof (uint64_t))
26719 rm -f conftest.
$ac_objext
26720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721 (eval $ac_compile) 2>conftest.er1
26723 grep -v '^ *+' conftest.er1
>conftest.err
26725 cat conftest.err
>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try
='test -z "$ac_c_werror_flag"
26729 || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try
='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 ac_cv_type_uint64_t
=yes
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.
$ac_ext >&5
26746 ac_cv_type_uint64_t
=no
26748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26750 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26751 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26752 if test $ac_cv_type_uint64_t = yes; then
26758 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
26762 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26763 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26766 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26767 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26771 if test "_$ac_cv_header_stdint_x" = "_" ; then
26772 if test "_$ac_cv_header_stdint_o" = "_" ; then
26774 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26775 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26776 if test "${ac_cv_header_stdint_u+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
26781 echo "$as_me:$LINENO: result: (..)" >&5
26782 echo "${ECHO_T}(..)" >&6
26783 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26784 unset ac_cv_type_u_int32_t
26785 unset ac_cv_type_u_int64_t
26786 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26787 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26788 if test "${ac_cv_type_u_int32_t+set}" = set; then
26789 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 cat >conftest.
$ac_ext <<_ACEOF
26794 cat confdefs.h
>>conftest.
$ac_ext
26795 cat >>conftest.
$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26802 if ((u_int32_t *) 0)
26804 if (sizeof (u_int32_t))
26810 rm -f conftest.
$ac_objext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26812 (eval $ac_compile) 2>conftest.er1
26814 grep -v '^ *+' conftest.er1
>conftest.err
26816 cat conftest.err
>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try
='test -z "$ac_c_werror_flag"
26820 || test ! -s conftest.err'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; } &&
26826 { ac_try
='test -s conftest.$ac_objext'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; }; then
26832 ac_cv_type_u_int32_t
=yes
26834 echo "$as_me: failed program was:" >&5
26835 sed 's/^/| /' conftest.
$ac_ext >&5
26837 ac_cv_type_u_int32_t
=no
26839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26841 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26842 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26843 if test $ac_cv_type_u_int32_t = yes; then
26844 ac_cv_header_stdint_u
=$i
26849 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26850 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26851 if test "${ac_cv_type_u_int64_t+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 cat >conftest.
$ac_ext <<_ACEOF
26857 cat confdefs.h
>>conftest.
$ac_ext
26858 cat >>conftest.
$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26865 if ((u_int64_t *) 0)
26867 if (sizeof (u_int64_t))
26873 rm -f conftest.
$ac_objext
26874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26875 (eval $ac_compile) 2>conftest.er1
26877 grep -v '^ *+' conftest.er1
>conftest.err
26879 cat conftest.err
>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } &&
26882 { ac_try
='test -z "$ac_c_werror_flag"
26883 || test ! -s conftest.err'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; } &&
26889 { ac_try
='test -s conftest.$ac_objext'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_cv_type_u_int64_t
=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26900 ac_cv_type_u_int64_t
=no
26902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26904 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26905 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26906 if test $ac_cv_type_u_int64_t = yes; then
26912 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
26916 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26917 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26920 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26921 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26925 if test "_$ac_cv_header_stdint_x" = "_" ; then
26926 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26927 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26928 echo "$as_me:$LINENO: result: (..)" >&5
26929 echo "${ECHO_T}(..)" >&6
26931 echo "$as_me:$LINENO: checking for char" >&5
26932 echo $ECHO_N "checking for char... $ECHO_C" >&6
26933 if test "${ac_cv_type_char+set}" = set; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 cat >conftest.
$ac_ext <<_ACEOF
26939 cat confdefs.h
>>conftest.
$ac_ext
26940 cat >>conftest.
$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942 $ac_includes_default
26954 rm -f conftest.
$ac_objext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26956 (eval $ac_compile) 2>conftest.er1
26958 grep -v '^ *+' conftest.er1
>conftest.err
26960 cat conftest.err
>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try
='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try
='test -s conftest.$ac_objext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_type_char
=yes
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.
$ac_ext >&5
26983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26985 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26986 echo "${ECHO_T}$ac_cv_type_char" >&6
26988 echo "$as_me:$LINENO: checking size of char" >&5
26989 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26990 if test "${ac_cv_sizeof_char+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26993 if test "$ac_cv_type_char" = yes; then
26994 # The cast to unsigned long works around a bug in the HP C Compiler
26995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26997 # This bug is HP SR number 8606223364.
26998 if test "$cross_compiling" = yes; then
26999 # Depending upon the size, compute the lo and hi bounds.
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 $ac_includes_default
27010 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
27017 rm -f conftest.
$ac_objext
27018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27019 (eval $ac_compile) 2>conftest.er1
27021 grep -v '^ *+' conftest.er1
>conftest.err
27023 cat conftest.err
>&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } &&
27026 { ac_try
='test -z "$ac_c_werror_flag"
27027 || test ! -s conftest.err'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; } &&
27033 { ac_try
='test -s conftest.$ac_objext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27041 cat >conftest.
$ac_ext <<_ACEOF
27044 cat confdefs.h
>>conftest.
$ac_ext
27045 cat >>conftest.
$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 $ac_includes_default
27051 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27058 rm -f conftest.
$ac_objext
27059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27060 (eval $ac_compile) 2>conftest.er1
27062 grep -v '^ *+' conftest.er1
>conftest.err
27064 cat conftest.err
>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); } &&
27067 { ac_try
='test -z "$ac_c_werror_flag"
27068 || test ! -s conftest.err'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try
='test -s conftest.$ac_objext'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; }; then
27080 ac_hi
=$ac_mid; break
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.
$ac_ext >&5
27085 ac_lo
=`expr $ac_mid + 1`
27086 if test $ac_lo -le $ac_mid; then
27090 ac_mid
=`expr 2 '*' $ac_mid + 1`
27092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.
$ac_ext >&5
27098 cat >conftest.
$ac_ext <<_ACEOF
27101 cat confdefs.h
>>conftest.
$ac_ext
27102 cat >>conftest.
$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104 $ac_includes_default
27108 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
27115 rm -f conftest.
$ac_objext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27117 (eval $ac_compile) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try
='test -s conftest.$ac_objext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27139 cat >conftest.
$ac_ext <<_ACEOF
27142 cat confdefs.h
>>conftest.
$ac_ext
27143 cat >>conftest.
$ac_ext <<_ACEOF
27144 /* end confdefs.h. */
27145 $ac_includes_default
27149 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
27156 rm -f conftest.
$ac_objext
27157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27158 (eval $ac_compile) 2>conftest.er1
27160 grep -v '^ *+' conftest.er1
>conftest.err
27162 cat conftest.err
>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } &&
27165 { ac_try
='test -z "$ac_c_werror_flag"
27166 || test ! -s conftest.err'
27167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27168 (eval $ac_try) 2>&5
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); }; } &&
27172 { ac_try
='test -s conftest.$ac_objext'
27173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27174 (eval $ac_try) 2>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; }; then
27178 ac_lo
=$ac_mid; break
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.
$ac_ext >&5
27183 ac_hi
=`expr '(' $ac_mid ')' - 1`
27184 if test $ac_mid -le $ac_hi; then
27188 ac_mid
=`expr 2 '*' $ac_mid`
27190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27193 echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.
$ac_ext >&5
27198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27201 # Binary search between lo and hi bounds.
27202 while test "x$ac_lo" != "x$ac_hi"; do
27203 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27204 cat >conftest.
$ac_ext <<_ACEOF
27207 cat confdefs.h
>>conftest.
$ac_ext
27208 cat >>conftest.
$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 $ac_includes_default
27214 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27221 rm -f conftest.
$ac_objext
27222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27223 (eval $ac_compile) 2>conftest.er1
27225 grep -v '^ *+' conftest.er1
>conftest.err
27227 cat conftest.err
>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } &&
27230 { ac_try
='test -z "$ac_c_werror_flag"
27231 || test ! -s conftest.err'
27232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27233 (eval $ac_try) 2>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; } &&
27237 { ac_try
='test -s conftest.$ac_objext'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; }; then
27245 echo "$as_me: failed program was:" >&5
27246 sed 's/^/| /' conftest.
$ac_ext >&5
27248 ac_lo
=`expr '(' $ac_mid ')' + 1`
27250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27253 ?
*) ac_cv_sizeof_char
=$ac_lo;;
27254 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27255 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27257 See \`config.log' for more details." >&5
27258 echo "$as_me: error: cannot compute sizeof (char), 77
27259 See \`config.log' for more details." >&2;}
27260 { (exit 1); exit 1; }; }; } ;;
27263 if test "$cross_compiling" = yes; then
27264 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27265 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27266 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27267 See \`config.log' for more details." >&5
27268 echo "$as_me: error: cannot run test program while cross compiling
27269 See \`config.log' for more details." >&2;}
27270 { (exit 1); exit 1; }; }; }
27272 cat >conftest.
$ac_ext <<_ACEOF
27275 cat confdefs.h
>>conftest.
$ac_ext
27276 cat >>conftest.
$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278 $ac_includes_default
27279 long longval () { return (long) (sizeof (char)); }
27280 unsigned long ulongval () { return (long) (sizeof (char)); }
27282 #include <stdlib.h>
27287 FILE *f = fopen ("conftest.val", "w");
27290 if (((long) (sizeof (char))) < 0)
27292 long i = longval ();
27293 if (i != ((long) (sizeof (char))))
27295 fprintf (f, "%ld\n", i);
27299 unsigned long i = ulongval ();
27300 if (i != ((long) (sizeof (char))))
27302 fprintf (f, "%lu\n", i);
27304 exit (ferror (f) || fclose (f) != 0);
27310 rm -f conftest
$ac_exeext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27312 (eval $ac_link) 2>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 ac_cv_sizeof_char
=`cat conftest.val`
27323 echo "$as_me: program exited with status $ac_status" >&5
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.
$ac_ext >&5
27327 ( exit $ac_status )
27328 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27329 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27331 See \`config.log' for more details." >&5
27332 echo "$as_me: error: cannot compute sizeof (char), 77
27333 See \`config.log' for more details." >&2;}
27334 { (exit 1); exit 1; }; }; }
27336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27341 ac_cv_sizeof_char
=0
27344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
27345 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
27346 cat >>confdefs.h
<<_ACEOF
27347 #define SIZEOF_CHAR $ac_cv_sizeof_char
27351 echo "$as_me:$LINENO: checking for short" >&5
27352 echo $ECHO_N "checking for short... $ECHO_C" >&6
27353 if test "${ac_cv_type_short+set}" = set; then
27354 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 cat >conftest.
$ac_ext <<_ACEOF
27359 cat confdefs.h
>>conftest.
$ac_ext
27360 cat >>conftest.
$ac_ext <<_ACEOF
27361 /* end confdefs.h. */
27362 $ac_includes_default
27368 if (sizeof (short))
27374 rm -f conftest.
$ac_objext
27375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27376 (eval $ac_compile) 2>conftest.er1
27378 grep -v '^ *+' conftest.er1
>conftest.err
27380 cat conftest.err
>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); } &&
27383 { ac_try
='test -z "$ac_c_werror_flag"
27384 || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try
='test -s conftest.$ac_objext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 ac_cv_type_short
=yes
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.
$ac_ext >&5
27401 ac_cv_type_short
=no
27403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27405 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
27406 echo "${ECHO_T}$ac_cv_type_short" >&6
27408 echo "$as_me:$LINENO: checking size of short" >&5
27409 echo $ECHO_N "checking size of short... $ECHO_C" >&6
27410 if test "${ac_cv_sizeof_short+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 if test "$ac_cv_type_short" = yes; then
27414 # The cast to unsigned long works around a bug in the HP C Compiler
27415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27417 # This bug is HP SR number 8606223364.
27418 if test "$cross_compiling" = yes; then
27419 # Depending upon the size, compute the lo and hi bounds.
27420 cat >conftest.
$ac_ext <<_ACEOF
27423 cat confdefs.h
>>conftest.
$ac_ext
27424 cat >>conftest.
$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 $ac_includes_default
27430 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
27437 rm -f conftest.
$ac_objext
27438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27439 (eval $ac_compile) 2>conftest.er1
27441 grep -v '^ *+' conftest.er1
>conftest.err
27443 cat conftest.err
>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try
='test -z "$ac_c_werror_flag"
27447 || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try
='test -s conftest.$ac_objext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27461 cat >conftest.
$ac_ext <<_ACEOF
27464 cat confdefs.h
>>conftest.
$ac_ext
27465 cat >>conftest.
$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27467 $ac_includes_default
27471 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27478 rm -f conftest.
$ac_objext
27479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27480 (eval $ac_compile) 2>conftest.er1
27482 grep -v '^ *+' conftest.er1
>conftest.err
27484 cat conftest.err
>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } &&
27487 { ac_try
='test -z "$ac_c_werror_flag"
27488 || test ! -s conftest.err'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; } &&
27494 { ac_try
='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500 ac_hi
=$ac_mid; break
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.
$ac_ext >&5
27505 ac_lo
=`expr $ac_mid + 1`
27506 if test $ac_lo -le $ac_mid; then
27510 ac_mid
=`expr 2 '*' $ac_mid + 1`
27512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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 cat >conftest.
$ac_ext <<_ACEOF
27562 cat confdefs.h
>>conftest.
$ac_ext
27563 cat >>conftest.
$ac_ext <<_ACEOF
27564 /* end confdefs.h. */
27565 $ac_includes_default
27569 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27576 rm -f conftest.
$ac_objext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27578 (eval $ac_compile) 2>conftest.er1
27580 grep -v '^ *+' conftest.er1
>conftest.err
27582 cat conftest.err
>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } &&
27585 { ac_try
='test -z "$ac_c_werror_flag"
27586 || test ! -s conftest.err'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; } &&
27592 { ac_try
='test -s conftest.$ac_objext'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; }; then
27598 ac_lo
=$ac_mid; break
27600 echo "$as_me: failed program was:" >&5
27601 sed 's/^/| /' conftest.
$ac_ext >&5
27603 ac_hi
=`expr '(' $ac_mid ')' - 1`
27604 if test $ac_mid -le $ac_hi; then
27608 ac_mid
=`expr 2 '*' $ac_mid`
27610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.
$ac_ext >&5
27618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27621 # Binary search between lo and hi bounds.
27622 while test "x$ac_lo" != "x$ac_hi"; do
27623 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27624 cat >conftest.
$ac_ext <<_ACEOF
27627 cat confdefs.h
>>conftest.
$ac_ext
27628 cat >>conftest.
$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 $ac_includes_default
27634 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27641 rm -f conftest.
$ac_objext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27643 (eval $ac_compile) 2>conftest.er1
27645 grep -v '^ *+' conftest.er1
>conftest.err
27647 cat conftest.err
>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try
='test -z "$ac_c_werror_flag"
27651 || test ! -s conftest.err'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; } &&
27657 { ac_try
='test -s conftest.$ac_objext'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; }; then
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.
$ac_ext >&5
27668 ac_lo
=`expr '(' $ac_mid ')' + 1`
27670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27673 ?
*) ac_cv_sizeof_short
=$ac_lo;;
27674 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27675 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27677 See \`config.log' for more details." >&5
27678 echo "$as_me: error: cannot compute sizeof (short), 77
27679 See \`config.log' for more details." >&2;}
27680 { (exit 1); exit 1; }; }; } ;;
27683 if test "$cross_compiling" = yes; then
27684 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27685 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27686 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27687 See \`config.log' for more details." >&5
27688 echo "$as_me: error: cannot run test program while cross compiling
27689 See \`config.log' for more details." >&2;}
27690 { (exit 1); exit 1; }; }; }
27692 cat >conftest.
$ac_ext <<_ACEOF
27695 cat confdefs.h
>>conftest.
$ac_ext
27696 cat >>conftest.
$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 $ac_includes_default
27699 long longval () { return (long) (sizeof (short)); }
27700 unsigned long ulongval () { return (long) (sizeof (short)); }
27702 #include <stdlib.h>
27707 FILE *f = fopen ("conftest.val", "w");
27710 if (((long) (sizeof (short))) < 0)
27712 long i = longval ();
27713 if (i != ((long) (sizeof (short))))
27715 fprintf (f, "%ld\n", i);
27719 unsigned long i = ulongval ();
27720 if (i != ((long) (sizeof (short))))
27722 fprintf (f, "%lu\n", i);
27724 exit (ferror (f) || fclose (f) != 0);
27730 rm -f conftest
$ac_exeext
27731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27732 (eval $ac_link) 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 ac_cv_sizeof_short
=`cat conftest.val`
27743 echo "$as_me: program exited with status $ac_status" >&5
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.
$ac_ext >&5
27747 ( exit $ac_status )
27748 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27749 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27751 See \`config.log' for more details." >&5
27752 echo "$as_me: error: cannot compute sizeof (short), 77
27753 See \`config.log' for more details." >&2;}
27754 { (exit 1); exit 1; }; }; }
27756 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27761 ac_cv_sizeof_short
=0
27764 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27765 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27766 cat >>confdefs.h
<<_ACEOF
27767 #define SIZEOF_SHORT $ac_cv_sizeof_short
27771 echo "$as_me:$LINENO: checking for int" >&5
27772 echo $ECHO_N "checking for int... $ECHO_C" >&6
27773 if test "${ac_cv_type_int+set}" = set; then
27774 echo $ECHO_N "(cached) $ECHO_C" >&6
27776 cat >conftest.
$ac_ext <<_ACEOF
27779 cat confdefs.h
>>conftest.
$ac_ext
27780 cat >>conftest.
$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27782 $ac_includes_default
27794 rm -f conftest.
$ac_objext
27795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27796 (eval $ac_compile) 2>conftest.er1
27798 grep -v '^ *+' conftest.er1
>conftest.err
27800 cat conftest.err
>&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try
='test -z "$ac_c_werror_flag"
27804 || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try
='test -s conftest.$ac_objext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.
$ac_ext >&5
27823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27825 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27826 echo "${ECHO_T}$ac_cv_type_int" >&6
27828 echo "$as_me:$LINENO: checking size of int" >&5
27829 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27830 if test "${ac_cv_sizeof_int+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 if test "$ac_cv_type_int" = yes; then
27834 # The cast to unsigned long works around a bug in the HP C Compiler
27835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27837 # This bug is HP SR number 8606223364.
27838 if test "$cross_compiling" = yes; then
27839 # Depending upon the size, compute the lo and hi bounds.
27840 cat >conftest.
$ac_ext <<_ACEOF
27843 cat confdefs.h
>>conftest.
$ac_ext
27844 cat >>conftest.
$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27846 $ac_includes_default
27850 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27857 rm -f conftest.
$ac_objext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27859 (eval $ac_compile) 2>conftest.er1
27861 grep -v '^ *+' conftest.er1
>conftest.err
27863 cat conftest.err
>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try
='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try
='test -s conftest.$ac_objext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27881 cat >conftest.
$ac_ext <<_ACEOF
27884 cat confdefs.h
>>conftest.
$ac_ext
27885 cat >>conftest.
$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 $ac_includes_default
27891 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27898 rm -f conftest.
$ac_objext
27899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27900 (eval $ac_compile) 2>conftest.er1
27902 grep -v '^ *+' conftest.er1
>conftest.err
27904 cat conftest.err
>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } &&
27907 { ac_try
='test -z "$ac_c_werror_flag"
27908 || test ! -s conftest.err'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; } &&
27914 { ac_try
='test -s conftest.$ac_objext'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; }; then
27920 ac_hi
=$ac_mid; break
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.
$ac_ext >&5
27925 ac_lo
=`expr $ac_mid + 1`
27926 if test $ac_lo -le $ac_mid; then
27930 ac_mid
=`expr 2 '*' $ac_mid + 1`
27932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27935 echo "$as_me: failed program was:" >&5
27936 sed 's/^/| /' conftest.
$ac_ext >&5
27938 cat >conftest.
$ac_ext <<_ACEOF
27941 cat confdefs.h
>>conftest.
$ac_ext
27942 cat >>conftest.
$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944 $ac_includes_default
27948 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27955 rm -f conftest.
$ac_objext
27956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27957 (eval $ac_compile) 2>conftest.er1
27959 grep -v '^ *+' conftest.er1
>conftest.err
27961 cat conftest.err
>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try
='test -z "$ac_c_werror_flag"
27965 || test ! -s conftest.err'
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); }; } &&
27971 { ac_try
='test -s conftest.$ac_objext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27979 cat >conftest.
$ac_ext <<_ACEOF
27982 cat confdefs.h
>>conftest.
$ac_ext
27983 cat >>conftest.
$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 $ac_includes_default
27989 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27996 rm -f conftest.
$ac_objext
27997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27998 (eval $ac_compile) 2>conftest.er1
28000 grep -v '^ *+' conftest.er1
>conftest.err
28002 cat conftest.err
>&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } &&
28005 { ac_try
='test -z "$ac_c_werror_flag"
28006 || test ! -s conftest.err'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; } &&
28012 { ac_try
='test -s conftest.$ac_objext'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 ac_lo
=$ac_mid; break
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.
$ac_ext >&5
28023 ac_hi
=`expr '(' $ac_mid ')' - 1`
28024 if test $ac_mid -le $ac_hi; then
28028 ac_mid
=`expr 2 '*' $ac_mid`
28030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.
$ac_ext >&5
28038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28041 # Binary search between lo and hi bounds.
28042 while test "x$ac_lo" != "x$ac_hi"; do
28043 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28044 cat >conftest.
$ac_ext <<_ACEOF
28047 cat confdefs.h
>>conftest.
$ac_ext
28048 cat >>conftest.
$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 $ac_includes_default
28054 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
28061 rm -f conftest.
$ac_objext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28063 (eval $ac_compile) 2>conftest.er1
28065 grep -v '^ *+' conftest.er1
>conftest.err
28067 cat conftest.err
>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } &&
28070 { ac_try
='test -z "$ac_c_werror_flag"
28071 || test ! -s conftest.err'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try
='test -s conftest.$ac_objext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.
$ac_ext >&5
28088 ac_lo
=`expr '(' $ac_mid ')' + 1`
28090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28093 ?
*) ac_cv_sizeof_int
=$ac_lo;;
28094 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28095 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
28097 See \`config.log' for more details." >&5
28098 echo "$as_me: error: cannot compute sizeof (int), 77
28099 See \`config.log' for more details." >&2;}
28100 { (exit 1); exit 1; }; }; } ;;
28103 if test "$cross_compiling" = yes; then
28104 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28105 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28106 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28107 See \`config.log' for more details." >&5
28108 echo "$as_me: error: cannot run test program while cross compiling
28109 See \`config.log' for more details." >&2;}
28110 { (exit 1); exit 1; }; }; }
28112 cat >conftest.
$ac_ext <<_ACEOF
28115 cat confdefs.h
>>conftest.
$ac_ext
28116 cat >>conftest.
$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118 $ac_includes_default
28119 long longval () { return (long) (sizeof (int)); }
28120 unsigned long ulongval () { return (long) (sizeof (int)); }
28122 #include <stdlib.h>
28127 FILE *f = fopen ("conftest.val", "w");
28130 if (((long) (sizeof (int))) < 0)
28132 long i = longval ();
28133 if (i != ((long) (sizeof (int))))
28135 fprintf (f, "%ld\n", i);
28139 unsigned long i = ulongval ();
28140 if (i != ((long) (sizeof (int))))
28142 fprintf (f, "%lu\n", i);
28144 exit (ferror (f) || fclose (f) != 0);
28150 rm -f conftest
$ac_exeext
28151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28152 (eval $ac_link) 2>&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161 ac_cv_sizeof_int
=`cat conftest.val`
28163 echo "$as_me: program exited with status $ac_status" >&5
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.
$ac_ext >&5
28167 ( exit $ac_status )
28168 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28169 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
28171 See \`config.log' for more details." >&5
28172 echo "$as_me: error: cannot compute sizeof (int), 77
28173 See \`config.log' for more details." >&2;}
28174 { (exit 1); exit 1; }; }; }
28176 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
28185 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
28186 cat >>confdefs.h
<<_ACEOF
28187 #define SIZEOF_INT $ac_cv_sizeof_int
28191 echo "$as_me:$LINENO: checking for long" >&5
28192 echo $ECHO_N "checking for long... $ECHO_C" >&6
28193 if test "${ac_cv_type_long+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 cat >conftest.
$ac_ext <<_ACEOF
28199 cat confdefs.h
>>conftest.
$ac_ext
28200 cat >>conftest.
$ac_ext <<_ACEOF
28201 /* end confdefs.h. */
28202 $ac_includes_default
28214 rm -f conftest.
$ac_objext
28215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28216 (eval $ac_compile) 2>conftest.er1
28218 grep -v '^ *+' conftest.er1
>conftest.err
28220 cat conftest.err
>&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } &&
28223 { ac_try
='test -z "$ac_c_werror_flag"
28224 || test ! -s conftest.err'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; } &&
28230 { ac_try
='test -s conftest.$ac_objext'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; }; then
28236 ac_cv_type_long
=yes
28238 echo "$as_me: failed program was:" >&5
28239 sed 's/^/| /' conftest.
$ac_ext >&5
28243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28245 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
28246 echo "${ECHO_T}$ac_cv_type_long" >&6
28248 echo "$as_me:$LINENO: checking size of long" >&5
28249 echo $ECHO_N "checking size of long... $ECHO_C" >&6
28250 if test "${ac_cv_sizeof_long+set}" = set; then
28251 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 if test "$ac_cv_type_long" = yes; then
28254 # The cast to unsigned long works around a bug in the HP C Compiler
28255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28257 # This bug is HP SR number 8606223364.
28258 if test "$cross_compiling" = yes; then
28259 # Depending upon the size, compute the lo and hi bounds.
28260 cat >conftest.
$ac_ext <<_ACEOF
28263 cat confdefs.h
>>conftest.
$ac_ext
28264 cat >>conftest.
$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 $ac_includes_default
28270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
28277 rm -f conftest.
$ac_objext
28278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28279 (eval $ac_compile) 2>conftest.er1
28281 grep -v '^ *+' conftest.er1
>conftest.err
28283 cat conftest.err
>&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } &&
28286 { ac_try
='test -z "$ac_c_werror_flag"
28287 || test ! -s conftest.err'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; } &&
28293 { ac_try
='test -s conftest.$ac_objext'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; }; then
28301 cat >conftest.
$ac_ext <<_ACEOF
28304 cat confdefs.h
>>conftest.
$ac_ext
28305 cat >>conftest.
$ac_ext <<_ACEOF
28306 /* end confdefs.h. */
28307 $ac_includes_default
28311 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28318 rm -f conftest.
$ac_objext
28319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28320 (eval $ac_compile) 2>conftest.er1
28322 grep -v '^ *+' conftest.er1
>conftest.err
28324 cat conftest.err
>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } &&
28327 { ac_try
='test -z "$ac_c_werror_flag"
28328 || test ! -s conftest.err'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; } &&
28334 { ac_try
='test -s conftest.$ac_objext'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; }; then
28340 ac_hi
=$ac_mid; break
28342 echo "$as_me: failed program was:" >&5
28343 sed 's/^/| /' conftest.
$ac_ext >&5
28345 ac_lo
=`expr $ac_mid + 1`
28346 if test $ac_lo -le $ac_mid; then
28350 ac_mid
=`expr 2 '*' $ac_mid + 1`
28352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.
$ac_ext >&5
28358 cat >conftest.
$ac_ext <<_ACEOF
28361 cat confdefs.h
>>conftest.
$ac_ext
28362 cat >>conftest.
$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364 $ac_includes_default
28368 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
28375 rm -f conftest.
$ac_objext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28377 (eval $ac_compile) 2>conftest.er1
28379 grep -v '^ *+' conftest.er1
>conftest.err
28381 cat conftest.err
>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try
='test -z "$ac_c_werror_flag"
28385 || test ! -s conftest.err'
28386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28387 (eval $ac_try) 2>&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); }; } &&
28391 { ac_try
='test -s conftest.$ac_objext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28399 cat >conftest.
$ac_ext <<_ACEOF
28402 cat confdefs.h
>>conftest.
$ac_ext
28403 cat >>conftest.
$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28405 $ac_includes_default
28409 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
28416 rm -f conftest.
$ac_objext
28417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28418 (eval $ac_compile) 2>conftest.er1
28420 grep -v '^ *+' conftest.er1
>conftest.err
28422 cat conftest.err
>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try
='test -z "$ac_c_werror_flag"
28426 || test ! -s conftest.err'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try
='test -s conftest.$ac_objext'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28438 ac_lo
=$ac_mid; break
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.
$ac_ext >&5
28443 ac_hi
=`expr '(' $ac_mid ')' - 1`
28444 if test $ac_mid -le $ac_hi; then
28448 ac_mid
=`expr 2 '*' $ac_mid`
28450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.
$ac_ext >&5
28458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28461 # Binary search between lo and hi bounds.
28462 while test "x$ac_lo" != "x$ac_hi"; do
28463 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28464 cat >conftest.
$ac_ext <<_ACEOF
28467 cat confdefs.h
>>conftest.
$ac_ext
28468 cat >>conftest.
$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470 $ac_includes_default
28474 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28481 rm -f conftest.
$ac_objext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28483 (eval $ac_compile) 2>conftest.er1
28485 grep -v '^ *+' conftest.er1
>conftest.err
28487 cat conftest.err
>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try
='test -z "$ac_c_werror_flag"
28491 || test ! -s conftest.err'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try
='test -s conftest.$ac_objext'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28505 echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.
$ac_ext >&5
28508 ac_lo
=`expr '(' $ac_mid ')' + 1`
28510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28513 ?
*) ac_cv_sizeof_long
=$ac_lo;;
28514 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28517 See \`config.log' for more details." >&5
28518 echo "$as_me: error: cannot compute sizeof (long), 77
28519 See \`config.log' for more details." >&2;}
28520 { (exit 1); exit 1; }; }; } ;;
28523 if test "$cross_compiling" = yes; then
28524 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28526 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28527 See \`config.log' for more details." >&5
28528 echo "$as_me: error: cannot run test program while cross compiling
28529 See \`config.log' for more details." >&2;}
28530 { (exit 1); exit 1; }; }; }
28532 cat >conftest.
$ac_ext <<_ACEOF
28535 cat confdefs.h
>>conftest.
$ac_ext
28536 cat >>conftest.
$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 $ac_includes_default
28539 long longval () { return (long) (sizeof (long)); }
28540 unsigned long ulongval () { return (long) (sizeof (long)); }
28542 #include <stdlib.h>
28547 FILE *f = fopen ("conftest.val", "w");
28550 if (((long) (sizeof (long))) < 0)
28552 long i = longval ();
28553 if (i != ((long) (sizeof (long))))
28555 fprintf (f, "%ld\n", i);
28559 unsigned long i = ulongval ();
28560 if (i != ((long) (sizeof (long))))
28562 fprintf (f, "%lu\n", i);
28564 exit (ferror (f) || fclose (f) != 0);
28570 rm -f conftest
$ac_exeext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28572 (eval $ac_link) 2>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 (eval $ac_try) 2>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; }; then
28581 ac_cv_sizeof_long
=`cat conftest.val`
28583 echo "$as_me: program exited with status $ac_status" >&5
28584 echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.
$ac_ext >&5
28587 ( exit $ac_status )
28588 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28589 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28591 See \`config.log' for more details." >&5
28592 echo "$as_me: error: cannot compute sizeof (long), 77
28593 See \`config.log' for more details." >&2;}
28594 { (exit 1); exit 1; }; }; }
28596 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28601 ac_cv_sizeof_long
=0
28604 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28605 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28606 cat >>confdefs.h
<<_ACEOF
28607 #define SIZEOF_LONG $ac_cv_sizeof_long
28611 echo "$as_me:$LINENO: checking for void*" >&5
28612 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28613 if test "${ac_cv_type_voidp+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 cat >conftest.
$ac_ext <<_ACEOF
28619 cat confdefs.h
>>conftest.
$ac_ext
28620 cat >>conftest.
$ac_ext <<_ACEOF
28621 /* end confdefs.h. */
28622 $ac_includes_default
28628 if (sizeof (void*))
28634 rm -f conftest.
$ac_objext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28636 (eval $ac_compile) 2>conftest.er1
28638 grep -v '^ *+' conftest.er1
>conftest.err
28640 cat conftest.err
>&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try
='test -z "$ac_c_werror_flag"
28644 || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try
='test -s conftest.$ac_objext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 ac_cv_type_voidp
=yes
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.
$ac_ext >&5
28661 ac_cv_type_voidp
=no
28663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28665 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28666 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28668 echo "$as_me:$LINENO: checking size of void*" >&5
28669 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28670 if test "${ac_cv_sizeof_voidp+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 if test "$ac_cv_type_voidp" = yes; then
28674 # The cast to unsigned long works around a bug in the HP C Compiler
28675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28677 # This bug is HP SR number 8606223364.
28678 if test "$cross_compiling" = yes; then
28679 # Depending upon the size, compute the lo and hi bounds.
28680 cat >conftest.
$ac_ext <<_ACEOF
28683 cat confdefs.h
>>conftest.
$ac_ext
28684 cat >>conftest.
$ac_ext <<_ACEOF
28685 /* end confdefs.h. */
28686 $ac_includes_default
28690 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28697 rm -f conftest.
$ac_objext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28699 (eval $ac_compile) 2>conftest.er1
28701 grep -v '^ *+' conftest.er1
>conftest.err
28703 cat conftest.err
>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try
='test -z "$ac_c_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try
='test -s conftest.$ac_objext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28721 cat >conftest.
$ac_ext <<_ACEOF
28724 cat confdefs.h
>>conftest.
$ac_ext
28725 cat >>conftest.
$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 $ac_includes_default
28731 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28738 rm -f conftest.
$ac_objext
28739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28740 (eval $ac_compile) 2>conftest.er1
28742 grep -v '^ *+' conftest.er1
>conftest.err
28744 cat conftest.err
>&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } &&
28747 { ac_try
='test -z "$ac_c_werror_flag"
28748 || test ! -s conftest.err'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try
='test -s conftest.$ac_objext'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 ac_hi
=$ac_mid; break
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.
$ac_ext >&5
28765 ac_lo
=`expr $ac_mid + 1`
28766 if test $ac_lo -le $ac_mid; then
28770 ac_mid
=`expr 2 '*' $ac_mid + 1`
28772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28775 echo "$as_me: failed program was:" >&5
28776 sed 's/^/| /' conftest.
$ac_ext >&5
28778 cat >conftest.
$ac_ext <<_ACEOF
28781 cat confdefs.h
>>conftest.
$ac_ext
28782 cat >>conftest.
$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28784 $ac_includes_default
28788 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28795 rm -f conftest.
$ac_objext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28797 (eval $ac_compile) 2>conftest.er1
28799 grep -v '^ *+' conftest.er1
>conftest.err
28801 cat conftest.err
>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } &&
28804 { ac_try
='test -z "$ac_c_werror_flag"
28805 || test ! -s conftest.err'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; } &&
28811 { ac_try
='test -s conftest.$ac_objext'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; }; then
28819 cat >conftest.
$ac_ext <<_ACEOF
28822 cat confdefs.h
>>conftest.
$ac_ext
28823 cat >>conftest.
$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 $ac_includes_default
28829 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28836 rm -f conftest.
$ac_objext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28838 (eval $ac_compile) 2>conftest.er1
28840 grep -v '^ *+' conftest.er1
>conftest.err
28842 cat conftest.err
>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try
='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try
='test -s conftest.$ac_objext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 ac_lo
=$ac_mid; break
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.
$ac_ext >&5
28863 ac_hi
=`expr '(' $ac_mid ')' - 1`
28864 if test $ac_mid -le $ac_hi; then
28868 ac_mid
=`expr 2 '*' $ac_mid`
28870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.
$ac_ext >&5
28878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28881 # Binary search between lo and hi bounds.
28882 while test "x$ac_lo" != "x$ac_hi"; do
28883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28884 cat >conftest.
$ac_ext <<_ACEOF
28887 cat confdefs.h
>>conftest.
$ac_ext
28888 cat >>conftest.
$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28890 $ac_includes_default
28894 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28901 rm -f conftest.
$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 (eval $ac_compile) 2>conftest.er1
28905 grep -v '^ *+' conftest.er1
>conftest.err
28907 cat conftest.err
>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try
='test -z "$ac_c_werror_flag"
28911 || test ! -s conftest.err'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; } &&
28917 { ac_try
='test -s conftest.$ac_objext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.
$ac_ext >&5
28928 ac_lo
=`expr '(' $ac_mid ')' + 1`
28930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28933 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
28934 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28935 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28936 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28937 See \`config.log' for more details." >&5
28938 echo "$as_me: error: cannot compute sizeof (void*), 77
28939 See \`config.log' for more details." >&2;}
28940 { (exit 1); exit 1; }; }; } ;;
28943 if test "$cross_compiling" = yes; then
28944 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28945 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28946 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28947 See \`config.log' for more details." >&5
28948 echo "$as_me: error: cannot run test program while cross compiling
28949 See \`config.log' for more details." >&2;}
28950 { (exit 1); exit 1; }; }; }
28952 cat >conftest.
$ac_ext <<_ACEOF
28955 cat confdefs.h
>>conftest.
$ac_ext
28956 cat >>conftest.
$ac_ext <<_ACEOF
28957 /* end confdefs.h. */
28958 $ac_includes_default
28959 long longval () { return (long) (sizeof (void*)); }
28960 unsigned long ulongval () { return (long) (sizeof (void*)); }
28962 #include <stdlib.h>
28967 FILE *f = fopen ("conftest.val", "w");
28970 if (((long) (sizeof (void*))) < 0)
28972 long i = longval ();
28973 if (i != ((long) (sizeof (void*))))
28975 fprintf (f, "%ld\n", i);
28979 unsigned long i = ulongval ();
28980 if (i != ((long) (sizeof (void*))))
28982 fprintf (f, "%lu\n", i);
28984 exit (ferror (f) || fclose (f) != 0);
28990 rm -f conftest
$ac_exeext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992 (eval $ac_link) 2>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_sizeof_voidp
=`cat conftest.val`
29003 echo "$as_me: program exited with status $ac_status" >&5
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.
$ac_ext >&5
29007 ( exit $ac_status )
29008 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29009 echo "$as_me: error: in \`$ac_pwd':" >&2;}
29010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
29011 See \`config.log' for more details." >&5
29012 echo "$as_me: error: cannot compute sizeof (void*), 77
29013 See \`config.log' for more details." >&2;}
29014 { (exit 1); exit 1; }; }; }
29016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29021 ac_cv_sizeof_voidp
=0
29024 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
29025 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
29026 cat >>confdefs.h
<<_ACEOF
29027 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
29031 ac_cv_char_data_model
=""
29032 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
29033 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
29034 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
29035 ac_cv_long_data_model
=""
29036 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
29037 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
29038 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
29039 echo "$as_me:$LINENO: checking data model" >&5
29040 echo $ECHO_N "checking data model... $ECHO_C" >&6
29041 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
29042 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
29043 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
29044 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
29045 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
29046 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
29047 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
29048 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
29049 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
29050 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
29051 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
29052 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
29053 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
29054 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
29055 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
29056 222/*|
333/*|
444/*|
666/*|
888/*) :
29057 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
29058 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
29060 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
29061 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
29065 if test "_$ac_cv_header_stdint_x" != "_" ; then
29066 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
29067 elif test "_$ac_cv_header_stdint_o" != "_" ; then
29068 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
29069 elif test "_$ac_cv_header_stdint_u" != "_" ; then
29070 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
29072 ac_cv_header_stdint
="stddef.h"
29075 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
29076 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
29077 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
29078 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
29079 unset ac_cv_type_int_least32_t
29080 unset ac_cv_type_int_fast32_t
29081 echo "$as_me:$LINENO: checking for int_least32_t" >&5
29082 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
29083 if test "${ac_cv_type_int_least32_t+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29086 cat >conftest.
$ac_ext <<_ACEOF
29089 cat confdefs.h
>>conftest.
$ac_ext
29090 cat >>conftest.
$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092 #include <$ac_cv_header_stdint>
29097 if ((int_least32_t *) 0)
29099 if (sizeof (int_least32_t))
29105 rm -f conftest.
$ac_objext
29106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29107 (eval $ac_compile) 2>conftest.er1
29109 grep -v '^ *+' conftest.er1
>conftest.err
29111 cat conftest.err
>&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); } &&
29114 { ac_try
='test -z "$ac_c_werror_flag"
29115 || test ! -s conftest.err'
29116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29117 (eval $ac_try) 2>&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); }; } &&
29121 { ac_try
='test -s conftest.$ac_objext'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; }; then
29127 ac_cv_type_int_least32_t
=yes
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.
$ac_ext >&5
29132 ac_cv_type_int_least32_t
=no
29134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29136 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
29137 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
29139 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
29140 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
29141 if test "${ac_cv_type_int_fast32_t+set}" = set; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 cat >conftest.
$ac_ext <<_ACEOF
29147 cat confdefs.h
>>conftest.
$ac_ext
29148 cat >>conftest.
$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29150 #include<$ac_cv_header_stdint>
29155 if ((int_fast32_t *) 0)
29157 if (sizeof (int_fast32_t))
29163 rm -f conftest.
$ac_objext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29165 (eval $ac_compile) 2>conftest.er1
29167 grep -v '^ *+' conftest.er1
>conftest.err
29169 cat conftest.err
>&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } &&
29172 { ac_try
='test -z "$ac_c_werror_flag"
29173 || test ! -s conftest.err'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; } &&
29179 { ac_try
='test -s conftest.$ac_objext'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 ac_cv_type_int_fast32_t
=yes
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.
$ac_ext >&5
29190 ac_cv_type_int_fast32_t
=no
29192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29194 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
29195 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
29197 echo "$as_me:$LINENO: checking for intmax_t" >&5
29198 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
29199 if test "${ac_cv_type_intmax_t+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 cat >conftest.
$ac_ext <<_ACEOF
29205 cat confdefs.h
>>conftest.
$ac_ext
29206 cat >>conftest.
$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208 #include <$ac_cv_header_stdint>
29213 if ((intmax_t *) 0)
29215 if (sizeof (intmax_t))
29221 rm -f conftest.
$ac_objext
29222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29223 (eval $ac_compile) 2>conftest.er1
29225 grep -v '^ *+' conftest.er1
>conftest.err
29227 cat conftest.err
>&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try
='test -z "$ac_c_werror_flag"
29231 || test ! -s conftest.err'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; } &&
29237 { ac_try
='test -s conftest.$ac_objext'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; }; then
29243 ac_cv_type_intmax_t
=yes
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.
$ac_ext >&5
29248 ac_cv_type_intmax_t
=no
29250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29252 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
29253 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
29256 fi # shortcircut to system "stdint.h"
29257 # ------------------ PREPARE VARIABLES ------------------------------
29258 if test "$GCC" = "yes" ; then
29259 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
29261 ac_cv_stdint_message
="using $CC"
29264 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
29265 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
29267 # ----------------- DONE inttypes.h checks START header -------------
29268 ac_config_commands
="$ac_config_commands $ac_stdint_h"
29273 # Check whether --with-glibj_zip or --without-glibj_zip was given.
29274 if test "${with_glibj_zip+set}" = set; then
29275 withval
="$with_glibj_zip"
29279 case "$with_glibj_zip" in
29281 use_glibj_zip
=false
29284 use_glibj_zip
=false
29287 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
29288 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
29289 { (exit 1); exit 1; }; }
29293 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
29299 if test x
$use_glibj_zip = xtrue
; then
29300 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
29301 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
29303 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
29304 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
29310 # Check whether --with-escher or --without-escher was given.
29311 if test "${with_escher+set}" = set; then
29312 withval
="$with_escher"
29315 case "$with_escher" in
29323 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
29324 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
29325 { (exit 1); exit 1; }; }
29329 PATH_TO_ESCHER
=$with_escher
29335 if test x
$use_escher = xtrue
; then
29337 USE_ESCHER_FALSE
='#'
29339 USE_ESCHER_TRUE
='#'
29345 # Check whether --enable-local-sockets or --disable-local-sockets was given.
29346 if test "${enable_local_sockets+set}" = set; then
29347 enableval
="$enable_local_sockets"
29348 case "${enableval}" in
29350 ENABLE_LOCAL_SOCKETS
=yes
29353 ENABLE_LOCAL_SOCKETS
=no
29357 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
29359 if test "${ac_cv_header_sys_un_h+set}" = set; then
29360 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29361 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29362 if test "${ac_cv_header_sys_un_h+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29366 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29368 # Is the header compilable?
29369 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
29370 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
29371 cat >conftest.
$ac_ext <<_ACEOF
29374 cat confdefs.h
>>conftest.
$ac_ext
29375 cat >>conftest.
$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29377 $ac_includes_default
29378 #include <sys/un.h>
29380 rm -f conftest.
$ac_objext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29382 (eval $ac_compile) 2>conftest.er1
29384 grep -v '^ *+' conftest.er1
>conftest.err
29386 cat conftest.err
>&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try
='test -z "$ac_c_werror_flag"
29390 || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try
='test -s conftest.$ac_objext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 ac_header_compiler
=yes
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.
$ac_ext >&5
29407 ac_header_compiler
=no
29409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29411 echo "${ECHO_T}$ac_header_compiler" >&6
29413 # Is the header present?
29414 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
29415 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
29416 cat >conftest.
$ac_ext <<_ACEOF
29419 cat confdefs.h
>>conftest.
$ac_ext
29420 cat >>conftest.
$ac_ext <<_ACEOF
29421 /* end confdefs.h. */
29422 #include <sys/un.h>
29424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29427 grep -v '^ *+' conftest.er1
>conftest.err
29429 cat conftest.err
>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } >/dev
/null
; then
29432 if test -s conftest.err
; then
29433 ac_cpp_err
=$ac_c_preproc_warn_flag
29434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29441 if test -z "$ac_cpp_err"; then
29442 ac_header_preproc
=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.
$ac_ext >&5
29447 ac_header_preproc
=no
29449 rm -f conftest.err conftest.
$ac_ext
29450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29451 echo "${ECHO_T}$ac_header_preproc" >&6
29453 # So? What about this header?
29454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29456 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
29457 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29458 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
29459 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
29460 ac_header_preproc
=yes
29463 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
29464 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
29465 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
29466 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
29467 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
29468 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
29469 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
29470 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
29471 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
29472 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
29473 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
29474 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
29477 ## -------------------------------- ##
29478 ## Report this to classpath@gnu.org ##
29479 ## -------------------------------- ##
29482 sed "s/^/$as_me: WARNING: /" >&2
29485 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29486 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29487 if test "${ac_cv_header_sys_un_h+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 ac_cv_header_sys_un_h
=$ac_header_preproc
29492 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29493 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29504 for ac_func
in read write bind listen accept shutdown
29506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29507 echo "$as_me:$LINENO: checking for $ac_func" >&5
29508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29509 if eval "test \"\${$as_ac_var+set}\" = set"; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29512 if test x
$gcc_no_link = xyes
; then
29513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29515 { (exit 1); exit 1; }; }
29517 cat >conftest.
$ac_ext <<_ACEOF
29520 cat confdefs.h
>>conftest.
$ac_ext
29521 cat >>conftest.
$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29525 #define $ac_func innocuous_$ac_func
29527 /* System header to define __stub macros and hopefully few prototypes,
29528 which can conflict with char $ac_func (); below.
29529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29530 <limits.h> exists even on freestanding compilers. */
29533 # include <limits.h>
29535 # include <assert.h>
29540 /* Override any gcc2 internal prototype to avoid an error. */
29545 /* We use char because int might match the return type of a gcc2
29546 builtin and then its argument prototype would still apply. */
29548 /* The GNU C library defines this for functions which it implements
29549 to always fail with ENOSYS. Some functions are actually named
29550 something starting with __ and the normal name is an alias. */
29551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29554 char (*f) () = $ac_func;
29563 return f != $ac_func;
29568 rm -f conftest.
$ac_objext conftest
$ac_exeext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29570 (eval $ac_link) 2>conftest.er1
29572 grep -v '^ *+' conftest.er1
>conftest.err
29574 cat conftest.err
>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try
='test -z "$ac_c_werror_flag"
29578 || test ! -s conftest.err'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; } &&
29584 { ac_try
='test -s conftest$ac_exeext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 eval "$as_ac_var=yes"
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.
$ac_ext >&5
29595 eval "$as_ac_var=no"
29597 rm -f conftest.err conftest.
$ac_objext \
29598 conftest
$ac_exeext conftest.
$ac_ext
29600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29602 if test `eval echo '${'$as_ac_var'}'` = yes; then
29603 cat >>confdefs.h
<<_ACEOF
29604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29608 { { echo "$as_me:$LINENO: error: networking support not available" >&5
29609 echo "$as_me: error: networking support not available" >&2;}
29610 { (exit 1); exit 1; }; }
29615 cat >>confdefs.h
<<\_ACEOF
29616 #define ENABLE_LOCAL_SOCKETS 1
29622 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
29623 ENABLE_LOCAL_SOCKETS_TRUE
=
29624 ENABLE_LOCAL_SOCKETS_FALSE
='#'
29626 ENABLE_LOCAL_SOCKETS_TRUE
='#'
29627 ENABLE_LOCAL_SOCKETS_FALSE
=
29633 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"
29636 if test "x${COMPILE_WRAPPERS}" = xno
29638 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"
29640 ac_config_commands
="$ac_config_commands gappletviewer"
29642 ac_config_commands
="$ac_config_commands gjarsigner"
29644 ac_config_commands
="$ac_config_commands gkeytool"
29646 ac_config_commands
="$ac_config_commands gjar"
29648 ac_config_commands
="$ac_config_commands gnative2ascii"
29650 ac_config_commands
="$ac_config_commands gserialver"
29652 ac_config_commands
="$ac_config_commands grmiregistry"
29654 ac_config_commands
="$ac_config_commands gtnameserv"
29656 ac_config_commands
="$ac_config_commands gorbd"
29658 ac_config_commands
="$ac_config_commands grmid"
29660 ac_config_commands
="$ac_config_commands grmic"
29662 ac_config_commands
="$ac_config_commands gjavah"
29666 ac_config_commands
="$ac_config_commands gen-classlist"
29668 ac_config_commands
="$ac_config_commands copy-vmresources"
29670 cat >confcache
<<\_ACEOF
29671 # This file is a shell script that caches the results of configure
29672 # tests run on this system so they can be shared between configure
29673 # scripts and configure runs, see configure's option --config-cache.
29674 # It is not useful on other systems. If it contains results you don't
29675 # want to keep, you may remove or edit it.
29677 # config.status only pays attention to the cache file if you give it
29678 # the --recheck option to rerun configure.
29680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29682 # following values.
29686 # The following way of writing the cache mishandles newlines in values,
29687 # but we know of no workaround that is simple, portable, and efficient.
29688 # So, don't put newlines in cache variables' values.
29689 # Ultrix sh set writes to stderr and can't be redirected directly,
29690 # and sets the high bit in the cache file unless we assign to the vars.
29693 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29695 # `set' does not quote correctly, so add quotes (double-quote
29696 # substitution turns \\\\ into \\, and sed turns \\ into \).
29699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29702 # `set' quotes correctly as required by POSIX, so do not add quotes.
29704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29713 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29715 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29716 if test -w $cache_file; then
29717 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29718 cat confcache
>$cache_file
29720 echo "not updating unwritable cache $cache_file"
29725 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29726 # Let make expand exec_prefix.
29727 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29729 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29730 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29731 # trailing colons and then remove the whole line if VPATH becomes empty
29732 # (actually we leave an empty line to preserve line numbers).
29733 if test "x$srcdir" = x.
; then
29734 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29735 s/:*\$(srcdir):*/:/;
29736 s/:*\${srcdir}:*/:/;
29738 s/^\([^=]*=[ ]*\):*/\1/;
29744 DEFS
=-DHAVE_CONFIG_H
29748 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29749 # 1. Remove the extension, and $U if already installed.
29750 ac_i
=`echo "$ac_i" |
29751 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29753 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
29754 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
29756 LIBOBJS
=$ac_libobjs
29758 LTLIBOBJS
=$ac_ltlibobjs
29761 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
29762 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29763 Usually this means the macro was only invoked conditionally." >&5
29764 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29765 Usually this means the macro was only invoked conditionally." >&2;}
29766 { (exit 1); exit 1; }; }
29768 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
29769 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
29770 Usually this means the macro was only invoked conditionally." >&5
29771 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
29772 Usually this means the macro was only invoked conditionally." >&2;}
29773 { (exit 1); exit 1; }; }
29775 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
29776 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29777 Usually this means the macro was only invoked conditionally." >&5
29778 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29779 Usually this means the macro was only invoked conditionally." >&2;}
29780 { (exit 1); exit 1; }; }
29782 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
29783 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29784 Usually this means the macro was only invoked conditionally." >&5
29785 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29786 Usually this means the macro was only invoked conditionally." >&2;}
29787 { (exit 1); exit 1; }; }
29789 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
29790 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29791 Usually this means the macro was only invoked conditionally." >&5
29792 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29793 Usually this means the macro was only invoked conditionally." >&2;}
29794 { (exit 1); exit 1; }; }
29796 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
29797 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29798 Usually this means the macro was only invoked conditionally." >&5
29799 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29800 Usually this means the macro was only invoked conditionally." >&2;}
29801 { (exit 1); exit 1; }; }
29803 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
29804 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29805 Usually this means the macro was only invoked conditionally." >&5
29806 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29807 Usually this means the macro was only invoked conditionally." >&2;}
29808 { (exit 1); exit 1; }; }
29810 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
29811 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29812 Usually this means the macro was only invoked conditionally." >&5
29813 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29814 Usually this means the macro was only invoked conditionally." >&2;}
29815 { (exit 1); exit 1; }; }
29817 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29818 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29819 Usually this means the macro was only invoked conditionally." >&5
29820 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29821 Usually this means the macro was only invoked conditionally." >&2;}
29822 { (exit 1); exit 1; }; }
29824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29825 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29826 Usually this means the macro was only invoked conditionally." >&5
29827 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29828 Usually this means the macro was only invoked conditionally." >&2;}
29829 { (exit 1); exit 1; }; }
29831 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
29832 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29833 Usually this means the macro was only invoked conditionally." >&5
29834 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29835 Usually this means the macro was only invoked conditionally." >&2;}
29836 { (exit 1); exit 1; }; }
29838 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
29839 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29840 Usually this means the macro was only invoked conditionally." >&5
29841 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29842 Usually this means the macro was only invoked conditionally." >&2;}
29843 { (exit 1); exit 1; }; }
29845 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
29846 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29847 Usually this means the macro was only invoked conditionally." >&5
29848 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29849 Usually this means the macro was only invoked conditionally." >&2;}
29850 { (exit 1); exit 1; }; }
29852 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
29853 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29854 Usually this means the macro was only invoked conditionally." >&5
29855 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29856 Usually this means the macro was only invoked conditionally." >&2;}
29857 { (exit 1); exit 1; }; }
29859 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
29860 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
29861 Usually this means the macro was only invoked conditionally." >&5
29862 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
29863 Usually this means the macro was only invoked conditionally." >&2;}
29864 { (exit 1); exit 1; }; }
29866 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
29867 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29868 Usually this means the macro was only invoked conditionally." >&5
29869 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29870 Usually this means the macro was only invoked conditionally." >&2;}
29871 { (exit 1); exit 1; }; }
29873 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
29874 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
29875 Usually this means the macro was only invoked conditionally." >&5
29876 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
29877 Usually this means the macro was only invoked conditionally." >&2;}
29878 { (exit 1); exit 1; }; }
29880 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29881 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29882 Usually this means the macro was only invoked conditionally." >&5
29883 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29884 Usually this means the macro was only invoked conditionally." >&2;}
29885 { (exit 1); exit 1; }; }
29887 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29888 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29889 Usually this means the macro was only invoked conditionally." >&5
29890 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29891 Usually this means the macro was only invoked conditionally." >&2;}
29892 { (exit 1); exit 1; }; }
29894 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29895 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29896 Usually this means the macro was only invoked conditionally." >&5
29897 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29898 Usually this means the macro was only invoked conditionally." >&2;}
29899 { (exit 1); exit 1; }; }
29901 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29902 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29903 Usually this means the macro was only invoked conditionally." >&5
29904 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29905 Usually this means the macro was only invoked conditionally." >&2;}
29906 { (exit 1); exit 1; }; }
29908 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29909 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29910 Usually this means the macro was only invoked conditionally." >&5
29911 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29912 Usually this means the macro was only invoked conditionally." >&2;}
29913 { (exit 1); exit 1; }; }
29915 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29916 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29917 Usually this means the macro was only invoked conditionally." >&5
29918 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29919 Usually this means the macro was only invoked conditionally." >&2;}
29920 { (exit 1); exit 1; }; }
29922 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29923 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29924 Usually this means the macro was only invoked conditionally." >&5
29925 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29926 Usually this means the macro was only invoked conditionally." >&2;}
29927 { (exit 1); exit 1; }; }
29929 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29930 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29931 Usually this means the macro was only invoked conditionally." >&5
29932 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29933 Usually this means the macro was only invoked conditionally." >&2;}
29934 { (exit 1); exit 1; }; }
29936 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29937 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29938 Usually this means the macro was only invoked conditionally." >&5
29939 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29940 Usually this means the macro was only invoked conditionally." >&2;}
29941 { (exit 1); exit 1; }; }
29943 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29944 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29945 Usually this means the macro was only invoked conditionally." >&5
29946 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29947 Usually this means the macro was only invoked conditionally." >&2;}
29948 { (exit 1); exit 1; }; }
29950 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29951 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29952 Usually this means the macro was only invoked conditionally." >&5
29953 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29954 Usually this means the macro was only invoked conditionally." >&2;}
29955 { (exit 1); exit 1; }; }
29957 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
29958 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
29959 Usually this means the macro was only invoked conditionally." >&5
29960 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
29961 Usually this means the macro was only invoked conditionally." >&2;}
29962 { (exit 1); exit 1; }; }
29964 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
29965 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29966 Usually this means the macro was only invoked conditionally." >&5
29967 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29968 Usually this means the macro was only invoked conditionally." >&2;}
29969 { (exit 1); exit 1; }; }
29971 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29972 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29973 Usually this means the macro was only invoked conditionally." >&5
29974 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29975 Usually this means the macro was only invoked conditionally." >&2;}
29976 { (exit 1); exit 1; }; }
29978 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
29979 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29980 Usually this means the macro was only invoked conditionally." >&5
29981 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29982 Usually this means the macro was only invoked conditionally." >&2;}
29983 { (exit 1); exit 1; }; }
29985 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
29986 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29987 Usually this means the macro was only invoked conditionally." >&5
29988 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29989 Usually this means the macro was only invoked conditionally." >&2;}
29990 { (exit 1); exit 1; }; }
29992 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
29993 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29994 Usually this means the macro was only invoked conditionally." >&5
29995 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29996 Usually this means the macro was only invoked conditionally." >&2;}
29997 { (exit 1); exit 1; }; }
29999 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
30000 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
30001 Usually this means the macro was only invoked conditionally." >&5
30002 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
30003 Usually this means the macro was only invoked conditionally." >&2;}
30004 { (exit 1); exit 1; }; }
30006 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
30007 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
30008 Usually this means the macro was only invoked conditionally." >&5
30009 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
30010 Usually this means the macro was only invoked conditionally." >&2;}
30011 { (exit 1); exit 1; }; }
30013 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
30014 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30015 Usually this means the macro was only invoked conditionally." >&5
30016 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30017 Usually this means the macro was only invoked conditionally." >&2;}
30018 { (exit 1); exit 1; }; }
30020 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
30021 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
30022 Usually this means the macro was only invoked conditionally." >&5
30023 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
30024 Usually this means the macro was only invoked conditionally." >&2;}
30025 { (exit 1); exit 1; }; }
30027 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
30028 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30029 Usually this means the macro was only invoked conditionally." >&5
30030 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30031 Usually this means the macro was only invoked conditionally." >&2;}
30032 { (exit 1); exit 1; }; }
30035 : ${CONFIG_STATUS=./config.status}
30036 ac_clean_files_save
=$ac_clean_files
30037 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30038 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30039 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30040 cat >$CONFIG_STATUS <<_ACEOF
30042 # Generated by $as_me.
30043 # Run this file to recreate the current configuration.
30044 # Compiler output produced by configure, useful for debugging
30045 # configure, is in config.log if it exists.
30048 ac_cs_recheck=false
30050 SHELL=\${CONFIG_SHELL-$SHELL}
30053 cat >>$CONFIG_STATUS <<\_ACEOF
30054 ## --------------------- ##
30055 ## M4sh Initialization. ##
30056 ## --------------------- ##
30058 # Be Bourne compatible
30059 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30062 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30063 # is contrary to our usage. Disable this feature.
30064 alias -g '${1+"$@"}'='"$@"'
30065 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30068 DUALCASE
=1; export DUALCASE
# for MKS sh
30070 # Support unset when possible.
30071 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30078 # Work around bugs in pre-3.0 UWIN ksh.
30079 $as_unset ENV MAIL MAILPATH
30086 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30087 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30088 LC_TELEPHONE LC_TIME
30090 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30091 eval $as_var=C
; export $as_var
30097 # Required to use basename.
30098 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30104 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
30105 as_basename
=basename
30111 # Name of the executable.
30112 as_me
=`$as_basename "$0" ||
30113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30114 X"$0" : 'X\(//\)$' \| \
30115 X"$0" : 'X\(/\)$' \| \
30116 . : '\(.\)' 2>/dev/null ||
30118 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30119 /^X\/\(\/\/\)$/{ s//\1/; q; }
30120 /^X\/\(\/\).*/{ s//\1/; q; }
30124 # PATH needs CR, and LINENO needs CR and PATH.
30125 # Avoid depending upon Character Ranges.
30126 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30127 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30128 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30129 as_cr_digits
='0123456789'
30130 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30132 # The user is always right.
30133 if test "${PATH_SEPARATOR+set}" != set; then
30134 echo "#! /bin/sh" >conf$$.sh
30135 echo "exit 0" >>conf$$.sh
30137 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30146 as_lineno_1
=$LINENO
30147 as_lineno_2
=$LINENO
30148 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30149 test "x$as_lineno_1" != "x$as_lineno_2" &&
30150 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
30151 # Find who we are. Look in the path if we contain no path at all
30154 *[\\/]* ) as_myself
=$0 ;;
30155 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30156 for as_dir
in $PATH
30159 test -z "$as_dir" && as_dir
=.
30160 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30165 # We did not find ourselves, most probably we were run as `sh COMMAND'
30166 # in which case we are not to be found in the path.
30167 if test "x$as_myself" = x
; then
30170 if test ! -f "$as_myself"; then
30171 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30172 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30173 { (exit 1); exit 1; }; }
30175 case $CONFIG_SHELL in
30177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30178 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
30181 test -z "$as_dir" && as_dir
=.
30182 for as_base
in sh bash ksh sh5
; do
30185 if ("$as_dir/$as_base" -c '
30186 as_lineno_1=$LINENO
30187 as_lineno_2=$LINENO
30188 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30189 test "x$as_lineno_1" != "x$as_lineno_2" &&
30190 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
30191 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
30192 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
30193 CONFIG_SHELL
=$as_dir/$as_base
30194 export CONFIG_SHELL
30195 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30204 # uniformly replaced by the line number. The first 'sed' inserts a
30205 # line-number line before each line; the second 'sed' does the real
30206 # work. The second script uses 'N' to pair each line-number line
30207 # with the numbered line, and appends trailing '-' during
30208 # substitution so that $LINENO is not a special case at line end.
30209 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30210 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30211 sed '=' <$as_myself |
30216 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30219 s,^['$as_cr_digits']*\n,,
30220 ' >$as_me.lineno
&&
30221 chmod +x
$as_me.lineno ||
30222 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30223 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30224 { (exit 1); exit 1; }; }
30226 # Don't try to exec as it changes $[0], causing all sort of problems
30227 # (the dirname of $[0] is not the place where we might find the
30228 # original and so on. Autoconf is especially sensible to this).
30230 # Exit status is that of the last command.
30235 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30236 *c
*,-n*) ECHO_N
= ECHO_C
='
30238 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30239 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30242 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30248 rm -f conf$$ conf$$.exe conf$$.
file
30250 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30251 # We could just check for DJGPP; but this test a) works b) is more generic
30252 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30253 if test -f conf$$.exe
; then
30254 # Don't use ln at all; we don't have any links
30259 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30264 rm -f conf$$ conf$$.exe conf$$.
file
30266 if mkdir
-p .
2>/dev
/null
; then
30269 test -d .
/-p && rmdir .
/-p
30273 as_executable_p
="test -f"
30275 # Sed expression to map a string onto a valid CPP name.
30276 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30278 # Sed expression to map a string onto a valid variable name.
30279 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30283 # We need space, tab and new line, in precisely that order.
30293 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30294 # report actual input values of CONFIG_FILES etc. instead of their
30295 # values after options handling. Logging --version etc. is OK.
30299 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30300 ## Running $as_me. ##
30305 This file was extended by GNU Classpath $as_me 0.96-pre, which was
30306 generated by GNU Autoconf 2.59. Invocation command line was
30308 CONFIG_FILES = $CONFIG_FILES
30309 CONFIG_HEADERS = $CONFIG_HEADERS
30310 CONFIG_LINKS = $CONFIG_LINKS
30311 CONFIG_COMMANDS = $CONFIG_COMMANDS
30315 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30319 # Files that config.status was made for.
30320 if test -n "$ac_config_files"; then
30321 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30324 if test -n "$ac_config_headers"; then
30325 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30328 if test -n "$ac_config_links"; then
30329 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30332 if test -n "$ac_config_commands"; then
30333 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30336 cat >>$CONFIG_STATUS <<\_ACEOF
30339 \`$as_me' instantiates files from templates according to the
30340 current configuration.
30342 Usage: $0 [OPTIONS] [FILE]...
30344 -h, --help print this help, then exit
30345 -V, --version print version number, then exit
30346 -q, --quiet do not print progress messages
30347 -d, --debug don't remove temporary files
30348 --recheck update $as_me by reconfiguring in the same conditions
30349 --file=FILE[:TEMPLATE]
30350 instantiate the configuration file FILE
30351 --header=FILE[:TEMPLATE]
30352 instantiate the configuration header FILE
30354 Configuration files:
30357 Configuration headers:
30360 Configuration links:
30363 Configuration commands:
30366 Report bugs to <bug-autoconf@gnu.org>."
30369 cat >>$CONFIG_STATUS <<_ACEOF
30371 GNU Classpath config.status 0.96-pre
30372 configured by $0, generated by GNU Autoconf 2.59,
30373 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30375 Copyright (C) 2003 Free Software Foundation, Inc.
30376 This config.status script is free software; the Free Software Foundation
30377 gives unlimited permission to copy, distribute and modify it."
30382 cat >>$CONFIG_STATUS <<\_ACEOF
30383 # If no file are specified by the user, then we need to provide default
30384 # value. By we need to know if files were specified by the user.
30390 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30391 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30399 *) # This is not an option, so the user has probably given explicit
30402 ac_need_defaults
=false
;;
30406 # Handling of the options.
30408 cat >>$CONFIG_STATUS <<\_ACEOF
30409 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30411 --version |
--vers* |
-V )
30412 echo "$ac_cs_version"; exit 0 ;;
30414 # Conflict between --help and --header
30415 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30416 Try \`$0 --help' for more information." >&5
30417 echo "$as_me: error: ambiguous option: $1
30418 Try \`$0 --help' for more information." >&2;}
30419 { (exit 1); exit 1; }; };;
30420 --help |
--hel |
-h )
30421 echo "$ac_cs_usage"; exit 0 ;;
30422 --debug |
--d* |
-d )
30424 --file |
--fil |
--fi |
--f )
30426 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30427 ac_need_defaults
=false
;;
30428 --header |
--heade |
--head |
--hea )
30430 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30431 ac_need_defaults
=false
;;
30432 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30433 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30436 # This is an error.
30437 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30438 Try \`$0 --help' for more information." >&5
30439 echo "$as_me: error: unrecognized option: $1
30440 Try \`$0 --help' for more information." >&2;}
30441 { (exit 1); exit 1; }; } ;;
30443 *) ac_config_targets
="$ac_config_targets $1" ;;
30449 ac_configure_extra_args
=
30451 if $ac_cs_silent; then
30453 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30457 cat >>$CONFIG_STATUS <<_ACEOF
30458 if \$ac_cs_recheck; then
30459 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30460 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30465 cat >>$CONFIG_STATUS <<_ACEOF
30467 # INIT-COMMANDS section.
30474 with_multisubdir="$with_multisubdir"
30475 with_multisrctop="$with_multisrctop"
30476 with_target_subdir="$with_target_subdir"
30477 ac_configure_args="${multilib_arg} ${ac_configure_args}"
30478 multi_basedir="$multi_basedir"
30479 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
30481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30484 # The HP-UX ksh and POSIX shell print the target directory to stdout
30485 # if CDPATH is set.
30486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30488 sed_quote_subst='$sed_quote_subst'
30489 double_quote_subst='$double_quote_subst'
30490 delay_variable_subst='$delay_variable_subst'
30491 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
30492 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
30493 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
30494 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
30495 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
30496 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
30497 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
30498 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
30499 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
30500 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
30501 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
30502 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
30503 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
30504 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
30505 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
30506 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
30507 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
30508 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
30509 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
30510 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
30511 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
30512 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
30513 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
30514 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
30515 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
30516 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
30517 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
30518 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30519 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
30520 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
30521 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
30522 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30523 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
30524 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
30525 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30526 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30527 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30528 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
30529 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30530 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
30531 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
30532 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
30533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
30534 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"`'
30535 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
30536 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
30537 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
30538 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
30539 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
30540 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
30541 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
30542 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
30543 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
30544 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
30545 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
30546 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30547 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30548 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
30549 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
30550 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30551 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30552 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
30553 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30554 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30555 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30556 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30557 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30558 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30559 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
30560 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30561 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30562 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30563 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
30564 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
30565 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
30566 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
30567 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
30568 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30569 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
30570 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
30571 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
30572 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
30573 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
30574 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30575 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30576 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30577 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30578 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
30579 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
30580 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
30581 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
30582 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
30583 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30584 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30585 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
30586 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30587 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
30588 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30589 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30590 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30591 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30592 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
30593 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
30594 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30595 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30596 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
30597 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
30598 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
30599 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
30600 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
30601 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
30602 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30603 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30604 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
30605 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
30606 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
30607 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30608 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30609 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30610 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30611 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30612 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30613 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30614 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30615 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30616 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30617 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30618 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30619 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30620 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30621 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30622 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30623 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30624 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30625 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30626 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30627 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30628 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30629 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30630 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30631 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30632 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30633 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30634 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30635 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30636 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30637 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30638 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30639 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30640 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30641 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30642 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30643 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30644 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30645 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30646 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30647 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30648 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30649 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30650 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30651 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30652 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30655 LTCFLAGS='$LTCFLAGS'
30656 compiler='$compiler_DEFAULT'
30658 # Quote evaled strings.
30669 deplibs_check_method \
30678 lt_cv_sys_global_symbol_pipe \
30679 lt_cv_sys_global_symbol_to_cdecl \
30680 lt_cv_sys_global_symbol_to_c_name_address \
30683 lt_prog_compiler_no_builtin_flag \
30684 lt_prog_compiler_wl \
30685 lt_prog_compiler_pic \
30686 lt_prog_compiler_static \
30687 lt_cv_prog_compiler_c_o \
30690 export_dynamic_flag_spec \
30691 whole_archive_flag_spec \
30692 compiler_needs_object \
30694 allow_undefined_flag \
30695 no_undefined_flag \
30696 hardcode_libdir_flag_spec \
30697 hardcode_libdir_flag_spec_ld \
30698 hardcode_libdir_separator \
30703 variables_saved_for_relink \
30705 library_names_spec \
30714 compiler_lib_search_path \
30717 lt_prog_compiler_no_builtin_flag_CXX \
30718 lt_prog_compiler_wl_CXX \
30719 lt_prog_compiler_pic_CXX \
30720 lt_prog_compiler_static_CXX \
30721 lt_cv_prog_compiler_c_o_CXX \
30722 export_dynamic_flag_spec_CXX \
30723 whole_archive_flag_spec_CXX \
30724 compiler_needs_object_CXX \
30726 allow_undefined_flag_CXX \
30727 no_undefined_flag_CXX \
30728 hardcode_libdir_flag_spec_CXX \
30729 hardcode_libdir_flag_spec_ld_CXX \
30730 hardcode_libdir_separator_CXX \
30731 fix_srcfile_path_CXX \
30732 exclude_expsyms_CXX \
30733 include_expsyms_CXX \
30734 file_list_spec_CXX \
30735 predep_objects_CXX \
30736 postdep_objects_CXX \
30739 compiler_lib_search_path_CXX; do
30740 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30741 *[\\\\\\\`\\"\\\$]*)
30742 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
30745 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30750 # Double-quote double-evaled strings.
30751 for var in reload_cmds \
30752 old_postinstall_cmds \
30753 old_postuninstall_cmds \
30755 extract_expsyms_cmds \
30756 old_archive_from_new_cmds \
30757 old_archive_from_expsyms_cmds \
30759 archive_expsym_cmds \
30761 module_expsym_cmds \
30762 export_symbols_cmds \
30765 postuninstall_cmds \
30767 sys_lib_search_path_spec \
30768 sys_lib_dlsearch_path_spec \
30769 old_archive_cmds_CXX \
30770 old_archive_from_new_cmds_CXX \
30771 old_archive_from_expsyms_cmds_CXX \
30773 archive_expsym_cmds_CXX \
30775 module_expsym_cmds_CXX \
30776 export_symbols_cmds_CXX \
30777 prelink_cmds_CXX; do
30778 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30779 *[\\\\\\\`\\"\\\$]*)
30780 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
30783 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30788 # Fix-up fallback echo if it was mangled by the above quoting rules.
30790 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
30794 ac_aux_dir='$ac_aux_dir'
30795 xsi_shell='$xsi_shell'
30796 lt_shell_append='$lt_shell_append'
30798 # See if we are running on zsh, and set the options which allow our
30799 # commands through without removal of \ escapes INIT.
30800 if test -n "\${ZSH_VERSION+set}" ; then
30801 setopt NO_GLOB_SUBST
30807 TIMESTAMP='$TIMESTAMP'
30815 # variables for create stdint.h replacement
30818 ac_stdint_h="$ac_stdint_h"
30819 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
30820 ac_cv_stdint_message="$ac_cv_stdint_message"
30821 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
30822 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
30823 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
30824 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
30825 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
30826 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
30827 ac_cv_char_data_model="$ac_cv_char_data_model"
30828 ac_cv_long_data_model="$ac_cv_long_data_model"
30829 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
30830 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
30831 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
30838 cat >>$CONFIG_STATUS <<\_ACEOF
30839 for ac_config_target
in $ac_config_targets
30841 case "$ac_config_target" in
30842 # Handling of arguments.
30843 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
30844 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30845 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
30846 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
30847 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
30848 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
30849 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
30850 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
30851 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
30852 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
30853 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
30854 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
30855 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
30856 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
30857 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
30858 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
30859 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
30860 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
30861 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
30862 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
30863 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
30864 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
30865 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
30866 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
30867 "native/jni/gstreamer-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
30868 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
30869 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
30870 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
30871 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
30872 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
30873 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
30874 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
30875 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
30876 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
30877 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
30878 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
30879 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
30880 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
30881 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
30882 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
30883 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
30884 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
30885 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
30886 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
30887 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
30888 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
30889 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
30890 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
30891 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
30892 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
30893 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
30894 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
30895 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
30896 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
30897 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
30898 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
30899 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
30900 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
30901 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
30902 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
30903 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
30904 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
30905 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
30906 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
30907 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
30908 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
30909 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
30910 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
30911 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
30912 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
30913 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
30914 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
30915 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
30916 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
30917 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
30918 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
30919 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
30920 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30921 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30922 { (exit 1); exit 1; }; };;
30926 # If the user did not use the arguments to specify the items to instantiate,
30927 # then the envvar interface is used. Set only those that are not.
30928 # We use the long form for the default assignment because of an extremely
30929 # bizarre bug on SunOS 4.1.3.
30930 if $ac_need_defaults; then
30931 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30932 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30933 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
30934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30937 # Have a temporary directory for convenience. Make it in the build tree
30938 # simply because there is no reason to put it here, and in addition,
30939 # creating and moving files from /tmp can sometimes cause problems.
30940 # Create a temporary directory, and hook for its removal unless debugging.
30943 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30944 trap '{ (exit 1); exit 1; }' 1 2 13 15
30947 # Create a (secure) tmp directory for tmp files.
30950 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30951 test -n "$tmp" && test -d "$tmp"
30954 tmp
=.
/confstat$$
-$RANDOM
30955 (umask 077 && mkdir
$tmp)
30958 echo "$me: cannot create a temporary directory in ." >&2
30959 { (exit 1); exit 1; }
30964 cat >>$CONFIG_STATUS <<_ACEOF
30967 # CONFIG_FILES section.
30970 # No need to generate the scripts if there are no CONFIG_FILES.
30971 # This happens for instance when ./config.status config.h
30972 if test -n "\$CONFIG_FILES"; then
30973 # Protect against being on the right side of a sed subst in config.status.
30974 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30975 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30976 s,@SHELL@,$SHELL,;t t
30977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30978 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30979 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30980 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30981 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30982 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30983 s,@exec_prefix@,$exec_prefix,;t t
30984 s,@prefix@,$prefix,;t t
30985 s,@program_transform_name@,$program_transform_name,;t t
30986 s,@bindir@,$bindir,;t t
30987 s,@sbindir@,$sbindir,;t t
30988 s,@libexecdir@,$libexecdir,;t t
30989 s,@datadir@,$datadir,;t t
30990 s,@sysconfdir@,$sysconfdir,;t t
30991 s,@sharedstatedir@,$sharedstatedir,;t t
30992 s,@localstatedir@,$localstatedir,;t t
30993 s,@libdir@,$libdir,;t t
30994 s,@includedir@,$includedir,;t t
30995 s,@oldincludedir@,$oldincludedir,;t t
30996 s,@infodir@,$infodir,;t t
30997 s,@mandir@,$mandir,;t t
30998 s,@build_alias@,$build_alias,;t t
30999 s,@host_alias@,$host_alias,;t t
31000 s,@target_alias@,$target_alias,;t t
31001 s,@DEFS@,$DEFS,;t t
31002 s,@ECHO_C@,$ECHO_C,;t t
31003 s,@ECHO_N@,$ECHO_N,;t t
31004 s,@ECHO_T@,$ECHO_T,;t t
31005 s,@LIBS@,$LIBS,;t t
31006 s,@build@,$build,;t t
31007 s,@build_cpu@,$build_cpu,;t t
31008 s,@build_vendor@,$build_vendor,;t t
31009 s,@build_os@,$build_os,;t t
31010 s,@host@,$host,;t t
31011 s,@host_cpu@,$host_cpu,;t t
31012 s,@host_vendor@,$host_vendor,;t t
31013 s,@host_os@,$host_os,;t t
31014 s,@target@,$target,;t t
31015 s,@target_cpu@,$target_cpu,;t t
31016 s,@target_vendor@,$target_vendor,;t t
31017 s,@target_os@,$target_os,;t t
31018 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
31019 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
31020 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
31021 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
31022 s,@multi_basedir@,$multi_basedir,;t t
31023 s,@LIBVERSION@,$LIBVERSION,;t t
31024 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
31025 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
31026 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
31027 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
31028 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
31029 s,@CYGPATH_W@,$CYGPATH_W,;t t
31030 s,@PACKAGE@,$PACKAGE,;t t
31031 s,@VERSION@,$VERSION,;t t
31032 s,@ACLOCAL@,$ACLOCAL,;t t
31033 s,@AUTOCONF@,$AUTOCONF,;t t
31034 s,@AUTOMAKE@,$AUTOMAKE,;t t
31035 s,@AUTOHEADER@,$AUTOHEADER,;t t
31036 s,@MAKEINFO@,$MAKEINFO,;t t
31037 s,@install_sh@,$install_sh,;t t
31038 s,@STRIP@,$STRIP,;t t
31039 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31040 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
31041 s,@mkdir_p@,$mkdir_p,;t t
31043 s,@SET_MAKE@,$SET_MAKE,;t t
31044 s,@am__leading_dot@,$am__leading_dot,;t t
31045 s,@AMTAR@,$AMTAR,;t t
31046 s,@am__tar@,$am__tar,;t t
31047 s,@am__untar@,$am__untar,;t t
31048 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
31049 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
31050 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
31051 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
31052 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
31053 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
31054 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
31055 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
31056 s,@CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@,$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE,;t t
31057 s,@CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@,$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE,;t t
31058 s,@default_toolkit@,$default_toolkit,;t t
31059 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
31060 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
31062 s,@CFLAGS@,$CFLAGS,;t t
31063 s,@LDFLAGS@,$LDFLAGS,;t t
31064 s,@CPPFLAGS@,$CPPFLAGS,;t t
31065 s,@ac_ct_CC@,$ac_ct_CC,;t t
31066 s,@EXEEXT@,$EXEEXT,;t t
31067 s,@OBJEXT@,$OBJEXT,;t t
31068 s,@DEPDIR@,$DEPDIR,;t t
31069 s,@am__include@,$am__include,;t t
31070 s,@am__quote@,$am__quote,;t t
31071 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
31072 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
31073 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
31074 s,@CCDEPMODE@,$CCDEPMODE,;t t
31075 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
31076 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
31078 s,@EGREP@,$EGREP,;t t
31079 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
31080 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
31081 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
31082 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
31083 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
31084 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
31085 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
31086 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
31087 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
31088 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
31089 s,@toolexeclibdir@,$toolexeclibdir,;t t
31090 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
31091 s,@glibjdir@,$glibjdir,;t t
31092 s,@VM_BINARY@,$VM_BINARY,;t t
31093 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
31094 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
31095 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
31096 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
31097 s,@LN_S@,$LN_S,;t t
31098 s,@LIBTOOL@,$LIBTOOL,;t t
31100 s,@FGREP@,$FGREP,;t t
31101 s,@GREP@,$GREP,;t t
31103 s,@DUMPBIN@,$DUMPBIN,;t t
31104 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
31107 s,@ac_ct_AR@,$ac_ct_AR,;t t
31108 s,@RANLIB@,$RANLIB,;t t
31109 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31110 s,@lt_ECHO@,$lt_ECHO,;t t
31112 s,@CXXFLAGS@,$CXXFLAGS,;t t
31113 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31114 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
31115 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
31116 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
31117 s,@CXXCPP@,$CXXCPP,;t t
31118 s,@PERL@,$PERL,;t t
31119 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
31120 s,@LIBMAGIC@,$LIBMAGIC,;t t
31121 s,@LIBICONV@,$LIBICONV,;t t
31122 s,@LTLIBICONV@,$LTLIBICONV,;t t
31123 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
31124 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
31125 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
31126 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
31127 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
31128 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
31129 s,@XML_LIBS@,$XML_LIBS,;t t
31130 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
31131 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
31132 s,@X_CFLAGS@,$X_CFLAGS,;t t
31133 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
31134 s,@X_LIBS@,$X_LIBS,;t t
31135 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
31136 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
31137 s,@GTK_LIBS@,$GTK_LIBS,;t t
31138 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
31139 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
31140 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
31141 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
31142 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
31143 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
31144 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
31145 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
31146 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
31147 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
31148 s,@GDK_LIBS@,$GDK_LIBS,;t t
31149 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
31150 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
31151 s,@GSTREAMER_BASE_CFLAGS@,$GSTREAMER_BASE_CFLAGS,;t t
31152 s,@GSTREAMER_BASE_LIBS@,$GSTREAMER_BASE_LIBS,;t t
31153 s,@GSTREAMER_PLUGINS_BASE_CFLAGS@,$GSTREAMER_PLUGINS_BASE_CFLAGS,;t t
31154 s,@GSTREAMER_PLUGINS_BASE_LIBS@,$GSTREAMER_PLUGINS_BASE_LIBS,;t t
31155 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
31156 s,@GSTREAMER_FILE_READER@,$GSTREAMER_FILE_READER,;t t
31157 s,@GSTREAMER_MIXER_PROVIDER@,$GSTREAMER_MIXER_PROVIDER,;t t
31158 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
31159 s,@QT_LIBS@,$QT_LIBS,;t t
31161 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
31162 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
31163 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
31164 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
31165 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
31166 s,@USER_JAVAH@,$USER_JAVAH,;t t
31167 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
31169 s,@JIKES@,$JIKES,;t t
31170 s,@JIKESENCODING@,$JIKESENCODING,;t t
31171 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
31174 s,@JAVAC@,$JAVAC,;t t
31175 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
31176 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
31177 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
31178 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
31179 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
31180 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
31181 s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t
31182 s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t
31183 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
31184 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
31185 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
31186 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
31187 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
31188 s,@vm_classes@,$vm_classes,;t t
31189 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
31190 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
31191 s,@MAINT@,$MAINT,;t t
31192 s,@LIBDEBUG@,$LIBDEBUG,;t t
31193 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
31194 s,@ECJ_JAR@,$ECJ_JAR,;t t
31195 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
31196 s,@REMOVE@,$REMOVE,;t t
31197 s,@MKDIR@,$MKDIR,;t t
31199 s,@DATE@,$DATE,;t t
31200 s,@FIND@,$FIND,;t t
31202 s,@FASTJAR@,$FASTJAR,;t t
31203 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
31204 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
31205 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
31206 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
31207 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
31208 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
31209 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
31210 s,@GJDOC@,$GJDOC,;t t
31211 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
31212 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
31214 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
31215 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
31216 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
31217 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
31218 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
31219 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
31220 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
31221 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
31222 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
31223 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
31224 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
31225 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
31226 s,@LIBOBJS@,$LIBOBJS,;t t
31227 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31232 cat >>$CONFIG_STATUS <<\_ACEOF
31233 # Split the substitutions into bite-sized pieces for seds with
31234 # small command number limits, like on Digital OSF/1 and HP-UX.
31235 ac_max_sed_lines
=48
31236 ac_sed_frag
=1 # Number of current file.
31237 ac_beg
=1 # First line for current file.
31238 ac_end
=$ac_max_sed_lines # Line after last line for current file.
31241 while $ac_more_lines; do
31242 if test $ac_beg -gt 1; then
31243 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31245 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
31247 if test ! -s $tmp/subs.frag
; then
31248 ac_more_lines
=false
31250 # The purpose of the label and of the branching condition is to
31251 # speed up the sed processing (if there are no `@' at all, there
31252 # is no need to browse any of the substitutions).
31253 # These are the two extra sed commands mentioned above.
31255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
31256 if test -z "$ac_sed_cmds"; then
31257 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
31259 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31261 ac_sed_frag
=`expr $ac_sed_frag + 1`
31263 ac_end
=`expr $ac_end + $ac_max_sed_lines`
31266 if test -z "$ac_sed_cmds"; then
31269 fi # test -n "$CONFIG_FILES"
31272 cat >>$CONFIG_STATUS <<\_ACEOF
31273 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
31274 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31276 - |
*:- |
*:-:* ) # input from stdin
31278 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31279 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31280 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31281 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31282 * ) ac_file_in
=$ac_file.
in ;;
31285 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31286 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31288 X"$ac_file" : 'X\(//\)[^/]' \| \
31289 X"$ac_file" : 'X\(//\)$' \| \
31290 X"$ac_file" : 'X\(/\)' \| \
31291 . : '\(.\)' 2>/dev/null ||
31293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31295 /^X\(\/\/\)$/{ s//\1/; q; }
31296 /^X\(\/\).*/{ s//\1/; q; }
31298 { if $as_mkdir_p; then
31303 while test ! -d "$as_dir"; do
31304 as_dirs
="$as_dir $as_dirs"
31305 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31307 X"$as_dir" : 'X\(//\)[^/]' \| \
31308 X"$as_dir" : 'X\(//\)$' \| \
31309 X"$as_dir" : 'X\(/\)' \| \
31310 . : '\(.\)' 2>/dev/null ||
31312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31314 /^X\(\/\/\)$/{ s//\1/; q; }
31315 /^X\(\/\).*/{ s//\1/; q; }
31318 test ! -n "$as_dirs" || mkdir
$as_dirs
31319 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31321 { (exit 1); exit 1; }; }; }
31325 if test "$ac_dir" != .
; then
31326 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31327 # A "../" for each directory in $ac_dir_suffix.
31328 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31330 ac_dir_suffix
= ac_top_builddir
=
31334 .
) # No --srcdir option. We are building in place.
31336 if test -z "$ac_top_builddir"; then
31339 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31341 [\\/]* | ?
:[\\/]* ) # Absolute path.
31342 ac_srcdir
=$srcdir$ac_dir_suffix;
31343 ac_top_srcdir
=$srcdir ;;
31344 *) # Relative path.
31345 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31346 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31349 # Do not use `cd foo && pwd` to compute absolute paths, because
31350 # the directories may not exist.
31352 .
) ac_abs_builddir
="$ac_dir";;
31355 .
) ac_abs_builddir
=`pwd`;;
31356 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31357 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31360 case $ac_abs_builddir in
31361 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31363 case ${ac_top_builddir}.
in
31364 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31365 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31366 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31369 case $ac_abs_builddir in
31370 .
) ac_abs_srcdir
=$ac_srcdir;;
31373 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31374 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31375 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31378 case $ac_abs_builddir in
31379 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31381 case $ac_top_srcdir in
31382 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31383 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31384 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31390 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31391 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
31394 if test x
"$ac_file" != x-
; then
31395 { echo "$as_me:$LINENO: creating $ac_file" >&5
31396 echo "$as_me: creating $ac_file" >&6;}
31399 # Let's still pretend it is `configure' which instantiates (i.e., don't
31400 # use $as_me), people would be surprised to read:
31401 # /* config.h. Generated by config.status. */
31402 if test x
"$ac_file" = x-
; then
31405 configure_input
="$ac_file. "
31407 configure_input
=$configure_input"Generated from `echo $ac_file_in |
31408 sed 's,.*/,,'` by configure."
31410 # First look for the input files in the build tree, otherwise in the
31412 ac_file_inputs
=`IFS=:
31413 for f in $ac_file_in; do
31415 -) echo $tmp/stdin ;;
31417 # Absolute (can't be DOS-style, as IFS=:)
31418 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31419 echo "$as_me: error: cannot find input file: $f" >&2;}
31420 { (exit 1); exit 1; }; }
31423 if test -f "$f"; then
31426 elif test -f "$srcdir/$f"; then
31431 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31432 echo "$as_me: error: cannot find input file: $f" >&2;}
31433 { (exit 1); exit 1; }; }
31436 done` ||
{ (exit 1); exit 1; }
31438 cat >>$CONFIG_STATUS <<_ACEOF
31442 cat >>$CONFIG_STATUS <<\_ACEOF
31444 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31445 s
,@configure_input@
,$configure_input,;t t
31446 s
,@srcdir@
,$ac_srcdir,;t t
31447 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
31448 s
,@top_srcdir@
,$ac_top_srcdir,;t t
31449 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
31450 s
,@builddir@
,$ac_builddir,;t t
31451 s
,@abs_builddir@
,$ac_abs_builddir,;t t
31452 s
,@top_builddir@
,$ac_top_builddir,;t t
31453 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
31454 s
,@INSTALL@
,$ac_INSTALL,;t t
31455 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31457 if test x"$ac_file" != x-; then
31458 mv $tmp/out $ac_file
31466 cat >>$CONFIG_STATUS <<\_ACEOF
31469 # CONFIG_HEADER section.
31472 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
31473 # NAME is the cpp macro being defined and VALUE is the value it is being given.
31475 # ac_d sets the value in "#define NAME VALUE" lines.
31476 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31477 ac_dB
='[ ].*$,\1#\2'
31480 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31481 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31482 ac_uB
='$,\1#\2define\3'
31486 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
31487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31489 - |
*:- |
*:-:* ) # input from stdin
31491 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31493 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
31495 * ) ac_file_in
=$ac_file.
in ;;
31498 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
31499 echo "$as_me: creating $ac_file" >&6;}
31501 # First look for the input files in the build tree, otherwise in the
31503 ac_file_inputs
=`IFS=:
31504 for f in $ac_file_in; do
31506 -) echo $tmp/stdin ;;
31508 # Absolute (can't be DOS-style, as IFS=:)
31509 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31510 echo "$as_me: error: cannot find input file: $f" >&2;}
31511 { (exit 1); exit 1; }; }
31512 # Do quote $f, to prevent DOS paths from being IFS'd.
31515 if test -f "$f"; then
31518 elif test -f "$srcdir/$f"; then
31523 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31524 echo "$as_me: error: cannot find input file: $f" >&2;}
31525 { (exit 1); exit 1; }; }
31528 done` ||
{ (exit 1); exit 1; }
31529 # Remove the trailing spaces.
31530 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31534 # Transform confdefs.h into two sed scripts, `conftest.defines' and
31535 # `conftest.undefs', that substitutes the proper values into
31536 # config.h.in to produce config.h. The first handles `#define'
31537 # templates, and the second `#undef' templates.
31538 # And first: Protect against being on the right side of a sed subst in
31539 # config.status. Protect against being in an unquoted here document
31540 # in config.status.
31541 rm -f conftest.defines conftest.undefs
31542 # Using a here document instead of a string reduces the quoting nightmare.
31543 # Putting comments in sed scripts is not portable.
31545 # `end' is used to avoid that the second main sed command (meant for
31546 # 0-ary CPP macros) applies to n-ary macro definitions.
31547 # See the Autoconf documentation for `clear'.
31548 cat >confdef2sed.
sed <<\_ACEOF
31553 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31555 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31558 # If some macros were called several times there might be several times
31559 # the same #defines, which is useless. Nevertheless, we may not want to
31560 # sort them, since we want the *last* AC-DEFINE to be honored.
31561 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31562 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31563 rm -f confdef2sed.sed
31565 # This sed command replaces #undef with comments. This is necessary, for
31566 # example, in the case of _POSIX_SOURCE, which is predefined and required
31567 # on some systems where configure will not decide to define it.
31568 cat >>conftest.undefs <<\_ACEOF
31569 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31572 # Break up conftest.defines because some shells have a limit on the size
31573 # of here documents, and old seds have small limits too (100 cmds).
31574 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31575 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31576 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31577 echo ' :' >>$CONFIG_STATUS
31578 rm -f conftest.tail
31579 while grep . conftest.defines >/dev/null
31581 # Write a limited-size here document to $tmp/defines.sed.
31582 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31583 # Speed up: don't consider the non `#define' lines.
31584 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31585 # Work around the forget-to-reset-the-flag bug.
31586 echo 't clr' >>$CONFIG_STATUS
31587 echo ': clr' >>$CONFIG_STATUS
31588 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
31590 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31592 mv $tmp/out $tmp/in
31594 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
31595 rm -f conftest.defines
31596 mv conftest.
tail conftest.defines
31598 rm -f conftest.defines
31599 echo ' fi # grep' >>$CONFIG_STATUS
31600 echo >>$CONFIG_STATUS
31602 # Break up conftest.undefs because some shells have a limit on the size
31603 # of here documents, and old seds have small limits too (100 cmds).
31604 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31605 rm -f conftest.
tail
31606 while grep . conftest.undefs
>/dev
/null
31608 # Write a limited-size here document to $tmp/undefs.sed.
31609 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31610 # Speed up: don't consider the non
`#undef'
31611 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31612 # Work around the forget-to-reset-the-flag bug.
31613 echo 't clr' >>$CONFIG_STATUS
31614 echo ': clr' >>$CONFIG_STATUS
31615 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31617 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31619 mv $tmp/out $tmp/in
31621 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31622 rm -f conftest.undefs
31623 mv conftest.tail conftest.undefs
31625 rm -f conftest.undefs
31627 cat >>$CONFIG_STATUS <<\_ACEOF
31628 # Let's still pretend it is `configure
' which instantiates (i.e., don't
31629 # use $as_me), people would be surprised to read:
31630 # /* config.h. Generated by config.status. */
31631 if test x
"$ac_file" = x-
; then
31632 echo "/* Generated by configure. */" >$tmp/config.h
31634 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31636 cat $tmp/in >>$tmp/config.h
31638 if test x
"$ac_file" != x-
; then
31639 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
31640 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31641 echo "$as_me: $ac_file is unchanged" >&6;}
31643 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31645 X"$ac_file" : 'X\(//\)[^/]' \| \
31646 X"$ac_file" : 'X\(//\)$' \| \
31647 X"$ac_file" : 'X\(/\)' \| \
31648 . : '\(.\)' 2>/dev/null ||
31650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31652 /^X\(\/\/\)$/{ s//\1/; q; }
31653 /^X\(\/\).*/{ s//\1/; q; }
31655 { if $as_mkdir_p; then
31660 while test ! -d "$as_dir"; do
31661 as_dirs
="$as_dir $as_dirs"
31662 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31664 X"$as_dir" : 'X\(//\)[^/]' \| \
31665 X"$as_dir" : 'X\(//\)$' \| \
31666 X"$as_dir" : 'X\(/\)' \| \
31667 . : '\(.\)' 2>/dev/null ||
31669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31671 /^X\(\/\/\)$/{ s//\1/; q; }
31672 /^X\(\/\).*/{ s//\1/; q; }
31675 test ! -n "$as_dirs" || mkdir
$as_dirs
31676 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31678 { (exit 1); exit 1; }; }; }
31681 mv $tmp/config.h
$ac_file
31685 rm -f $tmp/config.h
31687 # Compute $ac_file's index in $config_headers.
31689 for _am_header
in $config_headers :; do
31690 case $_am_header in
31691 $ac_file |
$ac_file:* )
31694 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
31697 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31698 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31699 X$ac_file : 'X\(//\)[^/]' \| \
31700 X$ac_file : 'X\(//\)$' \| \
31701 X$ac_file : 'X\(/\)' \| \
31702 . : '\(.\)' 2>/dev/null ||
31704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31706 /^X\(\/\/\)$/{ s//\1/; q; }
31707 /^X\(\/\).*/{ s//\1/; q; }
31708 s/.*/./; q'`/stamp-h
$_am_stamp_count
31711 cat >>$CONFIG_STATUS <<\_ACEOF
31714 # CONFIG_LINKS section.
31717 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
31718 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31719 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31721 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
31722 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
31724 if test ! -r $srcdir/$ac_source; then
31725 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
31726 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
31727 { (exit 1); exit 1; }; }
31731 # Make relative symlinks.
31732 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31733 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31734 X"$ac_dest" : 'X\(//\)[^/]' \| \
31735 X"$ac_dest" : 'X\(//\)$' \| \
31736 X"$ac_dest" : 'X\(/\)' \| \
31737 . : '\(.\)' 2>/dev/null ||
31739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31741 /^X\(\/\/\)$/{ s//\1/; q; }
31742 /^X\(\/\).*/{ s//\1/; q; }
31744 { if $as_mkdir_p; then
31745 mkdir
-p "$ac_dest_dir"
31747 as_dir
="$ac_dest_dir"
31749 while test ! -d "$as_dir"; do
31750 as_dirs
="$as_dir $as_dirs"
31751 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31753 X"$as_dir" : 'X\(//\)[^/]' \| \
31754 X"$as_dir" : 'X\(//\)$' \| \
31755 X"$as_dir" : 'X\(/\)' \| \
31756 . : '\(.\)' 2>/dev/null ||
31758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31760 /^X\(\/\/\)$/{ s//\1/; q; }
31761 /^X\(\/\).*/{ s//\1/; q; }
31764 test ! -n "$as_dirs" || mkdir
$as_dirs
31765 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
31766 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
31767 { (exit 1); exit 1; }; }; }
31771 if test "$ac_dest_dir" != .
; then
31772 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
31773 # A "../" for each directory in $ac_dir_suffix.
31774 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31776 ac_dir_suffix
= ac_top_builddir
=
31780 .
) # No --srcdir option. We are building in place.
31782 if test -z "$ac_top_builddir"; then
31785 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31787 [\\/]* | ?
:[\\/]* ) # Absolute path.
31788 ac_srcdir
=$srcdir$ac_dir_suffix;
31789 ac_top_srcdir
=$srcdir ;;
31790 *) # Relative path.
31791 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31792 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31795 # Do not use `cd foo && pwd` to compute absolute paths, because
31796 # the directories may not exist.
31798 .
) ac_abs_builddir
="$ac_dest_dir";;
31800 case "$ac_dest_dir" in
31801 .
) ac_abs_builddir
=`pwd`;;
31802 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
31803 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
31806 case $ac_abs_builddir in
31807 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31809 case ${ac_top_builddir}.
in
31810 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31811 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31812 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31815 case $ac_abs_builddir in
31816 .
) ac_abs_srcdir
=$ac_srcdir;;
31819 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31820 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31821 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31824 case $ac_abs_builddir in
31825 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31827 case $ac_top_srcdir in
31828 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31829 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31830 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31836 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
31837 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
31840 # Try a symlink, then a hard link, then a copy.
31841 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
31842 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
31843 cp -p $srcdir/$ac_source $ac_dest ||
31844 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
31845 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
31846 { (exit 1); exit 1; }; }
31849 cat >>$CONFIG_STATUS <<\_ACEOF
31852 # CONFIG_COMMANDS section.
31854 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
31855 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31856 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31857 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31858 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31859 X"$ac_dest" : 'X\(//\)[^/]' \| \
31860 X"$ac_dest" : 'X\(//\)$' \| \
31861 X"$ac_dest" : 'X\(/\)' \| \
31862 . : '\(.\)' 2>/dev/null ||
31864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31866 /^X\(\/\/\)$/{ s//\1/; q; }
31867 /^X\(\/\).*/{ s//\1/; q; }
31869 { if $as_mkdir_p; then
31874 while test ! -d "$as_dir"; do
31875 as_dirs
="$as_dir $as_dirs"
31876 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31878 X"$as_dir" : 'X\(//\)[^/]' \| \
31879 X"$as_dir" : 'X\(//\)$' \| \
31880 X"$as_dir" : 'X\(/\)' \| \
31881 . : '\(.\)' 2>/dev/null ||
31883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31885 /^X\(\/\/\)$/{ s//\1/; q; }
31886 /^X\(\/\).*/{ s//\1/; q; }
31889 test ! -n "$as_dirs" || mkdir
$as_dirs
31890 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31892 { (exit 1); exit 1; }; }; }
31896 if test "$ac_dir" != .
; then
31897 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31898 # A "../" for each directory in $ac_dir_suffix.
31899 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31901 ac_dir_suffix
= ac_top_builddir
=
31905 .
) # No --srcdir option. We are building in place.
31907 if test -z "$ac_top_builddir"; then
31910 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31912 [\\/]* | ?
:[\\/]* ) # Absolute path.
31913 ac_srcdir
=$srcdir$ac_dir_suffix;
31914 ac_top_srcdir
=$srcdir ;;
31915 *) # Relative path.
31916 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31917 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31920 # Do not use `cd foo && pwd` to compute absolute paths, because
31921 # the directories may not exist.
31923 .
) ac_abs_builddir
="$ac_dir";;
31926 .
) ac_abs_builddir
=`pwd`;;
31927 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31928 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31931 case $ac_abs_builddir in
31932 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31934 case ${ac_top_builddir}.
in
31935 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31936 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31937 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31940 case $ac_abs_builddir in
31941 .
) ac_abs_srcdir
=$ac_srcdir;;
31944 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31945 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31946 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31949 case $ac_abs_builddir in
31950 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31952 case $ac_top_srcdir in
31953 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31954 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31955 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31960 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31961 echo "$as_me: executing $ac_dest commands" >&6;}
31964 # Only add multilib support code if we just rebuilt the top-level
31966 case " $CONFIG_FILES " in
31968 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
31971 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
31972 # Strip MF so we end up with the name of the file.
31973 mf
=`echo "$mf" | sed -e 's/:.*$//'`
31974 # Check whether this is an Automake generated Makefile or not.
31975 # We used to match only the files named `Makefile.in', but
31976 # some people rename them; so instead we look at the file content.
31977 # Grep'ing the first line is not enough: some people post-process
31978 # each Makefile.in and add a new line on top of each file to say so.
31979 # So let's grep whole file.
31980 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
31981 dirpart
=`(dirname "$mf") 2>/dev/null ||
31982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31983 X"$mf" : 'X\(//\)[^/]' \| \
31984 X"$mf" : 'X\(//\)$' \| \
31985 X"$mf" : 'X\(/\)' \| \
31986 . : '\(.\)' 2>/dev/null ||
31988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31990 /^X\(\/\/\)$/{ s//\1/; q; }
31991 /^X\(\/\).*/{ s//\1/; q; }
31996 # Extract the definition of DEPDIR, am__include, and am__quote
31997 # from the Makefile without running `make'.
31998 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
31999 test -z "$DEPDIR" && continue
32000 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
32001 test -z "am__include" && continue
32002 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
32003 # When using ansi2knr, U may be empty or an underscore; expand it
32004 U
=`sed -n 's/^U = //p' < "$mf"`
32005 # Find all dependency output files, they are included files with
32006 # $(DEPDIR) in their names. We invoke sed twice because it is the
32007 # simplest approach to changing $(DEPDIR) to its actual value in the
32009 for file in `sed -n "
32010 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32011 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32012 # Make sure the directory exists.
32013 test -f "$dirpart/$file" && continue
32014 fdir
=`(dirname "$file") 2>/dev/null ||
32015 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32016 X"$file" : 'X\(//\)[^/]' \| \
32017 X"$file" : 'X\(//\)$' \| \
32018 X"$file" : 'X\(/\)' \| \
32019 . : '\(.\)' 2>/dev/null ||
32021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32023 /^X\(\/\/\)$/{ s//\1/; q; }
32024 /^X\(\/\).*/{ s//\1/; q; }
32026 { if $as_mkdir_p; then
32027 mkdir
-p $dirpart/$fdir
32029 as_dir
=$dirpart/$fdir
32031 while test ! -d "$as_dir"; do
32032 as_dirs
="$as_dir $as_dirs"
32033 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32035 X"$as_dir" : 'X\(//\)[^/]' \| \
32036 X"$as_dir" : 'X\(//\)$' \| \
32037 X"$as_dir" : 'X\(/\)' \| \
32038 . : '\(.\)' 2>/dev/null ||
32040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32042 /^X\(\/\/\)$/{ s//\1/; q; }
32043 /^X\(\/\).*/{ s//\1/; q; }
32046 test ! -n "$as_dirs" || mkdir
$as_dirs
32047 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32048 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32049 { (exit 1); exit 1; }; }; }
32051 # echo "creating $dirpart/$file"
32052 echo '# dummy' > "$dirpart/$file"
32058 # See if we are running on zsh, and set the options which allow our
32059 # commands through without removal of \ escapes.
32060 if test -n "${ZSH_VERSION+set}" ; then
32061 setopt NO_GLOB_SUBST
32064 cfgfile
="${ofile}T"
32065 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32068 cat <<_LT_EOF >> "$cfgfile"
32071 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32072 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
32073 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32074 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32076 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32077 # 2006, 2007 Free Software Foundation, Inc.
32079 # This file is part of GNU Libtool:
32080 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
32082 # This program is free software; you can redistribute it and/or modify
32083 # it under the terms of the GNU General Public License as published by
32084 # the Free Software Foundation; either version 2 of the License, or
32085 # (at your option) any later version.
32087 # This program is distributed in the hope that it will be useful, but
32088 # WITHOUT ANY WARRANTY; without even the implied warranty of
32089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32090 # General Public License for more details.
32092 # You should have received a copy of the GNU General Public License
32093 # along with this program; if not, a copy can be downloaded from
32094 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
32095 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
32096 # MA 02110-1301, USA.
32098 # As a special exception to the GNU General Public License, if you
32099 # distribute this file as part of a program that contains a
32100 # configuration script generated by Autoconf, you may include it under
32101 # the same distribution terms that you use for the rest of that program.
32104 # The names of the tagged configurations supported by this script.
32105 available_tags="CXX "
32107 # ### BEGIN LIBTOOL CONFIG
32109 # Whether or not to build static libraries.
32110 build_old_libs=$enable_static
32112 # Which release of libtool.m4 was used?
32113 macro_version=$macro_version
32114 macro_revision=$macro_revision
32116 # Whether or not to build shared libraries.
32117 build_libtool_libs=$enable_shared
32119 # What type of objects to build.
32122 # Whether or not to optimize for fast installation.
32123 fast_install=$enable_fast_install
32126 host_alias=$host_alias
32130 # The build system.
32131 build_alias=$build_alias
32135 # A sed program that does not truncate output.
32138 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32139 Xsed="\$SED -e 1s/^X//"
32141 # A grep program that handles long lines.
32147 # A literal string matcher.
32150 # A BSD- or MS-compatible name lister.
32153 # Whether we need soft or hard links.
32156 # What is the maximum length of a command?
32157 max_cmd_len=$max_cmd_len
32159 # Object file suffix (normally "o").
32162 # Executable file suffix (normally "").
32165 # whether the shell understands "unset".
32168 # turn spaces into newlines.
32171 # turn newlines into spaces.
32174 # How to create reloadable object files.
32175 reload_flag=$lt_reload_flag
32176 reload_cmds=$lt_reload_cmds
32178 # Method to check whether dependent libraries are shared objects.
32179 deplibs_check_method=$lt_deplibs_check_method
32181 # Command to use when deplibs_check_method == "file_magic".
32182 file_magic_cmd=$lt_file_magic_cmd
32186 AR_FLAGS=$lt_AR_FLAGS
32188 # A symbol stripping program.
32191 # Commands used to install an old-style archive.
32193 old_postinstall_cmds=$lt_old_postinstall_cmds
32194 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32199 # LTCC compiler flags.
32200 LTCFLAGS=$lt_CFLAGS
32202 # Take the output of nm and produce a listing of raw symbols and C names.
32203 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32205 # Transform the output of nm in a proper C declaration.
32206 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32208 # Transform the output of nm in a C name address pair.
32209 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32211 # The name of the directory that contains temporary libtool files.
32214 # Shell to use when invoking shell scripts.
32217 # An echo program that does not interpret backslashes.
32220 # Used to examine libraries when file_magic_cmd begins with "file".
32221 MAGIC_CMD=$MAGIC_CMD
32223 # Must we lock files when doing compilation?
32224 need_locks=$lt_need_locks
32226 # Old archive suffix (normally "a").
32229 # Shared library suffix (normally ".so").
32230 shrext_cmds=$lt_shrext_cmds
32232 # The commands to extract the exported symbol list from a shared archive.
32233 extract_expsyms_cmds=$lt_extract_expsyms_cmds
32235 # Variables whose values should be saved in libtool wrapper scripts and
32236 # restored at link time.
32237 variables_saved_for_relink=$lt_variables_saved_for_relink
32239 # Do we need the "lib" prefix for modules?
32240 need_lib_prefix=$need_lib_prefix
32242 # Do we need a version for libraries?
32243 need_version=$need_version
32245 # Library versioning type.
32246 version_type=$version_type
32248 # Shared library runtime path variable.
32249 runpath_var=$runpath_var
32251 # Shared library path variable.
32252 shlibpath_var=$shlibpath_var
32254 # Is shlibpath searched before the hard-coded library search path?
32255 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32257 # Format of library name prefix.
32258 libname_spec=$lt_libname_spec
32260 # List of archive names. First name is the real one, the rest are links.
32261 # The last name is the one that the linker finds with -lNAME
32262 library_names_spec=$lt_library_names_spec
32264 # The coded name of the library, if different from the real name.
32265 soname_spec=$lt_soname_spec
32267 # Command to use after installation of a shared archive.
32268 postinstall_cmds=$lt_postinstall_cmds
32270 # Command to use after uninstallation of a shared archive.
32271 postuninstall_cmds=$lt_postuninstall_cmds
32273 # Commands used to finish a libtool library installation in a directory.
32274 finish_cmds=$lt_finish_cmds
32276 # As "finish_cmds", except a single script fragment to be evaled but
32278 finish_eval=$lt_finish_eval
32280 # Whether we should hardcode library paths into libraries.
32281 hardcode_into_libs=$hardcode_into_libs
32283 # Compile-time system search path for libraries.
32284 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32286 # Run-time system search path for libraries.
32287 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32289 # Whether dlopen is supported.
32290 dlopen_support=$enable_dlopen
32292 # Whether dlopen of programs is supported.
32293 dlopen_self=$enable_dlopen_self
32295 # Whether dlopen of statically linked programs is supported.
32296 dlopen_self_static=$enable_dlopen_self_static
32298 # Commands to strip libraries.
32299 old_striplib=$lt_old_striplib
32300 striplib=$lt_striplib
32303 # The linker used to build libraries.
32306 # Commands used to build an old-style archive.
32307 old_archive_cmds=$lt_old_archive_cmds
32309 # A language specific compiler.
32312 # Is the compiler the GNU compiler?
32315 # Compiler flag to turn off builtin functions.
32316 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32318 # How to pass a linker flag through the compiler.
32319 wl=$lt_lt_prog_compiler_wl
32321 # Additional compiler flags for building library objects.
32322 pic_flag=$lt_lt_prog_compiler_pic
32324 # Compiler flag to prevent dynamic linking.
32325 link_static_flag=$lt_lt_prog_compiler_static
32327 # Does compiler simultaneously support -c and -o options?
32328 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32330 # Whether or not to add -lc for building shared libraries.
32331 build_libtool_need_lc=$archive_cmds_need_lc
32333 # Whether or not to disallow shared libs when runtime libs are static.
32334 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32336 # Compiler flag to allow reflexive dlopens.
32337 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32339 # Compiler flag to generate shared objects directly from archives.
32340 whole_archive_flag_spec=$lt_whole_archive_flag_spec
32342 # Whether the compiler copes with passing no objects directly.
32343 compiler_needs_object=$lt_compiler_needs_object
32345 # Create an old-style archive from a shared archive.
32346 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32348 # Create a temporary old-style archive to link instead of a shared archive.
32349 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32351 # Commands used to build a shared archive.
32352 archive_cmds=$lt_archive_cmds
32353 archive_expsym_cmds=$lt_archive_expsym_cmds
32355 # Commands used to build a loadable module if different from building
32356 # a shared archive.
32357 module_cmds=$lt_module_cmds
32358 module_expsym_cmds=$lt_module_expsym_cmds
32360 # Whether we are building with GNU ld or not.
32361 with_gnu_ld=$lt_with_gnu_ld
32363 # Flag that allows shared libraries with undefined symbols to be built.
32364 allow_undefined_flag=$lt_allow_undefined_flag
32366 # Flag that enforces no undefined symbols.
32367 no_undefined_flag=$lt_no_undefined_flag
32369 # Flag to hardcode \$libdir into a binary during linking.
32370 # This must work even if \$libdir does not exist
32371 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32373 # If ld is used when linking, flag to hardcode \$libdir into a binary
32374 # during linking. This must work even if \$libdir does not exist.
32375 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
32377 # Whether we need a single "-rpath" flag with a separated argument.
32378 hardcode_libdir_separator=$lt_hardcode_libdir_separator
32380 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32381 # DIR into the resulting binary.
32382 hardcode_direct=$hardcode_direct
32384 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32385 # DIR into the resulting binary and the resulting library dependency is
32386 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32387 # library is relocated.
32388 hardcode_direct_absolute=$hardcode_direct_absolute
32390 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32391 # into the resulting binary.
32392 hardcode_minus_L=$hardcode_minus_L
32394 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32395 # into the resulting binary.
32396 hardcode_shlibpath_var=$hardcode_shlibpath_var
32398 # Set to "yes" if building a shared library automatically hardcodes DIR
32399 # into the library and all subsequent libraries and executables linked
32401 hardcode_automatic=$hardcode_automatic
32403 # Set to yes if linker adds runtime paths of dependent libraries
32404 # to runtime path list.
32405 inherit_rpath=$inherit_rpath
32407 # Whether libtool must link a program against all its dependency libraries.
32408 link_all_deplibs=$link_all_deplibs
32410 # Fix the shell variable \$srcfile for the compiler.
32411 fix_srcfile_path=$lt_fix_srcfile_path
32413 # Set to "yes" if exported symbols are required.
32414 always_export_symbols=$always_export_symbols
32416 # The commands to list exported symbols.
32417 export_symbols_cmds=$lt_export_symbols_cmds
32419 # Symbols that should not be listed in the preloaded symbols.
32420 exclude_expsyms=$lt_exclude_expsyms
32422 # Symbols that must always be exported.
32423 include_expsyms=$lt_include_expsyms
32425 # Commands necessary for linking programs (against libraries) with templates.
32426 prelink_cmds=$lt_prelink_cmds
32428 # Specify filename containing input files.
32429 file_list_spec=$lt_file_list_spec
32431 # How to hardcode a shared library path into an executable.
32432 hardcode_action=$hardcode_action
32434 # Dependencies to place before and after the objects being linked to
32435 # create a shared library.
32436 predep_objects=$lt_predep_objects
32437 postdep_objects=$lt_postdep_objects
32438 predeps=$lt_predeps
32439 postdeps=$lt_postdeps
32441 # The library search path used internally by the compiler when linking
32442 # a shared library.
32443 compiler_lib_search_path=$lt_compiler_lib_search_path
32445 # ### END LIBTOOL CONFIG
32451 cat <<\_LT_EOF
>> "$cfgfile"
32452 # AIX sometimes has problems with the GCC collect2 program. For some
32453 # reason, if we set the COLLECT_NAMES environment variable, the problems
32454 # vanish in a puff of smoke.
32455 if test "X${COLLECT_NAMES+set}" != Xset
; then
32457 export COLLECT_NAMES
32464 ltmain
="$ac_aux_dir/ltmain.sh"
32467 # We use sed instead of cat because bash on DJGPP gets confused if
32468 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32469 # text mode, it properly converts lines to CR/LF. This bash problem
32470 # is reportedly fixed, but why not run on old versions too?
32471 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
32472 ||
(rm -f "$cfgfile"; exit 1)
32476 cat << \_LT_EOF
>> "$cfgfile"
32477 # func_dirname file append nondir_replacement
32478 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32479 # otherwise set result to NONDIR_REPLACEMENT.
32483 */*) func_dirname_result
="${1%/*}${2}" ;;
32484 * ) func_dirname_result
="${3}" ;;
32488 # func_basename file
32491 func_basename_result
="${1##*/}"
32494 # func_stripname prefix suffix name
32495 # strip PREFIX and SUFFIX off of NAME.
32496 # PREFIX and SUFFIX must not contain globbing or regex special
32497 # characters, hashes, percent signs, but SUFFIX may contain a leading
32498 # dot (in which case that matches only a dot).
32501 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
32502 # positional parameters, so assign one to ordinary parameter first.
32503 func_stripname_result
=${3}
32504 func_stripname_result
=${func_stripname_result#"${1}"}
32505 func_stripname_result
=${func_stripname_result%"${2}"}
32511 func_opt_split_opt
=${1%%=*}
32512 func_opt_split_arg
=${1#*=}
32519 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
32520 *) func_lo2o_result
=${1} ;;
32525 *) # Bourne compatible functions.
32526 cat << \_LT_EOF
>> "$cfgfile"
32527 # func_dirname file append nondir_replacement
32528 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32529 # otherwise set result to NONDIR_REPLACEMENT.
32532 # Extract subdirectory from the argument.
32533 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
32534 if test "X$func_dirname_result" = "X${1}"; then
32535 func_dirname_result
="${3}"
32537 func_dirname_result
="$func_dirname_result${2}"
32541 # func_basename file
32544 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
32547 # func_stripname prefix suffix name
32548 # strip PREFIX and SUFFIX off of NAME.
32549 # PREFIX and SUFFIX must not contain globbing or regex special
32550 # characters, hashes, percent signs, but SUFFIX may contain a leading
32551 # dot (in which case that matches only a dot).
32552 # func_strip_suffix prefix name
32556 .
*) func_stripname_result
=`$ECHO "X${3}" \
32557 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
32558 *) func_stripname_result
=`$ECHO "X${3}" \
32559 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
32564 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
32565 my_sed_long_arg
='1s/^-[^=]*=//'
32570 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
32571 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
32577 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
32582 case $lt_shell_append in
32584 cat << \_LT_EOF
>> "$cfgfile"
32586 # func_append var value
32587 # Append VALUE to the end of shell variable VAR.
32595 cat << \_LT_EOF
>> "$cfgfile"
32597 # func_append var value
32598 # Append VALUE to the end of shell variable VAR.
32608 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
32609 ||
(rm -f "$cfgfile"; exit 1)
32611 mv -f "$cfgfile" "$ofile" ||
32612 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32616 cat <<_LT_EOF >> "$ofile"
32618 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32620 # The linker used to build libraries.
32623 # Commands used to build an old-style archive.
32624 old_archive_cmds=$lt_old_archive_cmds_CXX
32626 # A language specific compiler.
32627 CC=$lt_compiler_CXX
32629 # Is the compiler the GNU compiler?
32632 # Compiler flag to turn off builtin functions.
32633 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32635 # How to pass a linker flag through the compiler.
32636 wl=$lt_lt_prog_compiler_wl_CXX
32638 # Additional compiler flags for building library objects.
32639 pic_flag=$lt_lt_prog_compiler_pic_CXX
32641 # Compiler flag to prevent dynamic linking.
32642 link_static_flag=$lt_lt_prog_compiler_static_CXX
32644 # Does compiler simultaneously support -c and -o options?
32645 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32647 # Whether or not to add -lc for building shared libraries.
32648 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32650 # Whether or not to disallow shared libs when runtime libs are static.
32651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32653 # Compiler flag to allow reflexive dlopens.
32654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32656 # Compiler flag to generate shared objects directly from archives.
32657 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32659 # Whether the compiler copes with passing no objects directly.
32660 compiler_needs_object=$lt_compiler_needs_object_CXX
32662 # Create an old-style archive from a shared archive.
32663 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32665 # Create a temporary old-style archive to link instead of a shared archive.
32666 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32668 # Commands used to build a shared archive.
32669 archive_cmds=$lt_archive_cmds_CXX
32670 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32672 # Commands used to build a loadable module if different from building
32673 # a shared archive.
32674 module_cmds=$lt_module_cmds_CXX
32675 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32677 # Whether we are building with GNU ld or not.
32678 with_gnu_ld=$lt_with_gnu_ld_CXX
32680 # Flag that allows shared libraries with undefined symbols to be built.
32681 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32683 # Flag that enforces no undefined symbols.
32684 no_undefined_flag=$lt_no_undefined_flag_CXX
32686 # Flag to hardcode \$libdir into a binary during linking.
32687 # This must work even if \$libdir does not exist
32688 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32690 # If ld is used when linking, flag to hardcode \$libdir into a binary
32691 # during linking. This must work even if \$libdir does not exist.
32692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
32694 # Whether we need a single "-rpath" flag with a separated argument.
32695 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32698 # DIR into the resulting binary.
32699 hardcode_direct=$hardcode_direct_CXX
32701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32702 # DIR into the resulting binary and the resulting library dependency is
32703 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32704 # library is relocated.
32705 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32707 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32708 # into the resulting binary.
32709 hardcode_minus_L=$hardcode_minus_L_CXX
32711 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32712 # into the resulting binary.
32713 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32715 # Set to "yes" if building a shared library automatically hardcodes DIR
32716 # into the library and all subsequent libraries and executables linked
32718 hardcode_automatic=$hardcode_automatic_CXX
32720 # Set to yes if linker adds runtime paths of dependent libraries
32721 # to runtime path list.
32722 inherit_rpath=$inherit_rpath_CXX
32724 # Whether libtool must link a program against all its dependency libraries.
32725 link_all_deplibs=$link_all_deplibs_CXX
32727 # Fix the shell variable \$srcfile for the compiler.
32728 fix_srcfile_path=$lt_fix_srcfile_path_CXX
32730 # Set to "yes" if exported symbols are required.
32731 always_export_symbols=$always_export_symbols_CXX
32733 # The commands to list exported symbols.
32734 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32736 # Symbols that should not be listed in the preloaded symbols.
32737 exclude_expsyms=$lt_exclude_expsyms_CXX
32739 # Symbols that must always be exported.
32740 include_expsyms=$lt_include_expsyms_CXX
32742 # Commands necessary for linking programs (against libraries) with templates.
32743 prelink_cmds=$lt_prelink_cmds_CXX
32745 # Specify filename containing input files.
32746 file_list_spec=$lt_file_list_spec_CXX
32748 # How to hardcode a shared library path into an executable.
32749 hardcode_action=$hardcode_action_CXX
32751 # Dependencies to place before and after the objects being linked to
32752 # create a shared library.
32753 predep_objects=$lt_predep_objects_CXX
32754 postdep_objects=$lt_postdep_objects_CXX
32755 predeps=$lt_predeps_CXX
32756 postdeps=$lt_postdeps_CXX
32758 # The library search path used internally by the compiler when linking
32759 # a shared library.
32760 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32762 # ### END LIBTOOL TAG CONFIG: CXX
32766 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
32768 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
32769 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
32770 ac_stdint
=$tmp/_stdint.h
32772 echo "#ifndef" $_ac_stdint_h >$ac_stdint
32773 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
32774 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
32775 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
32776 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
32777 if test "_$ac_cv_header_stdint_t" != "_" ; then
32778 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
32779 echo "#include <stdint.h>" >>$ac_stdint
32780 echo "#endif" >>$ac_stdint
32781 echo "#endif" >>$ac_stdint
32784 cat >>$ac_stdint <<STDINT_EOF
32786 /* ................... shortcircuit part ........................... */
32788 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
32789 #include <stdint.h>
32791 #include <stddef.h>
32793 /* .................... configured part ............................ */
32797 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
32798 if test "_$ac_cv_header_stdint_x" != "_" ; then
32799 ac_header
="$ac_cv_header_stdint_x"
32800 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
32802 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
32805 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
32806 if test "_$ac_cv_header_stdint_o" != "_" ; then
32807 ac_header
="$ac_cv_header_stdint_o"
32808 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
32810 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
32813 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
32814 if test "_$ac_cv_header_stdint_u" != "_" ; then
32815 ac_header
="$ac_cv_header_stdint_u"
32816 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
32818 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
32821 echo "" >>$ac_stdint
32823 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
32824 echo "#include <$ac_header>" >>$ac_stdint
32825 echo "" >>$ac_stdint
32828 echo "/* which 64bit typedef has been found */" >>$ac_stdint
32829 if test "$ac_cv_type_uint64_t" = "yes" ; then
32830 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
32832 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
32834 if test "$ac_cv_type_u_int64_t" = "yes" ; then
32835 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
32837 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
32839 echo "" >>$ac_stdint
32841 echo "/* which type model has been detected */" >>$ac_stdint
32842 if test "_$ac_cv_char_data_model" != "_" ; then
32843 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
32844 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
32846 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
32847 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
32849 echo "" >>$ac_stdint
32851 echo "/* whether int_least types were detected */" >>$ac_stdint
32852 if test "$ac_cv_type_int_least32_t" = "yes"; then
32853 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
32855 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
32857 echo "/* whether int_fast types were detected */" >>$ac_stdint
32858 if test "$ac_cv_type_int_fast32_t" = "yes"; then
32859 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
32861 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
32863 echo "/* whether intmax_t type was detected */" >>$ac_stdint
32864 if test "$ac_cv_type_intmax_t" = "yes"; then
32865 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
32867 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
32869 echo "" >>$ac_stdint
32871 cat >>$ac_stdint <<STDINT_EOF
32872 /* .................... detections part ............................ */
32874 /* whether we need to define bitspecific types from compiler base types */
32875 #ifndef _STDINT_HEADER_INTPTR
32876 #ifndef _STDINT_HEADER_UINT32
32877 #ifndef _STDINT_HEADER_U_INT32
32878 #define _STDINT_NEED_INT_MODEL_T
32880 #define _STDINT_HAVE_U_INT_TYPES
32885 #ifdef _STDINT_HAVE_U_INT_TYPES
32886 #undef _STDINT_NEED_INT_MODEL_T
32889 #ifdef _STDINT_CHAR_MODEL
32890 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
32891 #ifndef _STDINT_BYTE_MODEL
32892 #define _STDINT_BYTE_MODEL 12
32897 #ifndef _STDINT_HAVE_INT_LEAST32_T
32898 #define _STDINT_NEED_INT_LEAST_T
32901 #ifndef _STDINT_HAVE_INT_FAST32_T
32902 #define _STDINT_NEED_INT_FAST_T
32905 #ifndef _STDINT_HEADER_INTPTR
32906 #define _STDINT_NEED_INTPTR_T
32907 #ifndef _STDINT_HAVE_INTMAX_T
32908 #define _STDINT_NEED_INTMAX_T
32913 /* .................... definition part ............................ */
32915 /* some system headers have good uint64_t */
32916 #ifndef _HAVE_UINT64_T
32917 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
32918 #define _HAVE_UINT64_T
32919 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
32920 #define _HAVE_UINT64_T
32921 typedef u_int64_t uint64_t;
32925 #ifndef _HAVE_UINT64_T
32926 /* .. here are some common heuristics using compiler runtime specifics */
32927 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
32928 #define _HAVE_UINT64_T
32929 #define _HAVE_LONGLONG_UINT64_T
32930 typedef long long int64_t;
32931 typedef unsigned long long uint64_t;
32933 #elif !defined __STRICT_ANSI__
32934 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
32935 #define _HAVE_UINT64_T
32936 typedef __int64 int64_t;
32937 typedef unsigned __int64 uint64_t;
32939 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
32940 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
32941 #if !defined _NO_LONGLONG
32942 #define _HAVE_UINT64_T
32943 #define _HAVE_LONGLONG_UINT64_T
32944 typedef long long int64_t;
32945 typedef unsigned long long uint64_t;
32948 #elif defined __alpha || (defined __mips && defined _ABIN32)
32949 #if !defined _NO_LONGLONG
32950 typedef long int64_t;
32951 typedef unsigned long uint64_t;
32953 /* compiler/cpu type to define int64_t */
32958 #if defined _STDINT_HAVE_U_INT_TYPES
32959 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
32960 typedef u_int8_t uint8_t;
32961 typedef u_int16_t uint16_t;
32962 typedef u_int32_t uint32_t;
32964 /* glibc compatibility */
32965 #ifndef __int8_t_defined
32966 #define __int8_t_defined
32970 #ifdef _STDINT_NEED_INT_MODEL_T
32971 /* we must guess all the basic types. Apart from byte-adressable system, */
32972 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
32973 /* (btw, those nibble-addressable systems are way off, or so we assume) */
32976 #if defined _STDINT_BYTE_MODEL
32977 #if _STDINT_LONG_MODEL+0 == 242
32978 /* 2:4:2 = IP16 = a normal 16-bit system */
32979 typedef unsigned char uint8_t;
32980 typedef unsigned short uint16_t;
32981 typedef unsigned long uint32_t;
32982 #ifndef __int8_t_defined
32983 #define __int8_t_defined
32984 typedef char int8_t;
32985 typedef short int16_t;
32986 typedef long int32_t;
32988 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
32989 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
32990 /* 4:4:4 = ILP32 = a normal 32-bit system */
32991 typedef unsigned char uint8_t;
32992 typedef unsigned short uint16_t;
32993 typedef unsigned int uint32_t;
32994 #ifndef __int8_t_defined
32995 #define __int8_t_defined
32996 typedef char int8_t;
32997 typedef short int16_t;
32998 typedef int int32_t;
33000 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
33001 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
33002 /* 4:8:8 = LP64 = a normal 64-bit system */
33003 typedef unsigned char uint8_t;
33004 typedef unsigned short uint16_t;
33005 typedef unsigned int uint32_t;
33006 #ifndef __int8_t_defined
33007 #define __int8_t_defined
33008 typedef char int8_t;
33009 typedef short int16_t;
33010 typedef int int32_t;
33012 /* this system has a "long" of 64bit */
33013 #ifndef _HAVE_UINT64_T
33014 #define _HAVE_UINT64_T
33015 typedef unsigned long uint64_t;
33016 typedef long int64_t;
33018 #elif _STDINT_LONG_MODEL+0 == 448
33019 /* LLP64 a 64-bit system derived from a 32-bit system */
33020 typedef unsigned char uint8_t;
33021 typedef unsigned short uint16_t;
33022 typedef unsigned int uint32_t;
33023 #ifndef __int8_t_defined
33024 #define __int8_t_defined
33025 typedef char int8_t;
33026 typedef short int16_t;
33027 typedef int int32_t;
33029 /* assuming the system has a "long long" */
33030 #ifndef _HAVE_UINT64_T
33031 #define _HAVE_UINT64_T
33032 #define _HAVE_LONGLONG_UINT64_T
33033 typedef unsigned long long uint64_t;
33034 typedef long long int64_t;
33037 #define _STDINT_NO_INT32_T
33040 #define _STDINT_NO_INT8_T
33041 #define _STDINT_NO_INT32_T
33046 * quote from SunOS-5.8 sys/inttypes.h:
33047 * Use at your own risk. As of February 1996, the committee is squarely
33048 * behind the fixed sized types; the "least" and "fast" types are still being
33049 * discussed. The probability that the "fast" types may be removed before
33050 * the standard is finalized is high enough that they are not currently
33054 #if defined _STDINT_NEED_INT_LEAST_T
33055 typedef int8_t int_least8_t;
33056 typedef int16_t int_least16_t;
33057 typedef int32_t int_least32_t;
33058 #ifdef _HAVE_UINT64_T
33059 typedef int64_t int_least64_t;
33062 typedef uint8_t uint_least8_t;
33063 typedef uint16_t uint_least16_t;
33064 typedef uint32_t uint_least32_t;
33065 #ifdef _HAVE_UINT64_T
33066 typedef uint64_t uint_least64_t;
33071 #if defined _STDINT_NEED_INT_FAST_T
33072 typedef int8_t int_fast8_t;
33073 typedef int int_fast16_t;
33074 typedef int32_t int_fast32_t;
33075 #ifdef _HAVE_UINT64_T
33076 typedef int64_t int_fast64_t;
33079 typedef uint8_t uint_fast8_t;
33080 typedef unsigned uint_fast16_t;
33081 typedef uint32_t uint_fast32_t;
33082 #ifdef _HAVE_UINT64_T
33083 typedef uint64_t uint_fast64_t;
33088 #ifdef _STDINT_NEED_INTMAX_T
33089 #ifdef _HAVE_UINT64_T
33090 typedef int64_t intmax_t;
33091 typedef uint64_t uintmax_t;
33093 typedef long intmax_t;
33094 typedef unsigned long uintmax_t;
33098 #ifdef _STDINT_NEED_INTPTR_T
33099 #ifndef __intptr_t_defined
33100 #define __intptr_t_defined
33101 /* we encourage using "long" to store pointer values, never use "int" ! */
33102 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
33103 typedef unsigned int uintptr_t;
33104 typedef int intptr_t;
33105 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
33106 typedef unsigned long uintptr_t;
33107 typedef long intptr_t;
33108 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
33109 typedef uint64_t uintptr_t;
33110 typedef int64_t intptr_t;
33111 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
33112 typedef unsigned long uintptr_t;
33113 typedef long intptr_t;
33118 /* The ISO C99 standard specifies that in C++ implementations these
33119 should only be defined if explicitly requested. */
33120 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
33124 # define INT8_C(c) c
33125 # define INT16_C(c) c
33126 # define INT32_C(c) c
33127 # ifdef _HAVE_LONGLONG_UINT64_T
33128 # define INT64_C(c) c ## L
33130 # define INT64_C(c) c ## LL
33134 # define UINT8_C(c) c ## U
33135 # define UINT16_C(c) c ## U
33136 # define UINT32_C(c) c ## U
33137 # ifdef _HAVE_LONGLONG_UINT64_T
33138 # define UINT64_C(c) c ## UL
33140 # define UINT64_C(c) c ## ULL
33143 /* Maximal type. */
33144 # ifdef _HAVE_LONGLONG_UINT64_T
33145 # define INTMAX_C(c) c ## L
33146 # define UINTMAX_C(c) c ## UL
33148 # define INTMAX_C(c) c ## LL
33149 # define UINTMAX_C(c) c ## ULL
33152 /* literalnumbers */
33156 /* These limits are merily those of a two complement byte-oriented system */
33158 /* Minimum of signed integral types. */
33160 # define INT8_MIN (-128)
33163 # define INT16_MIN (-32767-1)
33166 # define INT32_MIN (-2147483647-1)
33169 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
33172 /* Maximum of signed integral types. */
33174 # define INT8_MAX (127)
33177 # define INT16_MAX (32767)
33180 # define INT32_MAX (2147483647)
33183 # define INT64_MAX (__INT64_C(9223372036854775807))
33186 /* Maximum of unsigned integral types. */
33188 # define UINT8_MAX (255)
33191 # define UINT16_MAX (65535)
33194 # define UINT32_MAX (4294967295U)
33197 # define UINT64_MAX (__UINT64_C(18446744073709551615))
33200 /* Minimum of signed integral types having a minimum size. */
33201 # define INT_LEAST8_MIN INT8_MIN
33202 # define INT_LEAST16_MIN INT16_MIN
33203 # define INT_LEAST32_MIN INT32_MIN
33204 # define INT_LEAST64_MIN INT64_MIN
33205 /* Maximum of signed integral types having a minimum size. */
33206 # define INT_LEAST8_MAX INT8_MAX
33207 # define INT_LEAST16_MAX INT16_MAX
33208 # define INT_LEAST32_MAX INT32_MAX
33209 # define INT_LEAST64_MAX INT64_MAX
33211 /* Maximum of unsigned integral types having a minimum size. */
33212 # define UINT_LEAST8_MAX UINT8_MAX
33213 # define UINT_LEAST16_MAX UINT16_MAX
33214 # define UINT_LEAST32_MAX UINT32_MAX
33215 # define UINT_LEAST64_MAX UINT64_MAX
33224 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
33225 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
33226 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
33228 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
33229 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33230 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
33231 X"$ac_stdint_h" : 'X\(//\)$' \| \
33232 X"$ac_stdint_h" : 'X\(/\)' \| \
33233 . : '\(.\)' 2>/dev/null ||
33234 echo X"$ac_stdint_h" |
33235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33237 /^X\(\/\/\)$/{ s//\1/; q; }
33238 /^X\(\/\).*/{ s//\1/; q; }
33240 { if $as_mkdir_p; then
33245 while test ! -d "$as_dir"; do
33246 as_dirs
="$as_dir $as_dirs"
33247 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
33248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33249 X"$as_dir" : 'X\(//\)[^/]' \| \
33250 X"$as_dir" : 'X\(//\)$' \| \
33251 X"$as_dir" : 'X\(/\)' \| \
33252 . : '\(.\)' 2>/dev/null ||
33254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33256 /^X\(\/\/\)$/{ s//\1/; q; }
33257 /^X\(\/\).*/{ s//\1/; q; }
33260 test ! -n "$as_dirs" || mkdir
$as_dirs
33261 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33263 { (exit 1); exit 1; }; }; }
33266 mv $ac_stdint $ac_stdint_h
33269 gappletviewer
) chmod 755 tools
/gappletviewer
;;
33270 gjarsigner
) chmod 755 tools
/gjarsigner
;;
33271 gkeytool
) chmod 755 tools
/gkeytool
;;
33272 gjar
) chmod 755 tools
/gjar
;;
33273 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
33274 gserialver
) chmod 755 tools
/gserialver
;;
33275 grmiregistry
) chmod 755 tools
/grmiregistry
;;
33276 gtnameserv
) chmod 755 tools
/gtnameserv
;;
33277 gorbd
) chmod 755 tools
/gorbd
;;
33278 grmid
) chmod 755 tools
/grmid
;;
33279 grmic
) chmod 755 tools
/grmic
;;
33280 gjavah
) chmod 755 tools
/gjavah
;;
33281 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
33282 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
33287 cat >>$CONFIG_STATUS <<\_ACEOF
33289 { (exit 0); exit 0; }
33291 chmod +x
$CONFIG_STATUS
33292 ac_clean_files
=$ac_clean_files_save
33295 # configure is writing to config.log, and then calls config.status.
33296 # config.status does its own redirection, appending to config.log.
33297 # Unfortunately, on DOS this fails, as config.log is still kept open
33298 # by configure, so config.status won't be able to write to it; its
33299 # output is simply discarded. So we exec the FD to /dev/null,
33300 # effectively closing config.log, so it can be properly (re)opened and
33301 # appended to by config.status. When coming back to configure, we
33302 # need to make the FD available again.
33303 if test "$no_create" != yes; then
33305 ac_config_status_args
=
33306 test "$silent" = yes &&
33307 ac_config_status_args
="$ac_config_status_args --quiet"
33309 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
33311 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33312 # would make configure fail if this is the last instruction.
33313 $ac_cs_success ||
{ (exit 1); exit 1; }
33317 # Create standard.omit based on decisions we just made.
33318 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
33319 if test x
$use_escher != xtrue
; then
33320 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit