2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-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.94-pre'
422 PACKAGE_STRING
='GNU Classpath 0.94-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 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 FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
467 # Initialize some variables set by options.
469 ac_init_version
=false
470 # The variables have the same names as the options, with
471 # dashes changed to underlines.
479 program_transform_name
=s
,x
,x
,
487 # Installation directory options.
488 # These are left unexpanded so users can "make install exec_prefix=/foo"
489 # and all the variables that are supposed to be based on exec_prefix
490 # by default will actually change.
491 # Use braces instead of parens because sh, perl, etc. also accept them.
492 bindir
='${exec_prefix}/bin'
493 sbindir
='${exec_prefix}/sbin'
494 libexecdir
='${exec_prefix}/libexec'
495 datadir
='${prefix}/share'
496 sysconfdir
='${prefix}/etc'
497 sharedstatedir
='${prefix}/com'
498 localstatedir
='${prefix}/var'
499 libdir
='${exec_prefix}/lib'
500 includedir
='${prefix}/include'
501 oldincludedir
='/usr/include'
502 infodir
='${prefix}/info'
503 mandir
='${prefix}/man'
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
515 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
517 # Accept the important Cygnus configure options, so we can diagnose typos.
521 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
523 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
526 -build |
--build |
--buil |
--bui |
--bu)
527 ac_prev
=build_alias
;;
528 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
529 build_alias
=$ac_optarg ;;
531 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
532 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
533 ac_prev
=cache_file
;;
534 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
535 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
536 cache_file
=$ac_optarg ;;
539 cache_file
=config.cache
;;
541 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
543 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
545 datadir
=$ac_optarg ;;
547 -disable-* |
--disable-*)
548 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
551 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
552 { (exit 1); exit 1; }; }
553 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
554 eval "enable_$ac_feature=no" ;;
556 -enable-* |
--enable-*)
557 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
558 # Reject names that are not valid shell variable names.
559 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
560 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561 { (exit 1); exit 1; }; }
562 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
564 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567 eval "enable_$ac_feature='$ac_optarg'" ;;
569 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
570 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
571 |
--exec |
--exe |
--ex)
572 ac_prev
=exec_prefix
;;
573 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
574 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
575 |
--exec=* |
--exe=* |
--ex=*)
576 exec_prefix
=$ac_optarg ;;
578 -gas |
--gas |
--ga |
--g)
579 # Obsolete; use --with-gas.
582 -help |
--help |
--hel |
--he |
-h)
584 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
585 ac_init_help
=recursive
;;
586 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
587 ac_init_help
=short
;;
589 -host |
--host |
--hos |
--ho)
590 ac_prev
=host_alias
;;
591 -host=* |
--host=* |
--hos=* |
--ho=*)
592 host_alias
=$ac_optarg ;;
594 -includedir |
--includedir |
--includedi |
--included |
--include \
595 |
--includ |
--inclu |
--incl |
--inc)
596 ac_prev
=includedir
;;
597 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
598 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
599 includedir
=$ac_optarg ;;
601 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
603 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
604 infodir
=$ac_optarg ;;
606 -libdir |
--libdir |
--libdi |
--libd)
608 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
611 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
612 |
--libexe |
--libex |
--libe)
613 ac_prev
=libexecdir
;;
614 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
615 |
--libexe=* |
--libex=* |
--libe=*)
616 libexecdir
=$ac_optarg ;;
618 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
619 |
--localstate |
--localstat |
--localsta |
--localst \
620 |
--locals |
--local |
--loca |
--loc |
--lo)
621 ac_prev
=localstatedir
;;
622 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
623 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
624 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
625 localstatedir
=$ac_optarg ;;
627 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
629 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
633 # Obsolete; use --without-fp.
636 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
637 |
--no-cr |
--no-c |
-n)
640 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
641 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
644 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
645 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
646 |
--oldin |
--oldi |
--old |
--ol |
--o)
647 ac_prev
=oldincludedir
;;
648 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
649 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
650 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
651 oldincludedir
=$ac_optarg ;;
653 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
655 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
658 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
659 |
--program-pre |
--program-pr |
--program-p)
660 ac_prev
=program_prefix
;;
661 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
662 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
663 program_prefix
=$ac_optarg ;;
665 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
666 |
--program-suf |
--program-su |
--program-s)
667 ac_prev
=program_suffix
;;
668 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
669 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
670 program_suffix
=$ac_optarg ;;
672 -program-transform-name |
--program-transform-name \
673 |
--program-transform-nam |
--program-transform-na \
674 |
--program-transform-n |
--program-transform- \
675 |
--program-transform |
--program-transfor \
676 |
--program-transfo |
--program-transf \
677 |
--program-trans |
--program-tran \
678 |
--progr-tra |
--program-tr |
--program-t)
679 ac_prev
=program_transform_name
;;
680 -program-transform-name=* |
--program-transform-name=* \
681 |
--program-transform-nam=* |
--program-transform-na=* \
682 |
--program-transform-n=* |
--program-transform-=* \
683 |
--program-transform=* |
--program-transfor=* \
684 |
--program-transfo=* |
--program-transf=* \
685 |
--program-trans=* |
--program-tran=* \
686 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
687 program_transform_name
=$ac_optarg ;;
689 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
690 |
-silent |
--silent |
--silen |
--sile |
--sil)
693 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
695 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
697 sbindir
=$ac_optarg ;;
699 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
700 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
701 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
703 ac_prev
=sharedstatedir
;;
704 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
705 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
706 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
708 sharedstatedir
=$ac_optarg ;;
710 -site |
--site |
--sit)
712 -site=* |
--site=* |
--sit=*)
715 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
717 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
720 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
721 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
722 ac_prev
=sysconfdir
;;
723 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
724 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
725 sysconfdir
=$ac_optarg ;;
727 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
728 ac_prev
=target_alias
;;
729 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
730 target_alias
=$ac_optarg ;;
732 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
735 -version |
--version |
--versio |
--versi |
--vers |
-V)
739 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
740 # Reject names that are not valid shell variable names.
741 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
742 { echo "$as_me: error: invalid package name: $ac_package" >&2
743 { (exit 1); exit 1; }; }
744 ac_package
=`echo $ac_package| sed 's/-/_/g'`
746 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749 eval "with_$ac_package='$ac_optarg'" ;;
751 -without-* |
--without-*)
752 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
753 # Reject names that are not valid shell variable names.
754 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
755 { echo "$as_me: error: invalid package name: $ac_package" >&2
756 { (exit 1); exit 1; }; }
757 ac_package
=`echo $ac_package | sed 's/-/_/g'`
758 eval "with_$ac_package=no" ;;
761 # Obsolete; use --with-x.
764 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
765 |
--x-incl |
--x-inc |
--x-in |
--x-i)
766 ac_prev
=x_includes
;;
767 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
768 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
769 x_includes
=$ac_optarg ;;
771 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
772 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
773 ac_prev
=x_libraries
;;
774 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
775 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
776 x_libraries
=$ac_optarg ;;
778 -*) { echo "$as_me: error: unrecognized option: $ac_option
779 Try \`$0 --help' for more information." >&2
780 { (exit 1); exit 1; }; }
784 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
787 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
788 { (exit 1); exit 1; }; }
789 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
790 eval "$ac_envvar='$ac_optarg'"
794 # FIXME: should be removed in autoconf 3.0.
795 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
797 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
798 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
804 if test -n "$ac_prev"; then
805 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
806 { echo "$as_me: error: missing argument to $ac_option" >&2
807 { (exit 1); exit 1; }; }
810 # Be sure to have absolute paths.
811 for ac_var
in exec_prefix prefix
813 eval ac_val
=$
`echo $ac_var`
815 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
816 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
817 { (exit 1); exit 1; }; };;
821 # Be sure to have absolute paths.
822 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
823 localstatedir libdir includedir oldincludedir infodir mandir
825 eval ac_val
=$
`echo $ac_var`
827 [\\/$
]* | ?
:[\\/]* ) ;;
828 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
829 { (exit 1); exit 1; }; };;
833 # There might be people who depend on the old broken behavior: `$host'
834 # used to hold the argument of --host etc.
835 # FIXME: To remove some day.
840 # FIXME: To remove some day.
841 if test "x$host_alias" != x
; then
842 if test "x$build_alias" = x
; then
843 cross_compiling
=maybe
844 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
845 If a cross compiler is detected then cross compile mode will be used." >&2
846 elif test "x$build_alias" != "x$host_alias"; then
852 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
854 test "$silent" = yes && exec 6>/dev
/null
857 # Find the source files, if location was not specified.
858 if test -z "$srcdir"; then
859 ac_srcdir_defaulted
=yes
860 # Try the directory containing this script, then its parent.
861 ac_confdir
=`(dirname "$0") 2>/dev/null ||
862 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
863 X"$0" : 'X\(//\)[^/]' \| \
864 X"$0" : 'X\(//\)$' \| \
865 X"$0" : 'X\(/\)' \| \
866 . : '\(.\)' 2>/dev/null ||
868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
870 /^X\(\/\/\)$/{ s//\1/; q; }
871 /^X\(\/\).*/{ s//\1/; q; }
874 if test ! -r $srcdir/$ac_unique_file; then
878 ac_srcdir_defaulted
=no
880 if test ! -r $srcdir/$ac_unique_file; then
881 if test "$ac_srcdir_defaulted" = yes; then
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
883 { (exit 1); exit 1; }; }
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
886 { (exit 1); exit 1; }; }
889 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
890 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
891 { (exit 1); exit 1; }; }
892 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
893 ac_env_build_alias_set
=${build_alias+set}
894 ac_env_build_alias_value
=$build_alias
895 ac_cv_env_build_alias_set
=${build_alias+set}
896 ac_cv_env_build_alias_value
=$build_alias
897 ac_env_host_alias_set
=${host_alias+set}
898 ac_env_host_alias_value
=$host_alias
899 ac_cv_env_host_alias_set
=${host_alias+set}
900 ac_cv_env_host_alias_value
=$host_alias
901 ac_env_target_alias_set
=${target_alias+set}
902 ac_env_target_alias_value
=$target_alias
903 ac_cv_env_target_alias_set
=${target_alias+set}
904 ac_cv_env_target_alias_value
=$target_alias
905 ac_env_CC_set
=${CC+set}
907 ac_cv_env_CC_set
=${CC+set}
908 ac_cv_env_CC_value
=$CC
909 ac_env_CFLAGS_set
=${CFLAGS+set}
910 ac_env_CFLAGS_value
=$CFLAGS
911 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
912 ac_cv_env_CFLAGS_value
=$CFLAGS
913 ac_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_env_LDFLAGS_value
=$LDFLAGS
915 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_cv_env_LDFLAGS_value
=$LDFLAGS
917 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_env_CPP_set
=${CPP+set}
922 ac_env_CPP_value
=$CPP
923 ac_cv_env_CPP_set
=${CPP+set}
924 ac_cv_env_CPP_value
=$CPP
925 ac_env_CXX_set
=${CXX+set}
926 ac_env_CXX_value
=$CXX
927 ac_cv_env_CXX_set
=${CXX+set}
928 ac_cv_env_CXX_value
=$CXX
929 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_env_CXXFLAGS_value
=$CXXFLAGS
931 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_env_CXXCPP_set
=${CXXCPP+set}
934 ac_env_CXXCPP_value
=$CXXCPP
935 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
936 ac_cv_env_CXXCPP_value
=$CXXCPP
939 # Report the --help message.
941 if test "$ac_init_help" = "long"; then
942 # Omit some internal or obsolete options to make the list less imposing.
943 # This message is too long to be a string in the A/UX 3.1 sh.
945 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
947 Usage: $0 [OPTION]... [VAR=VALUE]...
949 To assign environment variables (e.g., CC, CFLAGS...), specify them as
950 VAR=VALUE. See below for descriptions of some of the useful variables.
952 Defaults for the options are specified in brackets.
955 -h, --help display this help and exit
956 --help=short display options specific to this package
957 --help=recursive display the short help of all the included packages
958 -V, --version display version information and exit
959 -q, --quiet, --silent do not print \`checking...' messages
960 --cache-file=FILE cache test results in FILE [disabled]
961 -C, --config-cache alias for \`--cache-file=config.cache'
962 -n, --no-create do not create output files
963 --srcdir=DIR find the sources in DIR [configure dir or \`..']
968 Installation directories:
969 --prefix=PREFIX install architecture-independent files in PREFIX
971 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
974 By default, \`make install' will install all the files in
975 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
976 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
977 for instance \`--prefix=\$HOME'.
979 For better control, use the options below.
981 Fine tuning of the installation directories:
982 --bindir=DIR user executables [EPREFIX/bin]
983 --sbindir=DIR system admin executables [EPREFIX/sbin]
984 --libexecdir=DIR program executables [EPREFIX/libexec]
985 --datadir=DIR read-only architecture-independent data [PREFIX/share]
986 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
987 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
988 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
989 --libdir=DIR object code libraries [EPREFIX/lib]
990 --includedir=DIR C header files [PREFIX/include]
991 --oldincludedir=DIR C header files for non-gcc [/usr/include]
992 --infodir=DIR info documentation [PREFIX/info]
993 --mandir=DIR man documentation [PREFIX/man]
999 --program-prefix=PREFIX prepend PREFIX to installed program names
1000 --program-suffix=SUFFIX append SUFFIX to installed program names
1001 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1004 --x-includes=DIR X include files are
in DIR
1005 --x-libraries=DIR X library files are
in DIR
1008 --build=BUILD configure
for building on BUILD
[guessed
]
1009 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1010 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1014 if test -n "$ac_init_help"; then
1015 case $ac_init_help in
1016 short | recursive
) echo "Configuration of GNU Classpath 0.94-pre:";;
1021 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1022 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1023 --enable-java-maintainer-mode
1024 allow rebuilding of .class and .h files
1025 --enable-generated-files-in-srcdir
1026 put copies of generated files
in source dir
1027 intended
for creating
source tarballs
for users
1028 without texinfo
, perl
, bison or flex.
1029 --enable-multilib build many library versions
(default
)
1030 --enable-collections create collections.jar default
=no
1031 --enable-jni compile JNI
source default
=yes
1032 --enable-core-jni compile JNI sources
for core default
=yes
1033 --enable-default-preferences-peer[=peer
type or class name
]
1034 specify one of
: "gconf" [default
] for a GConf based
1035 backend
, "file" for a
file based one
, "memory" for a
1036 transient one
, or a fully qualified class name
1037 implementing java.util.prefs.PreferencesFactory
1038 --disable-gconf-peer compile GConf native peers
(disabled by
1039 --disable-jni) default
=yes
1041 --enable-Werror whether to compile C code with
-Werror which turns
1042 any compiler warning into a compilation failure
1044 --enable-default-toolkit
1045 fully qualified class name of default AWT toolkit
1046 --enable-xmlj compile native libxml
/xslt library default
=no
1047 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1049 --disable-dependency-tracking speeds up one-time build
1050 --enable-dependency-tracking do not reject slow dependency extractors
1051 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1053 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1055 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1057 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
1059 --enable-regen-headers automatically regenerate JNI headers default
=no
1060 --enable-tool-wrappers create tool wrapper binaries default
=no
1061 --enable-static[=PKGS
]
1062 build static libraries
[default
=no
]
1063 --enable-shared[=PKGS
]
1064 build shared libraries
[default
=yes]
1065 --enable-fast-install[=PKGS
]
1066 optimize
for fast installation
[default
=yes]
1067 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1068 --disable-rpath do not hardcode runtime library paths
1069 --enable-maintainer-mode enable make rules and dependencies not useful
1070 (and sometimes confusing
) to the casual installer
1071 --enable-debug enable runtime debugging code
1072 --enable-load-library enable to use JNI native methods default
=yes
1073 --enable-java-lang-system-explicit-initialization
1074 will the VM explicitly invoke java.lang.System
's
1075 static initialization methods default=no
1076 --enable-examples enable build of the examples default=yes
1077 --enable-portable-native-sync
1078 synchronize VM threads portably
1079 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1082 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1083 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1084 --with-native-libdir sets the installation directory for native libraries
1085 default='${libdir}/${PACKAGE}'
1086 --with-glibj-dir sets the installation directory for glibj.zip
1087 default='${libdir}/${PACKAGE}'
1088 --with-vm sets the VM binary name
1089 default='${prefix}/bin
/jamvm
'
1090 --with-pic try to use only PIC/non-PIC objects [default=use
1092 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1093 --with-gnu-ld assume the C compiler uses GNU ld default=no
1094 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1095 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1096 --with-x use the X Window System
1097 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1098 systems use pkg-config.
1099 --with-javah specify path or name of a javah-like program
1100 --with-gcj bytecode compilation with gcj
1101 --with-jikes bytecode compilation with jikes
1102 --with-kjc bytecode compilation with kjc
1103 --with-gcjx bytecode compilation with gcjx
1104 --with-ecj bytecode compilation with ecj
1105 --with-classpath specify path to a classes.
zip like
file
1106 --with-vm-classes specify path to VM override
source files
1107 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
1109 --with-fastjar=PATH define to use a fastjar style tool
1110 --with-glibj define what to
install (zip|flat|both|none|build
)
1112 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1113 --with-jay Regenerate the parsers with jay must be given the
1114 path to the jay executable
1115 --with-glibj-zip=ABS.PATH
1116 use prebuilt glibj.
zip class library
1117 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
1119 Some influential environment variables
:
1120 CC C compiler
command
1121 CFLAGS C compiler flags
1122 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1123 nonstandard directory
<lib dir
>
1124 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1125 headers
in a nonstandard directory
<include dir
>
1127 CXX C
++ compiler
command
1128 CXXFLAGS C
++ compiler flags
1129 CXXCPP C
++ preprocessor
1131 Use these variables to override the choices made by
`configure' or to help
1132 it to find libraries and programs with nonstandard names/locations.
1134 Report bugs to <classpath@gnu.org>.
1138 if test "$ac_init_help" = "recursive"; then
1139 # If there are subdirs, report their specific --help.
1141 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1142 test -d $ac_dir || continue
1145 if test "$ac_dir" != .; then
1146 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1147 # A "../" for each directory in $ac_dir_suffix.
1148 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1150 ac_dir_suffix= ac_top_builddir=
1154 .) # No --srcdir option. We are building in place.
1156 if test -z "$ac_top_builddir"; then
1159 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1161 [\\/]* | ?:[\\/]* ) # Absolute path.
1162 ac_srcdir=$srcdir$ac_dir_suffix;
1163 ac_top_srcdir=$srcdir ;;
1165 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1166 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1169 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1170 # the directories may not exist.
1172 .) ac_abs_builddir="$ac_dir";;
1175 .) ac_abs_builddir=`pwd`;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1177 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1180 case $ac_abs_builddir in
1181 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1183 case ${ac_top_builddir}. in
1184 .) ac_abs_top_builddir=$ac_abs_builddir;;
1185 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1186 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1189 case $ac_abs_builddir in
1190 .) ac_abs_srcdir=$ac_srcdir;;
1193 .) ac_abs_srcdir=$ac_abs_builddir;;
1194 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1195 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1198 case $ac_abs_builddir in
1199 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1201 case $ac_top_srcdir in
1202 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1203 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1204 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1209 # Check for guested configure; otherwise get Cygnus style configure.
1210 if test -f $ac_srcdir/configure.gnu; then
1212 $SHELL $ac_srcdir/configure.gnu --help=recursive
1213 elif test -f $ac_srcdir/configure; then
1215 $SHELL $ac_srcdir/configure --help=recursive
1216 elif test -f $ac_srcdir/configure.ac ||
1217 test -f $ac_srcdir/configure.in; then
1219 $ac_configure --help
1221 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1227 test -n "$ac_init_help" && exit 0
1228 if $ac_init_version; then
1230 GNU Classpath configure 0.94-pre
1231 generated by GNU Autoconf 2.59
1233 Copyright (C) 2003 Free Software Foundation, Inc.
1234 This configure script is free software; the Free Software Foundation
1235 gives unlimited permission to copy, distribute and modify it.
1241 This file contains any messages produced by compilers while
1242 running configure, to aid debugging if configure makes a mistake.
1244 It was created by GNU Classpath $as_me 0.94-pre, which was
1245 generated by GNU Autoconf 2.59. Invocation command line was
1256 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1257 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1258 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1259 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1260 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1262 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1263 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1265 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1266 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1267 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1268 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1269 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1270 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1271 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1279 test -z "$as_dir" && as_dir=.
1280 echo "PATH: $as_dir"
1295 # Keep a trace of the command line.
1296 # Strip out --no-create and --no-recursion so they do not pile up.
1297 # Strip out --silent because we don't want to record it for future runs.
1298 # Also quote any args containing shell meta-characters.
1299 # Make two passes to allow for proper duplicate-argument suppression.
1304 ac_must_keep_next=false
1310 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1312 | -silent | --silent | --silen | --sile | --sil)
1314 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1315 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1318 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1320 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1321 if test $ac_must_keep_next = true; then
1322 ac_must_keep_next=false # Got value, back to normal.
1325 *=* | --config-cache | -C | -disable-* | --disable-* \
1326 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1327 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1328 | -with-* | --with-* | -without-* | --without-* | --x)
1329 case "$ac_configure_args0 " in
1330 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1333 -* ) ac_must_keep_next=true ;;
1336 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1337 # Get rid of the leading space.
1343 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1344 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1346 # When interrupted or exit'd, cleanup temporary files, and complete
1347 # config.log. We remove comments because anyway the quotes in there
1348 # would cause problems or look ugly.
1349 # WARNING: Be sure not to use single quotes in there, as some shells,
1350 # such as our DU 5.0 friend, will then `close
' the trap.
1351 trap 'exit_status
=$?
1352 # Save into config.log some information that might help in debugging.
1357 ## ---------------- ##
1358 ## Cache variables. ##
1359 ## ---------------- ##
1362 # The following way of writing the cache mishandles newlines in values,
1365 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1368 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1373 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1380 ## ----------------- ##
1381 ## Output variables. ##
1382 ## ----------------- ##
1385 for ac_var
in $ac_subst_vars
1387 eval ac_val
=$
`echo $ac_var`
1388 echo "$ac_var='"'"'$ac_val'"'"'"
1392 if test -n "$ac_subst_files"; then
1399 for ac_var
in $ac_subst_files
1401 eval ac_val
=$
`echo $ac_var`
1402 echo "$ac_var='"'"'$ac_val'"'"'"
1407 if test -s confdefs.h
; then
1414 sed "/^$/d" confdefs.h |
sort
1417 test "$ac_signal" != 0 &&
1418 echo "$as_me: caught signal $ac_signal"
1419 echo "$as_me: exit $exit_status"
1421 rm -f core
*.core
&&
1422 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1425 for ac_signal in 1 2 13 15; do
1426 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1430 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1431 rm -rf conftest* confdefs.h
1432 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1435 # Predefined preprocessor variables.
1437 cat >>confdefs.h <<_ACEOF
1438 #define PACKAGE_NAME "$PACKAGE_NAME"
1442 cat >>confdefs.h <<_ACEOF
1443 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1447 cat >>confdefs.h <<_ACEOF
1448 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1452 cat >>confdefs.h <<_ACEOF
1453 #define PACKAGE_STRING "$PACKAGE_STRING"
1457 cat >>confdefs.h <<_ACEOF
1458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1462 # Let the site file select an alternate cache file if it wants to.
1463 # Prefer explicitly selected file to automatically selected ones.
1464 if test -z "$CONFIG_SITE"; then
1465 if test "x$prefix" != xNONE; then
1466 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1468 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1471 for ac_site_file in $CONFIG_SITE; do
1472 if test -r "$ac_site_file"; then
1473 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1474 echo "$as_me: loading site script $ac_site_file" >&6;}
1475 sed 's
/^
/|
/' "$ac_site_file" >&5
1480 if test -r "$cache_file"; then
1481 # Some versions of bash will fail to source /dev/null (special
1482 # files actually), so we avoid doing that.
1483 if test -f "$cache_file"; then
1484 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1485 echo "$as_me: loading cache $cache_file" >&6;}
1487 [\\/]* | ?:[\\/]* ) . $cache_file;;
1488 *) . ./$cache_file;;
1492 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1493 echo "$as_me: creating cache $cache_file" >&6;}
1497 # Check that the precious variables saved in the cache have kept the same
1499 ac_cache_corrupted=false
1500 for ac_var in `(set) 2>&1 |
1501 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1502 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1503 eval ac_new_set=\$ac_env_${ac_var}_set
1504 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1505 eval ac_new_val="\$ac_env_${ac_var}_value"
1506 case $ac_old_set,$ac_new_set in
1508 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1509 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1510 ac_cache_corrupted=: ;;
1512 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1513 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1514 ac_cache_corrupted=: ;;
1517 if test "x$ac_old_val" != "x$ac_new_val"; then
1518 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1519 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1520 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1521 echo "$as_me: former value: $ac_old_val" >&2;}
1522 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1523 echo "$as_me: current value: $ac_new_val" >&2;}
1524 ac_cache_corrupted=:
1527 # Pass precious variables to config.status.
1528 if test "$ac_new_set" = set; then
1530 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1531 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1532 *) ac_arg=$ac_var=$ac_new_val ;;
1534 case " $ac_configure_args " in
1535 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1536 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1540 if $ac_cache_corrupted; then
1541 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1542 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1543 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1544 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1545 { (exit 1); exit 1; }; }
1549 ac_cpp='$CPP $CPPFLAGS'
1550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1551 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1583 for ac_dir in ../.. $srcdir/../..; do
1584 if test -f $ac_dir/install-sh; then
1586 ac_install_sh="$ac_aux_dir/install-sh -c"
1588 elif test -f $ac_dir/install.sh; then
1590 ac_install_sh="$ac_aux_dir/install.sh -c"
1592 elif test -f $ac_dir/shtool; then
1594 ac_install_sh="$ac_aux_dir/shtool install -c"
1598 if test -z "$ac_aux_dir"; then
1599 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1600 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1601 { (exit 1); exit 1; }; }
1603 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1604 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1605 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1608 # Make sure we can run config.sub.
1609 $ac_config_sub sun4 >/dev/null 2>&1 ||
1610 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1611 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1612 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: checking build system type" >&5
1615 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1616 if test "${ac_cv_build+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_build_alias=$build_alias
1620 test -z "$ac_cv_build_alias" &&
1621 ac_cv_build_alias=`$ac_config_guess`
1622 test -z "$ac_cv_build_alias" &&
1623 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1624 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1625 { (exit 1); exit 1; }; }
1626 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1633 echo "${ECHO_T}$ac_cv_build" >&6
1635 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1636 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1637 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1640 echo "$as_me:$LINENO: checking host system type" >&5
1641 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1642 if test "${ac_cv_host+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 ac_cv_host_alias=$host_alias
1646 test -z "$ac_cv_host_alias" &&
1647 ac_cv_host_alias=$ac_cv_build_alias
1648 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1655 echo "${ECHO_T}$ac_cv_host" >&6
1657 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1658 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1659 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1662 echo "$as_me:$LINENO: checking target system type" >&5
1663 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1664 if test "${ac_cv_target+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 ac_cv_target_alias=$target_alias
1668 test "x$ac_cv_target_alias" = "x" &&
1669 ac_cv_target_alias=$ac_cv_host_alias
1670 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1677 echo "${ECHO_T}$ac_cv_target" >&6
1678 target=$ac_cv_target
1679 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1680 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1681 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1684 # The aliases save the names the user supplied, while $host etc.
1685 # will get canonicalized.
1686 test -n "$target_alias" &&
1687 test "$program_prefix$program_suffix$program_transform_name" = \
1689 program_prefix=${target_alias}-
1691 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1692 if test "${enable_java_maintainer_mode+set}" = set; then
1693 enableval="$enable_java_maintainer_mode"
1698 if test "$enable_java_maintainer_mode" = yes; then
1699 JAVA_MAINTAINER_MODE_TRUE=
1700 JAVA_MAINTAINER_MODE_FALSE='#'
1702 JAVA_MAINTAINER_MODE_TRUE
='#'
1703 JAVA_MAINTAINER_MODE_FALSE
=
1707 # We would like to our source tree to be readonly. However when releases or
1708 # pre-releases are generated, the man pages need to be included as they are
1709 # converted from the texi files via perl which we don't require end users to
1711 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1713 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1714 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1715 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1716 if test "${enable_generated_files_in_srcdir+set}" = set; then
1717 enableval
="$enable_generated_files_in_srcdir"
1718 generated_files_in_srcdir
=$enableval
1720 generated_files_in_srcdir
=no
1723 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1724 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1727 if test x
$generated_files_in_srcdir = xyes
; then
1736 # Find the rest of the source tree framework.
1737 # Default to --enable-multilib
1738 # Check whether --enable-multilib or --disable-multilib was given.
1739 if test "${enable_multilib+set}" = set; then
1740 enableval
="$enable_multilib"
1741 case "$enableval" in
1742 yes) multilib
=yes ;;
1744 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1745 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1746 { (exit 1); exit 1; }; } ;;
1752 # We may get other options which we leave undocumented:
1753 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1754 # See config-ml.in if you want the gory details.
1756 if test "$srcdir" = "."; then
1757 if test "$with_target_subdir" != "."; then
1758 multi_basedir
="$srcdir/$with_multisrctop../../.."
1760 multi_basedir
="$srcdir/$with_multisrctop../.."
1763 multi_basedir
="$srcdir/../.."
1767 # Even if the default multilib is not a cross compilation,
1768 # it may be that some of the other multilibs are.
1769 if test $cross_compiling = no
&& test $multilib = yes \
1770 && test "x${with_multisubdir}" != x
; then
1771 cross_compiling
=maybe
1774 ac_config_commands
="$ac_config_commands default-1"
1777 if expr ${target_cpu} : '.*86' > /dev
/null
; then target_cpu
=x86
; fi
1790 CLASSPATH_MODULE
="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1793 CLASSPATH_CONVENIENCE
="-no-undefined"
1797 am__api_version
="1.9"
1798 # Find a good install program. We prefer a C program (faster),
1799 # so one script is as good as another. But avoid the broken or
1800 # incompatible versions:
1801 # SysV /etc/install, /usr/sbin/install
1802 # SunOS /usr/etc/install
1803 # IRIX /sbin/install
1805 # AmigaOS /C/install, which installs bootblocks on floppy discs
1806 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1807 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1808 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1809 # OS/2's system install, which has a completely different semantic
1810 # ./install, which can be erroneously created by make from ./install.sh.
1811 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1812 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1813 if test -z "$INSTALL"; then
1814 if test "${ac_cv_path_install+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir
=.
1822 # Account for people who put trailing slashes in PATH elements.
1824 .
/ | .
// |
/cC
/* | \
1825 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1826 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1829 # OSF1 and SCO ODT 3.0 have their own names for install.
1830 # Don't use installbsd from OSF since it installs stuff as root
1832 for ac_prog
in ginstall scoinst
install; do
1833 for ac_exec_ext
in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1835 if test $ac_prog = install &&
1836 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1837 # AIX install. It has an incompatible calling convention.
1839 elif test $ac_prog = install &&
1840 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1841 # program-specific install script used by HP pwplus--don't use.
1844 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1856 if test "${ac_cv_path_install+set}" = set; then
1857 INSTALL
=$ac_cv_path_install
1859 # As a last resort, use the slow shell script. We don't cache a
1860 # path for INSTALL within a source directory, because that will
1861 # break other packages using the cache if that directory is
1862 # removed, or if the path is relative.
1863 INSTALL
=$ac_install_sh
1866 echo "$as_me:$LINENO: result: $INSTALL" >&5
1867 echo "${ECHO_T}$INSTALL" >&6
1869 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1870 # It thinks the first close brace ends the variable substitution.
1871 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1873 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1875 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1877 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1878 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1881 echo timestamp
> conftest.
file
1882 # Do `set' in a subshell so we don't clobber the current shell's
1883 # arguments. Must try -L first in case configure is actually a
1884 # symlink; some systems play weird games with the mod time of symlinks
1885 # (eg FreeBSD returns the mod time of the symlink's containing
1888 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1889 if test "$*" = "X"; then
1891 set X
`ls -t $srcdir/configure conftest.file`
1894 if test "$*" != "X $srcdir/configure conftest.file" \
1895 && test "$*" != "X conftest.file $srcdir/configure"; then
1897 # If neither matched, then we have a broken ls. This can happen
1898 # if, for instance, CONFIG_SHELL is bash and it inherits a
1899 # broken ls alias from the environment. This has actually
1900 # happened. Such a system could not be considered "sane".
1901 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1902 alias in your environment" >&5
1903 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" >&2;}
1905 { (exit 1); exit 1; }; }
1908 test "$2" = conftest.
file
1914 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1915 Check your system clock" >&5
1916 echo "$as_me: error: newly created file is older than distributed files!
1917 Check your system clock" >&2;}
1918 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1922 test "$program_prefix" != NONE
&&
1923 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1924 # Use a double $ so make ignores it.
1925 test "$program_suffix" != NONE
&&
1926 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1927 # Double any \ or $. echo might interpret backslashes.
1928 # By default was `s,x,x', remove it if useless.
1929 cat <<\_ACEOF
>conftest.
sed
1930 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1932 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1935 # expand $ac_aux_dir to an absolute path
1936 am_aux_dir
=`cd $ac_aux_dir && pwd`
1938 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1939 # Use eval to expand $SHELL
1940 if eval "$MISSING --run true"; then
1941 am_missing_run
="$MISSING --run "
1944 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1945 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1948 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1949 # We used to keeping the `.' as first argument, in order to
1950 # allow $(mkdir_p) to be used without argument. As in
1951 # $(mkdir_p) $(somedir)
1952 # where $(somedir) is conditionally defined. However this is wrong
1954 # 1. if the package is installed by a user who cannot write `.'
1955 # make install will fail,
1956 # 2. the above comment should most certainly read
1957 # $(mkdir_p) $(DESTDIR)$(somedir)
1958 # so it does not work when $(somedir) is undefined and
1959 # $(DESTDIR) is not.
1960 # To support the latter case, we have to write
1961 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1962 # so the `.' trick is pointless.
1963 mkdir_p
='mkdir -p --'
1965 # On NextStep and OpenStep, the `mkdir' command does not
1966 # recognize any option. It will interpret all options as
1967 # directories to create, and then abort because `.' already
1969 for d
in .
/-p .
/--version;
1971 test -d $d && rmdir $d
1973 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1974 if test -f "$ac_aux_dir/mkinstalldirs"; then
1975 mkdir_p
='$(mkinstalldirs)'
1977 mkdir_p
='$(install_sh) -d'
1981 for ac_prog
in gawk mawk nawk
awk
1983 # Extract the first word of "$ac_prog", so it can be a program name with args.
1984 set dummy
$ac_prog; ac_word
=$2
1985 echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987 if test "${ac_cv_prog_AWK+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 if test -n "$AWK"; then
1991 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir
=.
1998 for ac_exec_ext
in '' $ac_executable_extensions; do
1999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2000 ac_cv_prog_AWK
="$ac_prog"
2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 if test -n "$AWK"; then
2011 echo "$as_me:$LINENO: result: $AWK" >&5
2012 echo "${ECHO_T}$AWK" >&6
2014 echo "$as_me:$LINENO: result: no" >&5
2015 echo "${ECHO_T}no" >&6
2018 test -n "$AWK" && break
2021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2023 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 cat >conftest.
make <<\_ACEOF
2029 @
echo 'ac_maketemp="$(MAKE)"'
2031 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2033 if test -n "$ac_maketemp"; then
2034 eval ac_cv_prog_make_
${ac_make}_set
=yes
2036 eval ac_cv_prog_make_
${ac_make}_set
=no
2040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2041 echo "$as_me:$LINENO: result: yes" >&5
2042 echo "${ECHO_T}yes" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2047 SET_MAKE
="MAKE=${MAKE-make}"
2050 rm -rf .tst
2>/dev
/null
2051 mkdir .tst
2>/dev
/null
2052 if test -d .tst
; then
2057 rmdir .tst
2>/dev
/null
2059 # test to see if srcdir already configured
2060 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2061 test -f $srcdir/config.status
; then
2062 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2063 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2064 { (exit 1); exit 1; }; }
2067 # test whether we have cygpath
2068 if test -z "$CYGPATH_W"; then
2069 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2070 CYGPATH_W
='cygpath -w'
2077 # Define the identity of the package.
2082 cat >>confdefs.h
<<_ACEOF
2083 #define PACKAGE "$PACKAGE"
2087 cat >>confdefs.h
<<_ACEOF
2088 #define VERSION "$VERSION"
2091 # Some tools Automake needs.
2093 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2096 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2099 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2102 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2105 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2107 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2109 # Installed binaries are usually stripped using `strip' when the user
2110 # run `make install-strip'. However `strip' might not be the right
2111 # tool to use in cross-compilation environments, therefore Automake
2112 # will honor the `STRIP' environment variable to overrule this program.
2113 if test "$cross_compiling" != no
; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2116 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_STRIP+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$STRIP"; then
2123 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 STRIP
=$ac_cv_prog_STRIP
2142 if test -n "$STRIP"; then
2143 echo "$as_me:$LINENO: result: $STRIP" >&5
2144 echo "${ECHO_T}$STRIP" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_STRIP"; then
2153 # Extract the first word of "strip", so it can be a program name with args.
2154 set dummy strip
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_STRIP"; then
2161 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_STRIP
="strip"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2180 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2181 if test -n "$ac_ct_STRIP"; then
2182 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2183 echo "${ECHO_T}$ac_ct_STRIP" >&6
2185 echo "$as_me:$LINENO: result: no" >&5
2186 echo "${ECHO_T}no" >&6
2191 STRIP
="$ac_cv_prog_STRIP"
2195 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2197 # We need awk for the "check" target. The system "awk" is bad on
2199 # Always define AMTAR for backward compatibility.
2201 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2204 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2205 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2206 # Loop over all known methods to create a tar archive until one works.
2207 _am_tools
='gnutar plaintar pax cpio none'
2208 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2209 # Do not fold the above two line into one, because Tru64 sh and
2210 # Solaris sh will not grok spaces in the rhs of `-'.
2211 for _am_tool
in $_am_tools
2215 for _am_tar
in tar gnutar gtar
;
2217 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2218 ($_am_tar --version) >&5 2>&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); } && break
2223 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2224 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2225 am__untar
="$_am_tar -xf -"
2228 # Must skip GNU tar: if it does not support --format= it doesn't create
2229 # ustar tarball either.
2230 (tar --version) >/dev
/null
2>&1 && continue
2231 am__tar
='tar chf - "$$tardir"'
2232 am__tar_
='tar chf - "$tardir"'
2233 am__untar
='tar xf -'
2236 am__tar
='pax -L -x ustar -w "$$tardir"'
2237 am__tar_
='pax -L -x ustar -w "$tardir"'
2241 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2242 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2243 am__untar
='cpio -i -H ustar -d'
2252 # If the value was cached, stop now. We just wanted to have am__tar
2253 # and am__untar set.
2254 test -n "${am_cv_prog_tar_ustar}" && break
2256 # tar/untar a dummy directory, and stop if the command works
2259 echo GrepMe
> conftest.dir
/file
2260 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2261 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }
2266 if test -s conftest.
tar; then
2267 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2268 ($am__untar <conftest.
tar) >&5 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2272 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2277 if test "${am_cv_prog_tar_ustar+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 am_cv_prog_tar_ustar
=$_am_tool
2283 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2284 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2290 ac_config_headers
="$ac_config_headers include/config.h"
2296 # Check whether --enable-collections or --disable-collections was given.
2297 if test "${enable_collections+set}" = set; then
2298 enableval
="$enable_collections"
2299 case x
"${enableval}" in
2300 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2301 xno
) COMPILE_COLLECTIONS
=no
;;
2302 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2303 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2306 COMPILE_COLLECTIONS
=no
2310 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2311 CREATE_COLLECTIONS_TRUE
=
2312 CREATE_COLLECTIONS_FALSE
='#'
2314 CREATE_COLLECTIONS_TRUE
='#'
2315 CREATE_COLLECTIONS_FALSE
=
2319 # Check whether --enable-jni or --disable-jni was given.
2320 if test "${enable_jni+set}" = set; then
2321 enableval
="$enable_jni"
2322 case "${enableval}" in
2323 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2324 no
) COMPILE_JNI
=no
;;
2325 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2332 if test "x${COMPILE_JNI}" = xyes
; then
2333 CREATE_JNI_LIBRARIES_TRUE
=
2334 CREATE_JNI_LIBRARIES_FALSE
='#'
2336 CREATE_JNI_LIBRARIES_TRUE
='#'
2337 CREATE_JNI_LIBRARIES_FALSE
=
2341 # Check whether --enable-core-jni or --disable-core-jni was given.
2342 if test "${enable_core_jni+set}" = set; then
2343 enableval
="$enable_core_jni"
2344 case "${enableval}" in
2345 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2346 no
) COMPILE_CORE_JNI
=no
;;
2347 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2350 COMPILE_CORE_JNI
=yes
2354 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2355 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2356 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2358 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2359 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2363 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2364 if test "${enable_default_preferences_peer+set}" = set; then
2365 enableval
="$enable_default_preferences_peer"
2366 case "${enableval}" in
2367 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2368 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2369 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2370 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2371 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2372 { (exit 1); exit 1; }; } ;;
2373 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2376 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2379 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2380 if test "${enable_gconf_peer+set}" = set; then
2381 enableval
="$enable_gconf_peer"
2382 case "${enableval}" in
2383 yes) COMPILE_GCONF_PEER
=yes ;;
2384 no
) COMPILE_GCONF_PEER
=no
;;
2385 *) COMPILE_GCONF_PEER
=yes ;;
2388 COMPILE_GCONF_PEER
=yes
2392 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2393 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2394 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2396 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2397 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2401 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2402 if test "${enable_gconf_peers+set}" = set; then
2403 enableval
="$enable_gconf_peers"
2404 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2405 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2406 { (exit 1); exit 1; }; }
2409 # Check whether --enable-Werror or --disable-Werror was given.
2410 if test "${enable_Werror+set}" = set; then
2411 enableval
="$enable_Werror"
2412 case "${enableval}" in
2413 yes) ENABLE_WERROR
=yes ;;
2414 no
) ENABLE_WERROR
=no
;;
2415 *) ENABLE_WERROR
=default
;;
2418 ENABLE_WERROR
=default
2421 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2422 if test "${enable_default_toolkit+set}" = set; then
2423 enableval
="$enable_default_toolkit"
2426 default_toolkit
=$enable_default_toolkit
2427 if test "$default_toolkit" = ""; then
2428 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2432 # Check whether --enable-xmlj or --disable-xmlj was given.
2433 if test "${enable_xmlj+set}" = set; then
2434 enableval
="$enable_xmlj"
2435 case "${enableval}" in
2436 yes) COMPILE_XMLJ
=yes ;;
2437 no
) COMPILE_XMLJ
=no
;;
2438 *) COMPILE_XMLJ
=no
;;
2445 if test "x${COMPILE_XMLJ}" = xyes
; then
2446 CREATE_XMLJ_LIBRARY_TRUE
=
2447 CREATE_XMLJ_LIBRARY_FALSE
='#'
2449 CREATE_XMLJ_LIBRARY_TRUE
='#'
2450 CREATE_XMLJ_LIBRARY_FALSE
=
2454 DEPDIR
="${am__leading_dot}deps"
2456 ac_config_commands
="$ac_config_commands depfiles"
2459 am_make
=${MAKE-make}
2460 cat > confinc
<< 'END'
2465 # If we don't find an include directive, just comment out the code.
2466 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2467 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2471 # First try GNU make style include.
2472 echo "include confinc" > confmf
2473 # We grep out `Entering directory' and `Leaving directory'
2474 # messages which can occur if `w' ends up in MAKEFLAGS.
2475 # In particular we don't look at `^make:' because GNU make might
2476 # be invoked under some other name (usually "gmake"), in which
2477 # case it prints its new name instead of `make'.
2478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2483 # Now try BSD make style include.
2484 if test "$am__include" = "#"; then
2485 echo '.include "confinc"' > confmf
2486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2487 am__include
=.include
2494 echo "$as_me:$LINENO: result: $_am_result" >&5
2495 echo "${ECHO_T}$_am_result" >&6
2496 rm -f confinc confmf
2498 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then
2500 enableval
="$enable_dependency_tracking"
2503 if test "x$enable_dependency_tracking" != xno
; then
2504 am_depcomp
="$ac_aux_dir/depcomp"
2509 if test "x$enable_dependency_tracking" != xno; then
2520 ac_cpp
='$CPP $CPPFLAGS'
2521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2527 echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2529 if test "${ac_cv_prog_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC
="$CC" # Let the user override the test.
2535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir
=.
2540 for ac_exec_ext
in '' $ac_executable_extensions; do
2541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 echo "$as_me:$LINENO: result: $CC" >&5
2554 echo "${ECHO_T}$CC" >&6
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2561 if test -z "$ac_cv_prog_CC"; then
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc
; ac_word
=$2
2565 echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_exec_ext
in '' $ac_executable_extensions; do
2579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_CC
="gcc"
2581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2592 echo "${ECHO_T}$ac_ct_CC" >&6
2594 echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6
2603 if test -z "$CC"; then
2604 if test -n "$ac_tool_prefix"; then
2605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2606 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC
="$CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 if test -n "$CC"; then
2633 echo "$as_me:$LINENO: result: $CC" >&5
2634 echo "${ECHO_T}$CC" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2641 if test -z "$ac_cv_prog_CC"; then
2643 # Extract the first word of "cc", so it can be a program name with args.
2644 set dummy cc
; ac_word
=$2
2645 echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$ac_ct_CC"; then
2651 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir
=.
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_ac_ct_CC
="cc"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2670 if test -n "$ac_ct_CC"; then
2671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2672 echo "${ECHO_T}$ac_ct_CC" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2684 if test -z "$CC"; then
2685 # Extract the first word of "cc", so it can be a program name with args.
2686 set dummy cc
; ac_word
=$2
2687 echo "$as_me:$LINENO: checking for $ac_word" >&5
2688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2689 if test "${ac_cv_prog_CC+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC
="$CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2704 ac_prog_rejected
=yes
2708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test $ac_prog_rejected = yes; then
2715 # We found a bogon in the path, so make sure we never use it.
2716 set dummy
$ac_cv_prog_CC
2718 if test $# != 0; then
2719 # We chose a different compiler from the bogus one.
2720 # However, it has the same basename, so the bogon will be chosen
2721 # first if we set CC to just the basename; use the full file name.
2723 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2729 if test -n "$CC"; then
2730 echo "$as_me:$LINENO: result: $CC" >&5
2731 echo "${ECHO_T}$CC" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2738 if test -z "$CC"; then
2739 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2743 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2744 echo "$as_me:$LINENO: checking for $ac_word" >&5
2745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2746 if test "${ac_cv_prog_CC+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC
="$CC" # Let the user override the test.
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir
=.
2757 for ac_exec_ext
in '' $ac_executable_extensions; do
2758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test -n "$CC"; then
2770 echo "$as_me:$LINENO: result: $CC" >&5
2771 echo "${ECHO_T}$CC" >&6
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2777 test -n "$CC" && break
2780 if test -z "$CC"; then
2784 # Extract the first word of "$ac_prog", so it can be a program name with args.
2785 set dummy
$ac_prog; ac_word
=$2
2786 echo "$as_me:$LINENO: checking for $ac_word" >&5
2787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2789 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 if test -n "$ac_ct_CC"; then
2792 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_ac_ct_CC
="$ac_prog"
2802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2811 if test -n "$ac_ct_CC"; then
2812 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2813 echo "${ECHO_T}$ac_ct_CC" >&6
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2819 test -n "$ac_ct_CC" && break
2828 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: no acceptable C compiler found in \$PATH
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2834 # Provide some information about the compiler.
2835 echo "$as_me:$LINENO:" \
2836 "checking for C compiler version" >&5
2837 ac_compiler
=`set X $ac_compile; echo $2`
2838 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2839 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }
2843 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2844 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }
2848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2849 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2880 if test x
$gcc_no_link = xyes
; then
2881 # Setting cross_compile will disable run tests; it will
2882 # also disable AC_CHECK_FILE but that's generally
2883 # correct if we can't link.
2887 cat >conftest.
$ac_ext <<_ACEOF
2890 cat confdefs.h
>>conftest.
$ac_ext
2891 cat >>conftest.
$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2902 ac_clean_files_save
=$ac_clean_files
2903 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2907 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2908 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2909 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2910 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2911 (eval $ac_link_default) 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2915 # Find the output, starting from the most likely. This scheme is
2916 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2919 # Be careful to initialize this variable, since it used to be cached.
2920 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2922 # b.out is created by i960 compilers.
2923 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2925 test -f "$ac_file" ||
continue
2927 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2930 # This is the source file.
2933 # We found the default executable, but exeext='' is most
2937 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2938 # FIXME: I believe we export ac_cv_exeext for Libtool,
2939 # but it would be cool to find out if it's true. Does anybody
2940 # maintain Libtool? --akim.
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955 { (exit 77); exit 77; }; }
2958 ac_exeext
=$ac_cv_exeext
2959 echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6
2962 # Check the compiler produces executables we can run. If not, either
2963 # the compiler is broken, or we cross compile.
2964 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2965 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2966 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2967 # If not cross compiling, check that we can run a simple program.
2968 if test "$cross_compiling" != yes; then
2969 if { ac_try
='./$ac_file'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2977 if test "$cross_compiling" = maybe
; then
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986 { (exit 1); exit 1; }; }
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2993 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2994 ac_clean_files
=$ac_clean_files_save
2995 # Check the compiler produces executables we can run. If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005 (eval $ac_link) 2>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3013 for ac_file
in conftest.exe conftest conftest.
*; do
3014 test -f "$ac_file" ||
continue
3016 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3017 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3024 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&2;}
3028 { (exit 1); exit 1; }; }
3031 rm -f conftest
$ac_cv_exeext
3032 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3033 echo "${ECHO_T}$ac_cv_exeext" >&6
3035 rm -f conftest.
$ac_ext
3036 EXEEXT
=$ac_cv_exeext
3039 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3040 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3041 if test "${ac_cv_objext+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3059 rm -f conftest.o conftest.obj
3060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 (eval $ac_compile) 2>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; then
3065 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3067 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3068 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.
$ac_ext >&5
3076 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3077 See \`config.log' for more details." >&5
3078 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3079 See \`config.log' for more details." >&2;}
3080 { (exit 1); exit 1; }; }
3083 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3085 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3086 echo "${ECHO_T}$ac_cv_objext" >&6
3087 OBJEXT
=$ac_cv_objext
3089 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3090 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3091 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3112 rm -f conftest.
$ac_objext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114 (eval $ac_compile) 2>conftest.er1
3116 grep -v '^ *+' conftest.er1
>conftest.err
3118 cat conftest.err
>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try
='test -z "$ac_c_werror_flag"
3122 || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try
='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3142 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3145 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3146 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3147 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3148 ac_test_CFLAGS
=${CFLAGS+set}
3149 ac_save_CFLAGS
=$CFLAGS
3151 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3152 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3153 if test "${ac_cv_prog_cc_g+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3171 rm -f conftest.
$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>conftest.er1
3175 grep -v '^ *+' conftest.er1
>conftest.err
3177 cat conftest.err
>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } &&
3180 { ac_try
='test -z "$ac_c_werror_flag"
3181 || test ! -s conftest.err'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; } &&
3187 { ac_try
='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.
$ac_ext >&5
3200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3202 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3203 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3204 if test "$ac_test_CFLAGS" = set; then
3205 CFLAGS
=$ac_save_CFLAGS
3206 elif test $ac_cv_prog_cc_g = yes; then
3207 if test "$GCC" = yes; then
3213 if test "$GCC" = yes; then
3219 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3220 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3221 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 ac_cv_prog_cc_stdc
=no
3226 cat >conftest.
$ac_ext <<_ACEOF
3229 cat confdefs.h
>>conftest.
$ac_ext
3230 cat >>conftest.
$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3234 #include <sys/types.h>
3235 #include <sys/stat.h>
3236 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3237 struct buf { int x; };
3238 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3239 static char *e (p, i)
3245 static char *f (char * (*g) (char **, int), char **p, ...)
3250 s = g (p, va_arg (v,int));
3255 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3256 function prototypes and stuff, but not '\xHH' hex character constants.
3257 These don't provoke an error unfortunately, instead are silently treated
3258 as 'x'. The following induces an error, until -std1 is added to get
3259 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3260 array size at least. It's necessary to write '\x00'==0 to get something
3261 that's true only with -std1. */
3262 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3264 int test (int i, double x);
3265 struct s1 {int (*f) (int a);};
3266 struct s2 {int (*f) (double a);};
3267 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3273 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3278 # Don't try gcc -ansi; that turns off useful extensions and
3279 # breaks some systems' header files.
3280 # AIX -qlanglvl=ansi
3281 # Ultrix and OSF/1 -std1
3282 # HP-UX 10.20 and later -Ae
3283 # HP-UX older versions -Aa -D_HPUX_SOURCE
3284 # SVR4 -Xc -D__EXTENSIONS__
3285 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3287 CC
="$ac_save_CC $ac_arg"
3288 rm -f conftest.
$ac_objext
3289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3290 (eval $ac_compile) 2>conftest.er1
3292 grep -v '^ *+' conftest.er1
>conftest.err
3294 cat conftest.err
>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try
='test -z "$ac_c_werror_flag"
3298 || test ! -s conftest.err'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; } &&
3304 { ac_try
='test -s conftest.$ac_objext'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cc_stdc
=$ac_arg
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3317 rm -f conftest.err conftest.
$ac_objext
3319 rm -f conftest.
$ac_ext conftest.
$ac_objext
3324 case "x$ac_cv_prog_cc_stdc" in
3326 echo "$as_me:$LINENO: result: none needed" >&5
3327 echo "${ECHO_T}none needed" >&6 ;;
3329 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3330 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3331 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3334 # Some people use a C++ compiler to compile C. Since we use `exit',
3335 # in C++ we need to declare it. In case someone uses the same compiler
3336 # for both compiling C and C++ we need to have the C++ compiler decide
3337 # the declaration of exit, since it's the most demanding environment.
3338 cat >conftest.
$ac_ext <<_ACEOF
3343 rm -f conftest.
$ac_objext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3345 (eval $ac_compile) 2>conftest.er1
3347 grep -v '^ *+' conftest.er1
>conftest.err
3349 cat conftest.err
>&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } &&
3352 { ac_try
='test -z "$ac_c_werror_flag"
3353 || test ! -s conftest.err'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; } &&
3359 { ac_try
='test -s conftest.$ac_objext'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3365 for ac_declaration
in \
3367 'extern "C" void std::exit (int) throw (); using std::exit;' \
3368 'extern "C" void std::exit (int); using std::exit;' \
3369 'extern "C" void exit (int) throw ();' \
3370 'extern "C" void exit (int);' \
3373 cat >conftest.
$ac_ext <<_ACEOF
3376 cat confdefs.h
>>conftest.
$ac_ext
3377 cat >>conftest.
$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3389 rm -f conftest.
$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3393 grep -v '^ *+' conftest.er1
>conftest.err
3395 cat conftest.err
>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try
='test -z "$ac_c_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try
='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.
$ac_ext >&5
3418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3419 cat >conftest.
$ac_ext <<_ACEOF
3422 cat confdefs.h
>>conftest.
$ac_ext
3423 cat >>conftest.
$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3434 rm -f conftest.
$ac_objext
3435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3436 (eval $ac_compile) 2>conftest.er1
3438 grep -v '^ *+' conftest.er1
>conftest.err
3440 cat conftest.err
>&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); } &&
3443 { ac_try
='test -z "$ac_c_werror_flag"
3444 || test ! -s conftest.err'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; } &&
3450 { ac_try
='test -s conftest.$ac_objext'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; }; then
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.
$ac_ext >&5
3462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3465 if test -n "$ac_declaration"; then
3466 echo '#ifdef __cplusplus' >>confdefs.h
3467 echo $ac_declaration >>confdefs.h
3468 echo '#endif' >>confdefs.h
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.
$ac_ext >&5
3476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3478 ac_cpp
='$CPP $CPPFLAGS'
3479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3483 depcc
="$CC" am_compiler_list
=
3485 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3486 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3487 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3491 # We make a subdir and do the tests there. Otherwise we can end up
3492 # making bogus files that we don't know about and never remove. For
3493 # instance it was reported that on HP-UX the gcc test will end up
3494 # making a dummy file named `D' -- because `-MD' means `put the output
3497 # Copy depcomp to subdir because otherwise we won't find it if we're
3498 # using a relative directory.
3499 cp "$am_depcomp" conftest.dir
3501 # We will build objects and dependencies in a subdirectory because
3502 # it helps to detect inapplicable dependency modes. For instance
3503 # both Tru64's cc and ICC support -MD to output dependencies as a
3504 # side effect of compilation, but ICC will put the dependencies in
3505 # the current directory while Tru64 will put them in the object
3509 am_cv_CC_dependencies_compiler_type
=none
3510 if test "$am_compiler_list" = ""; then
3511 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3513 for depmode
in $am_compiler_list; do
3514 # Setup a source with many dependencies, because some compilers
3515 # like to wrap large dependency lists on column 80 (with \), and
3516 # we should not choose a depcomp mode which is confused by this.
3518 # We need to recreate these files for each test, as the compiler may
3519 # overwrite some of them when testing with obscure command lines.
3520 # This happens at least with the AIX C compiler.
3522 for i
in 1 2 3 4 5 6; do
3523 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3525 # Solaris 8's {/usr,}/bin/sh.
3526 touch sub
/conftst
$i.h
3528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3532 # after this tag, mechanisms are not by side-effect, so they'll
3533 # only be used when explicitly requested
3534 if test "x$enable_dependency_tracking" = xyes
; then
3542 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3543 # mode. It turns out that the SunPro C++ compiler does not properly
3544 # handle `-M -o', and we need to detect this.
3545 if depmode
=$depmode \
3546 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3547 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3548 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3549 >/dev
/null
2>conftest.err
&&
3550 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3551 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3552 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3553 # icc doesn't choke on unknown options, it will just issue warnings
3554 # or remarks (even with -Werror). So we grep stderr for any message
3555 # that says an option was ignored or not supported.
3556 # When given -MP, icc 7.0 and 7.1 complain thusly:
3557 # icc: Command line warning: ignoring option '-M'; no argument required
3558 # The diagnosis changed in icc 8.0:
3559 # icc: Command line remark: option '-MP' not supported
3560 if (grep 'ignoring option' conftest.err ||
3561 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3562 am_cv_CC_dependencies_compiler_type
=$depmode
3571 am_cv_CC_dependencies_compiler_type
=none
3575 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3576 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3577 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3582 test "x$enable_dependency_tracking" != xno \
3583 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3585 am__fastdepCC_FALSE
='#'
3587 am__fastdepCC_TRUE
='#'
3588 am__fastdepCC_FALSE
=
3594 ac_cpp
='$CPP $CPPFLAGS'
3595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3598 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3600 # On Suns, sometimes $CPP names a directory.
3601 if test -n "$CPP" && test -d "$CPP"; then
3604 if test -z "$CPP"; then
3605 if test "${ac_cv_prog_CPP+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 # Double quotes because CPP needs to be expanded
3609 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3612 for ac_c_preproc_warn_flag
in '' yes
3614 # Use a header file that comes with gcc, so configuring glibc
3615 # with a fresh cross-compiler works.
3616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 # <limits.h> exists even on freestanding compilers.
3618 # On the NeXT, cc -E runs the code through the compiler's parser,
3619 # not just through cpp. "Syntax error" is here to catch this case.
3620 cat >conftest.
$ac_ext <<_ACEOF
3623 cat confdefs.h
>>conftest.
$ac_ext
3624 cat >>conftest.
$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3627 # include <limits.h>
3629 # include <assert.h>
3633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3636 grep -v '^ *+' conftest.er1
>conftest.err
3638 cat conftest.err
>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev
/null
; then
3641 if test -s conftest.err
; then
3642 ac_cpp_err
=$ac_c_preproc_warn_flag
3643 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3650 if test -z "$ac_cpp_err"; then
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.
$ac_ext >&5
3656 # Broken: fails on valid input.
3659 rm -f conftest.err conftest.
$ac_ext
3661 # OK, works on sane cases. Now check whether non-existent headers
3662 # can be detected and how.
3663 cat >conftest.
$ac_ext <<_ACEOF
3666 cat confdefs.h
>>conftest.
$ac_ext
3667 cat >>conftest.
$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3674 grep -v '^ *+' conftest.er1
>conftest.err
3676 cat conftest.err
>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } >/dev
/null
; then
3679 if test -s conftest.err
; then
3680 ac_cpp_err
=$ac_c_preproc_warn_flag
3681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3688 if test -z "$ac_cpp_err"; then
3689 # Broken: success on invalid input.
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.
$ac_ext >&5
3695 # Passes both tests.
3699 rm -f conftest.err conftest.
$ac_ext
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.
$ac_ext
3704 if $ac_preproc_ok; then
3716 echo "$as_me:$LINENO: result: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6
3719 for ac_c_preproc_warn_flag
in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat >conftest.
$ac_ext <<_ACEOF
3730 cat confdefs.h
>>conftest.
$ac_ext
3731 cat >>conftest.
$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3734 # include <limits.h>
3736 # include <assert.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
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.
$ac_ext >&5
3763 # Broken: fails on valid input.
3766 rm -f conftest.err conftest.
$ac_ext
3768 # OK, works on sane cases. Now check whether non-existent headers
3769 # can be detected and how.
3770 cat >conftest.
$ac_ext <<_ACEOF
3773 cat confdefs.h
>>conftest.
$ac_ext
3774 cat >>conftest.
$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3776 #include <ac_nonexistent.h>
3778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3781 grep -v '^ *+' conftest.er1
>conftest.err
3783 cat conftest.err
>&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev
/null
; then
3786 if test -s conftest.err
; then
3787 ac_cpp_err
=$ac_c_preproc_warn_flag
3788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3795 if test -z "$ac_cpp_err"; then
3796 # Broken: success on invalid input.
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.
$ac_ext >&5
3802 # Passes both tests.
3806 rm -f conftest.err conftest.
$ac_ext
3809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3810 rm -f conftest.err conftest.
$ac_ext
3811 if $ac_preproc_ok; then
3814 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3815 See \`config.log' for more details." >&5
3816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3817 See \`config.log' for more details." >&2;}
3818 { (exit 1); exit 1; }; }
3822 ac_cpp
='$CPP $CPPFLAGS'
3823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3828 echo "$as_me:$LINENO: checking for egrep" >&5
3829 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3830 if test "${ac_cv_prog_egrep+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3834 then ac_cv_prog_egrep
='grep -E'
3835 else ac_cv_prog_egrep
='egrep'
3838 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3839 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3840 EGREP
=$ac_cv_prog_egrep
3843 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3844 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3845 if test "${ac_cv_header_stdc+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 cat >conftest.
$ac_ext <<_ACEOF
3851 cat confdefs.h
>>conftest.
$ac_ext
3852 cat >>conftest.
$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3867 rm -f conftest.
$ac_objext
3868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3869 (eval $ac_compile) 2>conftest.er1
3871 grep -v '^ *+' conftest.er1
>conftest.err
3873 cat conftest.err
>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } &&
3876 { ac_try
='test -z "$ac_c_werror_flag"
3877 || test ! -s conftest.err'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; } &&
3883 { ac_try
='test -s conftest.$ac_objext'
3884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; }; then
3889 ac_cv_header_stdc
=yes
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.
$ac_ext >&5
3894 ac_cv_header_stdc
=no
3896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3898 if test $ac_cv_header_stdc = yes; then
3899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3900 cat >conftest.
$ac_ext <<_ACEOF
3903 cat confdefs.h
>>conftest.
$ac_ext
3904 cat >>conftest.
$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3910 $EGREP "memchr" >/dev
/null
2>&1; then
3913 ac_cv_header_stdc
=no
3919 if test $ac_cv_header_stdc = yes; then
3920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3921 cat >conftest.
$ac_ext <<_ACEOF
3924 cat confdefs.h
>>conftest.
$ac_ext
3925 cat >>conftest.
$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3931 $EGREP "free" >/dev
/null
2>&1; then
3934 ac_cv_header_stdc
=no
3940 if test $ac_cv_header_stdc = yes; then
3941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3942 if test "$cross_compiling" = yes; then
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3952 #if ((' ' & 0x0FF) == 0x020)
3953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3956 # define ISLOWER(c) \
3957 (('a' <= (c) && (c) <= 'i') \
3958 || ('j' <= (c) && (c) <= 'r') \
3959 || ('s' <= (c) && (c) <= 'z'))
3960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3968 for (i = 0; i < 256; i++)
3969 if (XOR (islower (i), ISLOWER (i))
3970 || toupper (i) != TOUPPER (i))
3975 rm -f conftest
$ac_exeext
3976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3977 (eval $ac_link) 2>&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3988 echo "$as_me: program exited with status $ac_status" >&5
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.
$ac_ext >&5
3993 ac_cv_header_stdc
=no
3995 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3999 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4000 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4001 if test $ac_cv_header_stdc = yes; then
4003 cat >>confdefs.h
<<\_ACEOF
4004 #define STDC_HEADERS 1
4009 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4019 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4020 inttypes.h stdint.h unistd.h
4022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4023 echo "$as_me:$LINENO: checking for $ac_header" >&5
4024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 cat >conftest.
$ac_ext <<_ACEOF
4031 cat confdefs.h
>>conftest.
$ac_ext
4032 cat >>conftest.
$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4036 #include <$ac_header>
4038 rm -f conftest.
$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_c_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try
='test -s conftest.$ac_objext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4060 eval "$as_ac_Header=yes"
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4065 eval "$as_ac_Header=no"
4067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4072 cat >>confdefs.h
<<_ACEOF
4073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4081 # Check whether --enable-alsa or --disable-alsa was given.
4082 if test "${enable_alsa+set}" = set; then
4083 enableval
="$enable_alsa"
4084 case "${enableval}" in
4085 yes) COMPILE_ALSA
=yes ;;
4086 no
) COMPILE_ALSA
=no
;;
4087 *) COMPILE_ALSA
=yes ;;
4091 for ac_header
in alsa
/asoundlib.h
4093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4095 echo "$as_me:$LINENO: checking for $ac_header" >&5
4096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4103 # Is the header compilable?
4104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4106 cat >conftest.
$ac_ext <<_ACEOF
4109 cat confdefs.h
>>conftest.
$ac_ext
4110 cat >>conftest.
$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 $ac_includes_default
4113 #include <$ac_header>
4115 rm -f conftest.
$ac_objext
4116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4117 (eval $ac_compile) 2>conftest.er1
4119 grep -v '^ *+' conftest.er1
>conftest.err
4121 cat conftest.err
>&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } &&
4124 { ac_try
='test -z "$ac_c_werror_flag"
4125 || test ! -s conftest.err'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; } &&
4131 { ac_try
='test -s conftest.$ac_objext'
4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; }; then
4137 ac_header_compiler
=yes
4139 echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.
$ac_ext >&5
4142 ac_header_compiler
=no
4144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4146 echo "${ECHO_T}$ac_header_compiler" >&6
4148 # Is the header present?
4149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 #include <$ac_header>
4159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4162 grep -v '^ *+' conftest.er1
>conftest.err
4164 cat conftest.err
>&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } >/dev
/null
; then
4167 if test -s conftest.err
; then
4168 ac_cpp_err
=$ac_c_preproc_warn_flag
4169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4176 if test -z "$ac_cpp_err"; then
4177 ac_header_preproc
=yes
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.
$ac_ext >&5
4182 ac_header_preproc
=no
4184 rm -f conftest.err conftest.
$ac_ext
4185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4186 echo "${ECHO_T}$ac_header_preproc" >&6
4188 # So? What about this header?
4189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4195 ac_header_preproc
=yes
4198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4212 ## -------------------------------- ##
4213 ## Report this to classpath@gnu.org ##
4214 ## -------------------------------- ##
4217 sed "s/^/$as_me: WARNING: /" >&2
4220 echo "$as_me:$LINENO: checking for $ac_header" >&5
4221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 eval "$as_ac_Header=\$ac_header_preproc"
4227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4232 cat >>confdefs.h
<<_ACEOF
4233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4235 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4236 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4237 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 ac_check_lib_save_LIBS
=$LIBS
4241 LIBS
="-lasound $LIBS"
4242 if test x
$gcc_no_link = xyes
; then
4243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4245 { (exit 1); exit 1; }; }
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4254 /* Override any gcc2 internal prototype to avoid an error. */
4258 /* We use char because int might match the return type of a gcc2
4259 builtin and then its argument prototype would still apply. */
4260 char snd_seq_open ();
4269 rm -f conftest.
$ac_objext conftest
$ac_exeext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4271 (eval $ac_link) 2>conftest.er1
4273 grep -v '^ *+' conftest.er1
>conftest.err
4275 cat conftest.err
>&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } &&
4278 { ac_try
='test -z "$ac_c_werror_flag"
4279 || test ! -s conftest.err'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; } &&
4285 { ac_try
='test -s conftest$ac_exeext'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then
4291 ac_cv_lib_asound_snd_seq_open
=yes
4293 echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.
$ac_ext >&5
4296 ac_cv_lib_asound_snd_seq_open
=no
4298 rm -f conftest.err conftest.
$ac_objext \
4299 conftest
$ac_exeext conftest.
$ac_ext
4300 LIBS
=$ac_check_lib_save_LIBS
4302 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4303 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4304 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4319 if test "x${COMPILE_ALSA}" = xyes
; then
4320 CREATE_ALSA_LIBRARIES_TRUE
=
4321 CREATE_ALSA_LIBRARIES_FALSE
='#'
4323 CREATE_ALSA_LIBRARIES_TRUE
='#'
4324 CREATE_ALSA_LIBRARIES_FALSE
=
4328 # Check whether --enable-dssi or --disable-dssi was given.
4329 if test "${enable_dssi+set}" = set; then
4330 enableval
="$enable_dssi"
4331 case "${enableval}" in
4332 yes) COMPILE_DSSI
=yes ;;
4333 no
) COMPILE_DSSI
=no
;;
4334 *) COMPILE_DSSI
=yes ;;
4339 for ac_header
in dssi.h
4341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4343 echo "$as_me:$LINENO: checking for $ac_header" >&5
4344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4351 # Is the header compilable?
4352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4354 cat >conftest.
$ac_ext <<_ACEOF
4357 cat confdefs.h
>>conftest.
$ac_ext
4358 cat >>conftest.
$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4360 $ac_includes_default
4361 #include <$ac_header>
4363 rm -f conftest.
$ac_objext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4365 (eval $ac_compile) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try
='test -s conftest.$ac_objext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 ac_header_compiler
=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.
$ac_ext >&5
4390 ac_header_compiler
=no
4392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4393 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4394 echo "${ECHO_T}$ac_header_compiler" >&6
4396 # Is the header present?
4397 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4398 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4399 cat >conftest.
$ac_ext <<_ACEOF
4402 cat confdefs.h
>>conftest.
$ac_ext
4403 cat >>conftest.
$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4405 #include <$ac_header>
4407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4410 grep -v '^ *+' conftest.er1
>conftest.err
4412 cat conftest.err
>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } >/dev
/null
; then
4415 if test -s conftest.err
; then
4416 ac_cpp_err
=$ac_c_preproc_warn_flag
4417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4424 if test -z "$ac_cpp_err"; then
4425 ac_header_preproc
=yes
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.
$ac_ext >&5
4430 ac_header_preproc
=no
4432 rm -f conftest.err conftest.
$ac_ext
4433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4434 echo "${ECHO_T}$ac_header_preproc" >&6
4436 # So? What about this header?
4437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4440 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4442 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4443 ac_header_preproc
=yes
4446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4450 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4451 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4452 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4453 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4456 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4457 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4460 ## -------------------------------- ##
4461 ## Report this to classpath@gnu.org ##
4462 ## -------------------------------- ##
4465 sed "s/^/$as_me: WARNING: /" >&2
4468 echo "$as_me:$LINENO: checking for $ac_header" >&5
4469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 eval "$as_ac_Header=\$ac_header_preproc"
4475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4480 cat >>confdefs.h
<<_ACEOF
4481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4485 for ac_header
in jack
/jack.h
4487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4489 echo "$as_me:$LINENO: checking for $ac_header" >&5
4490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4497 # Is the header compilable?
4498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4500 cat >conftest.
$ac_ext <<_ACEOF
4503 cat confdefs.h
>>conftest.
$ac_ext
4504 cat >>conftest.
$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 $ac_includes_default
4507 #include <$ac_header>
4509 rm -f conftest.
$ac_objext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4511 (eval $ac_compile) 2>conftest.er1
4513 grep -v '^ *+' conftest.er1
>conftest.err
4515 cat conftest.err
>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } &&
4518 { ac_try
='test -z "$ac_c_werror_flag"
4519 || test ! -s conftest.err'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; } &&
4525 { ac_try
='test -s conftest.$ac_objext'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4531 ac_header_compiler
=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.
$ac_ext >&5
4536 ac_header_compiler
=no
4538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4540 echo "${ECHO_T}$ac_header_compiler" >&6
4542 # Is the header present?
4543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4545 cat >conftest.
$ac_ext <<_ACEOF
4548 cat confdefs.h
>>conftest.
$ac_ext
4549 cat >>conftest.
$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4551 #include <$ac_header>
4553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4556 grep -v '^ *+' conftest.er1
>conftest.err
4558 cat conftest.err
>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } >/dev
/null
; then
4561 if test -s conftest.err
; then
4562 ac_cpp_err
=$ac_c_preproc_warn_flag
4563 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4570 if test -z "$ac_cpp_err"; then
4571 ac_header_preproc
=yes
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.
$ac_ext >&5
4576 ac_header_preproc
=no
4578 rm -f conftest.err conftest.
$ac_ext
4579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4580 echo "${ECHO_T}$ac_header_preproc" >&6
4582 # So? What about this header?
4583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4589 ac_header_preproc
=yes
4592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4606 ## -------------------------------- ##
4607 ## Report this to classpath@gnu.org ##
4608 ## -------------------------------- ##
4611 sed "s/^/$as_me: WARNING: /" >&2
4614 echo "$as_me:$LINENO: checking for $ac_header" >&5
4615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 eval "$as_ac_Header=\$ac_header_preproc"
4621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4626 cat >>confdefs.h
<<_ACEOF
4627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4641 if test "x${COMPILE_DSSI}" = xyes
; then
4642 CREATE_DSSI_LIBRARIES_TRUE
=
4643 CREATE_DSSI_LIBRARIES_FALSE
='#'
4645 CREATE_DSSI_LIBRARIES_TRUE
='#'
4646 CREATE_DSSI_LIBRARIES_FALSE
=
4650 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4651 if test "${enable_gtk_peer+set}" = set; then
4652 enableval
="$enable_gtk_peer"
4653 case "${enableval}" in
4654 yes) COMPILE_GTK_PEER
=yes ;;
4655 no
) COMPILE_GTK_PEER
=no
;;
4656 *) COMPILE_GTK_PEER
=yes ;;
4659 COMPILE_GTK_PEER
=yes
4663 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4664 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4665 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4667 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4668 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4672 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4673 if test "${enable_gtk_peers+set}" = set; then
4674 enableval
="$enable_gtk_peers"
4675 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4676 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4677 { (exit 1); exit 1; }; }
4680 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4681 if test "${enable_qt_peer+set}" = set; then
4682 enableval
="$enable_qt_peer"
4683 case "${enableval}" in
4684 yes) COMPILE_QT_PEER
=yes ;;
4685 no
) COMPILE_QT_PEER
=no
;;
4686 *) COMPILE_QT_PEER
=yes ;;
4693 if test "x${COMPILE_QT_PEER}" = xyes
; then
4694 CREATE_QT_PEER_LIBRARIES_TRUE
=
4695 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4697 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4698 CREATE_QT_PEER_LIBRARIES_FALSE
=
4702 # Check whether --enable-plugin or --disable-plugin was given.
4703 if test "${enable_plugin+set}" = set; then
4704 enableval
="$enable_plugin"
4705 case "${enableval}" in
4706 yes) COMPILE_PLUGIN
=yes ;;
4707 no
) COMPILE_PLUGIN
=no
;;
4708 *) COMPILE_PLUGIN
=yes ;;
4715 if test "x${COMPILE_PLUGIN}" = xyes
; then
4717 CREATE_PLUGIN_FALSE
='#'
4719 CREATE_PLUGIN_TRUE
='#'
4720 CREATE_PLUGIN_FALSE
=
4725 multi_os_directory
=`$CC -print-multi-os-directory`
4726 case $multi_os_directory in
4727 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4728 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4734 # Check whether --with-native-libdir or --without-native-libdir was given.
4735 if test "${with_native_libdir+set}" = set; then
4736 withval
="$with_native_libdir"
4738 nativeexeclibdir
=${withval}
4742 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4749 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4750 if test "${with_glibj_dir+set}" = set; then
4751 withval
="$with_glibj_dir"
4757 glibjdir
='${datadir}/${PACKAGE}'
4764 # Check whether --with-vm or --without-vm was given.
4765 if test "${with_vm+set}" = set; then
4768 VM_BINARY
=${withval}
4772 VM_BINARY
='${prefix}/bin/jamvm'
4779 if test "x`basename $VM_BINARY`" = xcacao
; then
4781 FOUND_CACAO_FALSE
='#'
4783 FOUND_CACAO_TRUE
='#'
4788 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4789 if test "${enable_regen_headers+set}" = set; then
4790 enableval
="$enable_regen_headers"
4791 case "${enableval}" in
4792 yes) REGENERATE_JNI_HEADERS
=yes ;;
4793 no
) REGENERATE_JNI_HEADERS
=no
;;
4794 *) REGENERATE_JNI_HEADERS
=no
;;
4797 REGENERATE_JNI_HEADERS
=no
4801 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4802 CREATE_JNI_HEADERS_TRUE
=
4803 CREATE_JNI_HEADERS_FALSE
='#'
4805 CREATE_JNI_HEADERS_TRUE
='#'
4806 CREATE_JNI_HEADERS_FALSE
=
4810 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4811 if test "${enable_tool_wrappers+set}" = set; then
4812 enableval
="$enable_tool_wrappers"
4813 case x
"${enableval}" in
4815 COMPILE_WRAPPERS
=yes;
4817 for ac_header
in ltdl.h
4819 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4821 echo "$as_me:$LINENO: checking for $ac_header" >&5
4822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4829 # Is the header compilable?
4830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4832 cat >conftest.
$ac_ext <<_ACEOF
4835 cat confdefs.h
>>conftest.
$ac_ext
4836 cat >>conftest.
$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 $ac_includes_default
4839 #include <$ac_header>
4841 rm -f conftest.
$ac_objext
4842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843 (eval $ac_compile) 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try
='test -z "$ac_c_werror_flag"
4851 || test ! -s conftest.err'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; } &&
4857 { ac_try
='test -s conftest.$ac_objext'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_header_compiler
=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.
$ac_ext >&5
4868 ac_header_compiler
=no
4870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4872 echo "${ECHO_T}$ac_header_compiler" >&6
4874 # Is the header present?
4875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4877 cat >conftest.
$ac_ext <<_ACEOF
4880 cat confdefs.h
>>conftest.
$ac_ext
4881 cat >>conftest.
$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 #include <$ac_header>
4885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4888 grep -v '^ *+' conftest.er1
>conftest.err
4890 cat conftest.err
>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } >/dev
/null
; then
4893 if test -s conftest.err
; then
4894 ac_cpp_err
=$ac_c_preproc_warn_flag
4895 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4902 if test -z "$ac_cpp_err"; then
4903 ac_header_preproc
=yes
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4908 ac_header_preproc
=no
4910 rm -f conftest.err conftest.
$ac_ext
4911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4912 echo "${ECHO_T}$ac_header_preproc" >&6
4914 # So? What about this header?
4915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4921 ac_header_preproc
=yes
4924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4938 ## -------------------------------- ##
4939 ## Report this to classpath@gnu.org ##
4940 ## -------------------------------- ##
4943 sed "s/^/$as_me: WARNING: /" >&2
4946 echo "$as_me:$LINENO: checking for $ac_header" >&5
4947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 eval "$as_ac_Header=\$ac_header_preproc"
4953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4958 cat >>confdefs.h
<<_ACEOF
4959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4963 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4964 echo "$as_me: error: cannot find ltdl.h" >&2;}
4965 { (exit 1); exit 1; }; }
4971 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4972 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4973 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 ac_check_lib_save_LIBS
=$LIBS
4978 if test x
$gcc_no_link = xyes
; then
4979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4981 { (exit 1); exit 1; }; }
4983 cat >conftest.
$ac_ext <<_ACEOF
4986 cat confdefs.h
>>conftest.
$ac_ext
4987 cat >>conftest.
$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4990 /* Override any gcc2 internal prototype to avoid an error. */
4994 /* We use char because int might match the return type of a gcc2
4995 builtin and then its argument prototype would still apply. */
5005 rm -f conftest.
$ac_objext conftest
$ac_exeext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007 (eval $ac_link) 2>conftest.er1
5009 grep -v '^ *+' conftest.er1
>conftest.err
5011 cat conftest.err
>&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try
='test -z "$ac_c_werror_flag"
5015 || test ! -s conftest.err'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; } &&
5021 { ac_try
='test -s conftest$ac_exeext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 ac_cv_lib_ltdl_lt_dlopen
=yes
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5032 ac_cv_lib_ltdl_lt_dlopen
=no
5034 rm -f conftest.err conftest.
$ac_objext \
5035 conftest
$ac_exeext conftest.
$ac_ext
5036 LIBS
=$ac_check_lib_save_LIBS
5038 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5039 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5040 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5041 cat >>confdefs.h
<<_ACEOF
5042 #define HAVE_LIBLTDL 1
5048 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5049 echo "$as_me: error: cannot find libltdl" >&2;}
5050 { (exit 1); exit 1; }; }
5054 xno
) COMPILE_WRAPPERS
=no
;;
5055 x
) COMPILE_WRAPPERS
=yes ;;
5056 *) COMPILE_WRAPPERS
=yes ;;
5063 if test "x${COMPILE_WRAPPERS}" = xyes
; then
5064 CREATE_WRAPPERS_TRUE
=
5065 CREATE_WRAPPERS_FALSE
='#'
5067 CREATE_WRAPPERS_TRUE
='#'
5068 CREATE_WRAPPERS_FALSE
=
5072 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5073 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5075 if test "$LN_S" = "ln -s"; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5079 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5080 echo "${ECHO_T}no, using $LN_S" >&6
5083 # Find a good install program. We prefer a C program (faster),
5084 # so one script is as good as another. But avoid the broken or
5085 # incompatible versions:
5086 # SysV /etc/install, /usr/sbin/install
5087 # SunOS /usr/etc/install
5088 # IRIX /sbin/install
5090 # AmigaOS /C/install, which installs bootblocks on floppy discs
5091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5094 # OS/2's system install, which has a completely different semantic
5095 # ./install, which can be erroneously created by make from ./install.sh.
5096 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5097 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5098 if test -z "$INSTALL"; then
5099 if test "${ac_cv_path_install+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 # Account for people who put trailing slashes in PATH elements.
5109 .
/ | .
// |
/cC
/* | \
5110 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5111 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5114 # OSF1 and SCO ODT 3.0 have their own names for install.
5115 # Don't use installbsd from OSF since it installs stuff as root
5117 for ac_prog
in ginstall scoinst
install; do
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5120 if test $ac_prog = install &&
5121 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5122 # AIX install. It has an incompatible calling convention.
5124 elif test $ac_prog = install &&
5125 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5126 # program-specific install script used by HP pwplus--don't use.
5129 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5141 if test "${ac_cv_path_install+set}" = set; then
5142 INSTALL
=$ac_cv_path_install
5144 # As a last resort, use the slow shell script. We don't cache a
5145 # path for INSTALL within a source directory, because that will
5146 # break other packages using the cache if that directory is
5147 # removed, or if the path is relative.
5148 INSTALL
=$ac_install_sh
5151 echo "$as_me:$LINENO: result: $INSTALL" >&5
5152 echo "${ECHO_T}$INSTALL" >&6
5154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5155 # It thinks the first close brace ends the variable substitution.
5156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5160 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5164 # Check whether --enable-static or --disable-static was given.
5165 if test "${enable_static+set}" = set; then
5166 enableval
="$enable_static"
5167 p
=${PACKAGE-default}
5169 yes) enable_static
=yes ;;
5170 no
) enable_static
=no
;;
5173 # Look at the argument we got. We use all the common list separators.
5174 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5175 for pkg
in $enableval; do
5177 if test "X$pkg" = "X$p"; then
5197 macro_version
='2.1a'
5198 macro_revision
='1.2435'
5211 ltmain
="$ac_aux_dir/ltmain.sh"
5221 # Check whether --enable-shared or --disable-shared was given.
5222 if test "${enable_shared+set}" = set; then
5223 enableval
="$enable_shared"
5224 p
=${PACKAGE-default}
5226 yes) enable_shared
=yes ;;
5227 no
) enable_shared
=no
;;
5230 # Look at the argument we got. We use all the common list separators.
5231 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5232 for pkg
in $enableval; do
5234 if test "X$pkg" = "X$p"; then
5254 # Check whether --with-pic or --without-pic was given.
5255 if test "${with_pic+set}" = set; then
5262 test -z "$pic_mode" && pic_mode
=default
5270 # Check whether --enable-fast-install or --disable-fast-install was given.
5271 if test "${enable_fast_install+set}" = set; then
5272 enableval
="$enable_fast_install"
5273 p
=${PACKAGE-default}
5275 yes) enable_fast_install
=yes ;;
5276 no
) enable_fast_install
=no
;;
5278 enable_fast_install
=no
5279 # Look at the argument we got. We use all the common list separators.
5280 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5281 for pkg
in $enableval; do
5283 if test "X$pkg" = "X$p"; then
5284 enable_fast_install
=yes
5291 enable_fast_install
=yes
5301 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5302 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5303 if test "${lt_cv_path_SED+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 # Loop through the user's path and test for sed and gsed.
5307 # Then use that list of sed's as ones to test for truncation.
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir
=.
5313 for lt_ac_prog
in sed gsed
; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5316 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5324 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5325 # along with /bin/sed that truncates output.
5326 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5327 test ! -f $lt_ac_sed && continue
5328 cat /dev
/null
> conftest.
in
5330 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5331 # Check for GNU sed and select it if it is found.
5332 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5333 lt_cv_path_SED
=$lt_ac_sed
5337 cat conftest.
in conftest.
in >conftest.tmp
5338 mv conftest.tmp conftest.
in
5339 cp conftest.
in conftest.
nl
5341 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5342 cmp -s conftest.out conftest.
nl ||
break
5343 # 10000 chars as input seems more than enough
5344 test $lt_ac_count -gt 10 && break
5345 lt_ac_count
=`expr $lt_ac_count + 1`
5346 if test $lt_ac_count -gt $lt_ac_max; then
5347 lt_ac_max
=$lt_ac_count
5348 lt_cv_path_SED
=$lt_ac_sed
5357 echo "$as_me:$LINENO: result: $SED" >&5
5358 echo "${ECHO_T}$SED" >&6
5360 test -z "$SED" && SED
=sed
5361 Xsed
="$SED -e 1s/^X//"
5373 echo "$as_me:$LINENO: checking for fgrep" >&5
5374 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5375 if test "${ac_cv_prog_fgrep+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5379 then ac_cv_prog_fgrep
='grep -F'
5380 else ac_cv_prog_fgrep
='fgrep'
5383 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5384 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5385 FGREP
=$ac_cv_prog_fgrep
5388 test -z "$GREP" && GREP
=grep
5408 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5409 if test "${with_gnu_ld+set}" = set; then
5410 withval
="$with_gnu_ld"
5411 test "$withval" = no || with_gnu_ld
=yes
5416 if test "$GCC" = yes; then
5417 # Check if gcc -print-prog-name=ld gives a path.
5418 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5419 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5422 # gcc leaves a trailing carriage return which upsets mingw
5423 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5425 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5428 # Accept absolute paths.
5430 re_direlt
='/[^/][^/]*/\.\./'
5431 # Canonicalize the pathname of ld
5432 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5433 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5434 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5436 test -z "$LD" && LD
="$ac_prog"
5439 # If it fails, then pretend we aren't using GCC.
5443 # If it is relative, then search for the first ld in PATH.
5447 elif test "$with_gnu_ld" = yes; then
5448 echo "$as_me:$LINENO: checking for GNU ld" >&5
5449 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5451 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5452 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5454 if test "${lt_cv_path_LD+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 if test -z "$LD"; then
5458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5459 for ac_dir
in $PATH; do
5461 test -z "$ac_dir" && ac_dir
=.
5462 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5463 lt_cv_path_LD
="$ac_dir/$ac_prog"
5464 # Check to see if the program is GNU ld. I'd rather use --version,
5465 # but apparently some variants of GNU ld only accept -v.
5466 # Break only if it was the GNU/non-GNU ld that we prefer.
5467 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5468 *GNU
* |
*'with BFD'*)
5469 test "$with_gnu_ld" != no
&& break
5472 test "$with_gnu_ld" != yes && break
5479 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5484 if test -n "$LD"; then
5485 echo "$as_me:$LINENO: result: $LD" >&5
5486 echo "${ECHO_T}$LD" >&6
5488 echo "$as_me:$LINENO: result: no" >&5
5489 echo "${ECHO_T}no" >&6
5491 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5492 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5493 { (exit 1); exit 1; }; }
5494 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5495 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5496 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5500 case `$LD -v 2>&1 </dev/null` in
5501 *GNU
* |
*'with BFD'*)
5502 lt_cv_prog_gnu_ld
=yes
5505 lt_cv_prog_gnu_ld
=no
5509 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5510 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5511 with_gnu_ld
=$lt_cv_prog_gnu_ld
5522 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5523 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5524 if test "${lt_cv_path_NM+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 if test -n "$NM"; then
5528 # Let the user override the test.
5531 lt_nm_to_check
="${ac_tool_prefix}nm"
5532 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5533 lt_nm_to_check
="$lt_nm_to_check nm"
5535 for lt_tmp_nm
in $lt_nm_to_check; do
5536 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5537 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5539 test -z "$ac_dir" && ac_dir
=.
5540 tmp_nm
="$ac_dir/$lt_tmp_nm"
5541 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5542 # Check to see if the nm accepts a BSD-compat flag.
5543 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5544 # nm: unknown option "B" ignored
5545 # Tru64's nm complains that /dev/null is an invalid object file
5546 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5547 */dev
/null
* |
*'Invalid file or object type'*)
5548 lt_cv_path_NM
="$tmp_nm -B"
5552 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5554 lt_cv_path_NM
="$tmp_nm -p"
5558 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5559 continue # so that we can try to find one that supports BSD flags
5568 : ${lt_cv_path_NM=no}
5571 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5572 echo "${ECHO_T}$lt_cv_path_NM" >&6
5573 if test "$lt_cv_path_NM" != "no"; then
5576 # Didn't find any BSD compatible name lister, look for dumpbin.
5577 if test -n "$ac_tool_prefix"; then
5578 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5581 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5582 echo "$as_me:$LINENO: checking for $ac_word" >&5
5583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5584 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 if test -n "$DUMPBIN"; then
5588 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 DUMPBIN
=$ac_cv_prog_DUMPBIN
5607 if test -n "$DUMPBIN"; then
5608 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5609 echo "${ECHO_T}$DUMPBIN" >&6
5611 echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5615 test -n "$DUMPBIN" && break
5618 if test -z "$DUMPBIN"; then
5619 ac_ct_DUMPBIN
=$DUMPBIN
5620 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy
$ac_prog; ac_word
=$2
5624 echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5626 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 if test -n "$ac_ct_DUMPBIN"; then
5630 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5649 if test -n "$ac_ct_DUMPBIN"; then
5650 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5651 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5657 test -n "$ac_ct_DUMPBIN" && break
5659 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5661 DUMPBIN
=$ac_ct_DUMPBIN
5665 if test "$DUMPBIN" != ":"; then
5669 test -z "$NM" && NM
=nm
5676 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5677 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5678 if test "${lt_cv_nm_interface+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 lt_cv_nm_interface
="BSD nm"
5682 echo "int some_variable = 0;" > conftest.
$ac_ext
5683 (eval echo "\"\$as_me:5683: $ac_compile\"" >&5)
5684 (eval "$ac_compile" 2>conftest.err
)
5685 cat conftest.err
>&5
5686 (eval echo "\"\$as_me:5686: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5687 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5688 cat conftest.err
>&5
5689 (eval echo "\"\$as_me:5689: output\"" >&5)
5690 cat conftest.out
>&5
5691 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5692 lt_cv_nm_interface
="MS dumpbin"
5696 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5697 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5699 # find the maximum length of command line arguments
5700 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5701 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5702 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 # On DJGPP, this test can blow up pretty badly due to problems in libc
5711 # (any single argument exceeding 2000 bytes causes a buffer overrun
5712 # during glob expansion). Even if it were fixed, the result of this
5713 # check would be larger than it should be.
5714 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5718 # Under GNU Hurd, this test is not required because there is
5719 # no limit to the length of command line arguments.
5720 # Libtool will interpret -1 as no limit whatsoever
5721 lt_cv_sys_max_cmd_len
=-1;
5725 # On Win9x/ME, this test blows up -- it succeeds, but takes
5726 # about 5 minutes as the teststring grows exponentially.
5727 # Worse, since 9x/ME are not pre-emptively multitasking,
5728 # you end up with a "frozen" computer, even though with patience
5729 # the test eventually succeeds (with a max line length of 256k).
5730 # Instead, let's just punt: use the minimum linelength reported by
5731 # all of the supported platforms: 8192 (on NT/2K/XP).
5732 lt_cv_sys_max_cmd_len
=8192;
5736 # On AmigaOS with pdksh, this test takes hours, literally.
5737 # So we just punt and use a minimum line length of 8192.
5738 lt_cv_sys_max_cmd_len
=8192;
5741 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5742 # This has been around since 386BSD, at least. Likely further.
5743 if test -x /sbin
/sysctl
; then
5744 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5745 elif test -x /usr
/sbin
/sysctl
; then
5746 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5748 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5750 # And add a safety zone
5751 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5752 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5756 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5757 lt_cv_sys_max_cmd_len
=196608
5761 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5762 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5763 # nice to cause kernel panics so lets avoid the loop below.
5764 # First set a reasonable default.
5765 lt_cv_sys_max_cmd_len
=16384
5767 if test -x /sbin
/sysconfig
; then
5768 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5769 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5774 lt_cv_sys_max_cmd_len
=102400
5776 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5777 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5778 if test -n "$kargmax"; then
5779 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5781 lt_cv_sys_max_cmd_len
=32768
5785 # Make teststring a little bigger before we do anything with it.
5786 # a 1K string should be a reasonable start.
5787 for i
in 1 2 3 4 5 6 7 8 ; do
5788 teststring
=$teststring$teststring
5790 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5791 # If test is not a shell built-in, we'll probably end up computing a
5792 # maximum length that is only half of the actual maximum length, but
5794 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5795 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5796 test $i != 17 # 1/2 MB should be enough
5799 teststring
=$teststring$teststring
5801 # Only check the string length outside the loop.
5802 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5804 # Add a significant safety factor because C++ compilers can tack on massive
5805 # amounts of additional arguments before passing them to the linker.
5806 # It appears as though 1/2 is a usable value.
5807 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5813 if test -n $lt_cv_sys_max_cmd_len ; then
5814 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5815 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5817 echo "$as_me:$LINENO: result: none" >&5
5818 echo "${ECHO_T}none" >&6
5820 max_cmd_len
=$lt_cv_sys_max_cmd_len
5832 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5833 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5834 # Try some XSI features
5837 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5838 = c,a/b,, ) >/dev/null 2>&1 \
5840 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5841 echo "${ECHO_T}$xsi_shell" >&6
5844 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5845 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5847 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5849 && lt_shell_append=yes
5850 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5851 echo "${ECHO_T}$lt_shell_append" >&6
5854 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5864 # test EBCDIC or ASCII
5865 case `echo X|tr X '\101'` in
5866 A) # ASCII based system
5867 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5868 lt_SP2NL='tr \040 \012'
5869 lt_NL2SP='tr \015\012 \040\040'
5871 *) # EBCDIC based system
5872 lt_SP2NL='tr \100 \n'
5873 lt_NL2SP='tr \r\n \100\100'
5885 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5886 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5887 if test "${lt_cv_ld_reload_flag+set}" = set; then
5888 echo $ECHO_N "(cached
) $ECHO_C" >&6
5890 lt_cv_ld_reload_flag='-r'
5892 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5893 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5894 reload_flag=$lt_cv_ld_reload_flag
5895 case $reload_flag in
5897 *) reload_flag=" $reload_flag" ;;
5899 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5902 if test "$GCC" = yes; then
5903 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5905 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5919 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5920 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5921 if test "${lt_cv_deplibs_check_method+set}" = set; then
5922 echo $ECHO_N "(cached
) $ECHO_C" >&6
5924 lt_cv_file_magic_cmd='$MAGIC_CMD'
5925 lt_cv_file_magic_test_file=
5926 lt_cv_deplibs_check_method='unknown'
5927 # Need to set the preceding variable on all platforms that support
5928 # interlibrary dependencies.
5929 # 'none' -- dependencies not supported.
5930 # `unknown' -- same as none, but documents that we really don't know.
5931 # 'pass_all' -- all dependencies passed with no checks.
5932 # 'test_compile' -- check by making test program.
5933 # 'file_magic [[regex]]' -- check by looking for files in library path
5934 # which responds to the $file_magic_cmd with a given extended regex.
5935 # If you have `file' or equivalent on your system and you're not sure
5936 # whether `pass_all' will *always* work, you probably want this one.
5940 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5949 lt_cv_file_magic_cmd='/usr/bin/file -L'
5950 lt_cv_file_magic_test_file=/shlib/libc.so
5954 # func_win32_libid is a shell function defined in ltmain.sh
5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5956 lt_cv_file_magic_cmd='func_win32_libid'
5960 # Base MSYS/MinGW do not provide the 'file' command needed by
5961 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5962 # unless we find 'file', for example because we are cross-compiling.
5963 if ( file / ) >/dev/null 2>&1; then
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965 lt_cv_file_magic_cmd='func_win32_libid'
5967 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5968 lt_cv_file_magic_cmd='$OBJDUMP -f'
5972 darwin* | rhapsody*)
5973 lt_cv_deplibs_check_method=pass_all
5976 freebsd* | dragonfly*)
5977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5980 # Not sure whether the presence of OpenBSD here was a mistake.
5981 # Let's accept both of them until this is cleared up.
5982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5983 lt_cv_file_magic_cmd=/usr/bin/file
5984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5988 lt_cv_deplibs_check_method=pass_all
5993 lt_cv_deplibs_check_method=pass_all
5996 hpux10.20* | hpux11*)
5997 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6004 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]'
6005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6019 irix5* | irix6* | nonstopux*)
6021 *-32|*"-32 ") libmagic=32-bit;;
6022 *-n32|*"-n32 ") libmagic=N32;;
6023 *-64|*"-64 ") libmagic=64-bit;;
6024 *) libmagic=never-match;;
6026 lt_cv_deplibs_check_method=pass_all
6029 # This must be Linux ELF.
6030 linux* | k*bsd*-gnu)
6031 lt_cv_deplibs_check_method=pass_all
6035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6044 lt_cv_file_magic_cmd=/usr/bin/file
6045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6049 lt_cv_deplibs_check_method=pass_all
6053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6060 osf3* | osf4* | osf5*)
6061 lt_cv_deplibs_check_method=pass_all
6065 lt_cv_deplibs_check_method=pass_all
6069 lt_cv_deplibs_check_method=pass_all
6072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6073 lt_cv_deplibs_check_method=pass_all
6077 case $host_vendor in
6079 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]'
6080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6083 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_file_magic_cmd='/bin/file'
6087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6090 lt_cv_file_magic_cmd='/bin/file'
6091 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6092 lt_cv_file_magic_test_file=/lib/libc.so
6095 lt_cv_deplibs_check_method=pass_all
6098 lt_cv_deplibs_check_method=pass_all
6104 lt_cv_deplibs_check_method=pass_all
6109 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6111 file_magic_cmd=$lt_cv_file_magic_cmd
6112 deplibs_check_method=$lt_cv_deplibs_check_method
6113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6126 if test -n "$ac_tool_prefix"; then
6127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6128 set dummy ${ac_tool_prefix}ar; ac_word=$2
6129 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6131 if test "${ac_cv_prog_AR+set}" = set; then
6132 echo $ECHO_N "(cached
) $ECHO_C" >&6
6134 if test -n "$AR"; then
6135 ac_cv_prog_AR="$AR" # Let the user override the test.
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_AR="${ac_tool_prefix}ar"
6145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6154 if test -n "$AR"; then
6155 echo "$as_me:$LINENO: result
: $AR" >&5
6156 echo "${ECHO_T}$AR" >&6
6158 echo "$as_me:$LINENO: result
: no
" >&5
6159 echo "${ECHO_T}no
" >&6
6163 if test -z "$ac_cv_prog_AR"; then
6165 # Extract the first word of "ar", so it can be a program name with args.
6166 set dummy ar; ac_word=$2
6167 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6168 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6170 echo $ECHO_N "(cached
) $ECHO_C" >&6
6172 if test -n "$ac_ct_AR"; then
6173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_AR="ar"
6183 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6193 if test -n "$ac_ct_AR"; then
6194 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6195 echo "${ECHO_T}$ac_ct_AR" >&6
6197 echo "$as_me:$LINENO: result
: no
" >&5
6198 echo "${ECHO_T}no
" >&6
6206 test -z "$AR" && AR=ar
6207 test -z "$AR_FLAGS" && AR_FLAGS=cru
6219 if test -n "$ac_tool_prefix"; then
6220 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6221 set dummy ${ac_tool_prefix}strip; ac_word=$2
6222 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6223 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6224 if test "${ac_cv_prog_STRIP+set}" = set; then
6225 echo $ECHO_N "(cached
) $ECHO_C" >&6
6227 if test -n "$STRIP"; then
6228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6237 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6238 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6246 STRIP=$ac_cv_prog_STRIP
6247 if test -n "$STRIP"; then
6248 echo "$as_me:$LINENO: result
: $STRIP" >&5
6249 echo "${ECHO_T}$STRIP" >&6
6251 echo "$as_me:$LINENO: result
: no
" >&5
6252 echo "${ECHO_T}no
" >&6
6256 if test -z "$ac_cv_prog_STRIP"; then
6258 # Extract the first word of "strip
", so it can be a program name with args.
6259 set dummy strip; ac_word=$2
6260 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6263 echo $ECHO_N "(cached
) $ECHO_C" >&6
6265 if test -n "$ac_ct_STRIP"; then
6266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275 ac_cv_prog_ac_ct_STRIP="strip
"
6276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6286 if test -n "$ac_ct_STRIP"; then
6287 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6288 echo "${ECHO_T}$ac_ct_STRIP" >&6
6290 echo "$as_me:$LINENO: result
: no
" >&5
6291 echo "${ECHO_T}no
" >&6
6296 STRIP="$ac_cv_prog_STRIP"
6299 test -z "$STRIP" && STRIP=:
6306 if test -n "$ac_tool_prefix"; then
6307 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6311 if test "${ac_cv_prog_RANLIB+set}" = set; then
6312 echo $ECHO_N "(cached
) $ECHO_C" >&6
6314 if test -n "$RANLIB"; then
6315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6333 RANLIB=$ac_cv_prog_RANLIB
6334 if test -n "$RANLIB"; then
6335 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6336 echo "${ECHO_T}$RANLIB" >&6
6338 echo "$as_me:$LINENO: result
: no
" >&5
6339 echo "${ECHO_T}no
" >&6
6343 if test -z "$ac_cv_prog_RANLIB"; then
6344 ac_ct_RANLIB=$RANLIB
6345 # Extract the first word of "ranlib
", so it can be a program name with args.
6346 set dummy ranlib; ac_word=$2
6347 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6348 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6350 echo $ECHO_N "(cached
) $ECHO_C" >&6
6352 if test -n "$ac_ct_RANLIB"; then
6353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6363 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6373 if test -n "$ac_ct_RANLIB"; then
6374 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6377 echo "$as_me:$LINENO: result
: no
" >&5
6378 echo "${ECHO_T}no
" >&6
6381 RANLIB=$ac_ct_RANLIB
6383 RANLIB="$ac_cv_prog_RANLIB"
6386 test -z "$RANLIB" && RANLIB=:
6393 # Determine commands to create old-style static archives.
6394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6395 old_postinstall_cmds='chmod 644 $oldlib'
6396 old_postuninstall_cmds=
6398 if test -n "$RANLIB"; then
6401 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6404 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6407 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6443 # If no C compiler was specified, use CC.
6446 # If no C compiler flags were specified, use CFLAGS.
6447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6449 # Allow CC to be a program name with arguments.
6453 # Check for command to grab the raw symbol name followed by C symbol from nm.
6454 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6455 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6457 echo $ECHO_N "(cached
) $ECHO_C" >&6
6460 # These are sane defaults that work on at least a few old systems.
6461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6463 # Character class describing NM global symbol codes.
6464 symcode='[BCDEGRST]'
6466 # Regexp to match symbols that can be accessed directly from C.
6467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6469 # Define system-specific variables.
6474 cygwin* | mingw* | pw32*)
6475 symcode='[ABCDGISTW]'
6478 if test "$host_cpu" = ia64; then
6479 symcode='[ABCDEGRST]'
6483 symcode='[BCDEGRST]'
6486 symcode='[BCDEGQRST]'
6497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6505 # If we're using GNU nm, then use its standard symbol codes.
6506 case `$NM -V 2>&1` in
6507 *GNU* | *'with BFD'*)
6508 symcode='[ABCDGIRSTW]' ;;
6511 # Transform an extracted symbol line into a proper C declaration.
6512 # Some systems (esp. on ia64) link data and code symbols differently,
6513 # so use this general approach.
6514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6516 # Transform an extracted symbol line into symbol name and symbol address
6517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6519 # Handle CRLF in mingw tool chain
6523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6527 # Try without a prefix underscore, then with it.
6528 for ac_symprfx in "" "_
"; do
6530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6531 symxfrm="\\1 $ac_symprfx\\2 \\2"
6533 # Write the raw and C identifiers.
6534 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6535 # Fake it for dumpbin and say T for any non-static function
6536 # and D for any global variable.
6537 # Also find C++ and __fastcall symbols from MSVC++,
6538 # which start with @ or ?.
6539 lt_cv_sys_global_symbol_pipe="$AWK '"\
6540 " {last_section=section; section=\$ 3};"\
6541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6542 " \$ 0!~/External *\|/{next};"\
6543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6544 " {if(hide[section]) next};"\
6545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6549 " ' prfx
=^
$ac_symprfx"
6551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6554 # Check to see that the pipe works correctly.
6558 cat > conftest.$ac_ext <<_LT_EOF
6563 void nm_test_func(void);
6564 void nm_test_func(void){}
6568 int main(){nm_test_var='a';nm_test_func();return(0);}
6571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6572 (eval $ac_compile) 2>&5
6574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6575 (exit $ac_status); }; then
6576 # Now try to grab the symbols.
6578 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6579 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6582 (exit $ac_status); } && test -s "$nlist"; then
6583 # Try sorting and uniquifying the output.
6584 if sort "$nlist" | uniq > "$nlist"T; then
6585 mv -f "$nlist"T "$nlist"
6590 # Make sure that we snagged all the symbols we need.
6591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6593 cat <<_LT_EOF > conftest.$ac_ext
6599 # Now generate the symbol file.
6600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6602 cat <<_LT_EOF >> conftest.$ac_ext
6604 /* The mapping between symbol names and symbols. */
6609 lt__PROGRAM__LTX_preloaded_symbols[] =
6611 { "@PROGRAM@
", (void *) 0 },
6613 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6614 cat <<\_LT_EOF >> conftest.$ac_ext
6618 /* This works around a problem in FreeBSD linker */
6619 #ifdef FREEBSD_WORKAROUND
6620 static const void *lt_preloaded_setup() {
6621 return lt__PROGRAM__LTX_preloaded_symbols;
6629 # Now try linking the two files.
6630 mv conftest.$ac_objext conftstm.$ac_objext
6631 lt_save_LIBS="$LIBS"
6632 lt_save_CFLAGS="$CFLAGS"
6633 LIBS="conftstm.
$ac_objext"
6634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6636 (eval $ac_link) 2>&5
6638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6639 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6642 LIBS="$lt_save_LIBS"
6643 CFLAGS="$lt_save_CFLAGS"
6645 echo "cannot
find nm_test_func
in $nlist" >&5
6648 echo "cannot
find nm_test_var
in $nlist" >&5
6651 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6654 echo "$progname: failed program was
:" >&5
6655 cat conftest.$ac_ext >&5
6657 rm -f conftest* conftst*
6659 # Do not use the global_symbol_pipe unless it works.
6660 if test "$pipe_works" = yes; then
6663 lt_cv_sys_global_symbol_pipe=
6669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6670 lt_cv_sys_global_symbol_to_cdecl=
6672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6673 echo "$as_me:$LINENO: result
: failed
" >&5
6674 echo "${ECHO_T}failed
" >&6
6676 echo "$as_me:$LINENO: result
: ok
" >&5
6677 echo "${ECHO_T}ok
" >&6
6696 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6697 if test "${enable_libtool_lock+set}" = set; then
6698 enableval="$enable_libtool_lock"
6701 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6703 # Some flags need to be propagated to the compiler or linker for good
6707 # Find out which ABI we are using.
6708 echo 'int i;' > conftest.$ac_ext
6709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6710 (eval $ac_compile) 2>&5
6712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6713 (exit $ac_status); }; then
6714 case `/usr/bin/file conftest.$ac_objext` in
6726 # Find out which ABI we are using.
6727 echo '#line 6727 "configure
"' > conftest.$ac_ext
6728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6729 (eval $ac_compile) 2>&5
6731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6732 (exit $ac_status); }; then
6733 if test "$lt_cv_prog_gnu_ld" = yes; then
6734 case `/usr/bin/file conftest.$ac_objext` in
6736 LD="${LD-ld} -melf32bsmip"
6739 LD="${LD-ld} -melf32bmipn32"
6742 LD="${LD-ld} -melf64bmip"
6746 case `/usr/bin/file conftest.$ac_objext` in
6762 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6763 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6764 # Find out which ABI we are using.
6765 echo 'int i;' > conftest.$ac_ext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>&5
6769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6770 (exit $ac_status); }; then
6771 case `/usr/bin/file conftest.o` in
6774 x86_64-*kfreebsd*-gnu)
6775 LD="${LD-ld} -m elf_i386_fbsd
"
6778 LD="${LD-ld} -m elf_i386
"
6780 ppc64-*linux*|powerpc64-*linux*)
6781 LD="${LD-ld} -m elf32ppclinux
"
6784 LD="${LD-ld} -m elf_s390
"
6787 LD="${LD-ld} -m elf32_sparc
"
6793 x86_64-*kfreebsd*-gnu)
6794 LD="${LD-ld} -m elf_x86_64_fbsd
"
6797 LD="${LD-ld} -m elf_x86_64
"
6799 ppc*-*linux*|powerpc*-*linux*)
6800 LD="${LD-ld} -m elf64ppc
"
6802 s390*-*linux*|s390*-*tpf*)
6803 LD="${LD-ld} -m elf64_s390
"
6806 LD="${LD-ld} -m elf64_sparc
"
6816 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6817 SAVE_CFLAGS="$CFLAGS"
6818 CFLAGS="$CFLAGS -belf"
6819 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6820 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6821 if test "${lt_cv_cc_needs_belf+set}" = set; then
6822 echo $ECHO_N "(cached
) $ECHO_C" >&6
6825 ac_cpp='$CPP $CPPFLAGS'
6826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6830 if test x$gcc_no_link = xyes; then
6831 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6832 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6833 { (exit 1); exit 1; }; }
6835 cat >conftest.$ac_ext <<_ACEOF
6838 cat confdefs.h >>conftest.$ac_ext
6839 cat >>conftest.$ac_ext <<_ACEOF
6840 /* end confdefs.h. */
6850 rm -f conftest.$ac_objext conftest$ac_exeext
6851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6852 (eval $ac_link) 2>conftest.er1
6854 grep -v '^ *+' conftest.er1 >conftest.err
6856 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6858 (exit $ac_status); } &&
6859 { ac_try='test -z "$ac_c_werror_flag"
6860 || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try='test -s conftest$ac_exeext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6871 (exit $ac_status); }; }; then
6872 lt_cv_cc_needs_belf=yes
6874 echo "$as_me: failed program was
:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6877 lt_cv_cc_needs_belf=no
6879 rm -f conftest.err conftest.$ac_objext \
6880 conftest$ac_exeext conftest.$ac_ext
6882 ac_cpp='$CPP $CPPFLAGS'
6883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6888 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6889 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6890 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6891 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6892 CFLAGS="$SAVE_CFLAGS"
6896 # Find out which ABI we are using.
6897 echo 'int i;' > conftest.$ac_ext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>&5
6901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6902 (exit $ac_status); }; then
6903 case `/usr/bin/file conftest.o` in
6905 case $lt_cv_prog_gnu_ld in
6906 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6907 *) LD="${LD-ld} -64" ;;
6916 need_locks="$enable_libtool_lock"
6919 for ac_header in dlfcn.h
6921 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6922 echo "$as_me:$LINENO: checking
for $ac_header" >&5
6923 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
6924 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
6925 echo $ECHO_N "(cached
) $ECHO_C" >&6
6927 cat >conftest.$ac_ext <<_ACEOF
6930 cat confdefs.h >>conftest.$ac_ext
6931 cat >>conftest.$ac_ext <<_ACEOF
6932 /* end confdefs.h. */
6933 $ac_includes_default
6935 #include <$ac_header>
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6941 grep -v '^ *+' conftest.er1 >conftest.err
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_c_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6958 (exit $ac_status); }; }; then
6959 eval "$as_ac_Header=yes"
6961 echo "$as_me: failed program was
:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6964 eval "$as_ac_Header=no
"
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6968 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
6969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6971 cat >>confdefs.h <<_ACEOF
6972 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6981 # This can be used to rebuild libtool when needed
6982 LIBTOOL_DEPS="$ltmain"
6984 # Always use our own libtool.
6985 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7011 test -z "$LN_S" && LN_S="ln -s"
7026 if test -n "${ZSH_VERSION+set}" ; then
7027 setopt NO_GLOB_SUBST
7030 echo "$as_me:$LINENO: checking
for objdir
" >&5
7031 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7032 if test "${lt_cv_objdir+set}" = set; then
7033 echo $ECHO_N "(cached
) $ECHO_C" >&6
7035 rm -f .libs 2>/dev/null
7036 mkdir .libs 2>/dev/null
7037 if test -d .libs; then
7040 # MS-DOS does not allow filenames that begin with a dot.
7043 rmdir .libs 2>/dev/null
7045 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7046 echo "${ECHO_T}$lt_cv_objdir" >&6
7047 objdir=$lt_cv_objdir
7053 cat >>confdefs.h <<_ACEOF
7054 #define LT_OBJDIR "$lt_cv_objdir/"
7075 # AIX sometimes has problems with the GCC collect2 program. For some
7076 # reason, if we set the COLLECT_NAMES environment variable, the problems
7077 # vanish in a puff of smoke.
7078 if test "X
${COLLECT_NAMES+set}" != Xset; then
7080 export COLLECT_NAMES
7085 # Sed substitution that helps us do robust quoting. It backslashifies
7086 # metacharacters that are still active within double-quoted strings.
7087 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7089 # Same as above, but do not quote variable references.
7090 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7092 # Sed substitution to delay expansion of an escaped shell variable in a
7093 # double_quote_subst'ed string.
7094 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7096 # Sed substitution to delay expansion of an escaped single quote.
7097 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7099 # Sed substitution to avoid accidental globbing in evaled expressions
7100 no_glob_subst
='s/\*/\\\*/g'
7104 can_build_shared
=yes
7106 # All known linkers require a `.a' archive for static linking (except MSVC,
7107 # which needs '.lib').
7110 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7113 old_CFLAGS
="$CFLAGS"
7115 # Set sane defaults for various variables
7116 test -z "$CC" && CC
=cc
7117 test -z "$LTCC" && LTCC
=$CC
7118 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7119 test -z "$LD" && LD
=ld
7120 test -z "$ac_objext" && ac_objext
=o
7122 for cc_temp
in $compiler""; do
7124 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7125 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7130 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7133 # Only perform the check for file, if the check method requires it
7134 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7135 case $deplibs_check_method in
7137 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7138 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7139 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7140 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7141 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7148 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7149 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7150 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7151 for ac_dir
in $ac_dummy; do
7153 test -z "$ac_dir" && ac_dir
=.
7154 if test -f $ac_dir/${ac_tool_prefix}file; then
7155 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7156 if test -n "$file_magic_test_file"; then
7157 case $deplibs_check_method in
7159 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7160 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7161 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7162 $EGREP "$file_magic_regex" > /dev
/null
; then
7167 *** Warning: the command libtool uses to detect shared libraries,
7168 *** $file_magic_cmd, produces output that libtool cannot recognize.
7169 *** The result is that libtool may fail to recognize shared libraries
7170 *** as such. This will affect the creation of libtool libraries that
7171 *** depend on shared libraries, but programs linked with such libtool
7172 *** libraries will work regardless of this problem. Nevertheless, you
7173 *** may want to report the problem to your system manager and/or to
7174 *** bug-libtool@gnu.org
7184 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7190 if test -n "$MAGIC_CMD"; then
7191 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7192 echo "${ECHO_T}$MAGIC_CMD" >&6
7194 echo "$as_me:$LINENO: result: no" >&5
7195 echo "${ECHO_T}no" >&6
7202 if test -z "$lt_cv_path_MAGIC_CMD"; then
7203 if test -n "$ac_tool_prefix"; then
7204 echo "$as_me:$LINENO: checking for file" >&5
7205 echo $ECHO_N "checking for file... $ECHO_C" >&6
7206 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7214 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7215 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7216 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7217 for ac_dir
in $ac_dummy; do
7219 test -z "$ac_dir" && ac_dir
=.
7220 if test -f $ac_dir/file; then
7221 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7222 if test -n "$file_magic_test_file"; then
7223 case $deplibs_check_method in
7225 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7226 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7227 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7228 $EGREP "$file_magic_regex" > /dev
/null
; then
7233 *** Warning: the command libtool uses to detect shared libraries,
7234 *** $file_magic_cmd, produces output that libtool cannot recognize.
7235 *** The result is that libtool may fail to recognize shared libraries
7236 *** as such. This will affect the creation of libtool libraries that
7237 *** depend on shared libraries, but programs linked with such libtool
7238 *** libraries will work regardless of this problem. Nevertheless, you
7239 *** may want to report the problem to your system manager and/or to
7240 *** bug-libtool@gnu.org
7250 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7255 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7256 if test -n "$MAGIC_CMD"; then
7257 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7258 echo "${ECHO_T}$MAGIC_CMD" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7274 # Use C for the default configuration in the libtool script
7278 ac_cpp
='$CPP $CPPFLAGS'
7279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7284 # Source file extension for C test sources.
7287 # Object file extension for compiled C test sources.
7291 # Code to be used in simple compile tests
7292 lt_simple_compile_test_code
="int some_variable = 0;"
7294 # Code to be used in simple link tests
7295 lt_simple_link_test_code
='int main(){return(0);}'
7303 # If no C compiler was specified, use CC.
7306 # If no C compiler flags were specified, use CFLAGS.
7307 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7309 # Allow CC to be a program name with arguments.
7312 # Save the default compiler, since it gets overwritten when the other
7313 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7314 compiler_DEFAULT
=$CC
7316 # save warnings/boilerplate of simple test code
7317 ac_outfile
=conftest.
$ac_objext
7318 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7319 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7320 _lt_compiler_boilerplate
=`cat conftest.err`
7323 ac_outfile
=conftest.
$ac_objext
7324 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7325 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7326 _lt_linker_boilerplate
=`cat conftest.err`
7331 ## There is no encapsulation within the following macros, do not change
7332 ## the running order or otherwise move them around unless you know exactly
7333 ## what you are doing...
7334 if test -n "$compiler"; then
7336 lt_prog_compiler_no_builtin_flag
=
7338 if test "$GCC" = yes; then
7339 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7341 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7342 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7343 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 lt_cv_prog_compiler_rtti_exceptions
=no
7347 ac_outfile
=conftest.
$ac_objext
7348 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7349 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7350 # Insert the option either (1) after the last *FLAGS variable, or
7351 # (2) before a word containing "conftest.", or (3) at the end.
7352 # Note that $ac_compile itself does not contain backslashes and begins
7353 # with a dollar sign (not a hyphen), so the echo should work correctly.
7354 # The option is referenced via a variable to avoid confusing sed.
7355 lt_compile
=`echo "$ac_compile" | $SED \
7356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7358 -e 's:$: $lt_compiler_flag:'`
7359 (eval echo "\"\$as_me:7359: $lt_compile\"" >&5)
7360 (eval "$lt_compile" 2>conftest.err
)
7362 cat conftest.err
>&5
7363 echo "$as_me:7363: \$? = $ac_status" >&5
7364 if (exit $ac_status) && test -s "$ac_outfile"; then
7365 # The compiler can only warn and ignore the option if not recognized
7366 # So say no if there are warnings other than the usual output.
7367 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7368 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7369 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7370 lt_cv_prog_compiler_rtti_exceptions
=yes
7376 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7377 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7379 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7380 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7392 lt_prog_compiler_wl
=
7393 lt_prog_compiler_pic
=
7394 lt_prog_compiler_static
=
7396 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7397 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7399 if test "$GCC" = yes; then
7400 lt_prog_compiler_wl
='-Wl,'
7401 lt_prog_compiler_static
='-static'
7405 # All AIX code is PIC.
7406 if test "$host_cpu" = ia64
; then
7407 # AIX 5 now supports IA64 processor
7408 lt_prog_compiler_static
='-Bstatic'
7413 if test "$host_cpu" = m68k
; then
7414 # FIXME: we need at least 68020 code to build shared libraries, but
7415 # adding the `-m68020' flag to GCC prevents building anything better,
7417 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7421 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7422 # PIC is the default for these OSes.
7425 mingw
* | cygwin
* | pw32
* | os2
*)
7426 # This hack is so that the source file can tell whether it is being
7427 # built for inclusion in a dll (and should export symbols for example).
7428 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7429 # (--disable-auto-import) libraries
7430 lt_prog_compiler_pic
='-DDLL_EXPORT'
7433 darwin
* | rhapsody
*)
7434 # PIC is the default on this platform
7435 # Common symbols not allowed in MH_DYLIB files
7436 lt_prog_compiler_pic
='-fno-common'
7440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7447 lt_prog_compiler_pic
='-fPIC'
7453 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7454 # Instead, we relocate shared libraries at runtime.
7458 # Just because we use GCC doesn't mean we suddenly get shared libraries
7459 # on systems that don't support them.
7460 lt_prog_compiler_can_build_shared
=no
7465 # QNX uses GNU C++, but need to define -shared option too, otherwise
7467 lt_prog_compiler_pic
='-fPIC -shared'
7471 if test -d /usr
/nec
; then
7472 lt_prog_compiler_pic
=-Kconform_pic
7477 lt_prog_compiler_pic
='-fPIC'
7481 # PORTME Check for flag to pass linker flags through the system compiler.
7484 lt_prog_compiler_wl
='-Wl,'
7485 if test "$host_cpu" = ia64
; then
7486 # AIX 5 now supports IA64 processor
7487 lt_prog_compiler_static
='-Bstatic'
7489 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7493 # PIC is the default on this platform
7494 # Common symbols not allowed in MH_DYLIB files
7495 case $cc_basename in
7497 lt_prog_compiler_pic
='-qnocommon'
7498 lt_prog_compiler_wl
='-Wl,'
7503 mingw
* | cygwin
* | pw32
* | os2
*)
7504 # This hack is so that the source file can tell whether it is being
7505 # built for inclusion in a dll (and should export symbols for example).
7506 lt_prog_compiler_pic
='-DDLL_EXPORT'
7509 hpux9
* | hpux10
* | hpux11
*)
7510 lt_prog_compiler_wl
='-Wl,'
7511 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7518 lt_prog_compiler_pic
='+Z'
7521 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7522 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7525 irix5
* | irix6
* | nonstopux
*)
7526 lt_prog_compiler_wl
='-Wl,'
7527 # PIC (with -KPIC) is the default.
7528 lt_prog_compiler_static
='-non_shared'
7531 linux
* | k
*bsd
*-gnu)
7532 case $cc_basename in
7534 lt_prog_compiler_wl
='-Wl,'
7535 lt_prog_compiler_pic
='-KPIC'
7536 lt_prog_compiler_static
='-static'
7538 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7539 # Portland Group compilers (*not* the Pentium gcc compiler,
7540 # which looks to be a dead project)
7541 lt_prog_compiler_wl
='-Wl,'
7542 lt_prog_compiler_pic
='-fpic'
7543 lt_prog_compiler_static
='-Bstatic'
7546 lt_prog_compiler_wl
='-Wl,'
7547 # All Alpha code is PIC.
7548 lt_prog_compiler_static
='-non_shared'
7551 case `$CC -V 2>&1 | sed 5q` in
7554 lt_prog_compiler_pic
='-KPIC'
7555 lt_prog_compiler_static
='-Bstatic'
7556 lt_prog_compiler_wl
='-Wl,'
7559 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7560 lt_prog_compiler_pic
='-KPIC'
7561 lt_prog_compiler_static
='-Bstatic'
7562 lt_prog_compiler_wl
=''
7570 lt_prog_compiler_pic
='-KPIC'
7571 lt_prog_compiler_static
='-Bstatic'
7575 # QNX uses GNU C++, but need to define -shared option too, otherwise
7577 lt_prog_compiler_pic
='-fPIC -shared'
7580 osf3
* | osf4
* | osf5
*)
7581 lt_prog_compiler_wl
='-Wl,'
7582 # All OSF/1 code is PIC.
7583 lt_prog_compiler_static
='-non_shared'
7587 lt_prog_compiler_static
='-non_shared'
7591 lt_prog_compiler_pic
='-KPIC'
7592 lt_prog_compiler_static
='-Bstatic'
7593 case $cc_basename in
7595 lt_prog_compiler_wl
='-Qoption ld ';;
7597 lt_prog_compiler_wl
='-Wl,';;
7602 lt_prog_compiler_wl
='-Qoption ld '
7603 lt_prog_compiler_pic
='-PIC'
7604 lt_prog_compiler_static
='-Bstatic'
7607 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7608 lt_prog_compiler_wl
='-Wl,'
7609 lt_prog_compiler_pic
='-KPIC'
7610 lt_prog_compiler_static
='-Bstatic'
7614 if test -d /usr
/nec
;then
7615 lt_prog_compiler_pic
='-Kconform_pic'
7616 lt_prog_compiler_static
='-Bstatic'
7620 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7621 lt_prog_compiler_wl
='-Wl,'
7622 lt_prog_compiler_pic
='-KPIC'
7623 lt_prog_compiler_static
='-Bstatic'
7627 lt_prog_compiler_wl
='-Wl,'
7628 lt_prog_compiler_can_build_shared
=no
7632 lt_prog_compiler_pic
='-pic'
7633 lt_prog_compiler_static
='-Bstatic'
7637 lt_prog_compiler_can_build_shared
=no
7643 # For platforms which do not support PIC, -DPIC is meaningless:
7645 lt_prog_compiler_pic
=
7648 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7651 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7652 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7660 # Check to make sure the PIC flag actually works.
7662 if test -n "$lt_prog_compiler_pic"; then
7663 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7664 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7665 if test "${lt_prog_compiler_pic_works+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 lt_prog_compiler_pic_works
=no
7669 ac_outfile
=conftest.
$ac_objext
7670 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7671 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7672 # Insert the option either (1) after the last *FLAGS variable, or
7673 # (2) before a word containing "conftest.", or (3) at the end.
7674 # Note that $ac_compile itself does not contain backslashes and begins
7675 # with a dollar sign (not a hyphen), so the echo should work correctly.
7676 # The option is referenced via a variable to avoid confusing sed.
7677 lt_compile
=`echo "$ac_compile" | $SED \
7678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7680 -e 's:$: $lt_compiler_flag:'`
7681 (eval echo "\"\$as_me:7681: $lt_compile\"" >&5)
7682 (eval "$lt_compile" 2>conftest.err
)
7684 cat conftest.err
>&5
7685 echo "$as_me:7685: \$? = $ac_status" >&5
7686 if (exit $ac_status) && test -s "$ac_outfile"; then
7687 # The compiler can only warn and ignore the option if not recognized
7688 # So say no if there are warnings other than the usual output.
7689 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7690 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7691 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7692 lt_prog_compiler_pic_works
=yes
7698 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7699 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7701 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7702 case $lt_prog_compiler_pic in
7704 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7707 lt_prog_compiler_pic
=
7708 lt_prog_compiler_can_build_shared
=no
7719 # Check to make sure the static flag actually works.
7721 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7722 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7723 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7724 if test "${lt_prog_compiler_static_works+set}" = set; then
7725 echo $ECHO_N "(cached) $ECHO_C" >&6
7727 lt_prog_compiler_static_works
=no
7728 save_LDFLAGS
="$LDFLAGS"
7729 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7730 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7731 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7732 # The linker can only warn and ignore the option if not recognized
7733 # So say no if there are warnings
7734 if test -s conftest.err
; then
7735 # Append any errors to the config.log.
7736 cat conftest.err
1>&5
7737 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7738 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7739 if diff conftest.exp conftest.er2
>/dev
/null
; then
7740 lt_prog_compiler_static_works
=yes
7743 lt_prog_compiler_static_works
=yes
7747 LDFLAGS
="$save_LDFLAGS"
7750 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7751 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7753 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7756 lt_prog_compiler_static
=
7765 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7766 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7767 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6
7770 lt_cv_prog_compiler_c_o
=no
7771 $RM -r conftest
2>/dev
/null
7775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7777 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7778 # Insert the option either (1) after the last *FLAGS variable, or
7779 # (2) before a word containing "conftest.", or (3) at the end.
7780 # Note that $ac_compile itself does not contain backslashes and begins
7781 # with a dollar sign (not a hyphen), so the echo should work correctly.
7782 lt_compile
=`echo "$ac_compile" | $SED \
7783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7785 -e 's:$: $lt_compiler_flag:'`
7786 (eval echo "\"\$as_me:7786: $lt_compile\"" >&5)
7787 (eval "$lt_compile" 2>out
/conftest.err
)
7789 cat out
/conftest.err
>&5
7790 echo "$as_me:7790: \$? = $ac_status" >&5
7791 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7793 # The compiler can only warn and ignore the option if not recognized
7794 # So say no if there are warnings
7795 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7796 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7797 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7798 lt_cv_prog_compiler_c_o
=yes
7803 # SGI C++ compiler will create directory out/ii_files/ for
7804 # template instantiation
7805 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7806 $RM out
/* && rmdir out
7812 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7813 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7820 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7821 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7822 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 lt_cv_prog_compiler_c_o
=no
7826 $RM -r conftest
2>/dev
/null
7830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7832 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7833 # Insert the option either (1) after the last *FLAGS variable, or
7834 # (2) before a word containing "conftest.", or (3) at the end.
7835 # Note that $ac_compile itself does not contain backslashes and begins
7836 # with a dollar sign (not a hyphen), so the echo should work correctly.
7837 lt_compile
=`echo "$ac_compile" | $SED \
7838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7840 -e 's:$: $lt_compiler_flag:'`
7841 (eval echo "\"\$as_me:7841: $lt_compile\"" >&5)
7842 (eval "$lt_compile" 2>out
/conftest.err
)
7844 cat out
/conftest.err
>&5
7845 echo "$as_me:7845: \$? = $ac_status" >&5
7846 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7848 # The compiler can only warn and ignore the option if not recognized
7849 # So say no if there are warnings
7850 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7851 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7852 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7853 lt_cv_prog_compiler_c_o
=yes
7858 # SGI C++ compiler will create directory out/ii_files/ for
7859 # template instantiation
7860 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7861 $RM out
/* && rmdir out
7867 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7868 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7873 hard_links
="nottested"
7874 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7875 # do not overwrite the value of need_locks provided by the user
7876 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7877 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7880 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7882 ln conftest.a conftest.b
2>&5 || hard_links
=no
7883 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7884 echo "$as_me:$LINENO: result: $hard_links" >&5
7885 echo "${ECHO_T}$hard_links" >&6
7886 if test "$hard_links" = no
; then
7887 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7888 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7900 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7901 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7904 allow_undefined_flag
=
7905 always_export_symbols
=no
7907 archive_expsym_cmds
=
7908 compiler_needs_object
=no
7909 enable_shared_with_static_runtimes
=no
7910 export_dynamic_flag_spec
=
7911 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7912 hardcode_automatic
=no
7914 hardcode_direct_absolute
=no
7915 hardcode_libdir_flag_spec
=
7916 hardcode_libdir_flag_spec_ld
=
7917 hardcode_libdir_separator
=
7919 hardcode_shlibpath_var
=unsupported
7921 link_all_deplibs
=unknown
7924 old_archive_from_new_cmds
=
7925 old_archive_from_expsyms_cmds
=
7926 thread_safe_flag_spec
=
7927 whole_archive_flag_spec
=
7928 # include_expsyms should be a list of space-separated symbols to be *always*
7929 # included in the symbol list
7931 # exclude_expsyms can be an extended regexp of symbols to exclude
7932 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7933 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7934 # as well as any symbol that contains `d'.
7935 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7936 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7937 # platforms (ab)use it in PIC code, but their linkers get confused if
7938 # the symbol is explicitly referenced. Since portable code cannot
7939 # rely on this symbol name, it's probably fine to never include it in
7940 # preloaded symbol tables.
7941 extract_expsyms_cmds
=
7944 cygwin
* | mingw
* | pw32
*)
7945 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7946 # When not using gcc, we currently assume that we are using
7947 # Microsoft Visual C++.
7948 if test "$GCC" != yes; then
7953 # we just hope/assume this is gcc and not c89 (= MSVC++)
7962 if test "$with_gnu_ld" = yes; then
7963 # If archive_cmds runs LD, not CC, wlarc should be empty
7966 # Set some defaults for GNU ld with shared library support. These
7967 # are reset later if shared libraries are not supported. Putting them
7968 # here allows them to be overridden if necessary.
7969 runpath_var
=LD_RUN_PATH
7970 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7971 export_dynamic_flag_spec
='${wl}--export-dynamic'
7972 # ancient GNU ld didn't support --whole-archive et. al.
7973 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7974 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7976 whole_archive_flag_spec
=
7978 supports_anon_versioning
=no
7979 case `$LD -v 2>&1` in
7980 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7981 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7982 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7983 *\
2.11.
*) ;; # other 2.11 versions
7984 *) supports_anon_versioning
=yes ;;
7987 # See if GNU ld supports shared libraries.
7989 aix3
* | aix4
* | aix5
*)
7990 # On AIX/PPC, the GNU linker is very broken
7991 if test "$host_cpu" != ia64
; then
7995 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7996 *** to be unable to reliably create shared libraries on AIX.
7997 *** Therefore, libtool is disabling shared libraries support. If you
7998 *** really care for shared libraries, you may want to modify your PATH
7999 *** so that a non-GNU linker is found, and then restart.
8006 if test "$host_cpu" = m68k
; then
8007 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)'
8008 hardcode_libdir_flag_spec
='-L$libdir'
8009 hardcode_minus_L
=yes
8012 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8013 # that the semantics of dynamic libraries on AmigaOS, at least up
8014 # to version 4, is to share data among multiple programs linked
8015 # with the same dynamic library. Since this doesn't match the
8016 # behavior of shared libraries on other platforms, we can't use
8022 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8023 allow_undefined_flag
=unsupported
8024 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8025 # support --undefined. This deserves some investigation. FIXME
8026 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8032 cygwin
* | mingw
* | pw32
*)
8033 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8034 # as there is no search path for DLLs.
8035 hardcode_libdir_flag_spec
='-L$libdir'
8036 allow_undefined_flag
=unsupported
8037 always_export_symbols
=no
8038 enable_shared_with_static_runtimes
=yes
8039 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8041 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8043 # If the export-symbols file already is a .def file (1st line
8044 # is EXPORTS), use it as is; otherwise, prepend...
8045 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8046 cp $export_symbols $output_objdir/$soname.def;
8048 echo EXPORTS > $output_objdir/$soname.def;
8049 cat $export_symbols >> $output_objdir/$soname.def;
8051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8059 hardcode_shlibpath_var
=no
8060 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8061 export_dynamic_flag_spec
='${wl}-E'
8062 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8063 # Instead, shared libraries are loaded at an image base (0x10000000 by
8064 # default) and relocated if they conflict, which is a slow very memory
8065 # consuming and fragmenting process. To avoid this, we pick a random,
8066 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8067 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8068 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8069 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'
8072 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8074 if test "$host_os" = linux-dietlibc
; then
8075 case $cc_basename in
8076 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8079 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8080 && test "$tmp_diet" = no
8083 case $cc_basename,$host_cpu in
8084 pgcc
*) # Portland Group C compiler
8085 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'
8086 tmp_addflag
=' $pic_flag'
8088 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8089 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'
8090 tmp_addflag
=' $pic_flag -Mnomain' ;;
8091 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8092 tmp_addflag
=' -i_dynamic' ;;
8093 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8094 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8095 ifc
* | ifort
*) # Intel Fortran compiler
8096 tmp_addflag
=' -nofor_main' ;;
8098 case `$CC -V 2>&1 | sed 5q` in
8099 *Sun\ C
*) # Sun C 5.9
8100 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'
8101 compiler_needs_object
=yes
8102 tmp_sharedflag
='-G' ;;
8103 *Sun\ F
*) # Sun Fortran 8.3
8104 tmp_sharedflag
='-G' ;;
8106 tmp_sharedflag
='-shared' ;;
8108 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8110 if test "x$supports_anon_versioning" = xyes
; then
8111 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8112 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8113 echo "local: *; };" >> $output_objdir/$libname.ver~
8114 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8122 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8123 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8127 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8132 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8136 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8137 *** create shared libraries on Solaris systems. Therefore, libtool
8138 *** is disabling shared libraries support. We urge you to upgrade GNU
8139 *** binutils to release 2.9.1 or newer. Another option is to modify
8140 *** your PATH or compiler configuration so that the native linker is
8141 *** used, and then restart.
8144 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8145 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8152 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8153 case `$LD -v 2>&1` in
8154 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8158 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8159 *** reliably create shared libraries on SCO systems. Therefore, libtool
8160 *** is disabling shared libraries support. We urge you to upgrade GNU
8161 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8162 *** your PATH or compiler configuration so that the native linker is
8163 *** used, and then restart.
8168 # For security reasons, it is highly recommended that you always
8169 # use absolute paths for naming shared libraries, and exclude the
8170 # DT_RUNPATH tag from executables and libraries. But doing so
8171 # requires that you compile everything twice, which is a pain.
8172 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8173 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8174 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8175 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8184 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8187 hardcode_shlibpath_var
=no
8191 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8192 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8193 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8200 if test "$ld_shlibs" = no
; then
8202 hardcode_libdir_flag_spec
=
8203 export_dynamic_flag_spec
=
8204 whole_archive_flag_spec
=
8207 # PORTME fill in a description of your system's linker (not GNU ld)
8210 allow_undefined_flag
=unsupported
8211 always_export_symbols
=yes
8212 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'
8213 # Note: this linker hardcodes the directories in LIBPATH if there
8214 # are no directories specified by -L.
8215 hardcode_minus_L
=yes
8216 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8217 # Neither direct hardcoding nor static linking is supported with a
8219 hardcode_direct
=unsupported
8224 if test "$host_cpu" = ia64
; then
8225 # On IA64, the linker does run time linking by default, so we don't
8226 # have to do anything special.
8227 aix_use_runtimelinking
=no
8228 exp_sym_flag
='-Bexport'
8231 # If we're using GNU nm, then we don't want the "-C" option.
8232 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8233 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8234 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'
8236 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'
8238 aix_use_runtimelinking
=no
8240 # Test if we are trying to use run time linking or normal
8241 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8242 # need to do runtime linking.
8243 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8244 for ld_flag
in $LDFLAGS; do
8245 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8246 aix_use_runtimelinking
=yes
8253 exp_sym_flag
='-bexport'
8254 no_entry_flag
='-bnoentry'
8257 # When large executables or shared objects are built, AIX ld can
8258 # have problems creating the table of contents. If linking a library
8259 # or program results in "error TOC overflow" add -mminimal-toc to
8260 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8261 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8265 hardcode_direct_absolute
=yes
8266 hardcode_libdir_separator
=':'
8267 link_all_deplibs
=yes
8268 file_list_spec
='${wl}-f,'
8270 if test "$GCC" = yes; then
8271 case $host_os in aix4.
[012]|aix4.
[012].
*)
8272 # We only want to do this on AIX 4.2 and lower, the check
8273 # below for broken collect2 doesn't work under 4.3+
8274 collect2name
=`${CC} -print-prog-name=collect2`
8275 if test -f "$collect2name" &&
8276 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8278 # We have reworked collect2
8281 # We have old collect2
8282 hardcode_direct
=unsupported
8283 # It fails to find uninstalled libraries when the uninstalled
8284 # path is not listed in the libpath. Setting hardcode_minus_L
8285 # to unsupported forces relinking
8286 hardcode_minus_L
=yes
8287 hardcode_libdir_flag_spec
='-L$libdir'
8288 hardcode_libdir_separator
=
8292 shared_flag
='-shared'
8293 if test "$aix_use_runtimelinking" = yes; then
8294 shared_flag
="$shared_flag "'${wl}-G'
8298 if test "$host_cpu" = ia64
; then
8299 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8300 # chokes on -Wl,-G. The following line is correct:
8303 if test "$aix_use_runtimelinking" = yes; then
8304 shared_flag
='${wl}-G'
8306 shared_flag
='${wl}-bM:SRE'
8311 # It seems that -bexpall does not export symbols beginning with
8312 # underscore (_), so it is better to generate a list of symbols to export.
8313 always_export_symbols
=yes
8314 if test "$aix_use_runtimelinking" = yes; then
8315 # Warning - without using the other runtime loading flags (-brtl),
8316 # -berok will link without error, but may produce a broken library.
8317 allow_undefined_flag
='-berok'
8318 # Determine the default libpath from the value encoded in an
8320 if test x
$gcc_no_link = xyes
; then
8321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8323 { (exit 1); exit 1; }; }
8325 cat >conftest.
$ac_ext <<_ACEOF
8328 cat confdefs.h
>>conftest.
$ac_ext
8329 cat >>conftest.
$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8340 rm -f conftest.
$ac_objext conftest
$ac_exeext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8342 (eval $ac_link) 2>conftest.er1
8344 grep -v '^ *+' conftest.er1
>conftest.err
8346 cat conftest.err
>&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try
='test -z "$ac_c_werror_flag"
8350 || test ! -s conftest.err'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; } &&
8356 { ac_try
='test -s conftest$ac_exeext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8363 lt_aix_libpath_sed
='
8364 /Import File Strings/,/^$/ {
8370 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8371 # Check for a 64-bit object if we didn't find anything.
8372 if test -z "$aix_libpath"; then
8373 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.
$ac_ext >&5
8380 rm -f conftest.err conftest.
$ac_objext \
8381 conftest
$ac_exeext conftest.
$ac_ext
8382 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8384 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8385 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"
8387 if test "$host_cpu" = ia64
; then
8388 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8389 allow_undefined_flag
="-z nodefs"
8390 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"
8392 # Determine the default libpath from the value encoded in an
8394 if test x
$gcc_no_link = xyes
; then
8395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8397 { (exit 1); exit 1; }; }
8399 cat >conftest.
$ac_ext <<_ACEOF
8402 cat confdefs.h
>>conftest.
$ac_ext
8403 cat >>conftest.
$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8414 rm -f conftest.
$ac_objext conftest
$ac_exeext
8415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8416 (eval $ac_link) 2>conftest.er1
8418 grep -v '^ *+' conftest.er1
>conftest.err
8420 cat conftest.err
>&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } &&
8423 { ac_try
='test -z "$ac_c_werror_flag"
8424 || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try
='test -s conftest$ac_exeext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8437 lt_aix_libpath_sed
='
8438 /Import File Strings/,/^$/ {
8444 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8445 # Check for a 64-bit object if we didn't find anything.
8446 if test -z "$aix_libpath"; then
8447 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8450 echo "$as_me: failed program was:" >&5
8451 sed 's/^/| /' conftest.
$ac_ext >&5
8454 rm -f conftest.err conftest.
$ac_objext \
8455 conftest
$ac_exeext conftest.
$ac_ext
8456 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8458 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8459 # Warning - without using the other run time loading flags,
8460 # -berok will link without error, but may produce a broken library.
8461 no_undefined_flag
=' ${wl}-bernotok'
8462 allow_undefined_flag
=' ${wl}-berok'
8463 # Exported symbols can be pulled into shared objects from archives
8464 whole_archive_flag_spec
='$convenience'
8465 archive_cmds_need_lc
=yes
8466 # This is similar to how AIX traditionally builds its shared libraries.
8467 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'
8473 if test "$host_cpu" = m68k
; then
8474 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)'
8475 hardcode_libdir_flag_spec
='-L$libdir'
8476 hardcode_minus_L
=yes
8478 # see comment about different semantics on the GNU ld section
8483 export_dynamic_flag_spec
=-rdynamic
8486 cygwin
* | mingw
* | pw32
*)
8487 # When not using gcc, we currently assume that we are using
8488 # Microsoft Visual C++.
8489 # hardcode_libdir_flag_spec is actually meaningless, as there is
8490 # no search path for DLLs.
8491 hardcode_libdir_flag_spec
=' '
8492 allow_undefined_flag
=unsupported
8493 # Tell ltmain to make .lib files, not .a files.
8495 # Tell ltmain to make .dll files, not .so files.
8497 # FIXME: Setting linknames here is a bad hack.
8498 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8499 # The linker will automatically build a .lib file if we build a DLL.
8500 old_archive_from_new_cmds
='true'
8501 # FIXME: Should let the user specify the lib program.
8502 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8503 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8504 enable_shared_with_static_runtimes
=yes
8507 darwin
* | rhapsody
*)
8509 rhapsody
* | darwin1.
[012])
8510 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8513 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8515 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8518 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8523 archive_cmds_need_lc
=no
8525 hardcode_automatic
=yes
8526 hardcode_shlibpath_var
=unsupported
8527 whole_archive_flag_spec
=''
8528 link_all_deplibs
=yes
8529 if test "$GCC" = yes ; then
8530 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 lt_cv_apple_cc_single_mod
=no
8534 if test -z "${LT_MULTI_MODULE}"; then
8535 # By default we will add the -single_module flag. You can override
8536 # by either setting the environment variable LT_MULTI_MODULE
8537 # non-empty at configure time, or by adding -multi-module to the
8539 echo "int foo(void){return 1;}" > conftest.c
8540 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8541 -dynamiclib ${wl}-single_module conftest.c
8542 if test -f libconftest.dylib
; then
8543 lt_cv_apple_cc_single_mod
=yes
8544 rm libconftest.dylib
8550 output_verbose_link_cmd
=echo
8551 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8552 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8553 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}'
8555 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8556 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}'
8558 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8559 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}'
8561 case $cc_basename in
8563 output_verbose_link_cmd
=echo
8564 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8565 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8566 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8567 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}'
8568 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}'
8578 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8579 hardcode_libdir_flag_spec
='-L$libdir'
8580 hardcode_shlibpath_var
=no
8587 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8588 # support. Future versions do this automatically, but an explicit c++rt0.o
8589 # does not break anything, and helps significantly (at the cost of a little
8592 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8593 hardcode_libdir_flag_spec
='-R$libdir'
8595 hardcode_shlibpath_var
=no
8598 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8600 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8602 hardcode_minus_L
=yes
8603 hardcode_shlibpath_var
=no
8606 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8607 freebsd
* | dragonfly
*)
8608 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8609 hardcode_libdir_flag_spec
='-R$libdir'
8611 hardcode_shlibpath_var
=no
8615 if test "$GCC" = yes; then
8616 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'
8618 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'
8620 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8621 hardcode_libdir_separator
=:
8624 # hardcode_minus_L: Not really in the search PATH,
8625 # but as the default location of the library.
8626 hardcode_minus_L
=yes
8627 export_dynamic_flag_spec
='${wl}-E'
8631 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8632 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8636 if test "$with_gnu_ld" = no
; then
8637 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8638 hardcode_libdir_flag_spec_ld
='+b $libdir'
8639 hardcode_libdir_separator
=:
8641 hardcode_direct_absolute
=yes
8642 export_dynamic_flag_spec
='${wl}-E'
8643 # hardcode_minus_L: Not really in the search PATH,
8644 # but as the default location of the library.
8645 hardcode_minus_L
=yes
8650 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8653 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8656 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8659 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8665 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8668 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8675 if test "$with_gnu_ld" = no
; then
8676 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8677 hardcode_libdir_separator
=:
8682 hardcode_shlibpath_var
=no
8686 hardcode_direct_absolute
=yes
8687 export_dynamic_flag_spec
='${wl}-E'
8689 # hardcode_minus_L: Not really in the search PATH,
8690 # but as the default location of the library.
8691 hardcode_minus_L
=yes
8697 irix5
* | irix6
* | nonstopux
*)
8698 if test "$GCC" = yes; then
8699 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'
8700 # Try to use the -exported_symbol ld option, if it does not
8701 # work, assume that -exports_file does not work either and
8702 # implicitly export all symbols.
8703 save_LDFLAGS
="$LDFLAGS"
8704 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8705 if test x
$gcc_no_link = xyes
; then
8706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8708 { (exit 1); exit 1; }; }
8710 cat >conftest.
$ac_ext <<_ACEOF
8713 rm -f conftest.
$ac_objext conftest
$ac_exeext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8715 (eval $ac_link) 2>conftest.er1
8717 grep -v '^ *+' conftest.er1
>conftest.err
8719 cat conftest.err
>&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try
='test -z "$ac_c_werror_flag"
8723 || test ! -s conftest.err'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try
='test -s conftest$ac_exeext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 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'
8738 echo "$as_me: failed program was:" >&5
8739 sed 's/^/| /' conftest.
$ac_ext >&5
8742 rm -f conftest.err conftest.
$ac_objext \
8743 conftest
$ac_exeext conftest.
$ac_ext
8744 LDFLAGS
="$save_LDFLAGS"
8746 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'
8747 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'
8749 archive_cmds_need_lc
='no'
8750 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8751 hardcode_libdir_separator
=:
8753 link_all_deplibs
=yes
8757 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8758 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8760 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8762 hardcode_libdir_flag_spec
='-R$libdir'
8764 hardcode_shlibpath_var
=no
8768 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8771 hardcode_libdir_separator
=:
8772 hardcode_shlibpath_var
=no
8780 hardcode_shlibpath_var
=no
8781 hardcode_direct_absolute
=yes
8782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8783 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8785 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8786 export_dynamic_flag_spec
='${wl}-E'
8789 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8790 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_libdir_flag_spec
='-R$libdir'
8794 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8795 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8802 hardcode_libdir_flag_spec
='-L$libdir'
8803 hardcode_minus_L
=yes
8804 allow_undefined_flag
=unsupported
8805 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'
8806 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8810 if test "$GCC" = yes; then
8811 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8812 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'
8814 allow_undefined_flag
=' -expect_unresolved \*'
8815 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'
8817 archive_cmds_need_lc
='no'
8818 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8819 hardcode_libdir_separator
=:
8822 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8823 if test "$GCC" = yes; then
8824 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8825 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'
8826 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8828 allow_undefined_flag
=' -expect_unresolved \*'
8829 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'
8830 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~
8831 $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'
8833 # Both c and cxx compiler support -rpath directly
8834 hardcode_libdir_flag_spec
='-rpath $libdir'
8836 archive_cmds_need_lc
='no'
8837 hardcode_libdir_separator
=:
8841 no_undefined_flag
=' -z defs'
8842 if test "$GCC" = yes; then
8844 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8845 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8846 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8848 case `$CC -V 2>&1` in
8851 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8852 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8853 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8857 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8859 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8863 hardcode_libdir_flag_spec
='-R$libdir'
8864 hardcode_shlibpath_var
=no
8866 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8868 # The compiler driver will combine and reorder linker options,
8869 # but understands `-z linker_flag'. GCC discards it without `$wl',
8870 # but is careful enough not to reorder.
8871 # Supported since Solaris 2.6 (maybe 2.5.1?)
8872 if test "$GCC" = yes; then
8873 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8875 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8879 link_all_deplibs
=yes
8883 if test "x$host_vendor" = xsequent
; then
8884 # Use $CC to link under sequent, because it throws in some extra .o
8885 # files that make .init and .fini sections work.
8886 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8890 hardcode_libdir_flag_spec
='-L$libdir'
8892 hardcode_minus_L
=yes
8893 hardcode_shlibpath_var
=no
8897 case $host_vendor in
8899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8900 hardcode_direct
=yes # is this really true???
8903 ## LD is ld it makes a PLAMLIB
8904 ## CC just makes a GrossModule.
8905 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8906 reload_cmds
='$CC -r -o $output$reload_objs'
8910 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8911 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8914 runpath_var
='LD_RUN_PATH'
8915 hardcode_shlibpath_var
=no
8919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920 hardcode_shlibpath_var
=no
8921 export_dynamic_flag_spec
='-Bexport'
8925 if test -d /usr
/nec
; then
8926 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_shlibpath_var
=no
8928 runpath_var
=LD_RUN_PATH
8929 hardcode_runpath_var
=yes
8934 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8935 no_undefined_flag
='${wl}-z,text'
8936 archive_cmds_need_lc
=no
8937 hardcode_shlibpath_var
=no
8938 runpath_var
='LD_RUN_PATH'
8940 if test "$GCC" = yes; then
8941 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8942 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8944 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8949 sysv5
* | sco3.2v5
* | sco5v6
*)
8950 # Note: We can NOT use -z defs as we might desire, because we do not
8951 # link with -lc, and that would cause any symbols used from libc to
8952 # always be unresolved, which means just about no library would
8953 # ever link correctly. If we're not using GNU ld we use -z text
8954 # though, which does catch some bad symbols but isn't as heavy-handed
8956 no_undefined_flag
='${wl}-z,text'
8957 allow_undefined_flag
='${wl}-z,nodefs'
8958 archive_cmds_need_lc
=no
8959 hardcode_shlibpath_var
=no
8960 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8961 hardcode_libdir_separator
=':'
8962 link_all_deplibs
=yes
8963 export_dynamic_flag_spec
='${wl}-Bexport'
8964 runpath_var
='LD_RUN_PATH'
8966 if test "$GCC" = yes; then
8967 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8968 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8970 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8977 hardcode_libdir_flag_spec
='-L$libdir'
8978 hardcode_shlibpath_var
=no
8986 if test x
$host_vendor = xsni
; then
8988 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8989 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8995 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8996 echo "${ECHO_T}$ld_shlibs" >&6
8997 test "$ld_shlibs" = no
&& can_build_shared
=no
8999 with_gnu_ld
=$with_gnu_ld
9016 # Do we need to explicitly link libc?
9018 case "x$archive_cmds_need_lc" in
9020 # Assume -lc should be added
9021 archive_cmds_need_lc
=yes
9023 if test "$enable_shared" = yes && test "$GCC" = yes; then
9024 case $archive_cmds in
9026 # FIXME: we may have to deal with multi-command sequences.
9029 # Test whether the compiler implicitly links with -lc since on some
9030 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9031 # to ld, don't add -lc before -lgcc.
9032 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9033 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9038 (eval $ac_compile) 2>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); } 2>conftest.err
; then
9044 libobjs
=conftest.
$ac_objext
9046 wl
=$lt_prog_compiler_wl
9047 pic_flag
=$lt_prog_compiler_pic
9053 lt_save_allow_undefined_flag
=$allow_undefined_flag
9054 allow_undefined_flag
=
9055 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9056 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }
9061 archive_cmds_need_lc
=no
9063 archive_cmds_need_lc
=yes
9065 allow_undefined_flag
=$lt_save_allow_undefined_flag
9067 cat conftest.err
1>&5
9070 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9071 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9234 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9235 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9237 if test "$withGCC" = yes; then
9239 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9240 *) lt_awk_arg
="/^libraries:/" ;;
9242 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9243 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9244 # if the path contains ";" then we assume it to be the separator
9245 # otherwise default to the standard path separator (i.e. ":") - it is
9246 # assumed that no part of a normal pathname contains ";" but that should
9247 # okay in the real world where ";" in dirpaths is itself problematic.
9248 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9250 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9252 # Ok, now we have the path, separated by spaces, we can step through it
9253 # and add multilib dir if necessary.
9254 lt_tmp_lt_search_path_spec
=
9255 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9256 for lt_sys_path
in $lt_search_path_spec; do
9257 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9258 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9260 test -d "$lt_sys_path" && \
9261 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9264 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9265 BEGIN {RS=" "; FS="/|\n";} {
9268 for (lt_i = NF; lt_i > 0; lt_i--) {
9269 if ($lt_i != "" && $lt_i != ".") {
9270 if ($lt_i == "..") {
9273 if (lt_count == 0) {
9274 lt_foo="/" $lt_i lt_foo;
9281 if (lt_foo != "") { lt_freq[lt_foo]++; }
9282 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9284 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9286 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9289 libname_spec
='lib$name'
9297 shlibpath_overrides_runpath
=unknown
9299 dynamic_linker
="$host_os ld.so"
9300 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9301 need_lib_prefix
=unknown
9302 hardcode_into_libs
=no
9304 # when you set need_version to no, make sure it does not cause -set_version
9305 # flags to be left without arguments
9306 need_version
=unknown
9311 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9312 shlibpath_var
=LIBPATH
9314 # AIX 3 has no versioning support, so we append a major version to the name.
9315 soname_spec
='${libname}${release}${shared_ext}$major'
9322 hardcode_into_libs
=yes
9323 if test "$host_cpu" = ia64
; then
9324 # AIX 5 supports IA64
9325 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9326 shlibpath_var
=LD_LIBRARY_PATH
9328 # With GCC up to 2.95.x, collect2 would create an import file
9329 # for dependence libraries. The import file would start with
9330 # the line `#! .'. This would cause the generated library to
9331 # depend on `.', always an invalid library. This was fixed in
9332 # development snapshots of GCC prior to 3.0.
9334 aix4 | aix4.
[01] | aix4.
[01].
*)
9335 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9337 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9344 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9345 # soname into executable. Probably we can add versioning support to
9346 # collect2, so additional links can be useful in future.
9347 if test "$aix_use_runtimelinking" = yes; then
9348 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9349 # instead of lib<name>.a to let people know that these are not
9350 # typical AIX shared libraries.
9351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9353 # We preserve .a as extension for shared libraries through AIX4.2
9354 # and later when we are not doing run time linking.
9355 library_names_spec
='${libname}${release}.a $libname.a'
9356 soname_spec
='${libname}${release}${shared_ext}$major'
9358 shlibpath_var
=LIBPATH
9363 if test "$host_cpu" = m68k
; then
9364 library_names_spec
='$libname.ixlibrary $libname.a'
9365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9366 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'
9373 library_names_spec
='${libname}${shared_ext}'
9374 dynamic_linker
="$host_os ld.so"
9375 shlibpath_var
=LIBRARY_PATH
9381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382 soname_spec
='${libname}${release}${shared_ext}$major'
9383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9384 shlibpath_var
=LD_LIBRARY_PATH
9385 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9386 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9387 # the default ld.so.conf also contains /usr/contrib/lib and
9388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9389 # libtool to hard-code these into programs
9392 cygwin
* | mingw
* | pw32
*)
9393 version_type
=windows
9398 case $withGCC,$host_os in
9399 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9400 library_names_spec
='$libname.dll.a'
9401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9402 postinstall_cmds
='base_file=`basename \${file}`~
9403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9404 dldir=$destdir/`dirname \$dlpath`~
9405 test -d \$dldir || mkdir -p \$dldir~
9406 $install_prog $dir/$dlname \$dldir/$dlname~
9407 chmod a+x \$dldir/$dlname~
9408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9412 dlpath=$dir/\$dldll~
9414 shlibpath_overrides_runpath
=yes
9418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9419 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9420 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9423 # MinGW DLLs use traditional 'lib' prefix
9424 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9425 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9426 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9427 # It is most probably a Windows format PATH printed by
9428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9429 # path with ; separators, and with drive letters. We can handle the
9430 # drive letters (cygwin fileutils understands them), so leave them,
9431 # especially as we might pass files found there to a mingw objdump,
9432 # which wouldn't understand a cygwinified path. Ahh.
9433 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9435 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9439 # pw32 DLLs use 'pw' prefix rather than 'lib'
9440 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9446 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9449 dynamic_linker
='Win32 ld.exe'
9450 # FIXME: first we should search . and the directory the executable is in
9454 darwin
* | rhapsody
*)
9455 dynamic_linker
="$host_os dyld"
9459 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9460 soname_spec
='${libname}${release}${major}$shared_ext'
9461 shlibpath_overrides_runpath
=yes
9462 shlibpath_var
=DYLD_LIBRARY_PATH
9463 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9465 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9466 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9474 soname_spec
='${libname}${release}${shared_ext}$major'
9475 shlibpath_var
=LD_LIBRARY_PATH
9482 freebsd
* | dragonfly
*)
9483 # DragonFly does not have aout. When/if they implement a new
9484 # versioning mechanism, adjust this.
9485 if test -x /usr
/bin
/objformat
; then
9486 objformat
=`/usr/bin/objformat`
9489 freebsd
[123]*) objformat
=aout
;;
9493 version_type
=freebsd-
$objformat
9494 case $version_type in
9496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9501 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9505 shlibpath_var
=LD_LIBRARY_PATH
9508 shlibpath_overrides_runpath
=yes
9510 freebsd3.
[01]* | freebsdelf3.
[01]*)
9511 shlibpath_overrides_runpath
=yes
9512 hardcode_into_libs
=yes
9514 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9515 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9516 shlibpath_overrides_runpath
=no
9517 hardcode_into_libs
=yes
9519 *) # from 4.6 on, and DragonFly
9520 shlibpath_overrides_runpath
=yes
9521 hardcode_into_libs
=yes
9530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9531 soname_spec
='${libname}${release}${shared_ext}$major'
9532 shlibpath_var
=LD_LIBRARY_PATH
9533 hardcode_into_libs
=yes
9536 hpux9
* | hpux10
* | hpux11
*)
9537 # Give a soname corresponding to the major version so that dld.sl refuses to
9538 # link against other versions.
9545 hardcode_into_libs
=yes
9546 dynamic_linker
="$host_os dld.so"
9547 shlibpath_var
=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec
='${libname}${release}${shared_ext}$major'
9551 if test "X$HPUX_IA64_MODE" = X32
; then
9552 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9554 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9556 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9560 hardcode_into_libs
=yes
9561 dynamic_linker
="$host_os dld.sl"
9562 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9563 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9565 soname_spec
='${libname}${release}${shared_ext}$major'
9566 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9567 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9571 dynamic_linker
="$host_os dld.sl"
9572 shlibpath_var
=SHLIB_PATH
9573 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9575 soname_spec
='${libname}${release}${shared_ext}$major'
9578 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9579 postinstall_cmds
='chmod 555 $lib'
9586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9587 soname_spec
='${libname}${release}${shared_ext}$major'
9588 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9589 shlibpath_var
=LD_LIBRARY_PATH
9590 shlibpath_overrides_runpath
=no
9591 hardcode_into_libs
=yes
9594 irix5
* | irix6
* | nonstopux
*)
9596 nonstopux
*) version_type
=nonstopux
;;
9598 if test "$lt_cv_prog_gnu_ld" = yes; then
9606 soname_spec
='${libname}${release}${shared_ext}$major'
9607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9609 irix5
* | nonstopux
*)
9613 case $LD in # libtool.m4 will add one of these switches to LD
9614 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9615 libsuff
= shlibsuff
= libmagic
=32-bit;;
9616 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9617 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9618 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9619 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9620 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9624 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9625 shlibpath_overrides_runpath
=no
9626 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9627 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9628 hardcode_into_libs
=yes
9631 # No shared lib support for Linux oldld, aout, or coff.
9632 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9636 # This must be Linux ELF.
9637 linux
* | k
*bsd
*-gnu)
9641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9644 shlibpath_var
=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath
=no
9646 # Some binutils ld are patched to set DT_RUNPATH
9647 save_LDFLAGS
=$LDFLAGS
9649 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9650 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9651 if test x
$gcc_no_link = xyes
; then
9652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9654 { (exit 1); exit 1; }; }
9656 cat >conftest.
$ac_ext <<_ACEOF
9659 cat confdefs.h
>>conftest.
$ac_ext
9660 cat >>conftest.
$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9671 rm -f conftest.
$ac_objext conftest
$ac_exeext
9672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9673 (eval $ac_link) 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } &&
9680 { ac_try
='test -z "$ac_c_werror_flag"
9681 || test ! -s conftest.err'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; } &&
9687 { ac_try
='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9694 shlibpath_overrides_runpath
=yes
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.
$ac_ext >&5
9702 rm -f conftest.err conftest.
$ac_objext \
9703 conftest
$ac_exeext conftest.
$ac_ext
9704 LDFLAGS
=$save_LDFLAGS
9707 # This implies no fast_install, which is unacceptable.
9708 # Some rework will be needed to allow for fast_install
9709 # before this can be enabled.
9710 hardcode_into_libs
=yes
9712 # Append ld.so.conf contents to the search path
9713 if test -f /etc
/ld.so.conf
; then
9714 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' ' '`
9715 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9718 # We used to test for /lib/ld.so.1 and disable shared libraries on
9719 # powerpc, because MkLinux only supported shared libraries with the
9720 # GNU dynamic linker. Since this was broken with cross compilers,
9721 # most powerpc-linux boxes support dynamic linking these days and
9722 # people can always --disable-shared, the test was removed, and we
9723 # assume the GNU/Linux dynamic linker is in use.
9724 dynamic_linker
='GNU/Linux ld.so'
9731 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9734 dynamic_linker
='NetBSD (a.out) ld.so'
9736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9737 soname_spec
='${libname}${release}${shared_ext}$major'
9738 dynamic_linker
='NetBSD ld.elf_so'
9740 shlibpath_var
=LD_LIBRARY_PATH
9741 shlibpath_overrides_runpath
=yes
9742 hardcode_into_libs
=yes
9747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9748 shlibpath_var
=LD_LIBRARY_PATH
9749 shlibpath_overrides_runpath
=yes
9756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9757 soname_spec
='${libname}${release}${shared_ext}$major'
9758 shlibpath_var
=LD_LIBRARY_PATH
9759 shlibpath_overrides_runpath
=no
9760 hardcode_into_libs
=yes
9761 dynamic_linker
='ldqnx.so'
9766 sys_lib_dlsearch_path_spec
="/usr/lib"
9768 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9770 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9771 *) need_version
=no
;;
9773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9775 shlibpath_var
=LD_LIBRARY_PATH
9776 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9778 openbsd2.
[89] | openbsd2.
[89].
*)
9779 shlibpath_overrides_runpath
=no
9782 shlibpath_overrides_runpath
=yes
9786 shlibpath_overrides_runpath
=yes
9791 libname_spec
='$name'
9794 library_names_spec
='$libname${shared_ext} $libname.a'
9795 dynamic_linker
='OS/2 ld.exe'
9796 shlibpath_var
=LIBPATH
9799 osf3
* | osf4
* | osf5
*)
9803 soname_spec
='${libname}${release}${shared_ext}$major'
9804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9805 shlibpath_var
=LD_LIBRARY_PATH
9806 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9807 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9819 soname_spec
='${libname}${release}${shared_ext}$major'
9820 shlibpath_var
=LD_LIBRARY_PATH
9821 shlibpath_overrides_runpath
=yes
9822 hardcode_into_libs
=yes
9823 # ldd complains unless libraries are executable
9824 postinstall_cmds
='chmod +x $lib'
9829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9830 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9831 shlibpath_var
=LD_LIBRARY_PATH
9832 shlibpath_overrides_runpath
=yes
9833 if test "$with_gnu_ld" = yes; then
9841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 soname_spec
='${libname}${release}${shared_ext}$major'
9843 shlibpath_var
=LD_LIBRARY_PATH
9844 case $host_vendor in
9846 shlibpath_overrides_runpath
=no
9848 runpath_var
=LD_RUN_PATH
9856 shlibpath_overrides_runpath
=no
9857 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9863 if test -d /usr
/nec
;then
9865 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9866 soname_spec
='$libname${shared_ext}.$major'
9867 shlibpath_var
=LD_LIBRARY_PATH
9871 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9872 version_type
=freebsd-elf
9875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9876 soname_spec
='${libname}${release}${shared_ext}$major'
9877 shlibpath_var
=LD_LIBRARY_PATH
9878 shlibpath_overrides_runpath
=yes
9879 hardcode_into_libs
=yes
9880 if test "$with_gnu_ld" = yes; then
9881 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9883 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9886 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9890 sys_lib_dlsearch_path_spec
='/usr/lib'
9894 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9898 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899 shlibpath_var
=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath
=no
9901 hardcode_into_libs
=yes
9906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907 soname_spec
='${libname}${release}${shared_ext}$major'
9908 shlibpath_var
=LD_LIBRARY_PATH
9915 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9916 echo "${ECHO_T}$dynamic_linker" >&6
9917 test "$dynamic_linker" = no
&& can_build_shared
=no
9919 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9920 if test "$GCC" = yes; then
9921 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10010 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10011 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10013 if test -n "$hardcode_libdir_flag_spec" ||
10014 test -n "$runpath_var" ||
10015 test "X$hardcode_automatic" = "Xyes" ; then
10017 # We can hardcode non-existent directories.
10018 if test "$hardcode_direct" != no
&&
10019 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10020 # have to relink, otherwise we might link with an installed library
10021 # when we should be linking with a yet-to-be-installed one
10022 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10023 test "$hardcode_minus_L" != no
; then
10024 # Linking always hardcodes the temporary library directory.
10025 hardcode_action
=relink
10027 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10028 hardcode_action
=immediate
10031 # We cannot hardcode anything, or else we can only hardcode existing
10033 hardcode_action
=unsupported
10035 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10036 echo "${ECHO_T}$hardcode_action" >&6
10038 if test "$hardcode_action" = relink ||
10039 test "$inherit_rpath" = yes; then
10040 # Fast installation is not supported
10041 enable_fast_install
=no
10042 elif test "$shlibpath_overrides_runpath" = yes ||
10043 test "$enable_shared" = no
; then
10044 # Fast installation is not necessary
10045 enable_fast_install
=needless
10053 if test "x$enable_dlopen" != xyes
; then
10054 enable_dlopen
=unknown
10055 enable_dlopen_self
=unknown
10056 enable_dlopen_self_static
=unknown
10063 lt_cv_dlopen
="load_add_on"
10065 lt_cv_dlopen_self
=yes
10069 lt_cv_dlopen
="LoadLibrary"
10074 lt_cv_dlopen
="dlopen"
10079 # if libdl is installed we need to link against it
10080 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10081 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10082 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 ac_check_lib_save_LIBS
=$LIBS
10087 if test x
$gcc_no_link = xyes
; then
10088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10090 { (exit 1); exit 1; }; }
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10099 /* Override any gcc2 internal prototype to avoid an error. */
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10114 rm -f conftest.
$ac_objext conftest
$ac_exeext
10115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10116 (eval $ac_link) 2>conftest.er1
10118 grep -v '^ *+' conftest.er1
>conftest.err
10120 cat conftest.err
>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } &&
10123 { ac_try
='test -z "$ac_c_werror_flag"
10124 || test ! -s conftest.err'
10125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126 (eval $ac_try) 2>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); }; } &&
10130 { ac_try
='test -s conftest$ac_exeext'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; }; then
10136 ac_cv_lib_dl_dlopen
=yes
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.
$ac_ext >&5
10141 ac_cv_lib_dl_dlopen
=no
10143 rm -f conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_lib_save_LIBS
10147 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10148 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10149 if test $ac_cv_lib_dl_dlopen = yes; then
10150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10153 lt_cv_dlopen
="dyld"
10155 lt_cv_dlopen_self
=yes
10162 echo "$as_me:$LINENO: checking for shl_load" >&5
10163 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10164 if test "${ac_cv_func_shl_load+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 if test x
$gcc_no_link = xyes
; then
10168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10170 { (exit 1); exit 1; }; }
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10180 #define shl_load innocuous_shl_load
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char shl_load (); below.
10184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10185 <limits.h> exists even on freestanding compilers. */
10188 # include <limits.h>
10190 # include <assert.h>
10195 /* Override any gcc2 internal prototype to avoid an error. */
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10203 /* The GNU C library defines this for functions which it implements
10204 to always fail with ENOSYS. Some functions are actually named
10205 something starting with __ and the normal name is an alias. */
10206 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10209 char (*f) () = shl_load;
10218 return f != shl_load;
10223 rm -f conftest.
$ac_objext conftest
$ac_exeext
10224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10225 (eval $ac_link) 2>conftest.er1
10227 grep -v '^ *+' conftest.er1
>conftest.err
10229 cat conftest.err
>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); } &&
10232 { ac_try
='test -z "$ac_c_werror_flag"
10233 || test ! -s conftest.err'
10234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235 (eval $ac_try) 2>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; } &&
10239 { ac_try
='test -s conftest$ac_exeext'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; }; then
10245 ac_cv_func_shl_load
=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.
$ac_ext >&5
10250 ac_cv_func_shl_load
=no
10252 rm -f conftest.err conftest.
$ac_objext \
10253 conftest
$ac_exeext conftest.
$ac_ext
10255 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10256 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10257 if test $ac_cv_func_shl_load = yes; then
10258 lt_cv_dlopen
="shl_load"
10260 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10261 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10262 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 ac_check_lib_save_LIBS
=$LIBS
10267 if test x
$gcc_no_link = xyes
; then
10268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10270 { (exit 1); exit 1; }; }
10272 cat >conftest.
$ac_ext <<_ACEOF
10275 cat confdefs.h
>>conftest.
$ac_ext
10276 cat >>conftest.
$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10279 /* Override any gcc2 internal prototype to avoid an error. */
10283 /* We use char because int might match the return type of a gcc2
10284 builtin and then its argument prototype would still apply. */
10294 rm -f conftest.
$ac_objext conftest
$ac_exeext
10295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10296 (eval $ac_link) 2>conftest.er1
10298 grep -v '^ *+' conftest.er1
>conftest.err
10300 cat conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } &&
10303 { ac_try
='test -z "$ac_c_werror_flag"
10304 || test ! -s conftest.err'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; } &&
10310 { ac_try
='test -s conftest$ac_exeext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_lib_dld_shl_load
=yes
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10321 ac_cv_lib_dld_shl_load
=no
10323 rm -f conftest.err conftest.
$ac_objext \
10324 conftest
$ac_exeext conftest.
$ac_ext
10325 LIBS
=$ac_check_lib_save_LIBS
10327 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10328 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10329 if test $ac_cv_lib_dld_shl_load = yes; then
10330 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10332 echo "$as_me:$LINENO: checking for dlopen" >&5
10333 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10334 if test "${ac_cv_func_dlopen+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 if test x
$gcc_no_link = xyes
; then
10338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10340 { (exit 1); exit 1; }; }
10342 cat >conftest.
$ac_ext <<_ACEOF
10345 cat confdefs.h
>>conftest.
$ac_ext
10346 cat >>conftest.
$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10348 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10350 #define dlopen innocuous_dlopen
10352 /* System header to define __stub macros and hopefully few prototypes,
10353 which can conflict with char dlopen (); below.
10354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10355 <limits.h> exists even on freestanding compilers. */
10358 # include <limits.h>
10360 # include <assert.h>
10365 /* Override any gcc2 internal prototype to avoid an error. */
10370 /* We use char because int might match the return type of a gcc2
10371 builtin and then its argument prototype would still apply. */
10373 /* The GNU C library defines this for functions which it implements
10374 to always fail with ENOSYS. Some functions are actually named
10375 something starting with __ and the normal name is an alias. */
10376 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10379 char (*f) () = dlopen;
10388 return f != dlopen;
10393 rm -f conftest.
$ac_objext conftest
$ac_exeext
10394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10395 (eval $ac_link) 2>conftest.er1
10397 grep -v '^ *+' conftest.er1
>conftest.err
10399 cat conftest.err
>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } &&
10402 { ac_try
='test -z "$ac_c_werror_flag"
10403 || test ! -s conftest.err'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; } &&
10409 { ac_try
='test -s conftest$ac_exeext'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; }; then
10415 ac_cv_func_dlopen
=yes
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.
$ac_ext >&5
10420 ac_cv_func_dlopen
=no
10422 rm -f conftest.err conftest.
$ac_objext \
10423 conftest
$ac_exeext conftest.
$ac_ext
10425 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10426 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10427 if test $ac_cv_func_dlopen = yes; then
10428 lt_cv_dlopen
="dlopen"
10430 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10431 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10432 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 ac_check_lib_save_LIBS
=$LIBS
10437 if test x
$gcc_no_link = xyes
; then
10438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10440 { (exit 1); exit 1; }; }
10442 cat >conftest.
$ac_ext <<_ACEOF
10445 cat confdefs.h
>>conftest.
$ac_ext
10446 cat >>conftest.
$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10449 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10464 rm -f conftest.
$ac_objext conftest
$ac_exeext
10465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10466 (eval $ac_link) 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } &&
10473 { ac_try
='test -z "$ac_c_werror_flag"
10474 || test ! -s conftest.err'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; } &&
10480 { ac_try
='test -s conftest$ac_exeext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_lib_dl_dlopen
=yes
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.
$ac_ext >&5
10491 ac_cv_lib_dl_dlopen
=no
10493 rm -f conftest.err conftest.
$ac_objext \
10494 conftest
$ac_exeext conftest.
$ac_ext
10495 LIBS
=$ac_check_lib_save_LIBS
10497 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10498 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10499 if test $ac_cv_lib_dl_dlopen = yes; then
10500 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10502 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10503 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10504 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 ac_check_lib_save_LIBS
=$LIBS
10508 LIBS
="-lsvld $LIBS"
10509 if test x
$gcc_no_link = xyes
; then
10510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10512 { (exit 1); exit 1; }; }
10514 cat >conftest.
$ac_ext <<_ACEOF
10517 cat confdefs.h
>>conftest.
$ac_ext
10518 cat >>conftest.
$ac_ext <<_ACEOF
10519 /* end confdefs.h. */
10521 /* Override any gcc2 internal prototype to avoid an error. */
10525 /* We use char because int might match the return type of a gcc2
10526 builtin and then its argument prototype would still apply. */
10536 rm -f conftest.
$ac_objext conftest
$ac_exeext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10538 (eval $ac_link) 2>conftest.er1
10540 grep -v '^ *+' conftest.er1
>conftest.err
10542 cat conftest.err
>&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } &&
10545 { ac_try
='test -z "$ac_c_werror_flag"
10546 || test ! -s conftest.err'
10547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); }; } &&
10552 { ac_try
='test -s conftest$ac_exeext'
10553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554 (eval $ac_try) 2>&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }; }; then
10558 ac_cv_lib_svld_dlopen
=yes
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.
$ac_ext >&5
10563 ac_cv_lib_svld_dlopen
=no
10565 rm -f conftest.err conftest.
$ac_objext \
10566 conftest
$ac_exeext conftest.
$ac_ext
10567 LIBS
=$ac_check_lib_save_LIBS
10569 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10570 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10571 if test $ac_cv_lib_svld_dlopen = yes; then
10572 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10574 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10575 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10576 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 ac_check_lib_save_LIBS
=$LIBS
10581 if test x
$gcc_no_link = xyes
; then
10582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10584 { (exit 1); exit 1; }; }
10586 cat >conftest.
$ac_ext <<_ACEOF
10589 cat confdefs.h
>>conftest.
$ac_ext
10590 cat >>conftest.
$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10593 /* Override any gcc2 internal prototype to avoid an error. */
10597 /* We use char because int might match the return type of a gcc2
10598 builtin and then its argument prototype would still apply. */
10608 rm -f conftest.
$ac_objext conftest
$ac_exeext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610 (eval $ac_link) 2>conftest.er1
10612 grep -v '^ *+' conftest.er1
>conftest.err
10614 cat conftest.err
>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try
='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try
='test -s conftest$ac_exeext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 ac_cv_lib_dld_dld_link
=yes
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.
$ac_ext >&5
10635 ac_cv_lib_dld_dld_link
=no
10637 rm -f conftest.err conftest.
$ac_objext \
10638 conftest
$ac_exeext conftest.
$ac_ext
10639 LIBS
=$ac_check_lib_save_LIBS
10641 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10642 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10643 if test $ac_cv_lib_dld_dld_link = yes; then
10644 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10665 if test "x$lt_cv_dlopen" != xno
; then
10671 case $lt_cv_dlopen in
10673 save_CPPFLAGS
="$CPPFLAGS"
10674 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10676 save_LDFLAGS
="$LDFLAGS"
10677 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10680 LIBS
="$lt_cv_dlopen_libs $LIBS"
10682 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10683 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10684 if test "${lt_cv_dlopen_self+set}" = set; then
10685 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 if test "$cross_compiling" = yes; then :
10688 lt_cv_dlopen_self
=cross
10690 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10691 lt_status
=$lt_dlunknown
10692 cat > conftest.
$ac_ext <<_LT_EOF
10693 #line 10693 "configure"
10694 #include "confdefs.h"
10703 # define LT_DLGLOBAL RTLD_GLOBAL
10706 # define LT_DLGLOBAL DL_GLOBAL
10708 # define LT_DLGLOBAL 0
10712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10713 find out it does not work in some platform. */
10714 #ifndef LT_DLLAZY_OR_NOW
10716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10719 # define LT_DLLAZY_OR_NOW DL_LAZY
10722 # define LT_DLLAZY_OR_NOW RTLD_NOW
10725 # define LT_DLLAZY_OR_NOW DL_NOW
10727 # define LT_DLLAZY_OR_NOW 0
10735 extern "C" void exit (int);
10738 void fnord() { int i=42;}
10741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10742 int status = $lt_dlunknown;
10746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10748 /* dlclose (self); */
10756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10757 (eval $ac_link) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10761 (.
/conftest
; exit; ) >&5 2>/dev
/null
10763 case x
$lt_status in
10764 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10765 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10766 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10769 # compilation failed
10770 lt_cv_dlopen_self
=no
10777 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10778 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10780 if test "x$lt_cv_dlopen_self" = xyes
; then
10781 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10782 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10783 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10784 if test "${lt_cv_dlopen_self_static+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 if test "$cross_compiling" = yes; then :
10788 lt_cv_dlopen_self_static
=cross
10790 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10791 lt_status
=$lt_dlunknown
10792 cat > conftest.
$ac_ext <<_LT_EOF
10793 #line 10793 "configure"
10794 #include "confdefs.h"
10803 # define LT_DLGLOBAL RTLD_GLOBAL
10806 # define LT_DLGLOBAL DL_GLOBAL
10808 # define LT_DLGLOBAL 0
10812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10813 find out it does not work in some platform. */
10814 #ifndef LT_DLLAZY_OR_NOW
10816 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10819 # define LT_DLLAZY_OR_NOW DL_LAZY
10822 # define LT_DLLAZY_OR_NOW RTLD_NOW
10825 # define LT_DLLAZY_OR_NOW DL_NOW
10827 # define LT_DLLAZY_OR_NOW 0
10835 extern "C" void exit (int);
10838 void fnord() { int i=42;}
10841 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10842 int status = $lt_dlunknown;
10846 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10847 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10848 /* dlclose (self); */
10856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10857 (eval $ac_link) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10861 (.
/conftest
; exit; ) >&5 2>/dev
/null
10863 case x
$lt_status in
10864 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10865 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10866 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10869 # compilation failed
10870 lt_cv_dlopen_self_static
=no
10877 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10878 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10881 CPPFLAGS
="$save_CPPFLAGS"
10882 LDFLAGS
="$save_LDFLAGS"
10887 case $lt_cv_dlopen_self in
10888 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10889 *) enable_dlopen_self
=unknown
;;
10892 case $lt_cv_dlopen_self_static in
10893 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10894 *) enable_dlopen_self_static
=unknown
;;
10916 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10917 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10918 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10919 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10920 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 # FIXME - insert some real tests, host_os isn't really good enough
10927 if test -n "$STRIP" ; then
10928 striplib
="$STRIP -x"
10929 old_striplib
="$STRIP -S"
10930 echo "$as_me:$LINENO: result: yes" >&5
10931 echo "${ECHO_T}yes" >&6
10933 echo "$as_me:$LINENO: result: no" >&5
10934 echo "${ECHO_T}no" >&6
10938 echo "$as_me:$LINENO: result: no" >&5
10939 echo "${ECHO_T}no" >&6
10955 # Report which library types will actually be built
10956 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10957 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10958 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10959 echo "${ECHO_T}$can_build_shared" >&6
10961 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10962 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10963 test "$can_build_shared" = "no" && enable_shared
=no
10965 # On AIX, shared libraries and static libraries use the same namespace, and
10966 # are all built from PIC.
10969 test "$enable_shared" = yes && enable_static
=no
10970 if test -n "$RANLIB"; then
10971 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10972 postinstall_cmds
='$RANLIB $lib'
10977 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10978 test "$enable_shared" = yes && enable_static
=no
10982 echo "$as_me:$LINENO: result: $enable_shared" >&5
10983 echo "${ECHO_T}$enable_shared" >&6
10985 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10986 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10987 # Make sure either enable_shared or enable_static is yes.
10988 test "$enable_shared" = yes || enable_static
=yes
10989 echo "$as_me:$LINENO: result: $enable_static" >&5
10990 echo "${ECHO_T}$enable_static" >&6
10997 ac_cpp
='$CPP $CPPFLAGS'
10998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11016 ac_config_commands
="$ac_config_commands libtool"
11021 # Only expand once:
11025 ac_cpp
='$CPP $CPPFLAGS'
11026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11029 if test -n "$ac_tool_prefix"; then
11030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11032 echo "$as_me:$LINENO: checking for $ac_word" >&5
11033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11034 if test "${ac_cv_prog_CC+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 if test -n "$CC"; then
11038 ac_cv_prog_CC
="$CC" # Let the user override the test.
11040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11041 for as_dir
in $PATH
11044 test -z "$as_dir" && as_dir
=.
11045 for ac_exec_ext
in '' $ac_executable_extensions; do
11046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11057 if test -n "$CC"; then
11058 echo "$as_me:$LINENO: result: $CC" >&5
11059 echo "${ECHO_T}$CC" >&6
11061 echo "$as_me:$LINENO: result: no" >&5
11062 echo "${ECHO_T}no" >&6
11066 if test -z "$ac_cv_prog_CC"; then
11068 # Extract the first word of "gcc", so it can be a program name with args.
11069 set dummy gcc
; ac_word
=$2
11070 echo "$as_me:$LINENO: checking for $ac_word" >&5
11071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 if test -n "$ac_ct_CC"; then
11076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11079 for as_dir
in $PATH
11082 test -z "$as_dir" && as_dir
=.
11083 for ac_exec_ext
in '' $ac_executable_extensions; do
11084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_prog_ac_ct_CC
="gcc"
11086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11095 if test -n "$ac_ct_CC"; then
11096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11097 echo "${ECHO_T}$ac_ct_CC" >&6
11099 echo "$as_me:$LINENO: result: no" >&5
11100 echo "${ECHO_T}no" >&6
11105 CC
="$ac_cv_prog_CC"
11108 if test -z "$CC"; then
11109 if test -n "$ac_tool_prefix"; then
11110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11111 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11112 echo "$as_me:$LINENO: checking for $ac_word" >&5
11113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11114 if test "${ac_cv_prog_CC+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11117 if test -n "$CC"; then
11118 ac_cv_prog_CC
="$CC" # Let the user override the test.
11120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11121 for as_dir
in $PATH
11124 test -z "$as_dir" && as_dir
=.
11125 for ac_exec_ext
in '' $ac_executable_extensions; do
11126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11127 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11137 if test -n "$CC"; then
11138 echo "$as_me:$LINENO: result: $CC" >&5
11139 echo "${ECHO_T}$CC" >&6
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11146 if test -z "$ac_cv_prog_CC"; then
11148 # Extract the first word of "cc", so it can be a program name with args.
11149 set dummy cc
; ac_word
=$2
11150 echo "$as_me:$LINENO: checking for $ac_word" >&5
11151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 if test -n "$ac_ct_CC"; then
11156 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11159 for as_dir
in $PATH
11162 test -z "$as_dir" && as_dir
=.
11163 for ac_exec_ext
in '' $ac_executable_extensions; do
11164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_prog_ac_ct_CC
="cc"
11166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11175 if test -n "$ac_ct_CC"; then
11176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11177 echo "${ECHO_T}$ac_ct_CC" >&6
11179 echo "$as_me:$LINENO: result: no" >&5
11180 echo "${ECHO_T}no" >&6
11185 CC
="$ac_cv_prog_CC"
11189 if test -z "$CC"; then
11190 # Extract the first word of "cc", so it can be a program name with args.
11191 set dummy cc
; ac_word
=$2
11192 echo "$as_me:$LINENO: checking for $ac_word" >&5
11193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11194 if test "${ac_cv_prog_CC+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 if test -n "$CC"; then
11198 ac_cv_prog_CC
="$CC" # Let the user override the test.
11200 ac_prog_rejected
=no
11201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11202 for as_dir
in $PATH
11205 test -z "$as_dir" && as_dir
=.
11206 for ac_exec_ext
in '' $ac_executable_extensions; do
11207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11209 ac_prog_rejected
=yes
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11219 if test $ac_prog_rejected = yes; then
11220 # We found a bogon in the path, so make sure we never use it.
11221 set dummy
$ac_cv_prog_CC
11223 if test $# != 0; then
11224 # We chose a different compiler from the bogus one.
11225 # However, it has the same basename, so the bogon will be chosen
11226 # first if we set CC to just the basename; use the full file name.
11228 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11234 if test -n "$CC"; then
11235 echo "$as_me:$LINENO: result: $CC" >&5
11236 echo "${ECHO_T}$CC" >&6
11238 echo "$as_me:$LINENO: result: no" >&5
11239 echo "${ECHO_T}no" >&6
11243 if test -z "$CC"; then
11244 if test -n "$ac_tool_prefix"; then
11247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11248 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11249 echo "$as_me:$LINENO: checking for $ac_word" >&5
11250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11251 if test "${ac_cv_prog_CC+set}" = set; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 if test -n "$CC"; then
11255 ac_cv_prog_CC
="$CC" # Let the user override the test.
11257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11258 for as_dir
in $PATH
11261 test -z "$as_dir" && as_dir
=.
11262 for ac_exec_ext
in '' $ac_executable_extensions; do
11263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11274 if test -n "$CC"; then
11275 echo "$as_me:$LINENO: result: $CC" >&5
11276 echo "${ECHO_T}$CC" >&6
11278 echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6
11282 test -n "$CC" && break
11285 if test -z "$CC"; then
11289 # Extract the first word of "$ac_prog", so it can be a program name with args.
11290 set dummy
$ac_prog; ac_word
=$2
11291 echo "$as_me:$LINENO: checking for $ac_word" >&5
11292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 if test -n "$ac_ct_CC"; then
11297 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11300 for as_dir
in $PATH
11303 test -z "$as_dir" && as_dir
=.
11304 for ac_exec_ext
in '' $ac_executable_extensions; do
11305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306 ac_cv_prog_ac_ct_CC
="$ac_prog"
11307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11316 if test -n "$ac_ct_CC"; then
11317 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11318 echo "${ECHO_T}$ac_ct_CC" >&6
11320 echo "$as_me:$LINENO: result: no" >&5
11321 echo "${ECHO_T}no" >&6
11324 test -n "$ac_ct_CC" && break
11333 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11334 See \`config.log' for more details." >&5
11335 echo "$as_me: error: no acceptable C compiler found in \$PATH
11336 See \`config.log' for more details." >&2;}
11337 { (exit 1); exit 1; }; }
11339 # Provide some information about the compiler.
11340 echo "$as_me:$LINENO:" \
11341 "checking for C compiler version" >&5
11342 ac_compiler
=`set X $ac_compile; echo $2`
11343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11344 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }
11348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11349 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }
11353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11354 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }
11359 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11360 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11361 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11382 rm -f conftest.
$ac_objext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11384 (eval $ac_compile) 2>conftest.er1
11386 grep -v '^ *+' conftest.er1
>conftest.err
11388 cat conftest.err
>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try
='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try
='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 ac_compiler_gnu
=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.
$ac_ext >&5
11411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11412 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11415 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11416 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11417 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11418 ac_test_CFLAGS
=${CFLAGS+set}
11419 ac_save_CFLAGS
=$CFLAGS
11421 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11422 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11423 if test "${ac_cv_prog_cc_g+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 cat >conftest.
$ac_ext <<_ACEOF
11429 cat confdefs.h
>>conftest.
$ac_ext
11430 cat >>conftest.
$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11441 rm -f conftest.
$ac_objext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try
='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try
='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_prog_cc_g
=yes
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.
$ac_ext >&5
11470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11472 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11473 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11474 if test "$ac_test_CFLAGS" = set; then
11475 CFLAGS
=$ac_save_CFLAGS
11476 elif test $ac_cv_prog_cc_g = yes; then
11477 if test "$GCC" = yes; then
11483 if test "$GCC" = yes; then
11489 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11490 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11491 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 ac_cv_prog_cc_stdc
=no
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 #include <stdarg.h>
11504 #include <sys/types.h>
11505 #include <sys/stat.h>
11506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11507 struct buf { int x; };
11508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11509 static char *e (p, i)
11515 static char *f (char * (*g) (char **, int), char **p, ...)
11520 s = g (p, va_arg (v,int));
11525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11526 function prototypes and stuff, but not '\xHH' hex character constants.
11527 These don't provoke an error unfortunately, instead are silently treated
11528 as 'x'. The following induces an error, until -std1 is added to get
11529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11530 array size at least. It's necessary to write '\x00'==0 to get something
11531 that's true only with -std1. */
11532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11534 int test (int i, double x);
11535 struct s1 {int (*f) (int a);};
11536 struct s2 {int (*f) (double a);};
11537 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11543 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11548 # Don't try gcc -ansi; that turns off useful extensions and
11549 # breaks some systems' header files.
11550 # AIX -qlanglvl=ansi
11551 # Ultrix and OSF/1 -std1
11552 # HP-UX 10.20 and later -Ae
11553 # HP-UX older versions -Aa -D_HPUX_SOURCE
11554 # SVR4 -Xc -D__EXTENSIONS__
11555 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11557 CC
="$ac_save_CC $ac_arg"
11558 rm -f conftest.
$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try
='test -z "$ac_c_werror_flag"
11568 || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try
='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 ac_cv_prog_cc_stdc
=$ac_arg
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11587 rm -f conftest.err conftest.
$ac_objext
11589 rm -f conftest.
$ac_ext conftest.
$ac_objext
11594 case "x$ac_cv_prog_cc_stdc" in
11596 echo "$as_me:$LINENO: result: none needed" >&5
11597 echo "${ECHO_T}none needed" >&6 ;;
11599 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11600 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11601 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11604 # Some people use a C++ compiler to compile C. Since we use `exit',
11605 # in C++ we need to declare it. In case someone uses the same compiler
11606 # for both compiling C and C++ we need to have the C++ compiler decide
11607 # the declaration of exit, since it's the most demanding environment.
11608 cat >conftest.
$ac_ext <<_ACEOF
11609 #ifndef __cplusplus
11613 rm -f conftest.
$ac_objext
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11615 (eval $ac_compile) 2>conftest.er1
11617 grep -v '^ *+' conftest.er1
>conftest.err
11619 cat conftest.err
>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } &&
11622 { ac_try
='test -z "$ac_c_werror_flag"
11623 || test ! -s conftest.err'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; } &&
11629 { ac_try
='test -s conftest.$ac_objext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 for ac_declaration
in \
11637 'extern "C" void std::exit (int) throw (); using std::exit;' \
11638 'extern "C" void std::exit (int); using std::exit;' \
11639 'extern "C" void exit (int) throw ();' \
11640 'extern "C" void exit (int);' \
11643 cat >conftest.
$ac_ext <<_ACEOF
11646 cat confdefs.h
>>conftest.
$ac_ext
11647 cat >>conftest.
$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 #include <stdlib.h>
11659 rm -f conftest.
$ac_objext
11660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11661 (eval $ac_compile) 2>conftest.er1
11663 grep -v '^ *+' conftest.er1
>conftest.err
11665 cat conftest.err
>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } &&
11668 { ac_try
='test -z "$ac_c_werror_flag"
11669 || test ! -s conftest.err'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; } &&
11675 { ac_try
='test -s conftest.$ac_objext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.
$ac_ext >&5
11688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11689 cat >conftest.
$ac_ext <<_ACEOF
11692 cat confdefs.h
>>conftest.
$ac_ext
11693 cat >>conftest.
$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11704 rm -f conftest.
$ac_objext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706 (eval $ac_compile) 2>conftest.er1
11708 grep -v '^ *+' conftest.er1
>conftest.err
11710 cat conftest.err
>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try
='test -z "$ac_c_werror_flag"
11714 || test ! -s conftest.err'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; } &&
11720 { ac_try
='test -s conftest.$ac_objext'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; }; then
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.
$ac_ext >&5
11732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11735 if test -n "$ac_declaration"; then
11736 echo '#ifdef __cplusplus' >>confdefs.h
11737 echo $ac_declaration >>confdefs.h
11738 echo '#endif' >>confdefs.h
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11748 ac_cpp
='$CPP $CPPFLAGS'
11749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11753 depcc
="$CC" am_compiler_list
=
11755 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11756 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11757 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11761 # We make a subdir and do the tests there. Otherwise we can end up
11762 # making bogus files that we don't know about and never remove. For
11763 # instance it was reported that on HP-UX the gcc test will end up
11764 # making a dummy file named `D' -- because `-MD' means `put the output
11767 # Copy depcomp to subdir because otherwise we won't find it if we're
11768 # using a relative directory.
11769 cp "$am_depcomp" conftest.dir
11771 # We will build objects and dependencies in a subdirectory because
11772 # it helps to detect inapplicable dependency modes. For instance
11773 # both Tru64's cc and ICC support -MD to output dependencies as a
11774 # side effect of compilation, but ICC will put the dependencies in
11775 # the current directory while Tru64 will put them in the object
11779 am_cv_CC_dependencies_compiler_type
=none
11780 if test "$am_compiler_list" = ""; then
11781 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11783 for depmode
in $am_compiler_list; do
11784 # Setup a source with many dependencies, because some compilers
11785 # like to wrap large dependency lists on column 80 (with \), and
11786 # we should not choose a depcomp mode which is confused by this.
11788 # We need to recreate these files for each test, as the compiler may
11789 # overwrite some of them when testing with obscure command lines.
11790 # This happens at least with the AIX C compiler.
11792 for i
in 1 2 3 4 5 6; do
11793 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11794 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11795 # Solaris 8's {/usr,}/bin/sh.
11796 touch sub
/conftst
$i.h
11798 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11802 # after this tag, mechanisms are not by side-effect, so they'll
11803 # only be used when explicitly requested
11804 if test "x$enable_dependency_tracking" = xyes
; then
11812 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11813 # mode. It turns out that the SunPro C++ compiler does not properly
11814 # handle `-M -o', and we need to detect this.
11815 if depmode
=$depmode \
11816 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
11817 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11818 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
11819 >/dev
/null
2>conftest.err
&&
11820 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11821 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
11822 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11823 # icc doesn't choke on unknown options, it will just issue warnings
11824 # or remarks (even with -Werror). So we grep stderr for any message
11825 # that says an option was ignored or not supported.
11826 # When given -MP, icc 7.0 and 7.1 complain thusly:
11827 # icc: Command line warning: ignoring option '-M'; no argument required
11828 # The diagnosis changed in icc 8.0:
11829 # icc: Command line remark: option '-MP' not supported
11830 if (grep 'ignoring option' conftest.err ||
11831 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11832 am_cv_CC_dependencies_compiler_type
=$depmode
11839 rm -rf conftest.dir
11841 am_cv_CC_dependencies_compiler_type
=none
11845 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11846 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
11847 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11852 test "x$enable_dependency_tracking" != xno \
11853 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11854 am__fastdepCC_TRUE
=
11855 am__fastdepCC_FALSE
='#'
11857 am__fastdepCC_TRUE
='#'
11858 am__fastdepCC_FALSE
=
11863 ac_cpp
='$CPP $CPPFLAGS'
11864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11867 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11868 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11869 # On Suns, sometimes $CPP names a directory.
11870 if test -n "$CPP" && test -d "$CPP"; then
11873 if test -z "$CPP"; then
11874 if test "${ac_cv_prog_CPP+set}" = set; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 # Double quotes because CPP needs to be expanded
11878 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11880 ac_preproc_ok
=false
11881 for ac_c_preproc_warn_flag
in '' yes
11883 # Use a header file that comes with gcc, so configuring glibc
11884 # with a fresh cross-compiler works.
11885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11886 # <limits.h> exists even on freestanding compilers.
11887 # On the NeXT, cc -E runs the code through the compiler's parser,
11888 # not just through cpp. "Syntax error" is here to catch this case.
11889 cat >conftest.
$ac_ext <<_ACEOF
11892 cat confdefs.h
>>conftest.
$ac_ext
11893 cat >>conftest.
$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11896 # include <limits.h>
11898 # include <assert.h>
11902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } >/dev
/null
; then
11910 if test -s conftest.err
; then
11911 ac_cpp_err
=$ac_c_preproc_warn_flag
11912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11919 if test -z "$ac_cpp_err"; then
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.
$ac_ext >&5
11925 # Broken: fails on valid input.
11928 rm -f conftest.err conftest.
$ac_ext
11930 # OK, works on sane cases. Now check whether non-existent headers
11931 # can be detected and how.
11932 cat >conftest.
$ac_ext <<_ACEOF
11935 cat confdefs.h
>>conftest.
$ac_ext
11936 cat >>conftest.
$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 #include <ac_nonexistent.h>
11940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1
>conftest.err
11945 cat conftest.err
>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } >/dev
/null
; then
11948 if test -s conftest.err
; then
11949 ac_cpp_err
=$ac_c_preproc_warn_flag
11950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11957 if test -z "$ac_cpp_err"; then
11958 # Broken: success on invalid input.
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 # Passes both tests.
11968 rm -f conftest.err conftest.
$ac_ext
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.
$ac_ext
11973 if $ac_preproc_ok; then
11978 ac_cv_prog_CPP
=$CPP
11981 CPP
=$ac_cv_prog_CPP
11983 ac_cv_prog_CPP
=$CPP
11985 echo "$as_me:$LINENO: result: $CPP" >&5
11986 echo "${ECHO_T}$CPP" >&6
11987 ac_preproc_ok
=false
11988 for ac_c_preproc_warn_flag
in '' yes
11990 # Use a header file that comes with gcc, so configuring glibc
11991 # with a fresh cross-compiler works.
11992 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11993 # <limits.h> exists even on freestanding compilers.
11994 # On the NeXT, cc -E runs the code through the compiler's parser,
11995 # not just through cpp. "Syntax error" is here to catch this case.
11996 cat >conftest.
$ac_ext <<_ACEOF
11999 cat confdefs.h
>>conftest.
$ac_ext
12000 cat >>conftest.
$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12003 # include <limits.h>
12005 # include <assert.h>
12009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } >/dev
/null
; then
12017 if test -s conftest.err
; then
12018 ac_cpp_err
=$ac_c_preproc_warn_flag
12019 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12026 if test -z "$ac_cpp_err"; then
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12032 # Broken: fails on valid input.
12035 rm -f conftest.err conftest.
$ac_ext
12037 # OK, works on sane cases. Now check whether non-existent headers
12038 # can be detected and how.
12039 cat >conftest.
$ac_ext <<_ACEOF
12042 cat confdefs.h
>>conftest.
$ac_ext
12043 cat >>conftest.
$ac_ext <<_ACEOF
12044 /* end confdefs.h. */
12045 #include <ac_nonexistent.h>
12047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12050 grep -v '^ *+' conftest.er1
>conftest.err
12052 cat conftest.err
>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } >/dev
/null
; then
12055 if test -s conftest.err
; then
12056 ac_cpp_err
=$ac_c_preproc_warn_flag
12057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12064 if test -z "$ac_cpp_err"; then
12065 # Broken: success on invalid input.
12068 echo "$as_me: failed program was:" >&5
12069 sed 's/^/| /' conftest.
$ac_ext >&5
12071 # Passes both tests.
12075 rm -f conftest.err conftest.
$ac_ext
12078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12079 rm -f conftest.err conftest.
$ac_ext
12080 if $ac_preproc_ok; then
12083 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12084 See \`config.log' for more details." >&5
12085 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12086 See \`config.log' for more details." >&2;}
12087 { (exit 1); exit 1; }; }
12091 ac_cpp
='$CPP $CPPFLAGS'
12092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12097 ac_cpp
='$CXXCPP $CPPFLAGS'
12098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12101 if test -n "$ac_tool_prefix"; then
12102 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12106 echo "$as_me:$LINENO: checking for $ac_word" >&5
12107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12108 if test "${ac_cv_prog_CXX+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 if test -n "$CXX"; then
12112 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12115 for as_dir
in $PATH
12118 test -z "$as_dir" && as_dir
=.
12119 for ac_exec_ext
in '' $ac_executable_extensions; do
12120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12121 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12130 CXX
=$ac_cv_prog_CXX
12131 if test -n "$CXX"; then
12132 echo "$as_me:$LINENO: result: $CXX" >&5
12133 echo "${ECHO_T}$CXX" >&6
12135 echo "$as_me:$LINENO: result: no" >&5
12136 echo "${ECHO_T}no" >&6
12139 test -n "$CXX" && break
12142 if test -z "$CXX"; then
12144 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12146 # Extract the first word of "$ac_prog", so it can be a program name with args.
12147 set dummy
$ac_prog; ac_word
=$2
12148 echo "$as_me:$LINENO: checking for $ac_word" >&5
12149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12150 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 if test -n "$ac_ct_CXX"; then
12154 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12157 for as_dir
in $PATH
12160 test -z "$as_dir" && as_dir
=.
12161 for ac_exec_ext
in '' $ac_executable_extensions; do
12162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12163 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12172 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12173 if test -n "$ac_ct_CXX"; then
12174 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12175 echo "${ECHO_T}$ac_ct_CXX" >&6
12177 echo "$as_me:$LINENO: result: no" >&5
12178 echo "${ECHO_T}no" >&6
12181 test -n "$ac_ct_CXX" && break
12183 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12189 # Provide some information about the compiler.
12190 echo "$as_me:$LINENO:" \
12191 "checking for C++ compiler version" >&5
12192 ac_compiler
=`set X $ac_compile; echo $2`
12193 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12194 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }
12198 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12199 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }
12203 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12204 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }
12209 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12210 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12211 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 cat >conftest.
$ac_ext <<_ACEOF
12217 cat confdefs.h
>>conftest.
$ac_ext
12218 cat >>conftest.
$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12232 rm -f conftest.
$ac_objext
12233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12234 (eval $ac_compile) 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); } &&
12241 { ac_try
='test -z "$ac_cxx_werror_flag"
12242 || test ! -s conftest.err'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try
='test -s conftest.$ac_objext'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_compiler_gnu
=yes
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.
$ac_ext >&5
12261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12262 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12265 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12266 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12267 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12268 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12269 ac_save_CXXFLAGS
=$CXXFLAGS
12271 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12272 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12273 if test "${ac_cv_prog_cxx_g+set}" = set; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12276 cat >conftest.
$ac_ext <<_ACEOF
12279 cat confdefs.h
>>conftest.
$ac_ext
12280 cat >>conftest.
$ac_ext <<_ACEOF
12281 /* end confdefs.h. */
12291 rm -f conftest.
$ac_objext
12292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12293 (eval $ac_compile) 2>conftest.er1
12295 grep -v '^ *+' conftest.er1
>conftest.err
12297 cat conftest.err
>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } &&
12300 { ac_try
='test -z "$ac_cxx_werror_flag"
12301 || test ! -s conftest.err'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; } &&
12307 { ac_try
='test -s conftest.$ac_objext'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; }; then
12313 ac_cv_prog_cxx_g
=yes
12315 echo "$as_me: failed program was:" >&5
12316 sed 's/^/| /' conftest.
$ac_ext >&5
12318 ac_cv_prog_cxx_g
=no
12320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12322 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12323 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12324 if test "$ac_test_CXXFLAGS" = set; then
12325 CXXFLAGS
=$ac_save_CXXFLAGS
12326 elif test $ac_cv_prog_cxx_g = yes; then
12327 if test "$GXX" = yes; then
12333 if test "$GXX" = yes; then
12339 for ac_declaration
in \
12341 'extern "C" void std::exit (int) throw (); using std::exit;' \
12342 'extern "C" void std::exit (int); using std::exit;' \
12343 'extern "C" void exit (int) throw ();' \
12344 'extern "C" void exit (int);' \
12347 cat >conftest.
$ac_ext <<_ACEOF
12350 cat confdefs.h
>>conftest.
$ac_ext
12351 cat >>conftest.
$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12354 #include <stdlib.h>
12363 rm -f conftest.
$ac_objext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12365 (eval $ac_compile) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_cxx_werror_flag"
12373 || test ! -s conftest.err'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; } &&
12379 { ac_try
='test -s conftest.$ac_objext'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; }; then
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12408 rm -f conftest.
$ac_objext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12410 (eval $ac_compile) 2>conftest.er1
12412 grep -v '^ *+' conftest.er1
>conftest.err
12414 cat conftest.err
>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try
='test -z "$ac_cxx_werror_flag"
12418 || test ! -s conftest.err'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; } &&
12424 { ac_try
='test -s conftest.$ac_objext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12439 if test -n "$ac_declaration"; then
12440 echo '#ifdef __cplusplus' >>confdefs.h
12441 echo $ac_declaration >>confdefs.h
12442 echo '#endif' >>confdefs.h
12446 ac_cpp
='$CPP $CPPFLAGS'
12447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12451 depcc
="$CXX" am_compiler_list
=
12453 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12454 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12455 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12459 # We make a subdir and do the tests there. Otherwise we can end up
12460 # making bogus files that we don't know about and never remove. For
12461 # instance it was reported that on HP-UX the gcc test will end up
12462 # making a dummy file named `D' -- because `-MD' means `put the output
12465 # Copy depcomp to subdir because otherwise we won't find it if we're
12466 # using a relative directory.
12467 cp "$am_depcomp" conftest.dir
12469 # We will build objects and dependencies in a subdirectory because
12470 # it helps to detect inapplicable dependency modes. For instance
12471 # both Tru64's cc and ICC support -MD to output dependencies as a
12472 # side effect of compilation, but ICC will put the dependencies in
12473 # the current directory while Tru64 will put them in the object
12477 am_cv_CXX_dependencies_compiler_type
=none
12478 if test "$am_compiler_list" = ""; then
12479 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12481 for depmode
in $am_compiler_list; do
12482 # Setup a source with many dependencies, because some compilers
12483 # like to wrap large dependency lists on column 80 (with \), and
12484 # we should not choose a depcomp mode which is confused by this.
12486 # We need to recreate these files for each test, as the compiler may
12487 # overwrite some of them when testing with obscure command lines.
12488 # This happens at least with the AIX C compiler.
12490 for i
in 1 2 3 4 5 6; do
12491 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12492 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12493 # Solaris 8's {/usr,}/bin/sh.
12494 touch sub
/conftst
$i.h
12496 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12500 # after this tag, mechanisms are not by side-effect, so they'll
12501 # only be used when explicitly requested
12502 if test "x$enable_dependency_tracking" = xyes
; then
12510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12511 # mode. It turns out that the SunPro C++ compiler does not properly
12512 # handle `-M -o', and we need to detect this.
12513 if depmode
=$depmode \
12514 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12515 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12516 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12517 >/dev
/null
2>conftest.err
&&
12518 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12519 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12520 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12521 # icc doesn't choke on unknown options, it will just issue warnings
12522 # or remarks (even with -Werror). So we grep stderr for any message
12523 # that says an option was ignored or not supported.
12524 # When given -MP, icc 7.0 and 7.1 complain thusly:
12525 # icc: Command line warning: ignoring option '-M'; no argument required
12526 # The diagnosis changed in icc 8.0:
12527 # icc: Command line remark: option '-MP' not supported
12528 if (grep 'ignoring option' conftest.err ||
12529 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12530 am_cv_CXX_dependencies_compiler_type
=$depmode
12537 rm -rf conftest.dir
12539 am_cv_CXX_dependencies_compiler_type
=none
12543 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12544 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12545 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12550 test "x$enable_dependency_tracking" != xno \
12551 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12552 am__fastdepCXX_TRUE
=
12553 am__fastdepCXX_FALSE
='#'
12555 am__fastdepCXX_TRUE
='#'
12556 am__fastdepCXX_FALSE
=
12562 ac_cpp
='$CXXCPP $CPPFLAGS'
12563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12566 if test -n "$ac_tool_prefix"; then
12567 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12571 echo "$as_me:$LINENO: checking for $ac_word" >&5
12572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12573 if test "${ac_cv_prog_CXX+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 if test -n "$CXX"; then
12577 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12580 for as_dir
in $PATH
12583 test -z "$as_dir" && as_dir
=.
12584 for ac_exec_ext
in '' $ac_executable_extensions; do
12585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12586 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12595 CXX
=$ac_cv_prog_CXX
12596 if test -n "$CXX"; then
12597 echo "$as_me:$LINENO: result: $CXX" >&5
12598 echo "${ECHO_T}$CXX" >&6
12600 echo "$as_me:$LINENO: result: no" >&5
12601 echo "${ECHO_T}no" >&6
12604 test -n "$CXX" && break
12607 if test -z "$CXX"; then
12609 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12611 # Extract the first word of "$ac_prog", so it can be a program name with args.
12612 set dummy
$ac_prog; ac_word
=$2
12613 echo "$as_me:$LINENO: checking for $ac_word" >&5
12614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 if test -n "$ac_ct_CXX"; then
12619 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12622 for as_dir
in $PATH
12625 test -z "$as_dir" && as_dir
=.
12626 for ac_exec_ext
in '' $ac_executable_extensions; do
12627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12628 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12637 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12638 if test -n "$ac_ct_CXX"; then
12639 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12640 echo "${ECHO_T}$ac_ct_CXX" >&6
12642 echo "$as_me:$LINENO: result: no" >&5
12643 echo "${ECHO_T}no" >&6
12646 test -n "$ac_ct_CXX" && break
12648 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12654 # Provide some information about the compiler.
12655 echo "$as_me:$LINENO:" \
12656 "checking for C++ compiler version" >&5
12657 ac_compiler
=`set X $ac_compile; echo $2`
12658 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12659 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }
12663 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12664 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }
12668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12669 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }
12674 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12675 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12676 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 cat >conftest.
$ac_ext <<_ACEOF
12682 cat confdefs.h
>>conftest.
$ac_ext
12683 cat >>conftest.
$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12697 rm -f conftest.
$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1
>conftest.err
12703 cat conftest.err
>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try
='test -z "$ac_cxx_werror_flag"
12707 || test ! -s conftest.err'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 ac_compiler_gnu
=yes
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.
$ac_ext >&5
12726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12727 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12730 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12731 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12732 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12733 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12734 ac_save_CXXFLAGS
=$CXXFLAGS
12736 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12737 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12738 if test "${ac_cv_prog_cxx_g+set}" = set; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 cat >conftest.
$ac_ext <<_ACEOF
12744 cat confdefs.h
>>conftest.
$ac_ext
12745 cat >>conftest.
$ac_ext <<_ACEOF
12746 /* end confdefs.h. */
12756 rm -f conftest.
$ac_objext
12757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12758 (eval $ac_compile) 2>conftest.er1
12760 grep -v '^ *+' conftest.er1
>conftest.err
12762 cat conftest.err
>&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); } &&
12765 { ac_try
='test -z "$ac_cxx_werror_flag"
12766 || test ! -s conftest.err'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; } &&
12772 { ac_try
='test -s conftest.$ac_objext'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; }; then
12778 ac_cv_prog_cxx_g
=yes
12780 echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.
$ac_ext >&5
12783 ac_cv_prog_cxx_g
=no
12785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12787 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12788 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12789 if test "$ac_test_CXXFLAGS" = set; then
12790 CXXFLAGS
=$ac_save_CXXFLAGS
12791 elif test $ac_cv_prog_cxx_g = yes; then
12792 if test "$GXX" = yes; then
12798 if test "$GXX" = yes; then
12804 for ac_declaration
in \
12806 'extern "C" void std::exit (int) throw (); using std::exit;' \
12807 'extern "C" void std::exit (int); using std::exit;' \
12808 'extern "C" void exit (int) throw ();' \
12809 'extern "C" void exit (int);' \
12812 cat >conftest.
$ac_ext <<_ACEOF
12815 cat confdefs.h
>>conftest.
$ac_ext
12816 cat >>conftest.
$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12819 #include <stdlib.h>
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -z "$ac_cxx_werror_flag"
12838 || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 cat >conftest.
$ac_ext <<_ACEOF
12861 cat confdefs.h
>>conftest.
$ac_ext
12862 cat >>conftest.
$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12873 rm -f conftest.
$ac_objext
12874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12875 (eval $ac_compile) 2>conftest.er1
12877 grep -v '^ *+' conftest.er1
>conftest.err
12879 cat conftest.err
>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } &&
12882 { ac_try
='test -z "$ac_cxx_werror_flag"
12883 || test ! -s conftest.err'
12884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; } &&
12889 { ac_try
='test -s conftest.$ac_objext'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; }; then
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.
$ac_ext >&5
12901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12904 if test -n "$ac_declaration"; then
12905 echo '#ifdef __cplusplus' >>confdefs.h
12906 echo $ac_declaration >>confdefs.h
12907 echo '#endif' >>confdefs.h
12911 ac_cpp
='$CPP $CPPFLAGS'
12912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12916 depcc
="$CXX" am_compiler_list
=
12918 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12919 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12920 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12924 # We make a subdir and do the tests there. Otherwise we can end up
12925 # making bogus files that we don't know about and never remove. For
12926 # instance it was reported that on HP-UX the gcc test will end up
12927 # making a dummy file named `D' -- because `-MD' means `put the output
12930 # Copy depcomp to subdir because otherwise we won't find it if we're
12931 # using a relative directory.
12932 cp "$am_depcomp" conftest.dir
12934 # We will build objects and dependencies in a subdirectory because
12935 # it helps to detect inapplicable dependency modes. For instance
12936 # both Tru64's cc and ICC support -MD to output dependencies as a
12937 # side effect of compilation, but ICC will put the dependencies in
12938 # the current directory while Tru64 will put them in the object
12942 am_cv_CXX_dependencies_compiler_type
=none
12943 if test "$am_compiler_list" = ""; then
12944 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12946 for depmode
in $am_compiler_list; do
12947 # Setup a source with many dependencies, because some compilers
12948 # like to wrap large dependency lists on column 80 (with \), and
12949 # we should not choose a depcomp mode which is confused by this.
12951 # We need to recreate these files for each test, as the compiler may
12952 # overwrite some of them when testing with obscure command lines.
12953 # This happens at least with the AIX C compiler.
12955 for i
in 1 2 3 4 5 6; do
12956 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12957 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12958 # Solaris 8's {/usr,}/bin/sh.
12959 touch sub
/conftst
$i.h
12961 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12965 # after this tag, mechanisms are not by side-effect, so they'll
12966 # only be used when explicitly requested
12967 if test "x$enable_dependency_tracking" = xyes
; then
12975 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12976 # mode. It turns out that the SunPro C++ compiler does not properly
12977 # handle `-M -o', and we need to detect this.
12978 if depmode
=$depmode \
12979 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12980 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12981 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12982 >/dev
/null
2>conftest.err
&&
12983 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12984 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12985 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12986 # icc doesn't choke on unknown options, it will just issue warnings
12987 # or remarks (even with -Werror). So we grep stderr for any message
12988 # that says an option was ignored or not supported.
12989 # When given -MP, icc 7.0 and 7.1 complain thusly:
12990 # icc: Command line warning: ignoring option '-M'; no argument required
12991 # The diagnosis changed in icc 8.0:
12992 # icc: Command line remark: option '-MP' not supported
12993 if (grep 'ignoring option' conftest.err ||
12994 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12995 am_cv_CXX_dependencies_compiler_type
=$depmode
13002 rm -rf conftest.dir
13004 am_cv_CXX_dependencies_compiler_type
=none
13008 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13009 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13010 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13015 test "x$enable_dependency_tracking" != xno \
13016 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13017 am__fastdepCXX_TRUE
=
13018 am__fastdepCXX_FALSE
='#'
13020 am__fastdepCXX_TRUE
='#'
13021 am__fastdepCXX_FALSE
=
13025 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13026 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13027 (test "X$CXX" != "Xg++"))) ; then
13029 ac_cpp
='$CXXCPP $CPPFLAGS'
13030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13033 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13034 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13035 if test -z "$CXXCPP"; then
13036 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 # Double quotes because CXXCPP needs to be expanded
13040 for CXXCPP
in "$CXX -E" "/lib/cpp"
13042 ac_preproc_ok
=false
13043 for ac_cxx_preproc_warn_flag
in '' yes
13045 # Use a header file that comes with gcc, so configuring glibc
13046 # with a fresh cross-compiler works.
13047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13048 # <limits.h> exists even on freestanding compilers.
13049 # On the NeXT, cc -E runs the code through the compiler's parser,
13050 # not just through cpp. "Syntax error" is here to catch this case.
13051 cat >conftest.
$ac_ext <<_ACEOF
13054 cat confdefs.h
>>conftest.
$ac_ext
13055 cat >>conftest.
$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13058 # include <limits.h>
13060 # include <assert.h>
13064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13067 grep -v '^ *+' conftest.er1
>conftest.err
13069 cat conftest.err
>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } >/dev
/null
; then
13072 if test -s conftest.err
; then
13073 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13074 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13081 if test -z "$ac_cpp_err"; then
13084 echo "$as_me: failed program was:" >&5
13085 sed 's/^/| /' conftest.
$ac_ext >&5
13087 # Broken: fails on valid input.
13090 rm -f conftest.err conftest.
$ac_ext
13092 # OK, works on sane cases. Now check whether non-existent headers
13093 # can be detected and how.
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 #include <ac_nonexistent.h>
13102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13105 grep -v '^ *+' conftest.er1
>conftest.err
13107 cat conftest.err
>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } >/dev
/null
; then
13110 if test -s conftest.err
; then
13111 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13112 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13119 if test -z "$ac_cpp_err"; then
13120 # Broken: success on invalid input.
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.
$ac_ext >&5
13126 # Passes both tests.
13130 rm -f conftest.err conftest.
$ac_ext
13133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13134 rm -f conftest.err conftest.
$ac_ext
13135 if $ac_preproc_ok; then
13140 ac_cv_prog_CXXCPP
=$CXXCPP
13143 CXXCPP
=$ac_cv_prog_CXXCPP
13145 ac_cv_prog_CXXCPP
=$CXXCPP
13147 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13148 echo "${ECHO_T}$CXXCPP" >&6
13149 ac_preproc_ok
=false
13150 for ac_cxx_preproc_warn_flag
in '' yes
13152 # Use a header file that comes with gcc, so configuring glibc
13153 # with a fresh cross-compiler works.
13154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13155 # <limits.h> exists even on freestanding compilers.
13156 # On the NeXT, cc -E runs the code through the compiler's parser,
13157 # not just through cpp. "Syntax error" is here to catch this case.
13158 cat >conftest.
$ac_ext <<_ACEOF
13161 cat confdefs.h
>>conftest.
$ac_ext
13162 cat >>conftest.
$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 # include <limits.h>
13167 # include <assert.h>
13171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13174 grep -v '^ *+' conftest.er1
>conftest.err
13176 cat conftest.err
>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } >/dev
/null
; then
13179 if test -s conftest.err
; then
13180 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13181 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13188 if test -z "$ac_cpp_err"; then
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.
$ac_ext >&5
13194 # Broken: fails on valid input.
13197 rm -f conftest.err conftest.
$ac_ext
13199 # OK, works on sane cases. Now check whether non-existent headers
13200 # can be detected and how.
13201 cat >conftest.
$ac_ext <<_ACEOF
13204 cat confdefs.h
>>conftest.
$ac_ext
13205 cat >>conftest.
$ac_ext <<_ACEOF
13206 /* end confdefs.h. */
13207 #include <ac_nonexistent.h>
13209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13212 grep -v '^ *+' conftest.er1
>conftest.err
13214 cat conftest.err
>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } >/dev
/null
; then
13217 if test -s conftest.err
; then
13218 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13219 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13226 if test -z "$ac_cpp_err"; then
13227 # Broken: success on invalid input.
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.
$ac_ext >&5
13233 # Passes both tests.
13237 rm -f conftest.err conftest.
$ac_ext
13240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13241 rm -f conftest.err conftest.
$ac_ext
13242 if $ac_preproc_ok; then
13245 _lt_caught_CXX_error
=yes
13249 ac_cpp
='$CPP $CPPFLAGS'
13250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13255 _lt_caught_CXX_error
=yes
13262 ac_cpp
='$CXXCPP $CPPFLAGS'
13263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13267 archive_cmds_need_lc_CXX
=no
13268 allow_undefined_flag_CXX
=
13269 always_export_symbols_CXX
=no
13270 archive_expsym_cmds_CXX
=
13271 compiler_needs_object_CXX
=no
13272 export_dynamic_flag_spec_CXX
=
13273 hardcode_direct_CXX
=no
13274 hardcode_direct_absolute_CXX
=no
13275 hardcode_libdir_flag_spec_CXX
=
13276 hardcode_libdir_flag_spec_ld_CXX
=
13277 hardcode_libdir_separator_CXX
=
13278 hardcode_minus_L_CXX
=no
13279 hardcode_shlibpath_var_CXX
=unsupported
13280 hardcode_automatic_CXX
=no
13281 inherit_rpath_CXX
=no
13283 module_expsym_cmds_CXX
=
13284 link_all_deplibs_CXX
=unknown
13285 old_archive_cmds_CXX
=$old_archive_cmds
13286 no_undefined_flag_CXX
=
13287 whole_archive_flag_spec_CXX
=
13288 enable_shared_with_static_runtimes_CXX
=no
13290 # Source file extension for C++ test sources.
13293 # Object file extension for compiled C++ test sources.
13297 # No sense in running all these tests if we already determined that
13298 # the CXX compiler isn't working. Some variables (like enable_shared)
13299 # are currently assumed to apply to all compilers on this platform,
13300 # and will be corrupted by setting them based on a non-working compiler.
13301 if test "$_lt_caught_CXX_error" != yes; then
13302 # Code to be used in simple compile tests
13303 lt_simple_compile_test_code
="int some_variable = 0;"
13305 # Code to be used in simple link tests
13306 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13308 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13315 # If no C compiler was specified, use CC.
13318 # If no C compiler flags were specified, use CFLAGS.
13319 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13321 # Allow CC to be a program name with arguments.
13325 # save warnings/boilerplate of simple test code
13326 ac_outfile
=conftest.
$ac_objext
13327 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13328 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13329 _lt_compiler_boilerplate
=`cat conftest.err`
13332 ac_outfile
=conftest.
$ac_objext
13333 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13334 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13335 _lt_linker_boilerplate
=`cat conftest.err`
13339 # Allow CC to be a program name with arguments.
13344 lt_save_with_gnu_ld
=$with_gnu_ld
13345 lt_save_path_LD
=$lt_cv_path_LD
13346 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13347 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13349 $as_unset lt_cv_prog_gnu_ld
13351 if test -n "${lt_cv_path_LDCXX+set}"; then
13352 lt_cv_path_LD
=$lt_cv_path_LDCXX
13354 $as_unset lt_cv_path_LD
13356 test -z "${LDCXX+set}" || LD
=$LDCXX
13360 for cc_temp
in $compiler""; do
13362 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13363 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13368 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13371 if test -n "$compiler"; then
13372 # We don't want -fno-exception when compiling C++ code, so set the
13373 # no_builtin_flag separately
13374 if test "$GXX" = yes; then
13375 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13377 lt_prog_compiler_no_builtin_flag_CXX
=
13380 if test "$GXX" = yes; then
13381 # Set up default GNU C++ configuration
13385 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13386 if test "${with_gnu_ld+set}" = set; then
13387 withval
="$with_gnu_ld"
13388 test "$withval" = no || with_gnu_ld
=yes
13393 if test "$GCC" = yes; then
13394 # Check if gcc -print-prog-name=ld gives a path.
13395 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13396 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13399 # gcc leaves a trailing carriage return which upsets mingw
13400 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13402 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13405 # Accept absolute paths.
13407 re_direlt
='/[^/][^/]*/\.\./'
13408 # Canonicalize the pathname of ld
13409 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13410 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13411 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13413 test -z "$LD" && LD
="$ac_prog"
13416 # If it fails, then pretend we aren't using GCC.
13420 # If it is relative, then search for the first ld in PATH.
13421 with_gnu_ld
=unknown
13424 elif test "$with_gnu_ld" = yes; then
13425 echo "$as_me:$LINENO: checking for GNU ld" >&5
13426 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13428 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13429 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13431 if test "${lt_cv_path_LD+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 if test -z "$LD"; then
13435 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13436 for ac_dir
in $PATH; do
13438 test -z "$ac_dir" && ac_dir
=.
13439 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13440 lt_cv_path_LD
="$ac_dir/$ac_prog"
13441 # Check to see if the program is GNU ld. I'd rather use --version,
13442 # but apparently some variants of GNU ld only accept -v.
13443 # Break only if it was the GNU/non-GNU ld that we prefer.
13444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13445 *GNU
* |
*'with BFD'*)
13446 test "$with_gnu_ld" != no
&& break
13449 test "$with_gnu_ld" != yes && break
13456 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13460 LD
="$lt_cv_path_LD"
13461 if test -n "$LD"; then
13462 echo "$as_me:$LINENO: result: $LD" >&5
13463 echo "${ECHO_T}$LD" >&6
13465 echo "$as_me:$LINENO: result: no" >&5
13466 echo "${ECHO_T}no" >&6
13468 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13469 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13470 { (exit 1); exit 1; }; }
13471 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13472 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13477 case `$LD -v 2>&1 </dev/null` in
13478 *GNU
* |
*'with BFD'*)
13479 lt_cv_prog_gnu_ld
=yes
13482 lt_cv_prog_gnu_ld
=no
13486 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13487 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13488 with_gnu_ld
=$lt_cv_prog_gnu_ld
13496 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13497 # archiving commands below assume that GNU ld is being used.
13498 if test "$with_gnu_ld" = yes; then
13499 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13500 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'
13502 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13503 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13505 # If archive_cmds runs LD, not CC, wlarc should be empty
13506 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13507 # investigate it a little bit more. (MM)
13510 # ancient GNU ld didn't support --whole-archive et. al.
13511 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13512 $GREP 'no-whole-archive' > /dev
/null
; then
13513 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13515 whole_archive_flag_spec_CXX
=
13521 # A generic and very simple default shared library creation
13522 # command for GNU C++ for the case where it uses the native
13523 # linker, instead of GNU ld. If possible, this setting should
13524 # overridden to take advantage of the native linker features on
13525 # the platform it is being used on.
13526 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13529 # Commands to make compiler produce verbose output that lists
13530 # what "hidden" libraries, object files and flags are used when
13531 # linking a shared library.
13532 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13540 # PORTME: fill in a description of your system's C++ link characteristics
13541 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13542 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13546 # FIXME: insert proper C++ library support
13550 if test "$host_cpu" = ia64
; then
13551 # On IA64, the linker does run time linking by default, so we don't
13552 # have to do anything special.
13553 aix_use_runtimelinking
=no
13554 exp_sym_flag
='-Bexport'
13557 aix_use_runtimelinking
=no
13559 # Test if we are trying to use run time linking or normal
13560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13561 # need to do runtime linking.
13562 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13563 for ld_flag
in $LDFLAGS; do
13566 aix_use_runtimelinking
=yes
13574 exp_sym_flag
='-bexport'
13575 no_entry_flag
='-bnoentry'
13578 # When large executables or shared objects are built, AIX ld can
13579 # have problems creating the table of contents. If linking a library
13580 # or program results in "error TOC overflow" add -mminimal-toc to
13581 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13582 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13584 archive_cmds_CXX
=''
13585 hardcode_direct_CXX
=yes
13586 hardcode_direct_absolute_CXX
=yes
13587 hardcode_libdir_separator_CXX
=':'
13588 link_all_deplibs_CXX
=yes
13589 file_list_spec_CXX
='${wl}-f,'
13591 if test "$GXX" = yes; then
13592 case $host_os in aix4.
[012]|aix4.
[012].
*)
13593 # We only want to do this on AIX 4.2 and lower, the check
13594 # below for broken collect2 doesn't work under 4.3+
13595 collect2name
=`${CC} -print-prog-name=collect2`
13596 if test -f "$collect2name" &&
13597 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13599 # We have reworked collect2
13602 # We have old collect2
13603 hardcode_direct_CXX
=unsupported
13604 # It fails to find uninstalled libraries when the uninstalled
13605 # path is not listed in the libpath. Setting hardcode_minus_L
13606 # to unsupported forces relinking
13607 hardcode_minus_L_CXX
=yes
13608 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13609 hardcode_libdir_separator_CXX
=
13612 shared_flag
='-shared'
13613 if test "$aix_use_runtimelinking" = yes; then
13614 shared_flag
="$shared_flag "'${wl}-G'
13618 if test "$host_cpu" = ia64
; then
13619 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13620 # chokes on -Wl,-G. The following line is correct:
13623 if test "$aix_use_runtimelinking" = yes; then
13624 shared_flag
='${wl}-G'
13626 shared_flag
='${wl}-bM:SRE'
13631 # It seems that -bexpall does not export symbols beginning with
13632 # underscore (_), so it is better to generate a list of symbols to
13634 always_export_symbols_CXX
=yes
13635 if test "$aix_use_runtimelinking" = yes; then
13636 # Warning - without using the other runtime loading flags (-brtl),
13637 # -berok will link without error, but may produce a broken library.
13638 allow_undefined_flag_CXX
='-berok'
13639 # Determine the default libpath from the value encoded in an empty
13641 if test x
$gcc_no_link = xyes
; then
13642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13644 { (exit 1); exit 1; }; }
13646 cat >conftest.
$ac_ext <<_ACEOF
13649 cat confdefs.h
>>conftest.
$ac_ext
13650 cat >>conftest.
$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13661 rm -f conftest.
$ac_objext conftest
$ac_exeext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13663 (eval $ac_link) 2>conftest.er1
13665 grep -v '^ *+' conftest.er1
>conftest.err
13667 cat conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try
='test -z "$ac_cxx_werror_flag"
13671 || test ! -s conftest.err'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; } &&
13677 { ac_try
='test -s conftest$ac_exeext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13684 lt_aix_libpath_sed
='
13685 /Import File Strings/,/^$/ {
13691 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13692 # Check for a 64-bit object if we didn't find anything.
13693 if test -z "$aix_libpath"; then
13694 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.
$ac_ext >&5
13701 rm -f conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13703 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13705 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13707 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"
13709 if test "$host_cpu" = ia64
; then
13710 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13711 allow_undefined_flag_CXX
="-z nodefs"
13712 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"
13714 # Determine the default libpath from the value encoded in an
13715 # empty executable.
13716 if test x
$gcc_no_link = xyes
; then
13717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13719 { (exit 1); exit 1; }; }
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13736 rm -f conftest.
$ac_objext conftest
$ac_exeext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13738 (eval $ac_link) 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } &&
13745 { ac_try
='test -z "$ac_cxx_werror_flag"
13746 || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest$ac_exeext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13759 lt_aix_libpath_sed
='
13760 /Import File Strings/,/^$/ {
13766 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13767 # Check for a 64-bit object if we didn't find anything.
13768 if test -z "$aix_libpath"; then
13769 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.
$ac_ext >&5
13776 rm -f conftest.err conftest.
$ac_objext \
13777 conftest
$ac_exeext conftest.
$ac_ext
13778 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13780 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13781 # Warning - without using the other run time loading flags,
13782 # -berok will link without error, but may produce a broken library.
13783 no_undefined_flag_CXX
=' ${wl}-bernotok'
13784 allow_undefined_flag_CXX
=' ${wl}-berok'
13785 # Exported symbols can be pulled into shared objects from archives
13786 whole_archive_flag_spec_CXX
='$convenience'
13787 archive_cmds_need_lc_CXX
=yes
13788 # This is similar to how AIX traditionally builds its shared
13790 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'
13796 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13797 allow_undefined_flag_CXX
=unsupported
13798 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13799 # support --undefined. This deserves some investigation. FIXME
13800 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13807 case $cc_basename in
13809 # FIXME: insert proper C++ library support
13815 cygwin
* | mingw
* | pw32
*)
13816 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13817 # as there is no search path for DLLs.
13818 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13819 allow_undefined_flag_CXX
=unsupported
13820 always_export_symbols_CXX
=no
13821 enable_shared_with_static_runtimes_CXX
=yes
13823 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13824 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'
13825 # If the export-symbols file already is a .def file (1st line
13826 # is EXPORTS), use it as is; otherwise, prepend...
13827 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13828 cp $export_symbols $output_objdir/$soname.def;
13830 echo EXPORTS > $output_objdir/$soname.def;
13831 cat $export_symbols >> $output_objdir/$soname.def;
13833 $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'
13838 darwin
* | rhapsody
*)
13840 rhapsody
* | darwin1.
[012])
13841 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
13844 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13846 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13849 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
13854 archive_cmds_need_lc_CXX
=no
13855 hardcode_direct_CXX
=no
13856 hardcode_automatic_CXX
=yes
13857 hardcode_shlibpath_var_CXX
=unsupported
13858 whole_archive_flag_spec_CXX
=''
13859 link_all_deplibs_CXX
=yes
13861 if test "$GXX" = yes ; then
13862 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13863 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 lt_cv_apple_cc_single_mod
=no
13866 if test -z "${LT_MULTI_MODULE}"; then
13867 # By default we will add the -single_module flag. You can override
13868 # by either setting the environment variable LT_MULTI_MODULE
13869 # non-empty at configure time, or by adding -multi-module to the
13871 echo "int foo(void){return 1;}" > conftest.c
13872 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13873 -dynamiclib ${wl}-single_module conftest.c
13874 if test -f libconftest.dylib
; then
13875 lt_cv_apple_cc_single_mod
=yes
13876 rm libconftest.dylib
13878 rm conftest.
$ac_ext
13882 output_verbose_link_cmd
=echo
13883 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13884 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13885 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}'
13887 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'
13888 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}'
13890 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13891 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}'
13893 case $cc_basename in
13895 output_verbose_link_cmd
=echo
13896 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'
13897 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13898 # Don't fix this by using the ld -exported_symbols_list flag,
13899 # it doesn't exist in older darwin lds
13900 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}'
13901 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}'
13911 case $cc_basename in
13913 # FIXME: insert proper C++ library support
13917 # Green Hills C++ Compiler
13918 # FIXME: insert proper C++ library support
13922 # FIXME: insert proper C++ library support
13929 # C++ shared libraries reported to be fairly broken before
13935 archive_cmds_need_lc_CXX
=no
13938 freebsd
* | dragonfly
*)
13939 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13948 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13949 hardcode_libdir_separator_CXX
=:
13950 export_dynamic_flag_spec_CXX
='${wl}-E'
13951 hardcode_direct_CXX
=yes
13952 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13953 # but as the default
13954 # location of the library.
13956 case $cc_basename in
13958 # FIXME: insert proper C++ library support
13962 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'
13963 # Commands to make compiler produce verbose output that lists
13964 # what "hidden" libraries, object files and flags are used when
13965 # linking a shared library.
13967 # There doesn't appear to be a way to prevent this compiler from
13968 # explicitly linking system object files so we need to strip them
13969 # from the output so that they don't get included in the library
13971 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'
13974 if test "$GXX" = yes; then
13975 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'
13977 # FIXME: insert proper C++ library support
13985 if test $with_gnu_ld = no
; then
13986 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13987 hardcode_libdir_separator_CXX
=:
13993 export_dynamic_flag_spec_CXX
='${wl}-E'
13999 hardcode_direct_CXX
=no
14000 hardcode_shlibpath_var_CXX
=no
14003 hardcode_direct_CXX
=yes
14004 hardcode_direct_absolute_CXX
=yes
14005 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14006 # but as the default
14007 # location of the library.
14011 case $cc_basename in
14013 # FIXME: insert proper C++ library support
14019 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14022 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14025 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14028 # Commands to make compiler produce verbose output that lists
14029 # what "hidden" libraries, object files and flags are used when
14030 # linking a shared library.
14032 # There doesn't appear to be a way to prevent this compiler from
14033 # explicitly linking system object files so we need to strip them
14034 # from the output so that they don't get included in the library
14036 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'
14039 if test "$GXX" = yes; then
14040 if test $with_gnu_ld = no
; then
14043 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14046 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14049 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'
14054 # FIXME: insert proper C++ library support
14062 hardcode_direct_CXX
=no
14063 hardcode_shlibpath_var_CXX
=no
14064 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14065 export_dynamic_flag_spec_CXX
='${wl}-E'
14066 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14067 # Instead, shared libraries are loaded at an image base (0x10000000 by
14068 # default) and relocated if they conflict, which is a slow very memory
14069 # consuming and fragmenting process. To avoid this, we pick a random,
14070 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14071 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14072 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'
14073 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'
14076 case $cc_basename in
14079 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'
14081 # Archives containing C++ object files must be created using
14082 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14083 # necessary to make sure instantiated templates are included
14085 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14088 if test "$GXX" = yes; then
14089 if test "$with_gnu_ld" = no
; then
14090 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'
14092 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'
14095 link_all_deplibs_CXX
=yes
14098 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14099 hardcode_libdir_separator_CXX
=:
14100 inherit_rpath_CXX
=yes
14103 linux
* | k
*bsd
*-gnu)
14104 case $cc_basename in
14106 # Kuck and Associates, Inc. (KAI) C++ Compiler
14108 # KCC will only create a shared library if the output file
14109 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14110 # to its proper name (with version) after linking.
14111 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'
14112 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'
14113 # Commands to make compiler produce verbose output that lists
14114 # what "hidden" libraries, object files and flags are used when
14115 # linking a shared library.
14117 # There doesn't appear to be a way to prevent this compiler from
14118 # explicitly linking system object files so we need to strip them
14119 # from the output so that they don't get included in the library
14121 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'
14123 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14124 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14126 # Archives containing C++ object files must be created using
14127 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14128 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14133 # version 8.0 and above of icpc choke on multiply defined symbols
14134 # if we add $predep_objects and $postdep_objects, however 7.1 and
14135 # earlier do not add the objects themselves.
14136 case `$CC -V 2>&1` in
14138 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14139 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'
14141 *) # Version 8.0 or newer
14144 ia64
*) tmp_idyn
=' -i_dynamic';;
14146 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14147 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'
14150 archive_cmds_need_lc_CXX
=no
14151 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14152 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14153 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14156 # Portland Group C++ compiler
14159 prelink_cmds_CXX
='tpldir=Template.dir~
14161 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14162 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14163 old_archive_cmds_CXX
='tpldir=Template.dir~
14165 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14166 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14168 archive_cmds_CXX
='tpldir=Template.dir~
14170 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14171 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14172 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14174 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14175 $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'
14177 *) # Version 6 will use weak symbols
14178 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14179 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'
14183 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14184 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14185 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'
14189 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14190 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'
14192 runpath_var
=LD_RUN_PATH
14193 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14194 hardcode_libdir_separator_CXX
=:
14196 # Commands to make compiler produce verbose output that lists
14197 # what "hidden" libraries, object files and flags are used when
14198 # linking a shared library.
14200 # There doesn't appear to be a way to prevent this compiler from
14201 # explicitly linking system object files so we need to strip them
14202 # from the output so that they don't get included in the library
14204 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'
14207 case `$CC -V 2>&1 | sed 5q` in
14210 no_undefined_flag_CXX
=' -zdefs'
14211 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14212 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'
14213 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14214 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'
14215 compiler_needs_object_CXX
=yes
14217 # Not sure whether something based on
14218 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14220 output_verbose_link_cmd
='echo'
14222 # Archives containing C++ object files must be created using
14223 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14224 # necessary to make sure instantiated templates are included
14226 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14234 # FIXME: insert proper C++ library support
14239 # FIXME: insert proper C++ library support
14244 case $cc_basename in
14246 # FIXME: insert proper C++ library support
14250 # FIXME: insert proper C++ library support
14257 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14258 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14260 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14261 hardcode_direct_CXX
=yes
14262 hardcode_shlibpath_var_CXX
=no
14264 # Workaround some broken pre-1.5 toolchains
14265 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14273 # C++ shared libraries are fairly broken
14278 hardcode_direct_CXX
=yes
14279 hardcode_shlibpath_var_CXX
=no
14280 hardcode_direct_absolute_CXX
=yes
14281 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14282 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14283 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14284 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14285 export_dynamic_flag_spec_CXX
='${wl}-E'
14286 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14288 output_verbose_link_cmd
=echo
14291 osf3
* | osf4
* | osf5
*)
14292 case $cc_basename in
14294 # Kuck and Associates, Inc. (KAI) C++ Compiler
14296 # KCC will only create a shared library if the output file
14297 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14298 # to its proper name (with version) after linking.
14299 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'
14301 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14302 hardcode_libdir_separator_CXX
=:
14304 # Archives containing C++ object files must be created using
14305 # the KAI C++ compiler.
14307 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14308 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14312 # Rational C++ 2.4.1
14313 # FIXME: insert proper C++ library support
14319 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14320 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'
14321 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14324 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14325 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'
14326 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14327 echo "-hidden">> $lib.exp~
14328 $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~
14330 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14334 hardcode_libdir_separator_CXX
=:
14336 # Commands to make compiler produce verbose output that lists
14337 # what "hidden" libraries, object files and flags are used when
14338 # linking a shared library.
14340 # There doesn't appear to be a way to prevent this compiler from
14341 # explicitly linking system object files so we need to strip them
14342 # from the output so that they don't get included in the library
14344 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'
14347 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14348 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14351 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'
14354 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'
14358 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14359 hardcode_libdir_separator_CXX
=:
14361 # Commands to make compiler produce verbose output that lists
14362 # what "hidden" libraries, object files and flags are used when
14363 # linking a shared library.
14364 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14367 # FIXME: insert proper C++ library support
14375 # FIXME: insert proper C++ library support
14380 case $cc_basename in
14383 # FIXME: insert proper C++ library support
14388 # FIXME: insert proper C++ library support
14392 # FIXME: insert proper C++ library support
14399 case $cc_basename in
14401 # Sun C++ 4.2, 5.x and Centerline C++
14402 archive_cmds_need_lc_CXX
=yes
14403 no_undefined_flag_CXX
=' -zdefs'
14404 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14405 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14406 $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'
14408 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14409 hardcode_shlibpath_var_CXX
=no
14411 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14413 # The compiler driver will combine and reorder linker options,
14414 # but understands `-z linker_flag'.
14415 # Supported since Solaris 2.6 (maybe 2.5.1?)
14416 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14419 link_all_deplibs_CXX
=yes
14421 output_verbose_link_cmd
='echo'
14423 # Archives containing C++ object files must be created using
14424 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14425 # necessary to make sure instantiated templates are included
14427 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14430 # Green Hills C++ Compiler
14431 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14433 # The C++ compiler must be used to create the archive.
14434 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14437 # GNU C++ compiler with Solaris linker
14438 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14439 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14440 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14441 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14442 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14443 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14445 # Commands to make compiler produce verbose output that lists
14446 # what "hidden" libraries, object files and flags are used when
14447 # linking a shared library.
14448 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14450 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14452 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14453 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14454 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14456 # Commands to make compiler produce verbose output that lists
14457 # what "hidden" libraries, object files and flags are used when
14458 # linking a shared library.
14459 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14462 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14464 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14466 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14474 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14475 no_undefined_flag_CXX
='${wl}-z,text'
14476 archive_cmds_need_lc_CXX
=no
14477 hardcode_shlibpath_var_CXX
=no
14478 runpath_var
='LD_RUN_PATH'
14480 case $cc_basename in
14482 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14483 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14486 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14487 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14492 sysv5
* | sco3.2v5
* | sco5v6
*)
14493 # Note: We can NOT use -z defs as we might desire, because we do not
14494 # link with -lc, and that would cause any symbols used from libc to
14495 # always be unresolved, which means just about no library would
14496 # ever link correctly. If we're not using GNU ld we use -z text
14497 # though, which does catch some bad symbols but isn't as heavy-handed
14499 no_undefined_flag_CXX
='${wl}-z,text'
14500 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14501 archive_cmds_need_lc_CXX
=no
14502 hardcode_shlibpath_var_CXX
=no
14503 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14504 hardcode_libdir_separator_CXX
=':'
14505 link_all_deplibs_CXX
=yes
14506 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14507 runpath_var
='LD_RUN_PATH'
14509 case $cc_basename in
14511 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14512 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14515 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14516 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14522 case $cc_basename in
14524 # NonStop-UX NCC 3.20
14525 # FIXME: insert proper C++ library support
14529 # FIXME: insert proper C++ library support
14536 # FIXME: insert proper C++ library support
14541 # FIXME: insert proper C++ library support
14546 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14547 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14548 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14554 ## There is no encapsulation within the following macros, do not change
14555 ## the running order or otherwise move them around unless you know exactly
14556 ## what you are doing...
14557 # Dependencies to place before and after the object being linked:
14558 predep_objects_CXX
=
14559 postdep_objects_CXX
=
14562 compiler_lib_search_path_CXX
=
14564 cat > conftest.
$ac_ext <<_LT_EOF
14568 Foo (void) { a = 0; }
14574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14575 (eval $ac_compile) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; then
14579 # Parse the compiler output and extract the necessary
14580 # objects, libraries and library flags.
14582 # Sentinel used to keep track of whether or not we are before
14583 # the conftest object file.
14584 pre_test_object_deps_done
=no
14586 # The `*' in the case matches for architectures that use `case' in
14587 # $output_verbose_cmd can trigger glob expansion during the loop
14588 # eval without this substitution.
14589 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14591 for p
in `eval $output_verbose_link_cmd`; do
14595 # Some compilers place space between "-{L,R}" and the path.
14596 # Remove the space.
14597 if test $p = "-L" ||
14598 test $p = "-R"; then
14605 if test "$pre_test_object_deps_done" = no
; then
14608 # Internal compiler library paths should come after those
14609 # provided the user. The postdeps already come after the
14610 # user supplied libs so there is no need to process them.
14611 if test -z "$compiler_lib_search_path_CXX"; then
14612 compiler_lib_search_path_CXX
="${prev}${p}"
14614 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14617 # The "-l" case would never come before the object being
14618 # linked, so don't bother handling this case.
14621 if test -z "$postdeps_CXX"; then
14622 postdeps_CXX
="${prev}${p}"
14624 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14630 # This assumes that the test object file only shows up
14631 # once in the compiler output.
14632 if test "$p" = "conftest.$objext"; then
14633 pre_test_object_deps_done
=yes
14637 if test "$pre_test_object_deps_done" = no
; then
14638 if test -z "$predep_objects_CXX"; then
14639 predep_objects_CXX
="$p"
14641 predep_objects_CXX
="$predep_objects_CXX $p"
14644 if test -z "$postdep_objects_CXX"; then
14645 postdep_objects_CXX
="$p"
14647 postdep_objects_CXX
="$postdep_objects_CXX $p"
14652 *) ;; # Ignore the rest.
14660 echo "libtool.m4: error: problem compiling CXX test program"
14663 $RM -f confest.
$objext
14665 # PORTME: override above test on systems where it is broken
14668 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14669 # hack all around it, let's just trust "g++" to DTRT.
14670 predep_objects_CXX
=
14671 postdep_objects_CXX
=
14676 case `$CC -V 2>&1 | sed 5q` in
14680 # The more standards-conforming stlport4 library is
14681 # incompatible with the Cstd library. Avoid specifying
14682 # it if it's in CXXFLAGS. Ignore libCrun as
14683 # -library=stlport4 depends on it.
14684 case " $CXX $CXXFLAGS " in
14685 *" -library=stlport4 "*)
14686 solaris_use_stlport4
=yes
14690 if test "$solaris_use_stlport4" != yes; then
14691 postdeps_CXX
='-library=Cstd -library=Crun'
14698 case $cc_basename in
14700 # The more standards-conforming stlport4 library is
14701 # incompatible with the Cstd library. Avoid specifying
14702 # it if it's in CXXFLAGS. Ignore libCrun as
14703 # -library=stlport4 depends on it.
14704 case " $CXX $CXXFLAGS " in
14705 *" -library=stlport4 "*)
14706 solaris_use_stlport4
=yes
14710 # Adding this requires a known-good setup of shared libraries for
14711 # Sun compiler versions before 5.6, else PIC objects from an old
14712 # archive will be linked into the output, leading to subtle bugs.
14713 if test "$solaris_use_stlport4" != yes; then
14714 postdeps_CXX
='-library=Cstd -library=Crun'
14722 case " $postdeps_CXX " in
14723 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14751 lt_prog_compiler_wl_CXX
=
14752 lt_prog_compiler_pic_CXX
=
14753 lt_prog_compiler_static_CXX
=
14755 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14756 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14758 # C++ specific cases for pic, static, wl, etc.
14759 if test "$GXX" = yes; then
14760 lt_prog_compiler_wl_CXX
='-Wl,'
14761 lt_prog_compiler_static_CXX
='-static'
14765 # All AIX code is PIC.
14766 if test "$host_cpu" = ia64
; then
14767 # AIX 5 now supports IA64 processor
14768 lt_prog_compiler_static_CXX
='-Bstatic'
14772 if test "$host_cpu" = m68k
; then
14773 # FIXME: we need at least 68020 code to build shared libraries, but
14774 # adding the `-m68020' flag to GCC prevents building anything better,
14776 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14779 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14780 # PIC is the default for these OSes.
14782 mingw
* | cygwin
* | os2
* | pw32
*)
14783 # This hack is so that the source file can tell whether it is being
14784 # built for inclusion in a dll (and should export symbols for example).
14785 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14786 # (--disable-auto-import) libraries
14787 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14789 darwin
* | rhapsody
*)
14790 # PIC is the default on this platform
14791 # Common symbols not allowed in MH_DYLIB files
14792 lt_prog_compiler_pic_CXX
='-fno-common'
14795 # DJGPP does not support shared libraries at all
14796 lt_prog_compiler_pic_CXX
=
14799 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14800 # Instead, we relocate shared libraries at runtime.
14803 if test -d /usr
/nec
; then
14804 lt_prog_compiler_pic_CXX
=-Kconform_pic
14808 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14809 # not for PA HP-UX.
14814 lt_prog_compiler_pic_CXX
='-fPIC'
14819 # QNX uses GNU C++, but need to define -shared option too, otherwise
14820 # it will coredump.
14821 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14824 lt_prog_compiler_pic_CXX
='-fPIC'
14830 # All AIX code is PIC.
14831 if test "$host_cpu" = ia64
; then
14832 # AIX 5 now supports IA64 processor
14833 lt_prog_compiler_static_CXX
='-Bstatic'
14835 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14839 case $cc_basename in
14841 # Green Hills C++ Compiler
14842 # _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"
14847 # PIC is the default on this platform
14848 # Common symbols not allowed in MH_DYLIB files
14849 case $cc_basename in
14851 lt_prog_compiler_pic_CXX
='-qnocommon'
14852 lt_prog_compiler_wl_CXX
='-Wl,'
14857 case $cc_basename in
14859 lt_prog_compiler_pic_CXX
='-KPIC'
14862 # Green Hills C++ Compiler
14863 lt_prog_compiler_pic_CXX
='-pic'
14869 freebsd
* | dragonfly
*)
14870 # FreeBSD uses GNU C++
14872 hpux9
* | hpux10
* | hpux11
*)
14873 case $cc_basename in
14875 lt_prog_compiler_wl_CXX
='-Wl,'
14876 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14877 if test "$host_cpu" != ia64
; then
14878 lt_prog_compiler_pic_CXX
='+Z'
14882 lt_prog_compiler_wl_CXX
='-Wl,'
14883 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14889 lt_prog_compiler_pic_CXX
='+Z'
14898 # This is c89, which is MS Visual C++ (no shared libs)
14899 # Anyone wants to do a port?
14901 irix5
* | irix6
* | nonstopux
*)
14902 case $cc_basename in
14904 lt_prog_compiler_wl_CXX
='-Wl,'
14905 lt_prog_compiler_static_CXX
='-non_shared'
14906 # CC pic flag -KPIC is the default.
14912 linux
* | k
*bsd
*-gnu)
14913 case $cc_basename in
14916 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14917 lt_prog_compiler_pic_CXX
='-fPIC'
14921 lt_prog_compiler_wl_CXX
='-Wl,'
14922 lt_prog_compiler_pic_CXX
='-KPIC'
14923 lt_prog_compiler_static_CXX
='-static'
14926 # Portland Group C++ compiler
14927 lt_prog_compiler_wl_CXX
='-Wl,'
14928 lt_prog_compiler_pic_CXX
='-fpic'
14929 lt_prog_compiler_static_CXX
='-Bstatic'
14933 # Make sure the PIC flag is empty. It appears that all Alpha
14934 # Linux and Compaq Tru64 Unix objects are PIC.
14935 lt_prog_compiler_pic_CXX
=
14936 lt_prog_compiler_static_CXX
='-non_shared'
14939 case `$CC -V 2>&1 | sed 5q` in
14942 lt_prog_compiler_pic_CXX
='-KPIC'
14943 lt_prog_compiler_static_CXX
='-Bstatic'
14944 lt_prog_compiler_wl_CXX
='-Qoption ld '
14955 case $cc_basename in
14957 lt_prog_compiler_pic_CXX
='-W c,exportall'
14966 # QNX uses GNU C++, but need to define -shared option too, otherwise
14967 # it will coredump.
14968 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14970 osf3
* | osf4
* | osf5
*)
14971 case $cc_basename in
14973 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14976 # Rational C++ 2.4.1
14977 lt_prog_compiler_pic_CXX
='-pic'
14980 # Digital/Compaq C++
14981 lt_prog_compiler_wl_CXX
='-Wl,'
14982 # Make sure the PIC flag is empty. It appears that all Alpha
14983 # Linux and Compaq Tru64 Unix objects are PIC.
14984 lt_prog_compiler_pic_CXX
=
14985 lt_prog_compiler_static_CXX
='-non_shared'
14994 case $cc_basename in
14996 # Sun C++ 4.2, 5.x and Centerline C++
14997 lt_prog_compiler_pic_CXX
='-KPIC'
14998 lt_prog_compiler_static_CXX
='-Bstatic'
14999 lt_prog_compiler_wl_CXX
='-Qoption ld '
15002 # Green Hills C++ Compiler
15003 lt_prog_compiler_pic_CXX
='-PIC'
15010 case $cc_basename in
15013 lt_prog_compiler_pic_CXX
='-pic'
15014 lt_prog_compiler_static_CXX
='-Bstatic'
15018 lt_prog_compiler_pic_CXX
='-pic'
15024 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15025 case $cc_basename in
15027 lt_prog_compiler_wl_CXX
='-Wl,'
15028 lt_prog_compiler_pic_CXX
='-KPIC'
15029 lt_prog_compiler_static_CXX
='-Bstatic'
15034 case $cc_basename in
15036 # NonStop-UX NCC 3.20
15037 lt_prog_compiler_pic_CXX
='-KPIC'
15046 lt_prog_compiler_can_build_shared_CXX
=no
15052 # For platforms which do not support PIC, -DPIC is meaningless:
15054 lt_prog_compiler_pic_CXX
=
15057 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15060 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15061 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15066 # Check to make sure the PIC flag actually works.
15068 if test -n "$lt_prog_compiler_pic_CXX"; then
15069 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15070 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15071 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 lt_prog_compiler_pic_works_CXX
=no
15075 ac_outfile
=conftest.
$ac_objext
15076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15077 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15078 # Insert the option either (1) after the last *FLAGS variable, or
15079 # (2) before a word containing "conftest.", or (3) at the end.
15080 # Note that $ac_compile itself does not contain backslashes and begins
15081 # with a dollar sign (not a hyphen), so the echo should work correctly.
15082 # The option is referenced via a variable to avoid confusing sed.
15083 lt_compile
=`echo "$ac_compile" | $SED \
15084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15086 -e 's:$: $lt_compiler_flag:'`
15087 (eval echo "\"\$as_me:15087: $lt_compile\"" >&5)
15088 (eval "$lt_compile" 2>conftest.err
)
15090 cat conftest.err
>&5
15091 echo "$as_me:15091: \$? = $ac_status" >&5
15092 if (exit $ac_status) && test -s "$ac_outfile"; then
15093 # The compiler can only warn and ignore the option if not recognized
15094 # So say no if there are warnings other than the usual output.
15095 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15096 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15097 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15098 lt_prog_compiler_pic_works_CXX
=yes
15104 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15105 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15107 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
15108 case $lt_prog_compiler_pic_CXX in
15110 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15113 lt_prog_compiler_pic_CXX
=
15114 lt_prog_compiler_can_build_shared_CXX
=no
15122 # Check to make sure the static flag actually works.
15124 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15125 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15126 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15127 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 lt_prog_compiler_static_works_CXX
=no
15131 save_LDFLAGS
="$LDFLAGS"
15132 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15135 # The linker can only warn and ignore the option if not recognized
15136 # So say no if there are warnings
15137 if test -s conftest.err
; then
15138 # Append any errors to the config.log.
15139 cat conftest.err
1>&5
15140 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15142 if diff conftest.exp conftest.er2
>/dev
/null
; then
15143 lt_prog_compiler_static_works_CXX
=yes
15146 lt_prog_compiler_static_works_CXX
=yes
15150 LDFLAGS
="$save_LDFLAGS"
15153 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15154 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15156 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
15159 lt_prog_compiler_static_CXX
=
15165 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15166 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15167 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 lt_cv_prog_compiler_c_o_CXX
=no
15171 $RM -r conftest
2>/dev
/null
15175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15177 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15178 # Insert the option either (1) after the last *FLAGS variable, or
15179 # (2) before a word containing "conftest.", or (3) at the end.
15180 # Note that $ac_compile itself does not contain backslashes and begins
15181 # with a dollar sign (not a hyphen), so the echo should work correctly.
15182 lt_compile
=`echo "$ac_compile" | $SED \
15183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15185 -e 's:$: $lt_compiler_flag:'`
15186 (eval echo "\"\$as_me:15186: $lt_compile\"" >&5)
15187 (eval "$lt_compile" 2>out
/conftest.err
)
15189 cat out
/conftest.err
>&5
15190 echo "$as_me:15190: \$? = $ac_status" >&5
15191 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15193 # The compiler can only warn and ignore the option if not recognized
15194 # So say no if there are warnings
15195 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15196 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15197 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15198 lt_cv_prog_compiler_c_o_CXX
=yes
15203 # SGI C++ compiler will create directory out/ii_files/ for
15204 # template instantiation
15205 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15206 $RM out
/* && rmdir out
15212 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15213 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15217 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15218 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15219 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 lt_cv_prog_compiler_c_o_CXX
=no
15223 $RM -r conftest
2>/dev
/null
15227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15229 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15230 # Insert the option either (1) after the last *FLAGS variable, or
15231 # (2) before a word containing "conftest.", or (3) at the end.
15232 # Note that $ac_compile itself does not contain backslashes and begins
15233 # with a dollar sign (not a hyphen), so the echo should work correctly.
15234 lt_compile
=`echo "$ac_compile" | $SED \
15235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15237 -e 's:$: $lt_compiler_flag:'`
15238 (eval echo "\"\$as_me:15238: $lt_compile\"" >&5)
15239 (eval "$lt_compile" 2>out
/conftest.err
)
15241 cat out
/conftest.err
>&5
15242 echo "$as_me:15242: \$? = $ac_status" >&5
15243 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15245 # The compiler can only warn and ignore the option if not recognized
15246 # So say no if there are warnings
15247 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15248 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15249 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15250 lt_cv_prog_compiler_c_o_CXX
=yes
15255 # SGI C++ compiler will create directory out/ii_files/ for
15256 # template instantiation
15257 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15258 $RM out
/* && rmdir out
15264 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15265 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15270 hard_links
="nottested"
15271 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15272 # do not overwrite the value of need_locks provided by the user
15273 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15274 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15279 ln conftest.a conftest.b
2>&5 || hard_links
=no
15280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15281 echo "$as_me:$LINENO: result: $hard_links" >&5
15282 echo "${ECHO_T}$hard_links" >&6
15283 if test "$hard_links" = no
; then
15284 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15285 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15294 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15295 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15297 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15300 # If we're using GNU nm, then we don't want the "-C" option.
15301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15302 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15303 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'
15305 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'
15309 export_symbols_cmds_CXX
="$ltdll_cmds"
15312 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'
15315 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15319 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15320 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15321 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15323 with_gnu_ld_CXX
=$with_gnu_ld
15331 # Do we need to explicitly link libc?
15333 case "x$archive_cmds_need_lc_CXX" in
15335 # Assume -lc should be added
15336 archive_cmds_need_lc_CXX
=yes
15338 if test "$enable_shared" = yes && test "$GCC" = yes; then
15339 case $archive_cmds_CXX in
15341 # FIXME: we may have to deal with multi-command sequences.
15344 # Test whether the compiler implicitly links with -lc since on some
15345 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15346 # to ld, don't add -lc before -lgcc.
15347 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15348 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15350 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } 2>conftest.err
; then
15359 libobjs
=conftest.
$ac_objext
15361 wl
=$lt_prog_compiler_wl_CXX
15362 pic_flag
=$lt_prog_compiler_pic_CXX
15368 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15369 allow_undefined_flag_CXX
=
15370 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15371 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }
15376 archive_cmds_need_lc_CXX
=no
15378 archive_cmds_need_lc_CXX
=yes
15380 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15382 cat conftest.err
1>&5
15385 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15386 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15456 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15457 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15459 library_names_spec
=
15460 libname_spec
='lib$name'
15464 postuninstall_cmds
=
15468 shlibpath_overrides_runpath
=unknown
15470 dynamic_linker
="$host_os ld.so"
15471 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15472 need_lib_prefix
=unknown
15473 hardcode_into_libs
=no
15475 # when you set need_version to no, make sure it does not cause -set_version
15476 # flags to be left without arguments
15477 need_version
=unknown
15482 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15483 shlibpath_var
=LIBPATH
15485 # AIX 3 has no versioning support, so we append a major version to the name.
15486 soname_spec
='${libname}${release}${shared_ext}$major'
15493 hardcode_into_libs
=yes
15494 if test "$host_cpu" = ia64
; then
15495 # AIX 5 supports IA64
15496 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15497 shlibpath_var
=LD_LIBRARY_PATH
15499 # With GCC up to 2.95.x, collect2 would create an import file
15500 # for dependence libraries. The import file would start with
15501 # the line `#! .'. This would cause the generated library to
15502 # depend on `.', always an invalid library. This was fixed in
15503 # development snapshots of GCC prior to 3.0.
15505 aix4 | aix4.
[01] | aix4.
[01].
*)
15506 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15508 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15511 can_build_shared
=no
15515 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15516 # soname into executable. Probably we can add versioning support to
15517 # collect2, so additional links can be useful in future.
15518 if test "$aix_use_runtimelinking" = yes; then
15519 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15520 # instead of lib<name>.a to let people know that these are not
15521 # typical AIX shared libraries.
15522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524 # We preserve .a as extension for shared libraries through AIX4.2
15525 # and later when we are not doing run time linking.
15526 library_names_spec
='${libname}${release}.a $libname.a'
15527 soname_spec
='${libname}${release}${shared_ext}$major'
15529 shlibpath_var
=LIBPATH
15534 if test "$host_cpu" = m68k
; then
15535 library_names_spec
='$libname.ixlibrary $libname.a'
15536 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15537 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'
15544 library_names_spec
='${libname}${shared_ext}'
15545 dynamic_linker
="$host_os ld.so"
15546 shlibpath_var
=LIBRARY_PATH
15552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15554 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15555 shlibpath_var
=LD_LIBRARY_PATH
15556 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15557 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15558 # the default ld.so.conf also contains /usr/contrib/lib and
15559 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15560 # libtool to hard-code these into programs
15563 cygwin
* | mingw
* | pw32
*)
15564 version_type
=windows
15569 case $withGCC,$host_os in
15570 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15571 library_names_spec
='$libname.dll.a'
15572 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15573 postinstall_cmds
='base_file=`basename \${file}`~
15574 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15575 dldir=$destdir/`dirname \$dlpath`~
15576 test -d \$dldir || mkdir -p \$dldir~
15577 $install_prog $dir/$dlname \$dldir/$dlname~
15578 chmod a+x \$dldir/$dlname~
15579 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15580 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15582 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15583 dlpath=$dir/\$dldll~
15585 shlibpath_overrides_runpath
=yes
15589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15590 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15591 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15594 # MinGW DLLs use traditional 'lib' prefix
15595 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15596 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15597 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15598 # It is most probably a Windows format PATH printed by
15599 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15600 # path with ; separators, and with drive letters. We can handle the
15601 # drive letters (cygwin fileutils understands them), so leave them,
15602 # especially as we might pass files found there to a mingw objdump,
15603 # which wouldn't understand a cygwinified path. Ahh.
15604 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15606 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15610 # pw32 DLLs use 'pw' prefix rather than 'lib'
15611 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15617 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15620 dynamic_linker
='Win32 ld.exe'
15621 # FIXME: first we should search . and the directory the executable is in
15625 darwin
* | rhapsody
*)
15626 dynamic_linker
="$host_os dyld"
15627 version_type
=darwin
15630 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15631 soname_spec
='${libname}${release}${major}$shared_ext'
15632 shlibpath_overrides_runpath
=yes
15633 shlibpath_var
=DYLD_LIBRARY_PATH
15634 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15636 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15644 soname_spec
='${libname}${release}${shared_ext}$major'
15645 shlibpath_var
=LD_LIBRARY_PATH
15652 freebsd
* | dragonfly
*)
15653 # DragonFly does not have aout. When/if they implement a new
15654 # versioning mechanism, adjust this.
15655 if test -x /usr
/bin
/objformat
; then
15656 objformat
=`/usr/bin/objformat`
15659 freebsd
[123]*) objformat
=aout
;;
15660 *) objformat
=elf
;;
15663 version_type
=freebsd-
$objformat
15664 case $version_type in
15666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15671 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15675 shlibpath_var
=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath
=yes
15680 freebsd3.
[01]* | freebsdelf3.
[01]*)
15681 shlibpath_overrides_runpath
=yes
15682 hardcode_into_libs
=yes
15684 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15685 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15686 shlibpath_overrides_runpath
=no
15687 hardcode_into_libs
=yes
15689 *) # from 4.6 on, and DragonFly
15690 shlibpath_overrides_runpath
=yes
15691 hardcode_into_libs
=yes
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15701 soname_spec
='${libname}${release}${shared_ext}$major'
15702 shlibpath_var
=LD_LIBRARY_PATH
15703 hardcode_into_libs
=yes
15706 hpux9
* | hpux10
* | hpux11
*)
15707 # Give a soname corresponding to the major version so that dld.sl refuses to
15708 # link against other versions.
15715 hardcode_into_libs
=yes
15716 dynamic_linker
="$host_os dld.so"
15717 shlibpath_var
=LD_LIBRARY_PATH
15718 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720 soname_spec
='${libname}${release}${shared_ext}$major'
15721 if test "X$HPUX_IA64_MODE" = X32
; then
15722 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15724 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15726 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15730 hardcode_into_libs
=yes
15731 dynamic_linker
="$host_os dld.sl"
15732 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15733 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15737 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15741 dynamic_linker
="$host_os dld.sl"
15742 shlibpath_var
=SHLIB_PATH
15743 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15748 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15749 postinstall_cmds
='chmod 555 $lib'
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15759 shlibpath_var
=LD_LIBRARY_PATH
15760 shlibpath_overrides_runpath
=no
15761 hardcode_into_libs
=yes
15764 irix5
* | irix6
* | nonstopux
*)
15766 nonstopux
*) version_type
=nonstopux
;;
15768 if test "$lt_cv_prog_gnu_ld" = yes; then
15776 soname_spec
='${libname}${release}${shared_ext}$major'
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15779 irix5
* | nonstopux
*)
15780 libsuff
= shlibsuff
=
15783 case $LD in # libtool.m4 will add one of these switches to LD
15784 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15785 libsuff
= shlibsuff
= libmagic
=32-bit;;
15786 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15787 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15788 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15789 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15790 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15794 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15795 shlibpath_overrides_runpath
=no
15796 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15797 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15798 hardcode_into_libs
=yes
15801 # No shared lib support for Linux oldld, aout, or coff.
15802 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15806 # This must be Linux ELF.
15807 linux
* | k
*bsd
*-gnu)
15811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15812 soname_spec
='${libname}${release}${shared_ext}$major'
15813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15814 shlibpath_var
=LD_LIBRARY_PATH
15815 shlibpath_overrides_runpath
=no
15816 # Some binutils ld are patched to set DT_RUNPATH
15817 save_LDFLAGS
=$LDFLAGS
15818 save_libdir
=$libdir
15819 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15820 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15821 if test x
$gcc_no_link = xyes
; then
15822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15824 { (exit 1); exit 1; }; }
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15841 rm -f conftest.
$ac_objext conftest
$ac_exeext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15843 (eval $ac_link) 2>conftest.er1
15845 grep -v '^ *+' conftest.er1
>conftest.err
15847 cat conftest.err
>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try
='test -z "$ac_cxx_werror_flag"
15851 || test ! -s conftest.err'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; } &&
15857 { ac_try
='test -s conftest$ac_exeext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15864 shlibpath_overrides_runpath
=yes
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.
$ac_ext >&5
15872 rm -f conftest.err conftest.
$ac_objext \
15873 conftest
$ac_exeext conftest.
$ac_ext
15874 LDFLAGS
=$save_LDFLAGS
15875 libdir
=$save_libdir
15877 # This implies no fast_install, which is unacceptable.
15878 # Some rework will be needed to allow for fast_install
15879 # before this can be enabled.
15880 hardcode_into_libs
=yes
15882 # Append ld.so.conf contents to the search path
15883 if test -f /etc
/ld.so.conf
; then
15884 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' ' '`
15885 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15888 # We used to test for /lib/ld.so.1 and disable shared libraries on
15889 # powerpc, because MkLinux only supported shared libraries with the
15890 # GNU dynamic linker. Since this was broken with cross compilers,
15891 # most powerpc-linux boxes support dynamic linking these days and
15892 # people can always --disable-shared, the test was removed, and we
15893 # assume the GNU/Linux dynamic linker is in use.
15894 dynamic_linker
='GNU/Linux ld.so'
15901 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15903 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15904 dynamic_linker
='NetBSD (a.out) ld.so'
15906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15907 soname_spec
='${libname}${release}${shared_ext}$major'
15908 dynamic_linker
='NetBSD ld.elf_so'
15910 shlibpath_var
=LD_LIBRARY_PATH
15911 shlibpath_overrides_runpath
=yes
15912 hardcode_into_libs
=yes
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 shlibpath_var
=LD_LIBRARY_PATH
15919 shlibpath_overrides_runpath
=yes
15926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec
='${libname}${release}${shared_ext}$major'
15928 shlibpath_var
=LD_LIBRARY_PATH
15929 shlibpath_overrides_runpath
=no
15930 hardcode_into_libs
=yes
15931 dynamic_linker
='ldqnx.so'
15936 sys_lib_dlsearch_path_spec
="/usr/lib"
15938 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15940 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15941 *) need_version
=no
;;
15943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15945 shlibpath_var
=LD_LIBRARY_PATH
15946 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15948 openbsd2.
[89] | openbsd2.
[89].
*)
15949 shlibpath_overrides_runpath
=no
15952 shlibpath_overrides_runpath
=yes
15956 shlibpath_overrides_runpath
=yes
15961 libname_spec
='$name'
15964 library_names_spec
='$libname${shared_ext} $libname.a'
15965 dynamic_linker
='OS/2 ld.exe'
15966 shlibpath_var
=LIBPATH
15969 osf3
* | osf4
* | osf5
*)
15973 soname_spec
='${libname}${release}${shared_ext}$major'
15974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15977 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15989 soname_spec
='${libname}${release}${shared_ext}$major'
15990 shlibpath_var
=LD_LIBRARY_PATH
15991 shlibpath_overrides_runpath
=yes
15992 hardcode_into_libs
=yes
15993 # ldd complains unless libraries are executable
15994 postinstall_cmds
='chmod +x $lib'
15999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16000 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16001 shlibpath_var
=LD_LIBRARY_PATH
16002 shlibpath_overrides_runpath
=yes
16003 if test "$with_gnu_ld" = yes; then
16011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16012 soname_spec
='${libname}${release}${shared_ext}$major'
16013 shlibpath_var
=LD_LIBRARY_PATH
16014 case $host_vendor in
16016 shlibpath_overrides_runpath
=no
16018 runpath_var
=LD_RUN_PATH
16026 shlibpath_overrides_runpath
=no
16027 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16033 if test -d /usr
/nec
;then
16035 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16036 soname_spec
='$libname${shared_ext}.$major'
16037 shlibpath_var
=LD_LIBRARY_PATH
16041 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16042 version_type
=freebsd-elf
16045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16046 soname_spec
='${libname}${release}${shared_ext}$major'
16047 shlibpath_var
=LD_LIBRARY_PATH
16048 shlibpath_overrides_runpath
=yes
16049 hardcode_into_libs
=yes
16050 if test "$with_gnu_ld" = yes; then
16051 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16053 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16056 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16060 sys_lib_dlsearch_path_spec
='/usr/lib'
16064 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16068 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16069 shlibpath_var
=LD_LIBRARY_PATH
16070 shlibpath_overrides_runpath
=no
16071 hardcode_into_libs
=yes
16076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16077 soname_spec
='${libname}${release}${shared_ext}$major'
16078 shlibpath_var
=LD_LIBRARY_PATH
16085 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16086 echo "${ECHO_T}$dynamic_linker" >&6
16087 test "$dynamic_linker" = no
&& can_build_shared
=no
16089 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16090 if test "$GCC" = yes; then
16091 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16129 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16130 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16131 hardcode_action_CXX
=
16132 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16133 test -n "$runpath_var_CXX" ||
16134 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16136 # We can hardcode non-existent directories.
16137 if test "$hardcode_direct_CXX" != no
&&
16138 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16139 # have to relink, otherwise we might link with an installed library
16140 # when we should be linking with a yet-to-be-installed one
16141 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16142 test "$hardcode_minus_L_CXX" != no
; then
16143 # Linking always hardcodes the temporary library directory.
16144 hardcode_action_CXX
=relink
16146 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16147 hardcode_action_CXX
=immediate
16150 # We cannot hardcode anything, or else we can only hardcode existing
16152 hardcode_action_CXX
=unsupported
16154 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16155 echo "${ECHO_T}$hardcode_action_CXX" >&6
16157 if test "$hardcode_action_CXX" = relink ||
16158 test "$inherit_rpath_CXX" = yes; then
16159 # Fast installation is not supported
16160 enable_fast_install
=no
16161 elif test "$shlibpath_overrides_runpath" = yes ||
16162 test "$enable_shared" = no
; then
16163 # Fast installation is not necessary
16164 enable_fast_install
=needless
16173 fi # test -n "$compiler"
16179 with_gnu_ld
=$lt_save_with_gnu_ld
16180 lt_cv_path_LDCXX
=$lt_cv_path_LD
16181 lt_cv_path_LD
=$lt_save_path_LD
16182 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16183 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16184 fi # test "$_lt_caught_CXX_error" != yes
16187 ac_cpp
='$CPP $CPPFLAGS'
16188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16194 # Handle -Werror default case.
16195 if test "$ENABLE_WERROR" = default
; then
16198 if test "$GCC" = yes; then
16205 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16206 # Extract the first word of "perl", so it can be a program name with args.
16207 set dummy perl
; ac_word
=$2
16208 echo "$as_me:$LINENO: checking for $ac_word" >&5
16209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16210 if test "${ac_cv_path_PERL+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16219 for as_dir
in $PATH
16222 test -z "$as_dir" && as_dir
=.
16223 for ac_exec_ext
in '' $ac_executable_extensions; do
16224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16225 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16235 PERL
=$ac_cv_path_PERL
16237 if test -n "$PERL"; then
16238 echo "$as_me:$LINENO: result: $PERL" >&5
16239 echo "${ECHO_T}$PERL" >&6
16241 echo "$as_me:$LINENO: result: no" >&5
16242 echo "${ECHO_T}no" >&6
16247 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16249 ac_config_commands
="$ac_config_commands mkcollections.pl"
16253 if test "x${COMPILE_JNI}" = xyes
; then
16257 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16258 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16259 if test "${cv_c_gcc_attribute_supported+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16273 extern int testfunction(int x) __attribute__((,,))
16278 rm -f conftest.
$ac_objext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16280 (eval $ac_compile) 2>conftest.er1
16282 grep -v '^ *+' conftest.er1
>conftest.err
16284 cat conftest.err
>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try
='test -z "$ac_c_werror_flag"
16288 || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 cv_c_gcc_attribute_supported
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 cv_c_gcc_attribute_supported
=no
16307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 if test "x$cv_c_gcc_attribute_supported" = xyes
; then
16313 echo "$as_me:$LINENO: result: yes" >&5
16314 echo "${ECHO_T}yes" >&6
16316 cat >>confdefs.h
<<\_ACEOF
16317 #define HAVE_GNUC25_ATTRIB
16323 echo "$as_me:$LINENO: result: no" >&5
16324 echo "${ECHO_T}no" >&6
16337 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16338 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16339 if test "${cv_c_gcc_attribute_unused+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 cat >conftest.
$ac_ext <<_ACEOF
16346 cat confdefs.h
>>conftest.
$ac_ext
16347 cat >>conftest.
$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16353 extern int testfunction(int x) __attribute__((unused))
16358 rm -f conftest.
$ac_objext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16360 (eval $ac_compile) 2>conftest.er1
16362 grep -v '^ *+' conftest.er1
>conftest.err
16364 cat conftest.err
>&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } &&
16367 { ac_try
='test -z "$ac_c_werror_flag"
16368 || test ! -s conftest.err'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; } &&
16374 { ac_try
='test -s conftest.$ac_objext'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; }; then
16380 cv_c_gcc_attribute_unused
=yes
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.
$ac_ext >&5
16385 cv_c_gcc_attribute_unused
=no
16387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16391 if test "x$cv_c_gcc_attribute_unused" = xyes
; then
16393 echo "$as_me:$LINENO: result: yes" >&5
16394 echo "${ECHO_T}yes" >&6
16396 cat >>confdefs.h
<<\_ACEOF
16397 #define HAVE_GNUC25_UNUSED
16403 echo "$as_me:$LINENO: result: no" >&5
16404 echo "${ECHO_T}no" >&6
16413 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16414 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16415 if test "${ac_cv_header_stdc+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 #include <stdlib.h>
16425 #include <stdarg.h>
16426 #include <string.h>
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1
>conftest.err
16443 cat conftest.err
>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -z "$ac_c_werror_flag"
16447 || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try
='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_cv_header_stdc
=yes
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.
$ac_ext >&5
16464 ac_cv_header_stdc
=no
16466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16468 if test $ac_cv_header_stdc = yes; then
16469 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <string.h>
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "memchr" >/dev
/null
2>&1; then
16483 ac_cv_header_stdc
=no
16489 if test $ac_cv_header_stdc = yes; then
16490 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16491 cat >conftest.
$ac_ext <<_ACEOF
16494 cat confdefs.h
>>conftest.
$ac_ext
16495 cat >>conftest.
$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #include <stdlib.h>
16500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501 $EGREP "free" >/dev
/null
2>&1; then
16504 ac_cv_header_stdc
=no
16510 if test $ac_cv_header_stdc = yes; then
16511 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16512 if test "$cross_compiling" = yes; then
16515 cat >conftest.
$ac_ext <<_ACEOF
16518 cat confdefs.h
>>conftest.
$ac_ext
16519 cat >>conftest.
$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16522 #if ((' ' & 0x0FF) == 0x020)
16523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16526 # define ISLOWER(c) \
16527 (('a' <= (c) && (c) <= 'i') \
16528 || ('j' <= (c) && (c) <= 'r') \
16529 || ('s' <= (c) && (c) <= 'z'))
16530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16538 for (i = 0; i < 256; i++)
16539 if (XOR (islower (i), ISLOWER (i))
16540 || toupper (i) != TOUPPER (i))
16545 rm -f conftest
$ac_exeext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16547 (eval $ac_link) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16558 echo "$as_me: program exited with status $ac_status" >&5
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.
$ac_ext >&5
16562 ( exit $ac_status )
16563 ac_cv_header_stdc
=no
16565 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16569 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16570 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16571 if test $ac_cv_header_stdc = yes; then
16573 cat >>confdefs.h
<<\_ACEOF
16574 #define STDC_HEADERS 1
16580 echo "$as_me:$LINENO: checking size of void *" >&5
16581 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16582 if test "${ac_cv_sizeof_void_p+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16586 cat >conftest.
$ac_ext <<_ACEOF
16589 cat confdefs.h
>>conftest.
$ac_ext
16590 cat >>conftest.
$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 #include "confdefs.h"
16593 #include <sys/types.h>
16599 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16604 rm -f conftest.
$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16608 grep -v '^ *+' conftest.er1
>conftest.err
16610 cat conftest.err
>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try
='test -z "$ac_c_werror_flag"
16614 || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try
='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 ac_cv_sizeof_void_p
=$ac_size
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.
$ac_ext >&5
16632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16633 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16638 if test x
$ac_cv_sizeof_void_p = x
; then
16639 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16640 echo "$as_me: error: cannot determine a size for void *" >&2;}
16641 { (exit 1); exit 1; }; }
16643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16644 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16646 cat >>confdefs.h
<<_ACEOF
16647 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16652 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16653 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16654 if test "${ac_cv_c_bigendian+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 ac_cv_c_bigendian
=unknown
16658 # See if sys/param.h defines the BYTE_ORDER macro.
16659 cat >conftest.
$ac_ext <<_ACEOF
16662 cat confdefs.h
>>conftest.
$ac_ext
16663 cat >>conftest.
$ac_ext <<_ACEOF
16664 /* end confdefs.h. */
16665 #include <sys/types.h>
16666 #include <sys/param.h>
16671 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16672 bogus endian macros
16678 rm -f conftest.
$ac_objext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16680 (eval $ac_compile) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -z "$ac_c_werror_flag"
16688 || test ! -s conftest.err'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try
='test -s conftest.$ac_objext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16700 # It does; now see whether it defined to BIG_ENDIAN or not.
16701 cat >conftest.
$ac_ext <<_ACEOF
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #include <sys/types.h>
16708 #include <sys/param.h>
16713 #if BYTE_ORDER != BIG_ENDIAN
16720 rm -f conftest.
$ac_objext
16721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16722 (eval $ac_compile) 2>conftest.er1
16724 grep -v '^ *+' conftest.er1
>conftest.err
16726 cat conftest.err
>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } &&
16729 { ac_try
='test -z "$ac_c_werror_flag"
16730 || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try
='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 ac_cv_c_bigendian
=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16747 ac_cv_c_bigendian
=no
16749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.
$ac_ext >&5
16755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16756 if test $ac_cv_c_bigendian = unknown
; then
16757 if test "$cross_compiling" = yes; then
16758 echo $ac_n "cross-compiling... " 2>&6
16760 cat >conftest.
$ac_ext <<_ACEOF
16763 cat confdefs.h
>>conftest.
$ac_ext
16764 cat >>conftest.
$ac_ext <<_ACEOF
16765 /* end confdefs.h. */
16767 /* Are we little or big endian? From Harbison&Steele. */
16771 char c[sizeof (long)];
16774 exit (u.c[sizeof (long) - 1] == 1);
16777 rm -f conftest
$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779 (eval $ac_link) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16788 ac_cv_c_bigendian
=no
16790 echo "$as_me: program exited with status $ac_status" >&5
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16794 ( exit $ac_status )
16795 ac_cv_c_bigendian
=yes
16797 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16801 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16802 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16803 if test $ac_cv_c_bigendian = unknown
; then
16804 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
16805 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
16807 cat >conftest.c
<<EOF
16808 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16809 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16810 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16811 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16812 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16813 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16814 int main() { _ascii (); _ebcdic (); return 0; }
16816 if test -f conftest.c
; then
16817 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16818 if test `grep -l BIGenDianSyS conftest.o` ; then
16819 echo $ac_n ' big endian probe OK, ' 1>&6
16820 ac_cv_c_bigendian
=yes
16822 if test `grep -l LiTTleEnDian conftest.o` ; then
16823 echo $ac_n ' little endian probe OK, ' 1>&6
16824 if test $ac_cv_c_bigendian = yes ; then
16825 ac_cv_c_bigendian
=unknown
;
16827 ac_cv_c_bigendian
=no
16830 echo $ac_n 'guessing bigendian ... ' >&6
16833 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16834 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16836 if test $ac_cv_c_bigendian = yes; then
16838 cat >>confdefs.h
<<\_ACEOF
16839 #define WORDS_BIGENDIAN 1
16843 cat >>confdefs.h
<<\_ACEOF
16844 #define HOST_WORDS_BIG_ENDIAN 1
16852 cat >>confdefs.h
<<_ACEOF
16853 #define BYTEORDER $BYTEORDER
16856 if test $ac_cv_c_bigendian = unknown
; then
16857 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
16858 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
16859 { (exit 1); exit 1; }; }
16882 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
16884 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
16891 sys
/event.h sys
/epoll.h \
16894 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16896 echo "$as_me:$LINENO: checking for $ac_header" >&5
16897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16904 # Is the header compilable?
16905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16907 cat >conftest.
$ac_ext <<_ACEOF
16910 cat confdefs.h
>>conftest.
$ac_ext
16911 cat >>conftest.
$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913 $ac_includes_default
16914 #include <$ac_header>
16916 rm -f conftest.
$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>conftest.er1
16920 grep -v '^ *+' conftest.er1
>conftest.err
16922 cat conftest.err
>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } &&
16925 { ac_try
='test -z "$ac_c_werror_flag"
16926 || test ! -s conftest.err'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; } &&
16932 { ac_try
='test -s conftest.$ac_objext'
16933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16934 (eval $ac_try) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; }; then
16938 ac_header_compiler
=yes
16940 echo "$as_me: failed program was:" >&5
16941 sed 's/^/| /' conftest.
$ac_ext >&5
16943 ac_header_compiler
=no
16945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16947 echo "${ECHO_T}$ac_header_compiler" >&6
16949 # Is the header present?
16950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16952 cat >conftest.
$ac_ext <<_ACEOF
16955 cat confdefs.h
>>conftest.
$ac_ext
16956 cat >>conftest.
$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 #include <$ac_header>
16960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16963 grep -v '^ *+' conftest.er1
>conftest.err
16965 cat conftest.err
>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); } >/dev
/null
; then
16968 if test -s conftest.err
; then
16969 ac_cpp_err
=$ac_c_preproc_warn_flag
16970 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16977 if test -z "$ac_cpp_err"; then
16978 ac_header_preproc
=yes
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ac_header_preproc
=no
16985 rm -f conftest.err conftest.
$ac_ext
16986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16987 echo "${ECHO_T}$ac_header_preproc" >&6
16989 # So? What about this header?
16990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16996 ac_header_preproc
=yes
16999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17013 ## -------------------------------- ##
17014 ## Report this to classpath@gnu.org ##
17015 ## -------------------------------- ##
17018 sed "s/^/$as_me: WARNING: /" >&2
17021 echo "$as_me:$LINENO: checking for $ac_header" >&5
17022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 eval "$as_ac_Header=\$ac_header_preproc"
17028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17033 cat >>confdefs.h
<<_ACEOF
17034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17042 cat >conftest.
$ac_ext <<_ACEOF
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <stdint.h>
17051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17052 $EGREP "uint32_t" >/dev
/null
2>&1; then
17054 cat >>confdefs.h
<<\_ACEOF
17055 #define HAVE_INT32_DEFINED 1
17061 cat >conftest.
$ac_ext <<_ACEOF
17064 cat confdefs.h
>>conftest.
$ac_ext
17065 cat >>conftest.
$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067 #include <inttypes.h>
17070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17071 $EGREP "uint32_t" >/dev
/null
2>&1; then
17073 cat >>confdefs.h
<<\_ACEOF
17074 #define HAVE_INT32_DEFINED 1
17080 cat >conftest.
$ac_ext <<_ACEOF
17083 cat confdefs.h
>>conftest.
$ac_ext
17084 cat >>conftest.
$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <sys/types.h>
17089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17090 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17092 cat >>confdefs.h
<<\_ACEOF
17093 #define HAVE_BSD_INT32_DEFINED 1
17099 cat >conftest.
$ac_ext <<_ACEOF
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 #include <sys/config.h>
17108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17109 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17111 cat >>confdefs.h
<<\_ACEOF
17112 #define HAVE_BSD_INT32_DEFINED 1
17173 for ac_func
in ftruncate fsync
select \
17174 gethostname socket strerror fork pipe execve open close \
17175 lseek fstat
read readv
write writev htonl memset htons connect \
17176 getsockname getpeername
bind listen accept \
17177 recvfrom send sendto setsockopt getsockopt
time mktime \
17178 gethostbyname_r localtime_r \
17181 mmap munmap mincore msync madvise getpagesize sysconf \
17183 inet_aton inet_addr inet_pton \
17184 getifaddrs kqueue kevent epoll_create \
17187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17188 echo "$as_me:$LINENO: checking for $ac_func" >&5
17189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17190 if eval "test \"\${$as_ac_var+set}\" = set"; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 if test x
$gcc_no_link = xyes
; then
17194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17196 { (exit 1); exit 1; }; }
17198 cat >conftest.
$ac_ext <<_ACEOF
17201 cat confdefs.h
>>conftest.
$ac_ext
17202 cat >>conftest.
$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17206 #define $ac_func innocuous_$ac_func
17208 /* System header to define __stub macros and hopefully few prototypes,
17209 which can conflict with char $ac_func (); below.
17210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17211 <limits.h> exists even on freestanding compilers. */
17214 # include <limits.h>
17216 # include <assert.h>
17221 /* Override any gcc2 internal prototype to avoid an error. */
17226 /* We use char because int might match the return type of a gcc2
17227 builtin and then its argument prototype would still apply. */
17229 /* The GNU C library defines this for functions which it implements
17230 to always fail with ENOSYS. Some functions are actually named
17231 something starting with __ and the normal name is an alias. */
17232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17235 char (*f) () = $ac_func;
17244 return f != $ac_func;
17249 rm -f conftest.
$ac_objext conftest
$ac_exeext
17250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17251 (eval $ac_link) 2>conftest.er1
17253 grep -v '^ *+' conftest.er1
>conftest.err
17255 cat conftest.err
>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try
='test -z "$ac_c_werror_flag"
17259 || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try
='test -s conftest$ac_exeext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 eval "$as_ac_var=yes"
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.
$ac_ext >&5
17276 eval "$as_ac_var=no"
17278 rm -f conftest.err conftest.
$ac_objext \
17279 conftest
$ac_exeext conftest.
$ac_ext
17281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17283 if test `eval echo '${'$as_ac_var'}'` = yes; then
17284 cat >>confdefs.h
<<_ACEOF
17285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17293 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17294 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17295 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 ac_check_lib_save_LIBS
=$LIBS
17299 LIBS
="-lmagic $LIBS"
17300 if test x
$gcc_no_link = xyes
; then
17301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17303 { (exit 1); exit 1; }; }
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17312 /* Override any gcc2 internal prototype to avoid an error. */
17316 /* We use char because int might match the return type of a gcc2
17317 builtin and then its argument prototype would still apply. */
17318 char magic_open ();
17327 rm -f conftest.
$ac_objext conftest
$ac_exeext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17329 (eval $ac_link) 2>conftest.er1
17331 grep -v '^ *+' conftest.er1
>conftest.err
17333 cat conftest.err
>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try
='test -z "$ac_c_werror_flag"
17337 || test ! -s conftest.err'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; } &&
17343 { ac_try
='test -s conftest$ac_exeext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_cv_lib_magic_magic_open
=yes
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17354 ac_cv_lib_magic_magic_open
=no
17356 rm -f conftest.err conftest.
$ac_objext \
17357 conftest
$ac_exeext conftest.
$ac_ext
17358 LIBS
=$ac_check_lib_save_LIBS
17360 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17361 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17362 if test $ac_cv_lib_magic_magic_open = yes; then
17368 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17369 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17370 cat >conftest.
$ac_ext <<_ACEOF
17373 cat confdefs.h
>>conftest.
$ac_ext
17374 cat >>conftest.
$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 #include <netinet/in.h>
17380 struct sockaddr_in6 addr6;
17385 rm -f conftest.
$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1
>conftest.err
17391 cat conftest.err
>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try
='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try
='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17408 cat >>confdefs.h
<<\_ACEOF
17409 #define HAVE_INET6 1
17412 echo "$as_me:$LINENO: result: yes" >&5
17413 echo "${ECHO_T}yes" >&6
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.
$ac_ext >&5
17418 echo "$as_me:$LINENO: result: no" >&5
17419 echo "${ECHO_T}no" >&6
17421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17424 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17425 if test "${ac_cv_header_time+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 cat >conftest.
$ac_ext <<_ACEOF
17431 cat confdefs.h
>>conftest.
$ac_ext
17432 cat >>conftest.
$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17434 #include <sys/types.h>
17435 #include <sys/time.h>
17441 if ((struct tm *) 0)
17447 rm -f conftest.
$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17451 grep -v '^ *+' conftest.er1
>conftest.err
17453 cat conftest.err
>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try
='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
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); }; } &&
17463 { ac_try
='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_header_time
=yes
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ac_cv_header_time
=no
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17479 echo "${ECHO_T}$ac_cv_header_time" >&6
17480 if test $ac_cv_header_time = yes; then
17482 cat >>confdefs.h
<<\_ACEOF
17483 #define TIME_WITH_SYS_TIME 1
17488 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17489 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17490 if test "${ac_cv_struct_tm+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 cat >conftest.
$ac_ext <<_ACEOF
17496 cat confdefs.h
>>conftest.
$ac_ext
17497 cat >>conftest.
$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 #include <sys/types.h>
17505 struct tm *tp; tp->tm_sec;
17510 rm -f conftest.
$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try
='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try
='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_cv_struct_tm
=time.h
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.
$ac_ext >&5
17537 ac_cv_struct_tm
=sys
/time.h
17539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17541 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17542 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17543 if test $ac_cv_struct_tm = sys
/time.h
; then
17545 cat >>confdefs.h
<<\_ACEOF
17546 #define TM_IN_SYS_TIME 1
17551 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17552 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17553 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 cat >conftest.
$ac_ext <<_ACEOF
17559 cat confdefs.h
>>conftest.
$ac_ext
17560 cat >>conftest.
$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 #include <sys/types.h>
17563 #include <$ac_cv_struct_tm>
17569 static struct tm ac_aggr;
17570 if (ac_aggr.tm_zone)
17576 rm -f conftest.
$ac_objext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17578 (eval $ac_compile) 2>conftest.er1
17580 grep -v '^ *+' conftest.er1
>conftest.err
17582 cat conftest.err
>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try
='test -z "$ac_c_werror_flag"
17586 || test ! -s conftest.err'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try
='test -s conftest.$ac_objext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 ac_cv_member_struct_tm_tm_zone
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 #include <sys/types.h>
17610 #include <$ac_cv_struct_tm>
17616 static struct tm ac_aggr;
17617 if (sizeof ac_aggr.tm_zone)
17623 rm -f conftest.
$ac_objext
17624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17625 (eval $ac_compile) 2>conftest.er1
17627 grep -v '^ *+' conftest.er1
>conftest.err
17629 cat conftest.err
>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } &&
17632 { ac_try
='test -z "$ac_c_werror_flag"
17633 || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try
='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17645 ac_cv_member_struct_tm_tm_zone
=yes
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 ac_cv_member_struct_tm_tm_zone
=no
17652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
17657 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
17658 if test $ac_cv_member_struct_tm_tm_zone = yes; then
17660 cat >>confdefs.h
<<_ACEOF
17661 #define HAVE_STRUCT_TM_TM_ZONE 1
17667 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17669 cat >>confdefs.h
<<\_ACEOF
17670 #define HAVE_TM_ZONE 1
17674 echo "$as_me:$LINENO: checking for tzname" >&5
17675 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
17676 if test "${ac_cv_var_tzname+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 if test x
$gcc_no_link = xyes
; then
17680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17682 { (exit 1); exit 1; }; }
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17691 #ifndef tzname /* For SGI. */
17692 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
17703 rm -f conftest.
$ac_objext conftest
$ac_exeext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17705 (eval $ac_link) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest$ac_exeext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_var_tzname
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ac_cv_var_tzname
=no
17732 rm -f conftest.err conftest.
$ac_objext \
17733 conftest
$ac_exeext conftest.
$ac_ext
17735 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
17736 echo "${ECHO_T}$ac_cv_var_tzname" >&6
17737 if test $ac_cv_var_tzname = yes; then
17739 cat >>confdefs.h
<<\_ACEOF
17740 #define HAVE_TZNAME 1
17747 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
17748 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
17749 cat >conftest.
$ac_ext <<_ACEOF
17752 cat confdefs.h
>>conftest.
$ac_ext
17753 cat >>conftest.
$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17759 struct tm tim; tim.tm_gmtoff = 0;
17764 rm -f conftest.
$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try
='test -z "$ac_c_werror_flag"
17774 || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17787 cat >>confdefs.h
<<\_ACEOF
17788 #define STRUCT_TM_HAS_GMTOFF 1
17791 echo "$as_me:$LINENO: result: yes" >&5
17792 echo "${ECHO_T}yes" >&6
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.
$ac_ext >&5
17797 echo "$as_me:$LINENO: result: no" >&5
17798 echo "${ECHO_T}no" >&6
17799 echo "$as_me:$LINENO: checking for global timezone variable" >&5
17800 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
17801 cat >conftest.
$ac_ext <<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17811 void i(){long z2 = 2*timezone;}
17816 rm -f conftest.
$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818 (eval $ac_compile) 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try
='test -z "$ac_c_werror_flag"
17826 || test ! -s conftest.err'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try
='test -s conftest.$ac_objext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17839 cat >>confdefs.h
<<\_ACEOF
17840 #define HAVE_TIMEZONE 1
17843 echo "$as_me:$LINENO: result: yes" >&5
17844 echo "${ECHO_T}yes" >&6
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.
$ac_ext >&5
17849 echo "$as_me:$LINENO: result: no" >&5
17850 echo "${ECHO_T}no" >&6
17851 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
17852 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
17853 cat >conftest.
$ac_ext <<_ACEOF
17856 cat confdefs.h
>>conftest.
$ac_ext
17857 cat >>conftest.
$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17863 long z2 = _timezone;
17868 rm -f conftest.
$ac_objext
17869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17870 (eval $ac_compile) 2>conftest.er1
17872 grep -v '^ *+' conftest.er1
>conftest.err
17874 cat conftest.err
>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try
='test -z "$ac_c_werror_flag"
17878 || test ! -s conftest.err'
17879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17880 (eval $ac_try) 2>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); }; } &&
17884 { ac_try
='test -s conftest.$ac_objext'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; }; then
17891 cat >>confdefs.h
<<\_ACEOF
17892 #define HAVE_UNDERSCORE_TIMEZONE 1
17895 echo "$as_me:$LINENO: result: yes" >&5
17896 echo "${ECHO_T}yes" >&6
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 echo "$as_me:$LINENO: result: no" >&5
17902 echo "${ECHO_T}no" >&6
17904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17910 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17912 if test "${ac_cv_c_const+set}" = set; then
17913 echo $ECHO_N "(cached) $ECHO_C" >&6
17915 cat >conftest.
$ac_ext <<_ACEOF
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17925 /* FIXME: Include the comments suggested by Paul. */
17926 #ifndef __cplusplus
17927 /* Ultrix mips cc rejects this. */
17928 typedef int charset[2];
17930 /* SunOS 4.1.1 cc rejects this. */
17931 char const *const *ccp;
17933 /* NEC SVR4.0.2 mips cc rejects this. */
17934 struct point {int x, y;};
17935 static struct point const zero = {0,0};
17936 /* AIX XL C 1.02.0.0 rejects this.
17937 It does not let you subtract one const X* pointer from another in
17938 an arm of an if-expression whose if-part is not a constant
17940 const char *g = "string";
17941 ccp = &g + (g ? g-g : 0);
17942 /* HPUX 7.0 cc rejects these. */
17945 ccp = (char const *const *) p;
17946 { /* SCO 3.2v4 cc rejects this. */
17948 char const *s = 0 ? (char *) 0 : (char const *) 0;
17952 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17953 int x[] = {25, 17};
17954 const int *foo = &x[0];
17957 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17958 typedef const int *iptr;
17962 { /* AIX XL C 1.02.0.0 rejects this saying
17963 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17964 struct s { int j; const int *ap[3]; };
17965 struct s *b; b->j = 5;
17967 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17968 const int foo = 10;
17976 rm -f conftest.
$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>conftest.er1
17980 grep -v '^ *+' conftest.er1
>conftest.err
17982 cat conftest.err
>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } &&
17985 { ac_try
='test -z "$ac_c_werror_flag"
17986 || test ! -s conftest.err'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; } &&
17992 { ac_try
='test -s conftest.$ac_objext'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; }; then
18000 echo "$as_me: failed program was:" >&5
18001 sed 's/^/| /' conftest.
$ac_ext >&5
18005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18007 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18008 echo "${ECHO_T}$ac_cv_c_const" >&6
18009 if test $ac_cv_c_const = no
; then
18011 cat >>confdefs.h
<<\_ACEOF
18017 echo "$as_me:$LINENO: checking for __attribute__" >&5
18018 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18019 if test "${ac_cv_c_attribute+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 cat >conftest.
$ac_ext <<_ACEOF
18026 cat confdefs.h
>>conftest.
$ac_ext
18027 cat >>conftest.
$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 void foo(void) __attribute__ ((__noreturn__));
18032 rm -f conftest.
$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18036 grep -v '^ *+' conftest.er1
>conftest.err
18038 cat conftest.err
>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try
='test -s conftest.$ac_objext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_c_attribute
=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.
$ac_ext >&5
18059 ac_cv_c_attribute
=no
18062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18066 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18069 case $ac_cv_c_attribute in
18072 cat >>confdefs.h
<<_ACEOF
18073 #define __attribute__(x) /* nothing */
18080 if test "X$prefix" = "XNONE"; then
18081 acl_final_prefix
="$ac_default_prefix"
18083 acl_final_prefix
="$prefix"
18085 if test "X$exec_prefix" = "XNONE"; then
18086 acl_final_exec_prefix
='${prefix}'
18088 acl_final_exec_prefix
="$exec_prefix"
18090 acl_save_prefix
="$prefix"
18091 prefix
="$acl_final_prefix"
18092 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
18093 prefix
="$acl_save_prefix"
18096 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18097 if test "${with_gnu_ld+set}" = set; then
18098 withval
="$with_gnu_ld"
18099 test "$withval" = no || with_gnu_ld
=yes
18103 # Prepare PATH_SEPARATOR.
18104 # The user is always right.
18105 if test "${PATH_SEPARATOR+set}" != set; then
18106 echo "#! /bin/sh" >conf$$.sh
18107 echo "exit 0" >>conf$$.sh
18109 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18117 if test "$GCC" = yes; then
18118 # Check if gcc -print-prog-name=ld gives a path.
18119 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18120 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18123 # gcc leaves a trailing carriage return which upsets mingw
18124 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18126 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18129 # Accept absolute paths.
18130 [\\/]* |
[A-Za-z
]:[\\/]*)
18131 re_direlt
='/[^/][^/]*/\.\./'
18132 # Canonicalize the path of ld
18133 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18134 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18135 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18137 test -z "$LD" && LD
="$ac_prog"
18140 # If it fails, then pretend we aren't using GCC.
18144 # If it is relative, then search for the first ld in PATH.
18145 with_gnu_ld
=unknown
18148 elif test "$with_gnu_ld" = yes; then
18149 echo "$as_me:$LINENO: checking for GNU ld" >&5
18150 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18152 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18153 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18155 if test "${acl_cv_path_LD+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 if test -z "$LD"; then
18159 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18160 for ac_dir
in $PATH; do
18161 test -z "$ac_dir" && ac_dir
=.
18162 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18163 acl_cv_path_LD
="$ac_dir/$ac_prog"
18164 # Check to see if the program is GNU ld. I'd rather use --version,
18165 # but apparently some GNU ld's only accept -v.
18166 # Break only if it was the GNU/non-GNU ld that we prefer.
18167 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
18168 test "$with_gnu_ld" != no
&& break
18170 test "$with_gnu_ld" != yes && break
18176 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18180 LD
="$acl_cv_path_LD"
18181 if test -n "$LD"; then
18182 echo "$as_me:$LINENO: result: $LD" >&5
18183 echo "${ECHO_T}$LD" >&6
18185 echo "$as_me:$LINENO: result: no" >&5
18186 echo "${ECHO_T}no" >&6
18188 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18189 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18190 { (exit 1); exit 1; }; }
18191 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18192 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18193 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18197 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
18198 acl_cv_prog_gnu_ld
=yes
18200 acl_cv_prog_gnu_ld
=no
18203 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18204 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18205 with_gnu_ld
=$acl_cv_prog_gnu_ld
18209 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18210 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18211 if test "${acl_cv_rpath+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18216 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18218 rm -f .
/conftest.sh
18222 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18223 echo "${ECHO_T}$acl_cv_rpath" >&6
18225 libext
="$acl_cv_libext"
18226 shlibext
="$acl_cv_shlibext"
18227 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18228 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18229 hardcode_direct
="$acl_cv_hardcode_direct"
18230 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18231 # Check whether --enable-rpath or --disable-rpath was given.
18232 if test "${enable_rpath+set}" = set; then
18233 enableval
="$enable_rpath"
18247 acl_save_prefix
="$prefix"
18248 prefix
="$acl_final_prefix"
18249 acl_save_exec_prefix
="$exec_prefix"
18250 exec_prefix
="$acl_final_exec_prefix"
18252 eval additional_includedir
=\"$includedir\"
18253 eval additional_libdir
=\"$libdir\"
18255 exec_prefix
="$acl_save_exec_prefix"
18256 prefix
="$acl_save_prefix"
18259 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
18260 if test "${with_libiconv_prefix+set}" = set; then
18261 withval
="$with_libiconv_prefix"
18263 if test "X$withval" = "Xno"; then
18266 if test "X$withval" = "X"; then
18268 acl_save_prefix
="$prefix"
18269 prefix
="$acl_final_prefix"
18270 acl_save_exec_prefix
="$exec_prefix"
18271 exec_prefix
="$acl_final_exec_prefix"
18273 eval additional_includedir
=\"$includedir\"
18274 eval additional_libdir
=\"$libdir\"
18276 exec_prefix
="$acl_save_exec_prefix"
18277 prefix
="$acl_save_prefix"
18280 additional_includedir
="$withval/include"
18281 additional_libdir
="$withval/lib"
18291 names_already_handled
=
18292 names_next_round
='iconv '
18293 while test -n "$names_next_round"; do
18294 names_this_round
="$names_next_round"
18296 for name
in $names_this_round; do
18298 for n
in $names_already_handled; do
18299 if test "$n" = "$name"; then
18300 already_handled
=yes
18304 if test -z "$already_handled"; then
18305 names_already_handled
="$names_already_handled $name"
18306 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18307 eval value
=\"\
$HAVE_LIB$uppername\"
18308 if test -n "$value"; then
18309 if test "$value" = yes; then
18310 eval value
=\"\
$LIB$uppername\"
18311 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18312 eval value
=\"\
$LTLIB$uppername\"
18313 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18322 if test $use_additional = yes; then
18323 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18324 found_dir
="$additional_libdir"
18325 found_so
="$additional_libdir/lib$name.$shlibext"
18326 if test -f "$additional_libdir/lib$name.la"; then
18327 found_la
="$additional_libdir/lib$name.la"
18330 if test -f "$additional_libdir/lib$name.$libext"; then
18331 found_dir
="$additional_libdir"
18332 found_a
="$additional_libdir/lib$name.$libext"
18333 if test -f "$additional_libdir/lib$name.la"; then
18334 found_la
="$additional_libdir/lib$name.la"
18339 if test "X$found_dir" = "X"; then
18340 for x
in $LDFLAGS $LTLIBICONV; do
18342 acl_save_prefix
="$prefix"
18343 prefix
="$acl_final_prefix"
18344 acl_save_exec_prefix
="$exec_prefix"
18345 exec_prefix
="$acl_final_exec_prefix"
18347 exec_prefix
="$acl_save_exec_prefix"
18348 prefix
="$acl_save_prefix"
18352 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18353 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18355 found_so
="$dir/lib$name.$shlibext"
18356 if test -f "$dir/lib$name.la"; then
18357 found_la
="$dir/lib$name.la"
18360 if test -f "$dir/lib$name.$libext"; then
18362 found_a
="$dir/lib$name.$libext"
18363 if test -f "$dir/lib$name.la"; then
18364 found_la
="$dir/lib$name.la"
18370 if test "X$found_dir" != "X"; then
18375 if test "X$found_dir" != "X"; then
18376 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18377 if test "X$found_so" != "X"; then
18378 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
18379 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18382 for x
in $ltrpathdirs; do
18383 if test "X$x" = "X$found_dir"; then
18388 if test -z "$haveit"; then
18389 ltrpathdirs
="$ltrpathdirs $found_dir"
18391 if test "$hardcode_direct" = yes; then
18392 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18394 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
18395 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18397 for x
in $rpathdirs; do
18398 if test "X$x" = "X$found_dir"; then
18403 if test -z "$haveit"; then
18404 rpathdirs
="$rpathdirs $found_dir"
18408 for x
in $LDFLAGS $LIBICONV; do
18410 acl_save_prefix
="$prefix"
18411 prefix
="$acl_final_prefix"
18412 acl_save_exec_prefix
="$exec_prefix"
18413 exec_prefix
="$acl_final_exec_prefix"
18415 exec_prefix
="$acl_save_exec_prefix"
18416 prefix
="$acl_save_prefix"
18418 if test "X$x" = "X-L$found_dir"; then
18423 if test -z "$haveit"; then
18424 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18426 if test "$hardcode_minus_L" != no
; then
18427 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18429 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18435 if test "X$found_a" != "X"; then
18436 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18438 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18441 additional_includedir
=
18442 case "$found_dir" in
18444 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18445 additional_includedir
="$basedir/include"
18448 if test "X$additional_includedir" != "X"; then
18449 if test "X$additional_includedir" != "X/usr/include"; then
18451 if test "X$additional_includedir" = "X/usr/local/include"; then
18452 if test -n "$GCC"; then
18454 linux
*) haveit
=yes;;
18458 if test -z "$haveit"; then
18459 for x
in $CPPFLAGS $INCICONV; do
18461 acl_save_prefix
="$prefix"
18462 prefix
="$acl_final_prefix"
18463 acl_save_exec_prefix
="$exec_prefix"
18464 exec_prefix
="$acl_final_exec_prefix"
18466 exec_prefix
="$acl_save_exec_prefix"
18467 prefix
="$acl_save_prefix"
18469 if test "X$x" = "X-I$additional_includedir"; then
18474 if test -z "$haveit"; then
18475 if test -d "$additional_includedir"; then
18476 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18482 if test -n "$found_la"; then
18483 save_libdir
="$libdir"
18484 case "$found_la" in
18485 */* |
*\\*) .
"$found_la" ;;
18486 *) .
"./$found_la" ;;
18488 libdir
="$save_libdir"
18489 for dep
in $dependency_libs; do
18492 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18493 if test "X$additional_libdir" != "X/usr/lib"; then
18495 if test "X$additional_libdir" = "X/usr/local/lib"; then
18496 if test -n "$GCC"; then
18498 linux
*) haveit
=yes;;
18502 if test -z "$haveit"; then
18504 for x
in $LDFLAGS $LIBICONV; do
18506 acl_save_prefix
="$prefix"
18507 prefix
="$acl_final_prefix"
18508 acl_save_exec_prefix
="$exec_prefix"
18509 exec_prefix
="$acl_final_exec_prefix"
18511 exec_prefix
="$acl_save_exec_prefix"
18512 prefix
="$acl_save_prefix"
18514 if test "X$x" = "X-L$additional_libdir"; then
18519 if test -z "$haveit"; then
18520 if test -d "$additional_libdir"; then
18521 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18525 for x
in $LDFLAGS $LTLIBICONV; do
18527 acl_save_prefix
="$prefix"
18528 prefix
="$acl_final_prefix"
18529 acl_save_exec_prefix
="$exec_prefix"
18530 exec_prefix
="$acl_final_exec_prefix"
18532 exec_prefix
="$acl_save_exec_prefix"
18533 prefix
="$acl_save_prefix"
18535 if test "X$x" = "X-L$additional_libdir"; then
18540 if test -z "$haveit"; then
18541 if test -d "$additional_libdir"; then
18542 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18549 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
18550 if test "$enable_rpath" != no
; then
18552 for x
in $rpathdirs; do
18553 if test "X$x" = "X$dir"; then
18558 if test -z "$haveit"; then
18559 rpathdirs
="$rpathdirs $dir"
18562 for x
in $ltrpathdirs; do
18563 if test "X$x" = "X$dir"; then
18568 if test -z "$haveit"; then
18569 ltrpathdirs
="$ltrpathdirs $dir"
18574 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18577 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18580 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
18581 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18587 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18588 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18594 if test "X$rpathdirs" != "X"; then
18595 if test -n "$hardcode_libdir_separator"; then
18597 for found_dir
in $rpathdirs; do
18598 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
18600 acl_save_libdir
="$libdir"
18602 eval flag
=\"$hardcode_libdir_flag_spec\"
18603 libdir
="$acl_save_libdir"
18604 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18606 for found_dir
in $rpathdirs; do
18607 acl_save_libdir
="$libdir"
18608 libdir
="$found_dir"
18609 eval flag
=\"$hardcode_libdir_flag_spec\"
18610 libdir
="$acl_save_libdir"
18611 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
18615 if test "X$ltrpathdirs" != "X"; then
18616 for found_dir
in $ltrpathdirs; do
18617 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18627 am_save_CPPFLAGS
="$CPPFLAGS"
18629 for element
in $INCICONV; do
18631 for x
in $CPPFLAGS; do
18633 acl_save_prefix
="$prefix"
18634 prefix
="$acl_final_prefix"
18635 acl_save_exec_prefix
="$exec_prefix"
18636 exec_prefix
="$acl_final_exec_prefix"
18638 exec_prefix
="$acl_save_exec_prefix"
18639 prefix
="$acl_save_prefix"
18641 if test "X$x" = "X$element"; then
18646 if test -z "$haveit"; then
18647 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18652 echo "$as_me:$LINENO: checking for iconv" >&5
18653 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
18654 if test "${am_cv_func_iconv+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 am_cv_func_iconv
="no, consider installing GNU libiconv"
18660 if test x
$gcc_no_link = xyes
; then
18661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18663 { (exit 1); exit 1; }; }
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <stdlib.h>
18676 iconv_t cd = iconv_open("","");
18677 iconv(cd,NULL,NULL,NULL,NULL);
18683 rm -f conftest.
$ac_objext conftest
$ac_exeext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18685 (eval $ac_link) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag"
18693 || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try
='test -s conftest$ac_exeext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 am_cv_func_iconv
=yes
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.
$ac_ext >&5
18711 rm -f conftest.err conftest.
$ac_objext \
18712 conftest
$ac_exeext conftest.
$ac_ext
18713 if test "$am_cv_func_iconv" != yes; then
18714 am_save_LIBS
="$LIBS"
18715 LIBS
="$LIBS $LIBICONV"
18716 if test x
$gcc_no_link = xyes
; then
18717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18719 { (exit 1); exit 1; }; }
18721 cat >conftest.
$ac_ext <<_ACEOF
18724 cat confdefs.h
>>conftest.
$ac_ext
18725 cat >>conftest.
$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18727 #include <stdlib.h>
18732 iconv_t cd = iconv_open("","");
18733 iconv(cd,NULL,NULL,NULL,NULL);
18739 rm -f conftest.
$ac_objext conftest
$ac_exeext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18741 (eval $ac_link) 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } &&
18748 { ac_try
='test -z "$ac_c_werror_flag"
18749 || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try
='test -s conftest$ac_exeext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 am_cv_lib_iconv
=yes
18762 am_cv_func_iconv
=yes
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18768 rm -f conftest.err conftest.
$ac_objext \
18769 conftest
$ac_exeext conftest.
$ac_ext
18770 LIBS
="$am_save_LIBS"
18774 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
18775 echo "${ECHO_T}$am_cv_func_iconv" >&6
18776 if test "$am_cv_func_iconv" = yes; then
18778 cat >>confdefs.h
<<\_ACEOF
18779 #define HAVE_ICONV 1
18783 if test "$am_cv_lib_iconv" = yes; then
18784 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
18785 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
18786 echo "$as_me:$LINENO: result: $LIBICONV" >&5
18787 echo "${ECHO_T}$LIBICONV" >&6
18789 CPPFLAGS
="$am_save_CPPFLAGS"
18796 if test "$am_cv_func_iconv" = yes; then
18797 echo "$as_me:$LINENO: checking for iconv declaration" >&5
18798 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
18799 if test "${am_cv_proto_iconv+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 cat >conftest.
$ac_ext <<_ACEOF
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18810 #include <stdlib.h>
18816 #if defined(__STDC__) || defined(__cplusplus)
18817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18830 rm -f conftest.
$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1
>conftest.err
18836 cat conftest.err
>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try
='test -z "$ac_c_werror_flag"
18840 || test ! -s conftest.err'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; } &&
18846 { ac_try
='test -s conftest.$ac_objext'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; }; then
18852 am_cv_proto_iconv_arg1
=""
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.
$ac_ext >&5
18857 am_cv_proto_iconv_arg1
="const"
18859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18860 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);"
18863 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18864 echo "$as_me:$LINENO: result: ${ac_t:-
18865 }$am_cv_proto_iconv" >&5
18866 echo "${ECHO_T}${ac_t:-
18867 }$am_cv_proto_iconv" >&6
18869 cat >>confdefs.h
<<_ACEOF
18870 #define ICONV_CONST $am_cv_proto_iconv_arg1
18876 if test "x${GCC}" = xyes
; then
18878 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18881 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
18885 if test "x${ENABLE_WERROR}" = xyes
; then
18886 ERROR_CFLAGS
='-Werror'
18891 if test "x${COMPILE_XMLJ}" = xyes
; then
18895 if test -z "$PKG_CONFIG"; then
18896 # Extract the first word of "pkg-config", so it can be a program name with args.
18897 set dummy pkg-config
; ac_word
=$2
18898 echo "$as_me:$LINENO: checking for $ac_word" >&5
18899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 case $PKG_CONFIG in
18905 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18909 for as_dir
in $PATH
18912 test -z "$as_dir" && as_dir
=.
18913 for ac_exec_ext
in '' $ac_executable_extensions; do
18914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18915 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18926 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18928 if test -n "$PKG_CONFIG"; then
18929 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18930 echo "${ECHO_T}$PKG_CONFIG" >&6
18932 echo "$as_me:$LINENO: result: no" >&5
18933 echo "${ECHO_T}no" >&6
18938 if test "$PKG_CONFIG" = "no" ; then
18939 echo "*** The pkg-config script could not be found. Make sure it is"
18940 echo "*** in your path, or set the PKG_CONFIG environment variable"
18941 echo "*** to the full path to pkg-config."
18942 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18944 PKG_CONFIG_MIN_VERSION
=0.9.0
18945 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18946 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
18947 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
18949 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18950 echo "$as_me:$LINENO: result: yes" >&5
18951 echo "${ECHO_T}yes" >&6
18954 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
18955 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
18956 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18957 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
18958 echo "${ECHO_T}$XML_CFLAGS" >&6
18960 echo "$as_me:$LINENO: checking XML_LIBS" >&5
18961 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
18962 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18963 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
18964 echo "${ECHO_T}$XML_LIBS" >&6
18968 ## If we have a custom action on failure, don't print errors, but
18969 ## do set a variable so people can do so.
18970 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18971 echo $XML_PKG_ERRORS
18977 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18978 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18982 if test $succeeded = yes; then
18985 { { 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
18986 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;}
18987 { (exit 1); exit 1; }; }
18993 if test -z "$PKG_CONFIG"; then
18994 # Extract the first word of "pkg-config", so it can be a program name with args.
18995 set dummy pkg-config
; ac_word
=$2
18996 echo "$as_me:$LINENO: checking for $ac_word" >&5
18997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 case $PKG_CONFIG in
19003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19007 for as_dir
in $PATH
19010 test -z "$as_dir" && as_dir
=.
19011 for ac_exec_ext
in '' $ac_executable_extensions; do
19012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19026 if test -n "$PKG_CONFIG"; then
19027 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19028 echo "${ECHO_T}$PKG_CONFIG" >&6
19030 echo "$as_me:$LINENO: result: no" >&5
19031 echo "${ECHO_T}no" >&6
19036 if test "$PKG_CONFIG" = "no" ; then
19037 echo "*** The pkg-config script could not be found. Make sure it is"
19038 echo "*** in your path, or set the PKG_CONFIG environment variable"
19039 echo "*** to the full path to pkg-config."
19040 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19042 PKG_CONFIG_MIN_VERSION
=0.9.0
19043 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19044 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19045 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19047 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19048 echo "$as_me:$LINENO: result: yes" >&5
19049 echo "${ECHO_T}yes" >&6
19052 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19053 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19054 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19055 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19056 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19058 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19059 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19060 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19061 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19062 echo "${ECHO_T}$XSLT_LIBS" >&6
19066 ## If we have a custom action on failure, don't print errors, but
19067 ## do set a variable so people can do so.
19068 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19069 echo $XSLT_PKG_ERRORS
19075 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19076 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19080 if test $succeeded = yes; then
19083 { { 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
19084 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;}
19085 { (exit 1); exit 1; }; }
19094 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19095 echo "$as_me:$LINENO: checking for X" >&5
19096 echo $ECHO_N "checking for X... $ECHO_C" >&6
19099 # Check whether --with-x or --without-x was given.
19100 if test "${with_x+set}" = set; then
19104 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19105 if test "x$with_x" = xno
; then
19106 # The user explicitly disabled X.
19109 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19110 # Both variables are already set.
19113 if test "${ac_cv_have_x+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 # One or both of the vars are not set, and there is no cached value.
19117 ac_x_includes
=no ac_x_libraries
=no
19118 rm -fr conftest.dir
19119 if mkdir conftest.dir
; then
19121 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19122 cat >Imakefile
<<'_ACEOF'
19124 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19126 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19127 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19128 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19129 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19130 for ac_extension
in a so sl
; do
19131 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19132 test -f $ac_im_libdir/libX11.
$ac_extension; then
19133 ac_im_usrlibdir
=$ac_im_libdir; break
19136 # Screen out bogus values from the imake configuration. They are
19137 # bogus both because they are the default anyway, and because
19138 # using them would break gcc on systems where it needs fixed includes.
19139 case $ac_im_incroot in
19141 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19143 case $ac_im_usrlibdir in
19144 /usr
/lib |
/lib
) ;;
19145 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19149 rm -fr conftest.dir
19152 # Standard set of common directories for X headers.
19153 # Check X11 before X11Rn because it is often a symlink to the current release.
19165 /usr/local/X11/include
19166 /usr/local/X11R6/include
19167 /usr/local/X11R5/include
19168 /usr/local/X11R4/include
19170 /usr/local/include/X11
19171 /usr/local/include/X11R6
19172 /usr/local/include/X11R5
19173 /usr/local/include/X11R4
19177 /usr/XFree86/include/X11
19181 /usr/unsupported/include
19182 /usr/athena/include
19183 /usr/local/x11r5/include
19184 /usr/lpp/Xamples/include
19186 /usr/openwin/include
19187 /usr/openwin/share/include'
19189 if test "$ac_x_includes" = no
; then
19190 # Guess where to find include files, by looking for Xlib.h.
19191 # First, try using that file with no special directory specified.
19192 cat >conftest.
$ac_ext <<_ACEOF
19195 cat confdefs.h
>>conftest.
$ac_ext
19196 cat >>conftest.
$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19198 #include <X11/Xlib.h>
19200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1
>conftest.err
19205 cat conftest.err
>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } >/dev
/null
; then
19208 if test -s conftest.err
; then
19209 ac_cpp_err
=$ac_c_preproc_warn_flag
19210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19217 if test -z "$ac_cpp_err"; then
19218 # We can compile using X headers with no special include directory.
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 for ac_dir
in $ac_x_header_dirs; do
19225 if test -r "$ac_dir/X11/Xlib.h"; then
19226 ac_x_includes
=$ac_dir
19231 rm -f conftest.err conftest.
$ac_ext
19232 fi # $ac_x_includes = no
19234 if test "$ac_x_libraries" = no
; then
19235 # Check for the libraries.
19236 # See if we find them without any special options.
19237 # Don't add to $LIBS permanently.
19240 if test x
$gcc_no_link = xyes
; then
19241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #include <X11/Xlib.h>
19260 rm -f conftest.
$ac_objext conftest
$ac_exeext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262 (eval $ac_link) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try
='test -z "$ac_c_werror_flag"
19270 || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try
='test -s conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19283 # We can link X programs with no special library path.
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.
$ac_ext >&5
19290 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19292 # Don't even attempt the hair of trying to link an X program!
19293 for ac_extension
in a so sl
; do
19294 if test -r $ac_dir/libXt.
$ac_extension; then
19295 ac_x_libraries
=$ac_dir
19301 rm -f conftest.err conftest.
$ac_objext \
19302 conftest
$ac_exeext conftest.
$ac_ext
19303 fi # $ac_x_libraries = no
19305 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19306 # Didn't find X anywhere. Cache the known absence of X.
19307 ac_cv_have_x
="have_x=no"
19309 # Record where we found X for the cache.
19310 ac_cv_have_x
="have_x=yes \
19311 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19316 eval "$ac_cv_have_x"
19319 if test "$have_x" != yes; then
19320 echo "$as_me:$LINENO: result: $have_x" >&5
19321 echo "${ECHO_T}$have_x" >&6
19324 # If each of the values was on the command line, it overrides each guess.
19325 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19326 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19327 # Update the cache value to reflect the command line values.
19328 ac_cv_have_x
="have_x=yes \
19329 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19330 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19331 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19334 if test "$no_x" = yes; then
19335 # Not all programs may use this symbol, but it does not hurt to define it.
19337 cat >>confdefs.h
<<\_ACEOF
19338 #define X_DISPLAY_MISSING 1
19341 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19343 if test -n "$x_includes"; then
19344 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19347 # It would also be nice to do this for all -L options, not just this one.
19348 if test -n "$x_libraries"; then
19349 X_LIBS
="$X_LIBS -L$x_libraries"
19350 # For Solaris; some versions of Sun CC require a space after -R and
19351 # others require no space. Words are not sufficient . . . .
19352 case `(uname -sr) 2>/dev/null` in
19354 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19355 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19356 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19357 if test x
$gcc_no_link = xyes
; then
19358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19360 { (exit 1); exit 1; }; }
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19377 rm -f conftest.
$ac_objext conftest
$ac_exeext
19378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19379 (eval $ac_link) 2>conftest.er1
19381 grep -v '^ *+' conftest.er1
>conftest.err
19383 cat conftest.err
>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } &&
19386 { ac_try
='test -z "$ac_c_werror_flag"
19387 || test ! -s conftest.err'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; } &&
19393 { ac_try
='test -s conftest$ac_exeext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.
$ac_ext >&5
19406 rm -f conftest.err conftest.
$ac_objext \
19407 conftest
$ac_exeext conftest.
$ac_ext
19408 if test $ac_R_nospace = yes; then
19409 echo "$as_me:$LINENO: result: no" >&5
19410 echo "${ECHO_T}no" >&6
19411 X_LIBS
="$X_LIBS -R$x_libraries"
19413 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19414 if test x
$gcc_no_link = xyes
; then
19415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19417 { (exit 1); exit 1; }; }
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19434 rm -f conftest.
$ac_objext conftest
$ac_exeext
19435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19436 (eval $ac_link) 2>conftest.er1
19438 grep -v '^ *+' conftest.er1
>conftest.err
19440 cat conftest.err
>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } &&
19443 { ac_try
='test -z "$ac_c_werror_flag"
19444 || test ! -s conftest.err'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; } &&
19450 { ac_try
='test -s conftest$ac_exeext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.
$ac_ext >&5
19463 rm -f conftest.err conftest.
$ac_objext \
19464 conftest
$ac_exeext conftest.
$ac_ext
19465 if test $ac_R_space = yes; then
19466 echo "$as_me:$LINENO: result: yes" >&5
19467 echo "${ECHO_T}yes" >&6
19468 X_LIBS
="$X_LIBS -R $x_libraries"
19470 echo "$as_me:$LINENO: result: neither works" >&5
19471 echo "${ECHO_T}neither works" >&6
19474 LIBS
=$ac_xsave_LIBS
19478 # Check for system-dependent libraries X programs must link with.
19479 # Do this before checking for the system-independent R6 libraries
19480 # (-lICE), since we may need -lsocket or whatever for X linking.
19482 if test "$ISC" = yes; then
19483 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19485 # Martyn Johnson says this is needed for Ultrix, if the X
19486 # libraries were built with DECnet support. And Karl Berry says
19487 # the Alpha needs dnet_stub (dnet does not exist).
19488 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19489 if test x
$gcc_no_link = xyes
; then
19490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19492 { (exit 1); exit 1; }; }
19494 cat >conftest.
$ac_ext <<_ACEOF
19497 cat confdefs.h
>>conftest.
$ac_ext
19498 cat >>conftest.
$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19501 /* Override any gcc2 internal prototype to avoid an error. */
19505 /* We use char because int might match the return type of a gcc2
19506 builtin and then its argument prototype would still apply. */
19507 char XOpenDisplay ();
19516 rm -f conftest.
$ac_objext conftest
$ac_exeext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19518 (eval $ac_link) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag"
19526 || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try
='test -s conftest$ac_exeext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.
$ac_ext >&5
19543 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19544 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19545 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 ac_check_lib_save_LIBS
=$LIBS
19549 LIBS
="-ldnet $LIBS"
19550 if test x
$gcc_no_link = xyes
; then
19551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19553 { (exit 1); exit 1; }; }
19555 cat >conftest.
$ac_ext <<_ACEOF
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19562 /* Override any gcc2 internal prototype to avoid an error. */
19566 /* We use char because int might match the return type of a gcc2
19567 builtin and then its argument prototype would still apply. */
19577 rm -f conftest.
$ac_objext conftest
$ac_exeext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19579 (eval $ac_link) 2>conftest.er1
19581 grep -v '^ *+' conftest.er1
>conftest.err
19583 cat conftest.err
>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try
='test -z "$ac_c_werror_flag"
19587 || test ! -s conftest.err'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; } &&
19593 { ac_try
='test -s conftest$ac_exeext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 ac_cv_lib_dnet_dnet_ntoa
=yes
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.
$ac_ext >&5
19604 ac_cv_lib_dnet_dnet_ntoa
=no
19606 rm -f conftest.err conftest.
$ac_objext \
19607 conftest
$ac_exeext conftest.
$ac_ext
19608 LIBS
=$ac_check_lib_save_LIBS
19610 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19611 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19612 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19613 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19616 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19617 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19618 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19619 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 ac_check_lib_save_LIBS
=$LIBS
19623 LIBS
="-ldnet_stub $LIBS"
19624 if test x
$gcc_no_link = xyes
; then
19625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19627 { (exit 1); exit 1; }; }
19629 cat >conftest.
$ac_ext <<_ACEOF
19632 cat confdefs.h
>>conftest.
$ac_ext
19633 cat >>conftest.
$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19636 /* Override any gcc2 internal prototype to avoid an error. */
19640 /* We use char because int might match the return type of a gcc2
19641 builtin and then its argument prototype would still apply. */
19651 rm -f conftest.
$ac_objext conftest
$ac_exeext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19653 (eval $ac_link) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_c_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try
='test -s conftest$ac_exeext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19680 rm -f conftest.err conftest.
$ac_objext \
19681 conftest
$ac_exeext conftest.
$ac_ext
19682 LIBS
=$ac_check_lib_save_LIBS
19684 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19685 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19686 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19687 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19692 rm -f conftest.err conftest.
$ac_objext \
19693 conftest
$ac_exeext conftest.
$ac_ext
19694 LIBS
="$ac_xsave_LIBS"
19696 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19697 # to get the SysV transport functions.
19698 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19700 # The nsl library prevents programs from opening the X display
19701 # on Irix 5.2, according to T.E. Dickey.
19702 # The functions gethostbyname, getservbyname, and inet_addr are
19703 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19704 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19705 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19706 if test "${ac_cv_func_gethostbyname+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 if test x
$gcc_no_link = xyes
; then
19710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19712 { (exit 1); exit 1; }; }
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19722 #define gethostbyname innocuous_gethostbyname
19724 /* System header to define __stub macros and hopefully few prototypes,
19725 which can conflict with char gethostbyname (); below.
19726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19727 <limits.h> exists even on freestanding compilers. */
19730 # include <limits.h>
19732 # include <assert.h>
19735 #undef gethostbyname
19737 /* Override any gcc2 internal prototype to avoid an error. */
19742 /* We use char because int might match the return type of a gcc2
19743 builtin and then its argument prototype would still apply. */
19744 char gethostbyname ();
19745 /* The GNU C library defines this for functions which it implements
19746 to always fail with ENOSYS. Some functions are actually named
19747 something starting with __ and the normal name is an alias. */
19748 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19751 char (*f) () = gethostbyname;
19760 return f != gethostbyname;
19765 rm -f conftest.
$ac_objext conftest
$ac_exeext
19766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19767 (eval $ac_link) 2>conftest.er1
19769 grep -v '^ *+' conftest.er1
>conftest.err
19771 cat conftest.err
>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
19774 { ac_try
='test -z "$ac_c_werror_flag"
19775 || test ! -s conftest.err'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; } &&
19781 { ac_try
='test -s conftest$ac_exeext'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; }; then
19787 ac_cv_func_gethostbyname
=yes
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.
$ac_ext >&5
19792 ac_cv_func_gethostbyname
=no
19794 rm -f conftest.err conftest.
$ac_objext \
19795 conftest
$ac_exeext conftest.
$ac_ext
19797 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19798 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19800 if test $ac_cv_func_gethostbyname = no
; then
19801 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19802 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19803 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 ac_check_lib_save_LIBS
=$LIBS
19808 if test x
$gcc_no_link = xyes
; then
19809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19811 { (exit 1); exit 1; }; }
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19820 /* Override any gcc2 internal prototype to avoid an error. */
19824 /* We use char because int might match the return type of a gcc2
19825 builtin and then its argument prototype would still apply. */
19826 char gethostbyname ();
19835 rm -f conftest.
$ac_objext conftest
$ac_exeext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19837 (eval $ac_link) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try
='test -s conftest$ac_exeext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_cv_lib_nsl_gethostbyname
=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.
$ac_ext >&5
19862 ac_cv_lib_nsl_gethostbyname
=no
19864 rm -f conftest.err conftest.
$ac_objext \
19865 conftest
$ac_exeext conftest.
$ac_ext
19866 LIBS
=$ac_check_lib_save_LIBS
19868 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19869 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19870 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19871 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19874 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19875 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19876 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19877 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 ac_check_lib_save_LIBS
=$LIBS
19882 if test x
$gcc_no_link = xyes
; then
19883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19885 { (exit 1); exit 1; }; }
19887 cat >conftest.
$ac_ext <<_ACEOF
19890 cat confdefs.h
>>conftest.
$ac_ext
19891 cat >>conftest.
$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19894 /* Override any gcc2 internal prototype to avoid an error. */
19898 /* We use char because int might match the return type of a gcc2
19899 builtin and then its argument prototype would still apply. */
19900 char gethostbyname ();
19909 rm -f conftest.
$ac_objext conftest
$ac_exeext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19911 (eval $ac_link) 2>conftest.er1
19913 grep -v '^ *+' conftest.er1
>conftest.err
19915 cat conftest.err
>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try
='test -z "$ac_c_werror_flag"
19919 || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest$ac_exeext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_cv_lib_bsd_gethostbyname
=yes
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19936 ac_cv_lib_bsd_gethostbyname
=no
19938 rm -f conftest.err conftest.
$ac_objext \
19939 conftest
$ac_exeext conftest.
$ac_ext
19940 LIBS
=$ac_check_lib_save_LIBS
19942 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19943 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19944 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19951 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19952 # socket/setsockopt and other routines are undefined under SCO ODT
19953 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19954 # on later versions), says Simon Leinen: it contains gethostby*
19955 # variants that don't use the name server (or something). -lsocket
19956 # must be given before -lnsl if both are needed. We assume that
19957 # if connect needs -lnsl, so does gethostbyname.
19958 echo "$as_me:$LINENO: checking for connect" >&5
19959 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19960 if test "${ac_cv_func_connect+set}" = set; then
19961 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 if test x
$gcc_no_link = xyes
; then
19964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19966 { (exit 1); exit 1; }; }
19968 cat >conftest.
$ac_ext <<_ACEOF
19971 cat confdefs.h
>>conftest.
$ac_ext
19972 cat >>conftest.
$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19976 #define connect innocuous_connect
19978 /* System header to define __stub macros and hopefully few prototypes,
19979 which can conflict with char connect (); below.
19980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19981 <limits.h> exists even on freestanding compilers. */
19984 # include <limits.h>
19986 # include <assert.h>
19991 /* Override any gcc2 internal prototype to avoid an error. */
19996 /* We use char because int might match the return type of a gcc2
19997 builtin and then its argument prototype would still apply. */
19999 /* The GNU C library defines this for functions which it implements
20000 to always fail with ENOSYS. Some functions are actually named
20001 something starting with __ and the normal name is an alias. */
20002 #if defined (__stub_connect) || defined (__stub___connect)
20005 char (*f) () = connect;
20014 return f != connect;
20019 rm -f conftest.
$ac_objext conftest
$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>conftest.er1
20023 grep -v '^ *+' conftest.er1
>conftest.err
20025 cat conftest.err
>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try
='test -z "$ac_c_werror_flag"
20029 || test ! -s conftest.err'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; } &&
20035 { ac_try
='test -s conftest$ac_exeext'
20036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20037 (eval $ac_try) 2>&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); }; }; then
20041 ac_cv_func_connect
=yes
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.
$ac_ext >&5
20046 ac_cv_func_connect
=no
20048 rm -f conftest.err conftest.
$ac_objext \
20049 conftest
$ac_exeext conftest.
$ac_ext
20051 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20052 echo "${ECHO_T}$ac_cv_func_connect" >&6
20054 if test $ac_cv_func_connect = no
; then
20055 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20056 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20057 if test "${ac_cv_lib_socket_connect+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 ac_check_lib_save_LIBS
=$LIBS
20061 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20062 if test x
$gcc_no_link = xyes
; then
20063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20065 { (exit 1); exit 1; }; }
20067 cat >conftest.
$ac_ext <<_ACEOF
20070 cat confdefs.h
>>conftest.
$ac_ext
20071 cat >>conftest.
$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20074 /* Override any gcc2 internal prototype to avoid an error. */
20078 /* We use char because int might match the return type of a gcc2
20079 builtin and then its argument prototype would still apply. */
20089 rm -f conftest.
$ac_objext conftest
$ac_exeext
20090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20091 (eval $ac_link) 2>conftest.er1
20093 grep -v '^ *+' conftest.er1
>conftest.err
20095 cat conftest.err
>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try
='test -z "$ac_c_werror_flag"
20099 || test ! -s conftest.err'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; } &&
20105 { ac_try
='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 ac_cv_lib_socket_connect
=yes
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.
$ac_ext >&5
20116 ac_cv_lib_socket_connect
=no
20118 rm -f conftest.err conftest.
$ac_objext \
20119 conftest
$ac_exeext conftest.
$ac_ext
20120 LIBS
=$ac_check_lib_save_LIBS
20122 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20123 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20124 if test $ac_cv_lib_socket_connect = yes; then
20125 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20130 # Guillermo Gomez says -lposix is necessary on A/UX.
20131 echo "$as_me:$LINENO: checking for remove" >&5
20132 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20133 if test "${ac_cv_func_remove+set}" = set; then
20134 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 if test x
$gcc_no_link = xyes
; then
20137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20139 { (exit 1); exit 1; }; }
20141 cat >conftest.
$ac_ext <<_ACEOF
20144 cat confdefs.h
>>conftest.
$ac_ext
20145 cat >>conftest.
$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20149 #define remove innocuous_remove
20151 /* System header to define __stub macros and hopefully few prototypes,
20152 which can conflict with char remove (); below.
20153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20154 <limits.h> exists even on freestanding compilers. */
20157 # include <limits.h>
20159 # include <assert.h>
20164 /* Override any gcc2 internal prototype to avoid an error. */
20169 /* We use char because int might match the return type of a gcc2
20170 builtin and then its argument prototype would still apply. */
20172 /* The GNU C library defines this for functions which it implements
20173 to always fail with ENOSYS. Some functions are actually named
20174 something starting with __ and the normal name is an alias. */
20175 #if defined (__stub_remove) || defined (__stub___remove)
20178 char (*f) () = remove;
20187 return f != remove;
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
20214 ac_cv_func_remove
=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.
$ac_ext >&5
20219 ac_cv_func_remove
=no
20221 rm -f conftest.err conftest.
$ac_objext \
20222 conftest
$ac_exeext conftest.
$ac_ext
20224 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20225 echo "${ECHO_T}$ac_cv_func_remove" >&6
20227 if test $ac_cv_func_remove = no
; then
20228 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20229 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20230 if test "${ac_cv_lib_posix_remove+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 ac_check_lib_save_LIBS
=$LIBS
20234 LIBS
="-lposix $LIBS"
20235 if test x
$gcc_no_link = xyes
; then
20236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20238 { (exit 1); exit 1; }; }
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20247 /* Override any gcc2 internal prototype to avoid an error. */
20251 /* We use char because int might match the return type of a gcc2
20252 builtin and then its argument prototype would still apply. */
20262 rm -f conftest.
$ac_objext conftest
$ac_exeext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20264 (eval $ac_link) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try
='test -z "$ac_c_werror_flag"
20272 || test ! -s conftest.err'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; } &&
20278 { ac_try
='test -s conftest$ac_exeext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 ac_cv_lib_posix_remove
=yes
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.
$ac_ext >&5
20289 ac_cv_lib_posix_remove
=no
20291 rm -f conftest.err conftest.
$ac_objext \
20292 conftest
$ac_exeext conftest.
$ac_ext
20293 LIBS
=$ac_check_lib_save_LIBS
20295 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20296 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20297 if test $ac_cv_lib_posix_remove = yes; then
20298 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20303 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20304 echo "$as_me:$LINENO: checking for shmat" >&5
20305 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20306 if test "${ac_cv_func_shmat+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 if test x
$gcc_no_link = xyes
; then
20310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20312 { (exit 1); exit 1; }; }
20314 cat >conftest.
$ac_ext <<_ACEOF
20317 cat confdefs.h
>>conftest.
$ac_ext
20318 cat >>conftest.
$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20322 #define shmat innocuous_shmat
20324 /* System header to define __stub macros and hopefully few prototypes,
20325 which can conflict with char shmat (); below.
20326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20327 <limits.h> exists even on freestanding compilers. */
20330 # include <limits.h>
20332 # include <assert.h>
20337 /* Override any gcc2 internal prototype to avoid an error. */
20342 /* We use char because int might match the return type of a gcc2
20343 builtin and then its argument prototype would still apply. */
20345 /* The GNU C library defines this for functions which it implements
20346 to always fail with ENOSYS. Some functions are actually named
20347 something starting with __ and the normal name is an alias. */
20348 #if defined (__stub_shmat) || defined (__stub___shmat)
20351 char (*f) () = shmat;
20365 rm -f conftest.
$ac_objext conftest
$ac_exeext
20366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20367 (eval $ac_link) 2>conftest.er1
20369 grep -v '^ *+' conftest.er1
>conftest.err
20371 cat conftest.err
>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } &&
20374 { ac_try
='test -z "$ac_c_werror_flag"
20375 || test ! -s conftest.err'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; } &&
20381 { ac_try
='test -s conftest$ac_exeext'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; }; then
20387 ac_cv_func_shmat
=yes
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.
$ac_ext >&5
20392 ac_cv_func_shmat
=no
20394 rm -f conftest.err conftest.
$ac_objext \
20395 conftest
$ac_exeext conftest.
$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20398 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20400 if test $ac_cv_func_shmat = no
; then
20401 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20402 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20403 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 ac_check_lib_save_LIBS
=$LIBS
20408 if test x
$gcc_no_link = xyes
; then
20409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20411 { (exit 1); exit 1; }; }
20413 cat >conftest.
$ac_ext <<_ACEOF
20416 cat confdefs.h
>>conftest.
$ac_ext
20417 cat >>conftest.
$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20420 /* Override any gcc2 internal prototype to avoid an error. */
20424 /* We use char because int might match the return type of a gcc2
20425 builtin and then its argument prototype would still apply. */
20435 rm -f conftest.
$ac_objext conftest
$ac_exeext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20437 (eval $ac_link) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1
>conftest.err
20441 cat conftest.err
>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try
='test -z "$ac_c_werror_flag"
20445 || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try
='test -s conftest$ac_exeext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_cv_lib_ipc_shmat
=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_cv_lib_ipc_shmat
=no
20464 rm -f conftest.err conftest.
$ac_objext \
20465 conftest
$ac_exeext conftest.
$ac_ext
20466 LIBS
=$ac_check_lib_save_LIBS
20468 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20469 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20470 if test $ac_cv_lib_ipc_shmat = yes; then
20471 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20477 # Check for libraries that X11R6 Xt/Xaw programs need.
20478 ac_save_LDFLAGS
=$LDFLAGS
20479 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20480 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20481 # check for ICE first), but we must link in the order -lSM -lICE or
20482 # we get undefined symbols. So assume we have SM if we have ICE.
20483 # These have to be linked with before -lX11, unlike the other
20484 # libraries we check for below, so use a different variable.
20485 # John Interrante, Karl Berry
20486 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20487 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20488 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 ac_check_lib_save_LIBS
=$LIBS
20492 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20493 if test x
$gcc_no_link = xyes
; then
20494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20496 { (exit 1); exit 1; }; }
20498 cat >conftest.
$ac_ext <<_ACEOF
20501 cat confdefs.h
>>conftest.
$ac_ext
20502 cat >>conftest.
$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20505 /* Override any gcc2 internal prototype to avoid an error. */
20509 /* We use char because int might match the return type of a gcc2
20510 builtin and then its argument prototype would still apply. */
20511 char IceConnectionNumber ();
20515 IceConnectionNumber ();
20520 rm -f conftest.
$ac_objext conftest
$ac_exeext
20521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20522 (eval $ac_link) 2>conftest.er1
20524 grep -v '^ *+' conftest.er1
>conftest.err
20526 cat conftest.err
>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } &&
20529 { ac_try
='test -z "$ac_c_werror_flag"
20530 || test ! -s conftest.err'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; } &&
20536 { ac_try
='test -s conftest$ac_exeext'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20542 ac_cv_lib_ICE_IceConnectionNumber
=yes
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.
$ac_ext >&5
20547 ac_cv_lib_ICE_IceConnectionNumber
=no
20549 rm -f conftest.err conftest.
$ac_objext \
20550 conftest
$ac_exeext conftest.
$ac_ext
20551 LIBS
=$ac_check_lib_save_LIBS
20553 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20554 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20555 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20556 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20559 LDFLAGS
=$ac_save_LDFLAGS
20563 if test "$no_x" = yes; then
20564 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
20565 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
20566 { (exit 1); exit 1; }; }
20568 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
20569 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
20570 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20573 ac_check_lib_save_LIBS
=$LIBS
20574 LIBS
="-lXtst ${X_LIBS} $LIBS"
20575 if test x
$gcc_no_link = xyes
; then
20576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20578 { (exit 1); exit 1; }; }
20580 cat >conftest.
$ac_ext <<_ACEOF
20583 cat confdefs.h
>>conftest.
$ac_ext
20584 cat >>conftest.
$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20587 /* Override any gcc2 internal prototype to avoid an error. */
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20593 char XTestQueryExtension ();
20597 XTestQueryExtension ();
20602 rm -f conftest.
$ac_objext conftest
$ac_exeext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 (eval $ac_link) 2>conftest.er1
20606 grep -v '^ *+' conftest.er1
>conftest.err
20608 cat conftest.err
>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try
='test -z "$ac_c_werror_flag"
20612 || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try
='test -s conftest$ac_exeext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_lib_Xtst_XTestQueryExtension
=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 ac_cv_lib_Xtst_XTestQueryExtension
=no
20631 rm -f conftest.err conftest.
$ac_objext \
20632 conftest
$ac_exeext conftest.
$ac_ext
20633 LIBS
=$ac_check_lib_save_LIBS
20635 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
20636 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
20637 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
20638 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
20640 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
20641 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
20642 { (exit 1); exit 1; }; }
20649 if test -z "$PKG_CONFIG"; then
20650 # Extract the first word of "pkg-config", so it can be a program name with args.
20651 set dummy pkg-config
; ac_word
=$2
20652 echo "$as_me:$LINENO: checking for $ac_word" >&5
20653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20654 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 case $PKG_CONFIG in
20659 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20663 for as_dir
in $PATH
20666 test -z "$as_dir" && as_dir
=.
20667 for ac_exec_ext
in '' $ac_executable_extensions; do
20668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20669 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20676 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20680 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20682 if test -n "$PKG_CONFIG"; then
20683 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20684 echo "${ECHO_T}$PKG_CONFIG" >&6
20686 echo "$as_me:$LINENO: result: no" >&5
20687 echo "${ECHO_T}no" >&6
20692 if test "$PKG_CONFIG" = "no" ; then
20693 echo "*** The pkg-config script could not be found. Make sure it is"
20694 echo "*** in your path, or set the PKG_CONFIG environment variable"
20695 echo "*** to the full path to pkg-config."
20696 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20698 PKG_CONFIG_MIN_VERSION
=0.9.0
20699 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20700 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
20701 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
20703 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
20704 echo "$as_me:$LINENO: result: yes" >&5
20705 echo "${ECHO_T}yes" >&6
20708 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
20709 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
20710 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20711 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
20712 echo "${ECHO_T}$GTK_CFLAGS" >&6
20714 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
20715 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
20716 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20717 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
20718 echo "${ECHO_T}$GTK_LIBS" >&6
20722 ## If we have a custom action on failure, don't print errors, but
20723 ## do set a variable so people can do so.
20724 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20725 echo $GTK_PKG_ERRORS
20731 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20732 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20736 if test $succeeded = yes; then
20739 { { 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
20740 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;}
20741 { (exit 1); exit 1; }; }
20747 if test -z "$PKG_CONFIG"; then
20748 # Extract the first word of "pkg-config", so it can be a program name with args.
20749 set dummy pkg-config
; ac_word
=$2
20750 echo "$as_me:$LINENO: checking for $ac_word" >&5
20751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20753 echo $ECHO_N "(cached) $ECHO_C" >&6
20755 case $PKG_CONFIG in
20757 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20761 for as_dir
in $PATH
20764 test -z "$as_dir" && as_dir
=.
20765 for ac_exec_ext
in '' $ac_executable_extensions; do
20766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20767 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20774 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20778 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20780 if test -n "$PKG_CONFIG"; then
20781 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20782 echo "${ECHO_T}$PKG_CONFIG" >&6
20784 echo "$as_me:$LINENO: result: no" >&5
20785 echo "${ECHO_T}no" >&6
20790 if test "$PKG_CONFIG" = "no" ; then
20791 echo "*** The pkg-config script could not be found. Make sure it is"
20792 echo "*** in your path, or set the PKG_CONFIG environment variable"
20793 echo "*** to the full path to pkg-config."
20794 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20796 PKG_CONFIG_MIN_VERSION
=0.9.0
20797 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20798 echo "$as_me:$LINENO: checking for freetype2" >&5
20799 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
20801 if $PKG_CONFIG --exists "freetype2" ; then
20802 echo "$as_me:$LINENO: result: yes" >&5
20803 echo "${ECHO_T}yes" >&6
20806 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
20807 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
20808 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
20809 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
20810 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
20812 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
20813 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
20814 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
20815 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
20816 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
20818 FREETYPE2_CFLAGS
=""
20820 ## If we have a custom action on failure, don't print errors, but
20821 ## do set a variable so people can do so.
20822 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
20823 echo $FREETYPE2_PKG_ERRORS
20829 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20830 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20834 if test $succeeded = yes; then
20837 { { 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
20838 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;}
20839 { (exit 1); exit 1; }; }
20845 if test -z "$PKG_CONFIG"; then
20846 # Extract the first word of "pkg-config", so it can be a program name with args.
20847 set dummy pkg-config
; ac_word
=$2
20848 echo "$as_me:$LINENO: checking for $ac_word" >&5
20849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20850 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 case $PKG_CONFIG in
20855 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20859 for as_dir
in $PATH
20862 test -z "$as_dir" && as_dir
=.
20863 for ac_exec_ext
in '' $ac_executable_extensions; do
20864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20865 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20872 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20876 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20878 if test -n "$PKG_CONFIG"; then
20879 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20880 echo "${ECHO_T}$PKG_CONFIG" >&6
20882 echo "$as_me:$LINENO: result: no" >&5
20883 echo "${ECHO_T}no" >&6
20888 if test "$PKG_CONFIG" = "no" ; then
20889 echo "*** The pkg-config script could not be found. Make sure it is"
20890 echo "*** in your path, or set the PKG_CONFIG environment variable"
20891 echo "*** to the full path to pkg-config."
20892 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20894 PKG_CONFIG_MIN_VERSION
=0.9.0
20895 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20896 echo "$as_me:$LINENO: checking for pangoft2" >&5
20897 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20899 if $PKG_CONFIG --exists "pangoft2" ; then
20900 echo "$as_me:$LINENO: result: yes" >&5
20901 echo "${ECHO_T}yes" >&6
20904 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20905 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20906 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20907 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20908 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20910 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20911 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20912 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20913 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20914 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20918 ## If we have a custom action on failure, don't print errors, but
20919 ## do set a variable so people can do so.
20920 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20921 echo $PANGOFT2_PKG_ERRORS
20927 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20928 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20932 if test $succeeded = yes; then
20935 { { 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
20936 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;}
20937 { (exit 1); exit 1; }; }
20940 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
20941 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
20942 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
20943 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 ac_check_lib_save_LIBS
=$LIBS
20946 LIBS
="-lXrender ${X_LIBS} $LIBS"
20947 if test x
$gcc_no_link = xyes
; then
20948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20950 { (exit 1); exit 1; }; }
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20959 /* Override any gcc2 internal prototype to avoid an error. */
20963 /* We use char because int might match the return type of a gcc2
20964 builtin and then its argument prototype would still apply. */
20965 char XRenderQueryExtension ();
20969 XRenderQueryExtension ();
20974 rm -f conftest.
$ac_objext conftest
$ac_exeext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20976 (eval $ac_link) 2>conftest.er1
20978 grep -v '^ *+' conftest.er1
>conftest.err
20980 cat conftest.err
>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try
='test -z "$ac_c_werror_flag"
20984 || test ! -s conftest.err'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.
$ac_ext >&5
21001 ac_cv_lib_Xrender_XRenderQueryExtension
=no
21003 rm -f conftest.err conftest.
$ac_objext \
21004 conftest
$ac_exeext conftest.
$ac_ext
21005 LIBS
=$ac_check_lib_save_LIBS
21007 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21008 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21009 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21011 cat >>confdefs.h
<<\_ACEOF
21012 #define HAVE_XRENDER 1
21014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
21020 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21021 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21022 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_check_lib_save_LIBS
=$LIBS
21026 LIBS
="-lXrandr ${X_LIBS} $LIBS"
21027 if test x
$gcc_no_link = xyes
; then
21028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21030 { (exit 1); exit 1; }; }
21032 cat >conftest.
$ac_ext <<_ACEOF
21035 cat confdefs.h
>>conftest.
$ac_ext
21036 cat >>conftest.
$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21039 /* Override any gcc2 internal prototype to avoid an error. */
21043 /* We use char because int might match the return type of a gcc2
21044 builtin and then its argument prototype would still apply. */
21045 char XRRQueryExtension ();
21049 XRRQueryExtension ();
21054 rm -f conftest.
$ac_objext conftest
$ac_exeext
21055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21056 (eval $ac_link) 2>conftest.er1
21058 grep -v '^ *+' conftest.er1
>conftest.err
21060 cat conftest.err
>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try
='test -z "$ac_c_werror_flag"
21064 || test ! -s conftest.err'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; } &&
21070 { ac_try
='test -s conftest$ac_exeext'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 ac_cv_lib_Xrandr_XRRQueryExtension
=no
21083 rm -f conftest.err conftest.
$ac_objext \
21084 conftest
$ac_exeext conftest.
$ac_ext
21085 LIBS
=$ac_check_lib_save_LIBS
21087 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21088 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21089 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21091 cat >>confdefs.h
<<\_ACEOF
21092 #define HAVE_XRANDR 1
21094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
21109 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
21113 if test -z "$PKG_CONFIG"; then
21114 # Extract the first word of "pkg-config", so it can be a program name with args.
21115 set dummy pkg-config
; ac_word
=$2
21116 echo "$as_me:$LINENO: checking for $ac_word" >&5
21117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 case $PKG_CONFIG in
21123 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21127 for as_dir
in $PATH
21130 test -z "$as_dir" && as_dir
=.
21131 for ac_exec_ext
in '' $ac_executable_extensions; do
21132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21133 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21140 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21144 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21146 if test -n "$PKG_CONFIG"; then
21147 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21148 echo "${ECHO_T}$PKG_CONFIG" >&6
21150 echo "$as_me:$LINENO: result: no" >&5
21151 echo "${ECHO_T}no" >&6
21156 if test "$PKG_CONFIG" = "no" ; then
21157 echo "*** The pkg-config script could not be found. Make sure it is"
21158 echo "*** in your path, or set the PKG_CONFIG environment variable"
21159 echo "*** to the full path to pkg-config."
21160 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21162 PKG_CONFIG_MIN_VERSION
=0.9.0
21163 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21164 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
21165 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
21167 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
21168 echo "$as_me:$LINENO: result: yes" >&5
21169 echo "${ECHO_T}yes" >&6
21172 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
21173 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
21174 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
21175 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
21176 echo "${ECHO_T}$GCONF_CFLAGS" >&6
21178 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
21179 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
21180 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
21181 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
21182 echo "${ECHO_T}$GCONF_LIBS" >&6
21186 ## If we have a custom action on failure, don't print errors, but
21187 ## do set a variable so people can do so.
21188 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
21189 echo $GCONF_PKG_ERRORS
21195 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21196 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21200 if test $succeeded = yes; then
21203 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.11.2) 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
21204 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.11.2) 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;}
21205 { (exit 1); exit 1; }; }
21213 if test -z "$PKG_CONFIG"; then
21214 # Extract the first word of "pkg-config", so it can be a program name with args.
21215 set dummy pkg-config
; ac_word
=$2
21216 echo "$as_me:$LINENO: checking for $ac_word" >&5
21217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21218 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 case $PKG_CONFIG in
21223 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21227 for as_dir
in $PATH
21230 test -z "$as_dir" && as_dir
=.
21231 for ac_exec_ext
in '' $ac_executable_extensions; do
21232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21233 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21240 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21244 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21246 if test -n "$PKG_CONFIG"; then
21247 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21248 echo "${ECHO_T}$PKG_CONFIG" >&6
21250 echo "$as_me:$LINENO: result: no" >&5
21251 echo "${ECHO_T}no" >&6
21256 if test "$PKG_CONFIG" = "no" ; then
21257 echo "*** The pkg-config script could not be found. Make sure it is"
21258 echo "*** in your path, or set the PKG_CONFIG environment variable"
21259 echo "*** to the full path to pkg-config."
21260 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21262 PKG_CONFIG_MIN_VERSION
=0.9.0
21263 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21264 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
21265 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
21267 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21268 echo "$as_me:$LINENO: result: yes" >&5
21269 echo "${ECHO_T}yes" >&6
21272 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
21273 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
21274 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21275 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
21276 echo "${ECHO_T}$GDK_CFLAGS" >&6
21278 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
21279 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
21280 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21281 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
21282 echo "${ECHO_T}$GDK_LIBS" >&6
21286 ## If we have a custom action on failure, don't print errors, but
21287 ## do set a variable so people can do so.
21288 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21289 echo $GDK_PKG_ERRORS
21295 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21296 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21300 if test $succeeded = yes; then
21303 { { 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
21304 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;}
21305 { (exit 1); exit 1; }; }
21310 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
21311 if test "$USE_GCONF_PREFS_PEER" = ""; then
21312 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
21316 if test "x${COMPILE_QT_PEER}" = xyes
; then
21320 if test -z "$PKG_CONFIG"; then
21321 # Extract the first word of "pkg-config", so it can be a program name with args.
21322 set dummy pkg-config
; ac_word
=$2
21323 echo "$as_me:$LINENO: checking for $ac_word" >&5
21324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21325 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 case $PKG_CONFIG in
21330 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21334 for as_dir
in $PATH
21337 test -z "$as_dir" && as_dir
=.
21338 for ac_exec_ext
in '' $ac_executable_extensions; do
21339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21340 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21347 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21351 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21353 if test -n "$PKG_CONFIG"; then
21354 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21355 echo "${ECHO_T}$PKG_CONFIG" >&6
21357 echo "$as_me:$LINENO: result: no" >&5
21358 echo "${ECHO_T}no" >&6
21363 if test "$PKG_CONFIG" = "no" ; then
21364 echo "*** The pkg-config script could not be found. Make sure it is"
21365 echo "*** in your path, or set the PKG_CONFIG environment variable"
21366 echo "*** to the full path to pkg-config."
21367 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21369 PKG_CONFIG_MIN_VERSION
=0.9.0
21370 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21371 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
21372 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
21374 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21375 echo "$as_me:$LINENO: result: yes" >&5
21376 echo "${ECHO_T}yes" >&6
21379 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
21380 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
21381 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21382 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
21383 echo "${ECHO_T}$QT_CFLAGS" >&6
21385 echo "$as_me:$LINENO: checking QT_LIBS" >&5
21386 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
21387 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21388 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
21389 echo "${ECHO_T}$QT_LIBS" >&6
21393 ## If we have a custom action on failure, don't print errors, but
21394 ## do set a variable so people can do so.
21395 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21402 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21403 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21407 if test $succeeded = yes; then
21413 if test "x$HAVE_QT4" = "xyes"; then
21414 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
21415 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
21416 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21417 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
21418 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
21419 if eval "test \"\${$as_ac_File+set}\" = set"; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 test "$cross_compiling" = yes &&
21423 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21424 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21425 { (exit 1); exit 1; }; }
21426 if test -r "$QT_INCLUDE_DIR/QWidget"; then
21427 eval "$as_ac_File=yes"
21429 eval "$as_ac_File=no"
21432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21433 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21434 if test `eval echo '${'$as_ac_File'}'` = yes; then
21435 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
21436 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
21438 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21439 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
21440 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
21441 if eval "test \"\${$as_ac_File+set}\" = set"; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 test "$cross_compiling" = yes &&
21445 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21446 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21447 { (exit 1); exit 1; }; }
21448 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
21449 eval "$as_ac_File=yes"
21451 eval "$as_ac_File=no"
21454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
21455 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
21456 if test `eval echo '${'$as_ac_File'}'` = yes; then
21457 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
21459 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
21460 echo "$as_me: WARNING: QWidget not found" >&2;}
21465 # Extract the first word of "moc", so it can be a program name with args.
21466 set dummy moc
; ac_word
=$2
21467 echo "$as_me:$LINENO: checking for $ac_word" >&5
21468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21469 if test "${ac_cv_prog_MOC+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 if test -n "$MOC"; then
21473 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21476 for as_dir
in $PATH
21479 test -z "$as_dir" && as_dir
=.
21480 for ac_exec_ext
in '' $ac_executable_extensions; do
21481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21482 ac_cv_prog_MOC
="moc"
21483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21491 MOC
=$ac_cv_prog_MOC
21492 if test -n "$MOC"; then
21493 echo "$as_me:$LINENO: result: $MOC" >&5
21494 echo "${ECHO_T}$MOC" >&6
21496 echo "$as_me:$LINENO: result: no" >&5
21497 echo "${ECHO_T}no" >&6
21500 # Extract the first word of "moc-qt4", so it can be a program name with args.
21501 set dummy moc-qt4
; ac_word
=$2
21502 echo "$as_me:$LINENO: checking for $ac_word" >&5
21503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21504 if test "${ac_cv_prog_MOC+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 if test -n "$MOC"; then
21508 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21511 for as_dir
in $PATH
21514 test -z "$as_dir" && as_dir
=.
21515 for ac_exec_ext
in '' $ac_executable_extensions; do
21516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21517 ac_cv_prog_MOC
="moc-qt4"
21518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21526 MOC
=$ac_cv_prog_MOC
21527 if test -n "$MOC"; then
21528 echo "$as_me:$LINENO: result: $MOC" >&5
21529 echo "${ECHO_T}$MOC" >&6
21531 echo "$as_me:$LINENO: result: no" >&5
21532 echo "${ECHO_T}no" >&6
21536 if test "x$HAVE_QT4" = "xno"; then
21537 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
21538 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
21542 # Check whether --with-qt4dir or --without-qt4dir was given.
21543 if test "${with_qt4dir+set}" = set; then
21544 withval
="$with_qt4dir"
21548 if test x
"$QT4DIR" = x
; then
21549 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
21550 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
21551 { (exit 1); exit 1; }; }
21553 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
21554 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
21555 # Extract the first word of "moc", so it can be a program name with args.
21556 set dummy moc
; ac_word
=$2
21557 echo "$as_me:$LINENO: checking for $ac_word" >&5
21558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21559 if test "${ac_cv_prog_MOC+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 if test -n "$MOC"; then
21563 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
21565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21566 for as_dir
in $QT4DIR/bin
21569 test -z "$as_dir" && as_dir
=.
21570 for ac_exec_ext
in '' $ac_executable_extensions; do
21571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21572 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
21573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21581 MOC
=$ac_cv_prog_MOC
21582 if test -n "$MOC"; then
21583 echo "$as_me:$LINENO: result: $MOC" >&5
21584 echo "${ECHO_T}$MOC" >&6
21586 echo "$as_me:$LINENO: result: no" >&5
21587 echo "${ECHO_T}no" >&6
21590 if test x
"$MOC" = x
; then
21591 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
21592 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
21593 { (exit 1); exit 1; }; }
21595 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
21596 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
21597 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
21598 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
21601 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
21602 of your installed Qt4 installation." >&5
21603 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
21604 of your installed Qt4 installation." >&2;}
21605 { (exit 1); exit 1; }; }
21609 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
21610 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21614 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
21615 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <sys/socket.h>
21626 int f = MSG_NOSIGNAL;
21631 rm -f conftest.
$ac_objext
21632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21633 (eval $ac_compile) 2>conftest.er1
21635 grep -v '^ *+' conftest.er1
>conftest.err
21637 cat conftest.err
>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try
='test -z "$ac_c_werror_flag"
21641 || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try
='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 echo "$as_me:$LINENO: result: yes" >&5
21654 echo "${ECHO_T}yes" >&6
21656 cat >>confdefs.h
<<\_ACEOF
21657 #define HAVE_MSG_NOSIGNAL 1
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 echo "$as_me:$LINENO: result: no" >&5
21665 echo "${ECHO_T}no" >&6
21668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21669 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
21670 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 #include <sys/socket.h>
21681 int f = SO_NOSIGPIPE;
21686 rm -f conftest.
$ac_objext
21687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21688 (eval $ac_compile) 2>conftest.er1
21690 grep -v '^ *+' conftest.er1
>conftest.err
21692 cat conftest.err
>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } &&
21695 { ac_try
='test -z "$ac_c_werror_flag"
21696 || test ! -s conftest.err'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; } &&
21702 { ac_try
='test -s conftest.$ac_objext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 echo "$as_me:$LINENO: result: yes" >&5
21709 echo "${ECHO_T}yes" >&6
21711 cat >>confdefs.h
<<\_ACEOF
21712 #define HAVE_SO_NOSIGPIPE 1
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.
$ac_ext >&5
21719 echo "$as_me:$LINENO: result: no" >&5
21720 echo "${ECHO_T}no" >&6
21723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21725 if test "x${COMPILE_PLUGIN}" = xyes
; then
21729 if test -z "$PKG_CONFIG"; then
21730 # Extract the first word of "pkg-config", so it can be a program name with args.
21731 set dummy pkg-config
; ac_word
=$2
21732 echo "$as_me:$LINENO: checking for $ac_word" >&5
21733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21734 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21735 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 case $PKG_CONFIG in
21739 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21743 for as_dir
in $PATH
21746 test -z "$as_dir" && as_dir
=.
21747 for ac_exec_ext
in '' $ac_executable_extensions; do
21748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21749 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21756 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21760 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21762 if test -n "$PKG_CONFIG"; then
21763 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21764 echo "${ECHO_T}$PKG_CONFIG" >&6
21766 echo "$as_me:$LINENO: result: no" >&5
21767 echo "${ECHO_T}no" >&6
21772 if test "$PKG_CONFIG" = "no" ; then
21773 echo "*** The pkg-config script could not be found. Make sure it is"
21774 echo "*** in your path, or set the PKG_CONFIG environment variable"
21775 echo "*** to the full path to pkg-config."
21776 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21778 PKG_CONFIG_MIN_VERSION
=0.9.0
21779 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21780 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
21781 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
21783 if $PKG_CONFIG --exists "mozilla-plugin" ; then
21784 echo "$as_me:$LINENO: result: yes" >&5
21785 echo "${ECHO_T}yes" >&6
21788 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
21789 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
21790 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
21791 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
21792 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
21794 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
21795 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
21796 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
21797 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
21798 echo "${ECHO_T}$MOZILLA_LIBS" >&6
21802 ## If we have a custom action on failure, don't print errors, but
21803 ## do set a variable so people can do so.
21804 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
21811 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21812 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21816 if test $succeeded = yes; then
21822 if test "x${MOZILLA_FOUND}" = xno
; then
21826 if test -z "$PKG_CONFIG"; then
21827 # Extract the first word of "pkg-config", so it can be a program name with args.
21828 set dummy pkg-config
; ac_word
=$2
21829 echo "$as_me:$LINENO: checking for $ac_word" >&5
21830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21831 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21832 echo $ECHO_N "(cached) $ECHO_C" >&6
21834 case $PKG_CONFIG in
21836 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21840 for as_dir
in $PATH
21843 test -z "$as_dir" && as_dir
=.
21844 for ac_exec_ext
in '' $ac_executable_extensions; do
21845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21846 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21853 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21857 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21859 if test -n "$PKG_CONFIG"; then
21860 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21861 echo "${ECHO_T}$PKG_CONFIG" >&6
21863 echo "$as_me:$LINENO: result: no" >&5
21864 echo "${ECHO_T}no" >&6
21869 if test "$PKG_CONFIG" = "no" ; then
21870 echo "*** The pkg-config script could not be found. Make sure it is"
21871 echo "*** in your path, or set the PKG_CONFIG environment variable"
21872 echo "*** to the full path to pkg-config."
21873 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21875 PKG_CONFIG_MIN_VERSION
=0.9.0
21876 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21877 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
21878 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
21880 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
21881 echo "$as_me:$LINENO: result: yes" >&5
21882 echo "${ECHO_T}yes" >&6
21885 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
21886 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
21887 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
21888 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
21889 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
21891 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
21892 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
21893 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
21894 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
21895 echo "${ECHO_T}$MOZILLA_LIBS" >&6
21899 ## If we have a custom action on failure, don't print errors, but
21900 ## do set a variable so people can do so.
21901 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
21908 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21909 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21913 if test $succeeded = yes; then
21920 if test "x${MOZILLA_FOUND}" = xno
; then
21924 if test -z "$PKG_CONFIG"; then
21925 # Extract the first word of "pkg-config", so it can be a program name with args.
21926 set dummy pkg-config
; ac_word
=$2
21927 echo "$as_me:$LINENO: checking for $ac_word" >&5
21928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21929 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 case $PKG_CONFIG in
21934 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21938 for as_dir
in $PATH
21941 test -z "$as_dir" && as_dir
=.
21942 for ac_exec_ext
in '' $ac_executable_extensions; do
21943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21944 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21951 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21955 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21957 if test -n "$PKG_CONFIG"; then
21958 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21959 echo "${ECHO_T}$PKG_CONFIG" >&6
21961 echo "$as_me:$LINENO: result: no" >&5
21962 echo "${ECHO_T}no" >&6
21967 if test "$PKG_CONFIG" = "no" ; then
21968 echo "*** The pkg-config script could not be found. Make sure it is"
21969 echo "*** in your path, or set the PKG_CONFIG environment variable"
21970 echo "*** to the full path to pkg-config."
21971 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21973 PKG_CONFIG_MIN_VERSION
=0.9.0
21974 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21975 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
21976 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
21978 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
21979 echo "$as_me:$LINENO: result: yes" >&5
21980 echo "${ECHO_T}yes" >&6
21983 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
21984 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
21985 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
21986 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
21987 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
21989 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
21990 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
21991 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
21992 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
21993 echo "${ECHO_T}$MOZILLA_LIBS" >&6
21997 ## If we have a custom action on failure, don't print errors, but
21998 ## do set a variable so people can do so.
21999 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22006 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22007 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22011 if test $succeeded = yes; then
22018 if test "x${MOZILLA_FOUND}" = xno
; then
22022 if test -z "$PKG_CONFIG"; then
22023 # Extract the first word of "pkg-config", so it can be a program name with args.
22024 set dummy pkg-config
; ac_word
=$2
22025 echo "$as_me:$LINENO: checking for $ac_word" >&5
22026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 case $PKG_CONFIG in
22032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22036 for as_dir
in $PATH
22039 test -z "$as_dir" && as_dir
=.
22040 for ac_exec_ext
in '' $ac_executable_extensions; do
22041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22053 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22055 if test -n "$PKG_CONFIG"; then
22056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22057 echo "${ECHO_T}$PKG_CONFIG" >&6
22059 echo "$as_me:$LINENO: result: no" >&5
22060 echo "${ECHO_T}no" >&6
22065 if test "$PKG_CONFIG" = "no" ; then
22066 echo "*** The pkg-config script could not be found. Make sure it is"
22067 echo "*** in your path, or set the PKG_CONFIG environment variable"
22068 echo "*** to the full path to pkg-config."
22069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22071 PKG_CONFIG_MIN_VERSION
=0.9.0
22072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22073 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22074 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
22076 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22077 echo "$as_me:$LINENO: result: yes" >&5
22078 echo "${ECHO_T}yes" >&6
22081 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22082 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22083 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22084 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22085 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22087 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22088 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22089 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22090 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22091 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22095 ## If we have a custom action on failure, don't print errors, but
22096 ## do set a variable so people can do so.
22097 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22109 if test $succeeded = yes; then
22116 if test "x${MOZILLA_FOUND}" = xno
; then
22120 if test -z "$PKG_CONFIG"; then
22121 # Extract the first word of "pkg-config", so it can be a program name with args.
22122 set dummy pkg-config
; ac_word
=$2
22123 echo "$as_me:$LINENO: checking for $ac_word" >&5
22124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22125 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 case $PKG_CONFIG in
22130 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22134 for as_dir
in $PATH
22137 test -z "$as_dir" && as_dir
=.
22138 for ac_exec_ext
in '' $ac_executable_extensions; do
22139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22140 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22147 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22151 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22153 if test -n "$PKG_CONFIG"; then
22154 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22155 echo "${ECHO_T}$PKG_CONFIG" >&6
22157 echo "$as_me:$LINENO: result: no" >&5
22158 echo "${ECHO_T}no" >&6
22163 if test "$PKG_CONFIG" = "no" ; then
22164 echo "*** The pkg-config script could not be found. Make sure it is"
22165 echo "*** in your path, or set the PKG_CONFIG environment variable"
22166 echo "*** to the full path to pkg-config."
22167 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22169 PKG_CONFIG_MIN_VERSION
=0.9.0
22170 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22171 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
22172 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
22174 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22175 echo "$as_me:$LINENO: result: yes" >&5
22176 echo "${ECHO_T}yes" >&6
22179 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22180 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22181 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22182 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22183 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22185 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22186 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22187 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22188 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22189 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22193 ## If we have a custom action on failure, don't print errors, but
22194 ## do set a variable so people can do so.
22195 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22202 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22203 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22207 if test $succeeded = yes; then
22217 if test -z "$PKG_CONFIG"; then
22218 # Extract the first word of "pkg-config", so it can be a program name with args.
22219 set dummy pkg-config
; ac_word
=$2
22220 echo "$as_me:$LINENO: checking for $ac_word" >&5
22221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22222 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 case $PKG_CONFIG in
22227 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22231 for as_dir
in $PATH
22234 test -z "$as_dir" && as_dir
=.
22235 for ac_exec_ext
in '' $ac_executable_extensions; do
22236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22237 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22244 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22248 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22250 if test -n "$PKG_CONFIG"; then
22251 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22252 echo "${ECHO_T}$PKG_CONFIG" >&6
22254 echo "$as_me:$LINENO: result: no" >&5
22255 echo "${ECHO_T}no" >&6
22260 if test "$PKG_CONFIG" = "no" ; then
22261 echo "*** The pkg-config script could not be found. Make sure it is"
22262 echo "*** in your path, or set the PKG_CONFIG environment variable"
22263 echo "*** to the full path to pkg-config."
22264 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22266 PKG_CONFIG_MIN_VERSION
=0.9.0
22267 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22268 echo "$as_me:$LINENO: checking for glib-2.0" >&5
22269 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
22271 if $PKG_CONFIG --exists "glib-2.0" ; then
22272 echo "$as_me:$LINENO: result: yes" >&5
22273 echo "${ECHO_T}yes" >&6
22276 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
22277 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
22278 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
22279 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
22280 echo "${ECHO_T}$GLIB_CFLAGS" >&6
22282 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
22283 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
22284 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
22285 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
22286 echo "${ECHO_T}$GLIB_LIBS" >&6
22290 ## If we have a custom action on failure, don't print errors, but
22291 ## do set a variable so people can do so.
22292 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
22293 echo $GLIB_PKG_ERRORS
22299 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22300 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22304 if test $succeeded = yes; then
22307 { { 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
22308 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;}
22309 { (exit 1); exit 1; }; }
22318 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
22325 # Check whether --with-javah or --without-javah was given.
22326 if test "${with_javah+set}" = set; then
22327 withval
="$with_javah"
22329 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
22331 if test "x${withval}" != x
; then
22332 if test -f "${withval}"; then
22333 USER_JAVAH
="${withval}"
22335 # Extract the first word of ""${withval}"", so it can be a program name with args.
22336 set dummy
"${withval}"; ac_word
=$2
22337 echo "$as_me:$LINENO: checking for $ac_word" >&5
22338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22339 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 case $USER_JAVAH in
22344 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22348 for as_dir
in $PATH
22351 test -z "$as_dir" && as_dir
=.
22352 for ac_exec_ext
in '' $ac_executable_extensions; do
22353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22354 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22364 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22366 if test -n "$USER_JAVAH"; then
22367 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22368 echo "${ECHO_T}$USER_JAVAH" >&6
22370 echo "$as_me:$LINENO: result: no" >&5
22371 echo "${ECHO_T}no" >&6
22376 for javah_name
in gcjh javah
; do
22377 # Extract the first word of ""$javah_name"", so it can be a program name with args.
22378 set dummy
"$javah_name"; ac_word
=$2
22379 echo "$as_me:$LINENO: checking for $ac_word" >&5
22380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22381 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 case $USER_JAVAH in
22386 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22390 for as_dir
in $PATH
22393 test -z "$as_dir" && as_dir
=.
22394 for ac_exec_ext
in '' $ac_executable_extensions; do
22395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22396 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22406 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22408 if test -n "$USER_JAVAH"; then
22409 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22410 echo "${ECHO_T}$USER_JAVAH" >&6
22412 echo "$as_me:$LINENO: result: no" >&5
22413 echo "${ECHO_T}no" >&6
22416 if test "x${USER_JAVAH}" != x
; then
22422 # if test "x${USER_JAVAH}" = x; then
22423 # echo "configure: cannot find javah" 1>&2
22429 if test "x" != x
; then
22430 if test -f ""; then
22433 # Extract the first word of """", so it can be a program name with args.
22434 set dummy
""; ac_word
=$2
22435 echo "$as_me:$LINENO: checking for $ac_word" >&5
22436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22437 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22438 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 case $USER_JAVAH in
22442 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22446 for as_dir
in $PATH
22449 test -z "$as_dir" && as_dir
=.
22450 for ac_exec_ext
in '' $ac_executable_extensions; do
22451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22452 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22462 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22464 if test -n "$USER_JAVAH"; then
22465 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22466 echo "${ECHO_T}$USER_JAVAH" >&6
22468 echo "$as_me:$LINENO: result: no" >&5
22469 echo "${ECHO_T}no" >&6
22474 for javah_name
in gcjh javah
; do
22475 # Extract the first word of ""$javah_name"", so it can be a program name with args.
22476 set dummy
"$javah_name"; ac_word
=$2
22477 echo "$as_me:$LINENO: checking for $ac_word" >&5
22478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22479 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22480 echo $ECHO_N "(cached) $ECHO_C" >&6
22482 case $USER_JAVAH in
22484 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22488 for as_dir
in $PATH
22491 test -z "$as_dir" && as_dir
=.
22492 for ac_exec_ext
in '' $ac_executable_extensions; do
22493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22494 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22504 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22506 if test -n "$USER_JAVAH"; then
22507 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22508 echo "${ECHO_T}$USER_JAVAH" >&6
22510 echo "$as_me:$LINENO: result: no" >&5
22511 echo "${ECHO_T}no" >&6
22514 if test "x${USER_JAVAH}" != x
; then
22520 # if test "x${USER_JAVAH}" = x; then
22521 # echo "configure: cannot find javah" 1>&2
22530 if test "x" != x
; then
22531 if test -f ""; then
22534 # Extract the first word of """", so it can be a program name with args.
22535 set dummy
""; ac_word
=$2
22536 echo "$as_me:$LINENO: checking for $ac_word" >&5
22537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22538 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22539 echo $ECHO_N "(cached) $ECHO_C" >&6
22541 case $USER_JAVAH in
22543 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22547 for as_dir
in $PATH
22550 test -z "$as_dir" && as_dir
=.
22551 for ac_exec_ext
in '' $ac_executable_extensions; do
22552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22553 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22563 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22565 if test -n "$USER_JAVAH"; then
22566 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22567 echo "${ECHO_T}$USER_JAVAH" >&6
22569 echo "$as_me:$LINENO: result: no" >&5
22570 echo "${ECHO_T}no" >&6
22575 for javah_name
in gcjh javah
; do
22576 # Extract the first word of ""$javah_name"", so it can be a program name with args.
22577 set dummy
"$javah_name"; ac_word
=$2
22578 echo "$as_me:$LINENO: checking for $ac_word" >&5
22579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22580 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
22581 echo $ECHO_N "(cached) $ECHO_C" >&6
22583 case $USER_JAVAH in
22585 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
22588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22589 for as_dir
in $PATH
22592 test -z "$as_dir" && as_dir
=.
22593 for ac_exec_ext
in '' $ac_executable_extensions; do
22594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22595 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
22596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22605 USER_JAVAH
=$ac_cv_path_USER_JAVAH
22607 if test -n "$USER_JAVAH"; then
22608 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
22609 echo "${ECHO_T}$USER_JAVAH" >&6
22611 echo "$as_me:$LINENO: result: no" >&5
22612 echo "${ECHO_T}no" >&6
22615 if test "x${USER_JAVAH}" != x
; then
22621 # if test "x${USER_JAVAH}" = x; then
22622 # echo "configure: cannot find javah" 1>&2
22630 if test "x${USER_JAVAH}" != x
; then
22631 USER_SPECIFIED_JAVAH_TRUE
=
22632 USER_SPECIFIED_JAVAH_FALSE
='#'
22634 USER_SPECIFIED_JAVAH_TRUE
='#'
22635 USER_SPECIFIED_JAVAH_FALSE
=
22641 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
22644 if test "x${COMPILE_JNI}" = xyes
; then
22645 echo "$as_me:$LINENO: checking jni_md.h support" >&5
22646 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
22647 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
22648 echo "$as_me:$LINENO: result: yes" >&5
22649 echo "${ECHO_T}yes" >&6
22652 target_os
=linux-gnu
22653 { echo "$as_me:$LINENO: WARNING: no" >&5
22654 echo "$as_me: WARNING: no" >&2;}
22656 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
22657 ac_dests
="include/jni_md.h"
22658 while test -n "$ac_sources"; do
22659 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22660 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22661 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22663 ac_config_links
="$ac_config_links $ac_config_links_1"
22668 user_specified_javac
=
22672 # Check whether --with-gcj or --without-gcj was given.
22673 if test "${with_gcj+set}" = set; then
22674 withval
="$with_gcj"
22676 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
22678 if test "x${withval}" != x
; then
22679 if test -f "${withval}"; then
22682 # Extract the first word of ""${withval}"", so it can be a program name with args.
22683 set dummy
"${withval}"; ac_word
=$2
22684 echo "$as_me:$LINENO: checking for $ac_word" >&5
22685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22686 if test "${ac_cv_path_GCJ+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22695 for as_dir
in $PATH
22698 test -z "$as_dir" && as_dir
=.
22699 for ac_exec_ext
in '' $ac_executable_extensions; do
22700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22701 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22711 GCJ
=$ac_cv_path_GCJ
22713 if test -n "$GCJ"; then
22714 echo "$as_me:$LINENO: result: $GCJ" >&5
22715 echo "${ECHO_T}$GCJ" >&6
22717 echo "$as_me:$LINENO: result: no" >&5
22718 echo "${ECHO_T}no" >&6
22723 # Extract the first word of ""gcj"", so it can be a program name with args.
22724 set dummy
"gcj"; ac_word
=$2
22725 echo "$as_me:$LINENO: checking for $ac_word" >&5
22726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22727 if test "${ac_cv_path_GCJ+set}" = set; then
22728 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22736 for as_dir
in $PATH
22739 test -z "$as_dir" && as_dir
=.
22740 for ac_exec_ext
in '' $ac_executable_extensions; do
22741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22742 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22752 GCJ
=$ac_cv_path_GCJ
22754 if test -n "$GCJ"; then
22755 echo "$as_me:$LINENO: result: $GCJ" >&5
22756 echo "${ECHO_T}$GCJ" >&6
22758 echo "$as_me:$LINENO: result: no" >&5
22759 echo "${ECHO_T}no" >&6
22763 if test "x$GCJ" != x
; then
22764 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
22765 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
22767 ac_cpp
='$CPP $CPPFLAGS'
22768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22772 cat >conftest.
$ac_ext <<_ACEOF
22774 #error GCJ 4.0.0 or higher is required
22778 $GCJ -E conftest.c
> /dev
/null
22780 if test "x$gcj_4_result" = "x0"; then
22781 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
22782 echo "${ECHO_T}4.0 or higher found" >&6
22784 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
22785 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
22788 ac_cpp
='$CPP $CPPFLAGS'
22789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22796 if test "x${withval}" != xno
; then
22798 if test "x" != x
; then
22799 if test -f ""; then
22802 # Extract the first word of """", so it can be a program name with args.
22803 set dummy
""; ac_word
=$2
22804 echo "$as_me:$LINENO: checking for $ac_word" >&5
22805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22806 if test "${ac_cv_path_GCJ+set}" = set; then
22807 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22815 for as_dir
in $PATH
22818 test -z "$as_dir" && as_dir
=.
22819 for ac_exec_ext
in '' $ac_executable_extensions; do
22820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22821 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22831 GCJ
=$ac_cv_path_GCJ
22833 if test -n "$GCJ"; then
22834 echo "$as_me:$LINENO: result: $GCJ" >&5
22835 echo "${ECHO_T}$GCJ" >&6
22837 echo "$as_me:$LINENO: result: no" >&5
22838 echo "${ECHO_T}no" >&6
22843 # Extract the first word of ""gcj"", so it can be a program name with args.
22844 set dummy
"gcj"; ac_word
=$2
22845 echo "$as_me:$LINENO: checking for $ac_word" >&5
22846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22847 if test "${ac_cv_path_GCJ+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22856 for as_dir
in $PATH
22859 test -z "$as_dir" && as_dir
=.
22860 for ac_exec_ext
in '' $ac_executable_extensions; do
22861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22862 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22872 GCJ
=$ac_cv_path_GCJ
22874 if test -n "$GCJ"; then
22875 echo "$as_me:$LINENO: result: $GCJ" >&5
22876 echo "${ECHO_T}$GCJ" >&6
22878 echo "$as_me:$LINENO: result: no" >&5
22879 echo "${ECHO_T}no" >&6
22883 if test "x$GCJ" != x
; then
22884 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
22885 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
22887 ac_cpp
='$CPP $CPPFLAGS'
22888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22892 cat >conftest.
$ac_ext <<_ACEOF
22894 #error GCJ 4.0.0 or higher is required
22898 $GCJ -E conftest.c
> /dev
/null
22900 if test "x$gcj_4_result" = "x0"; then
22901 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
22902 echo "${ECHO_T}4.0 or higher found" >&6
22904 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
22905 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
22908 ac_cpp
='$CPP $CPPFLAGS'
22909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22917 user_specified_javac
=gcj
22922 if test "x" != x
; then
22923 if test -f ""; then
22926 # Extract the first word of """", so it can be a program name with args.
22927 set dummy
""; ac_word
=$2
22928 echo "$as_me:$LINENO: checking for $ac_word" >&5
22929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22930 if test "${ac_cv_path_GCJ+set}" = set; then
22931 echo $ECHO_N "(cached) $ECHO_C" >&6
22935 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22939 for as_dir
in $PATH
22942 test -z "$as_dir" && as_dir
=.
22943 for ac_exec_ext
in '' $ac_executable_extensions; do
22944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22945 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22955 GCJ
=$ac_cv_path_GCJ
22957 if test -n "$GCJ"; then
22958 echo "$as_me:$LINENO: result: $GCJ" >&5
22959 echo "${ECHO_T}$GCJ" >&6
22961 echo "$as_me:$LINENO: result: no" >&5
22962 echo "${ECHO_T}no" >&6
22967 # Extract the first word of ""gcj"", so it can be a program name with args.
22968 set dummy
"gcj"; ac_word
=$2
22969 echo "$as_me:$LINENO: checking for $ac_word" >&5
22970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22971 if test "${ac_cv_path_GCJ+set}" = set; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22976 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
22979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22980 for as_dir
in $PATH
22983 test -z "$as_dir" && as_dir
=.
22984 for ac_exec_ext
in '' $ac_executable_extensions; do
22985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22986 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
22987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22996 GCJ
=$ac_cv_path_GCJ
22998 if test -n "$GCJ"; then
22999 echo "$as_me:$LINENO: result: $GCJ" >&5
23000 echo "${ECHO_T}$GCJ" >&6
23002 echo "$as_me:$LINENO: result: no" >&5
23003 echo "${ECHO_T}no" >&6
23007 if test "x$GCJ" != x
; then
23008 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23009 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23011 ac_cpp
='$CPP $CPPFLAGS'
23012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23016 cat >conftest.
$ac_ext <<_ACEOF
23018 #error GCJ 4.0.0 or higher is required
23022 $GCJ -E conftest.c
> /dev
/null
23024 if test "x$gcj_4_result" = "x0"; then
23025 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23026 echo "${ECHO_T}4.0 or higher found" >&6
23028 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23029 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23032 ac_cpp
='$CPP $CPPFLAGS'
23033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23045 # Check whether --with-jikes or --without-jikes was given.
23046 if test "${with_jikes+set}" = set; then
23047 withval
="$with_jikes"
23049 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23051 if test "x${withval}" != x
; then
23052 if test -f "${withval}"; then
23055 # Extract the first word of ""${withval}"", so it can be a program name with args.
23056 set dummy
"${withval}"; ac_word
=$2
23057 echo "$as_me:$LINENO: checking for $ac_word" >&5
23058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23059 if test "${ac_cv_path_JIKES+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23064 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23068 for as_dir
in $PATH
23071 test -z "$as_dir" && as_dir
=.
23072 for ac_exec_ext
in '' $ac_executable_extensions; do
23073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23074 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23084 JIKES
=$ac_cv_path_JIKES
23086 if test -n "$JIKES"; then
23087 echo "$as_me:$LINENO: result: $JIKES" >&5
23088 echo "${ECHO_T}$JIKES" >&6
23090 echo "$as_me:$LINENO: result: no" >&5
23091 echo "${ECHO_T}no" >&6
23096 # Extract the first word of ""jikes"", so it can be a program name with args.
23097 set dummy
"jikes"; ac_word
=$2
23098 echo "$as_me:$LINENO: checking for $ac_word" >&5
23099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23100 if test "${ac_cv_path_JIKES+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23109 for as_dir
in $PATH
23112 test -z "$as_dir" && as_dir
=.
23113 for ac_exec_ext
in '' $ac_executable_extensions; do
23114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23115 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23125 JIKES
=$ac_cv_path_JIKES
23127 if test -n "$JIKES"; then
23128 echo "$as_me:$LINENO: result: $JIKES" >&5
23129 echo "${ECHO_T}$JIKES" >&6
23131 echo "$as_me:$LINENO: result: no" >&5
23132 echo "${ECHO_T}no" >&6
23136 if test "x$JIKES" != "x"; then
23137 echo "$as_me:$LINENO: checking jikes version" >&5
23138 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
23139 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
23140 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
23141 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
23142 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
23143 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
23147 if test "x$JIKES" != "x"; then
23148 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
23149 echo "${ECHO_T}$JIKES_VERSION" >&6
23151 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
23152 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
23156 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
23157 JIKESENCODING
='-encoding UTF-8'
23161 JIKESWARNINGS
="+Pno-switchcheck"
23162 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
23163 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
23164 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
23172 if test "x${withval}" != xno
; then
23174 if test "x" != x
; then
23175 if test -f ""; then
23178 # Extract the first word of """", so it can be a program name with args.
23179 set dummy
""; ac_word
=$2
23180 echo "$as_me:$LINENO: checking for $ac_word" >&5
23181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23182 if test "${ac_cv_path_JIKES+set}" = set; then
23183 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23191 for as_dir
in $PATH
23194 test -z "$as_dir" && as_dir
=.
23195 for ac_exec_ext
in '' $ac_executable_extensions; do
23196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23197 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23207 JIKES
=$ac_cv_path_JIKES
23209 if test -n "$JIKES"; then
23210 echo "$as_me:$LINENO: result: $JIKES" >&5
23211 echo "${ECHO_T}$JIKES" >&6
23213 echo "$as_me:$LINENO: result: no" >&5
23214 echo "${ECHO_T}no" >&6
23219 # Extract the first word of ""jikes"", so it can be a program name with args.
23220 set dummy
"jikes"; ac_word
=$2
23221 echo "$as_me:$LINENO: checking for $ac_word" >&5
23222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23223 if test "${ac_cv_path_JIKES+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23228 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23232 for as_dir
in $PATH
23235 test -z "$as_dir" && as_dir
=.
23236 for ac_exec_ext
in '' $ac_executable_extensions; do
23237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23238 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23248 JIKES
=$ac_cv_path_JIKES
23250 if test -n "$JIKES"; then
23251 echo "$as_me:$LINENO: result: $JIKES" >&5
23252 echo "${ECHO_T}$JIKES" >&6
23254 echo "$as_me:$LINENO: result: no" >&5
23255 echo "${ECHO_T}no" >&6
23259 if test "x$JIKES" != "x"; then
23260 echo "$as_me:$LINENO: checking jikes version" >&5
23261 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
23262 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
23263 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
23264 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
23265 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
23266 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
23270 if test "x$JIKES" != "x"; then
23271 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
23272 echo "${ECHO_T}$JIKES_VERSION" >&6
23274 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
23275 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
23279 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
23280 JIKESENCODING
='-encoding UTF-8'
23284 JIKESWARNINGS
="+Pno-switchcheck"
23285 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
23286 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
23287 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
23296 user_specified_javac
=jikes
23301 if test "x" != x
; then
23302 if test -f ""; then
23305 # Extract the first word of """", so it can be a program name with args.
23306 set dummy
""; ac_word
=$2
23307 echo "$as_me:$LINENO: checking for $ac_word" >&5
23308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23309 if test "${ac_cv_path_JIKES+set}" = set; then
23310 echo $ECHO_N "(cached) $ECHO_C" >&6
23314 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23318 for as_dir
in $PATH
23321 test -z "$as_dir" && as_dir
=.
23322 for ac_exec_ext
in '' $ac_executable_extensions; do
23323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23324 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23334 JIKES
=$ac_cv_path_JIKES
23336 if test -n "$JIKES"; then
23337 echo "$as_me:$LINENO: result: $JIKES" >&5
23338 echo "${ECHO_T}$JIKES" >&6
23340 echo "$as_me:$LINENO: result: no" >&5
23341 echo "${ECHO_T}no" >&6
23346 # Extract the first word of ""jikes"", so it can be a program name with args.
23347 set dummy
"jikes"; ac_word
=$2
23348 echo "$as_me:$LINENO: checking for $ac_word" >&5
23349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23350 if test "${ac_cv_path_JIKES+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23359 for as_dir
in $PATH
23362 test -z "$as_dir" && as_dir
=.
23363 for ac_exec_ext
in '' $ac_executable_extensions; do
23364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23365 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23375 JIKES
=$ac_cv_path_JIKES
23377 if test -n "$JIKES"; then
23378 echo "$as_me:$LINENO: result: $JIKES" >&5
23379 echo "${ECHO_T}$JIKES" >&6
23381 echo "$as_me:$LINENO: result: no" >&5
23382 echo "${ECHO_T}no" >&6
23386 if test "x$JIKES" != "x"; then
23387 echo "$as_me:$LINENO: checking jikes version" >&5
23388 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
23389 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
23390 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
23391 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
23392 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
23393 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
23397 if test "x$JIKES" != "x"; then
23398 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
23399 echo "${ECHO_T}$JIKES_VERSION" >&6
23401 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
23402 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
23406 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
23407 JIKESENCODING
='-encoding UTF-8'
23411 JIKESWARNINGS
="+Pno-switchcheck"
23412 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
23413 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
23414 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
23427 # Check whether --with-kjc or --without-kjc was given.
23428 if test "${with_kjc+set}" = set; then
23429 withval
="$with_kjc"
23431 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23433 if test "x${withval}" != x
; then
23434 if test -f "${withval}"; then
23437 # Extract the first word of ""${withval}"", so it can be a program name with args.
23438 set dummy
"${withval}"; ac_word
=$2
23439 echo "$as_me:$LINENO: checking for $ac_word" >&5
23440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23441 if test "${ac_cv_path_KJC+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23450 for as_dir
in $PATH
23453 test -z "$as_dir" && as_dir
=.
23454 for ac_exec_ext
in '' $ac_executable_extensions; do
23455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23456 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23466 KJC
=$ac_cv_path_KJC
23468 if test -n "$KJC"; then
23469 echo "$as_me:$LINENO: result: $KJC" >&5
23470 echo "${ECHO_T}$KJC" >&6
23472 echo "$as_me:$LINENO: result: no" >&5
23473 echo "${ECHO_T}no" >&6
23478 # Extract the first word of ""kJC"", so it can be a program name with args.
23479 set dummy
"kJC"; ac_word
=$2
23480 echo "$as_me:$LINENO: checking for $ac_word" >&5
23481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23482 if test "${ac_cv_path_KJC+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23487 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23491 for as_dir
in $PATH
23494 test -z "$as_dir" && as_dir
=.
23495 for ac_exec_ext
in '' $ac_executable_extensions; do
23496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23497 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23507 KJC
=$ac_cv_path_KJC
23509 if test -n "$KJC"; then
23510 echo "$as_me:$LINENO: result: $KJC" >&5
23511 echo "${ECHO_T}$KJC" >&6
23513 echo "$as_me:$LINENO: result: no" >&5
23514 echo "${ECHO_T}no" >&6
23520 if test "x${withval}" != xno
; then
23522 if test "x" != x
; then
23523 if test -f ""; then
23526 # Extract the first word of """", so it can be a program name with args.
23527 set dummy
""; ac_word
=$2
23528 echo "$as_me:$LINENO: checking for $ac_word" >&5
23529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23530 if test "${ac_cv_path_KJC+set}" = set; then
23531 echo $ECHO_N "(cached) $ECHO_C" >&6
23535 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23539 for as_dir
in $PATH
23542 test -z "$as_dir" && as_dir
=.
23543 for ac_exec_ext
in '' $ac_executable_extensions; do
23544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23545 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23555 KJC
=$ac_cv_path_KJC
23557 if test -n "$KJC"; then
23558 echo "$as_me:$LINENO: result: $KJC" >&5
23559 echo "${ECHO_T}$KJC" >&6
23561 echo "$as_me:$LINENO: result: no" >&5
23562 echo "${ECHO_T}no" >&6
23567 # Extract the first word of ""kJC"", so it can be a program name with args.
23568 set dummy
"kJC"; ac_word
=$2
23569 echo "$as_me:$LINENO: checking for $ac_word" >&5
23570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23571 if test "${ac_cv_path_KJC+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23580 for as_dir
in $PATH
23583 test -z "$as_dir" && as_dir
=.
23584 for ac_exec_ext
in '' $ac_executable_extensions; do
23585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23586 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23596 KJC
=$ac_cv_path_KJC
23598 if test -n "$KJC"; then
23599 echo "$as_me:$LINENO: result: $KJC" >&5
23600 echo "${ECHO_T}$KJC" >&6
23602 echo "$as_me:$LINENO: result: no" >&5
23603 echo "${ECHO_T}no" >&6
23610 user_specified_javac
=kjc
23615 if test "x" != x
; then
23616 if test -f ""; then
23619 # Extract the first word of """", so it can be a program name with args.
23620 set dummy
""; ac_word
=$2
23621 echo "$as_me:$LINENO: checking for $ac_word" >&5
23622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23623 if test "${ac_cv_path_KJC+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23632 for as_dir
in $PATH
23635 test -z "$as_dir" && as_dir
=.
23636 for ac_exec_ext
in '' $ac_executable_extensions; do
23637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23638 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23648 KJC
=$ac_cv_path_KJC
23650 if test -n "$KJC"; then
23651 echo "$as_me:$LINENO: result: $KJC" >&5
23652 echo "${ECHO_T}$KJC" >&6
23654 echo "$as_me:$LINENO: result: no" >&5
23655 echo "${ECHO_T}no" >&6
23660 # Extract the first word of ""kJC"", so it can be a program name with args.
23661 set dummy
"kJC"; ac_word
=$2
23662 echo "$as_me:$LINENO: checking for $ac_word" >&5
23663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23664 if test "${ac_cv_path_KJC+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
23672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23673 for as_dir
in $PATH
23676 test -z "$as_dir" && as_dir
=.
23677 for ac_exec_ext
in '' $ac_executable_extensions; do
23678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23679 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
23680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23689 KJC
=$ac_cv_path_KJC
23691 if test -n "$KJC"; then
23692 echo "$as_me:$LINENO: result: $KJC" >&5
23693 echo "${ECHO_T}$KJC" >&6
23695 echo "$as_me:$LINENO: result: no" >&5
23696 echo "${ECHO_T}no" >&6
23707 # Check whether --with-gcjx or --without-gcjx was given.
23708 if test "${with_gcjx+set}" = set; then
23709 withval
="$with_gcjx"
23711 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23713 if test "x${withval}" != x
; then
23714 if test -f "${withval}"; then
23717 # Extract the first word of ""${withval}"", so it can be a program name with args.
23718 set dummy
"${withval}"; ac_word
=$2
23719 echo "$as_me:$LINENO: checking for $ac_word" >&5
23720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23721 if test "${ac_cv_path_GCJX+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23730 for as_dir
in $PATH
23733 test -z "$as_dir" && as_dir
=.
23734 for ac_exec_ext
in '' $ac_executable_extensions; do
23735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23736 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23746 GCJX
=$ac_cv_path_GCJX
23748 if test -n "$GCJX"; then
23749 echo "$as_me:$LINENO: result: $GCJX" >&5
23750 echo "${ECHO_T}$GCJX" >&6
23752 echo "$as_me:$LINENO: result: no" >&5
23753 echo "${ECHO_T}no" >&6
23758 # Extract the first word of ""gcjx"", so it can be a program name with args.
23759 set dummy
"gcjx"; ac_word
=$2
23760 echo "$as_me:$LINENO: checking for $ac_word" >&5
23761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23762 if test "${ac_cv_path_GCJX+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23767 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23771 for as_dir
in $PATH
23774 test -z "$as_dir" && as_dir
=.
23775 for ac_exec_ext
in '' $ac_executable_extensions; do
23776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23777 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23787 GCJX
=$ac_cv_path_GCJX
23789 if test -n "$GCJX"; then
23790 echo "$as_me:$LINENO: result: $GCJX" >&5
23791 echo "${ECHO_T}$GCJX" >&6
23793 echo "$as_me:$LINENO: result: no" >&5
23794 echo "${ECHO_T}no" >&6
23800 if test "x${withval}" != xno
; then
23802 if test "x" != x
; then
23803 if test -f ""; then
23806 # Extract the first word of """", so it can be a program name with args.
23807 set dummy
""; ac_word
=$2
23808 echo "$as_me:$LINENO: checking for $ac_word" >&5
23809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23810 if test "${ac_cv_path_GCJX+set}" = set; then
23811 echo $ECHO_N "(cached) $ECHO_C" >&6
23815 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23819 for as_dir
in $PATH
23822 test -z "$as_dir" && as_dir
=.
23823 for ac_exec_ext
in '' $ac_executable_extensions; do
23824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23825 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23835 GCJX
=$ac_cv_path_GCJX
23837 if test -n "$GCJX"; then
23838 echo "$as_me:$LINENO: result: $GCJX" >&5
23839 echo "${ECHO_T}$GCJX" >&6
23841 echo "$as_me:$LINENO: result: no" >&5
23842 echo "${ECHO_T}no" >&6
23847 # Extract the first word of ""gcjx"", so it can be a program name with args.
23848 set dummy
"gcjx"; ac_word
=$2
23849 echo "$as_me:$LINENO: checking for $ac_word" >&5
23850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23851 if test "${ac_cv_path_GCJX+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23860 for as_dir
in $PATH
23863 test -z "$as_dir" && as_dir
=.
23864 for ac_exec_ext
in '' $ac_executable_extensions; do
23865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23866 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23876 GCJX
=$ac_cv_path_GCJX
23878 if test -n "$GCJX"; then
23879 echo "$as_me:$LINENO: result: $GCJX" >&5
23880 echo "${ECHO_T}$GCJX" >&6
23882 echo "$as_me:$LINENO: result: no" >&5
23883 echo "${ECHO_T}no" >&6
23890 user_specified_javac
=gcjx
23895 if test "x" != x
; then
23896 if test -f ""; then
23899 # Extract the first word of """", so it can be a program name with args.
23900 set dummy
""; ac_word
=$2
23901 echo "$as_me:$LINENO: checking for $ac_word" >&5
23902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23903 if test "${ac_cv_path_GCJX+set}" = set; then
23904 echo $ECHO_N "(cached) $ECHO_C" >&6
23908 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23912 for as_dir
in $PATH
23915 test -z "$as_dir" && as_dir
=.
23916 for ac_exec_ext
in '' $ac_executable_extensions; do
23917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23918 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23928 GCJX
=$ac_cv_path_GCJX
23930 if test -n "$GCJX"; then
23931 echo "$as_me:$LINENO: result: $GCJX" >&5
23932 echo "${ECHO_T}$GCJX" >&6
23934 echo "$as_me:$LINENO: result: no" >&5
23935 echo "${ECHO_T}no" >&6
23940 # Extract the first word of ""gcjx"", so it can be a program name with args.
23941 set dummy
"gcjx"; ac_word
=$2
23942 echo "$as_me:$LINENO: checking for $ac_word" >&5
23943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23944 if test "${ac_cv_path_GCJX+set}" = set; then
23945 echo $ECHO_N "(cached) $ECHO_C" >&6
23949 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
23952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23953 for as_dir
in $PATH
23956 test -z "$as_dir" && as_dir
=.
23957 for ac_exec_ext
in '' $ac_executable_extensions; do
23958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23959 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
23960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23969 GCJX
=$ac_cv_path_GCJX
23971 if test -n "$GCJX"; then
23972 echo "$as_me:$LINENO: result: $GCJX" >&5
23973 echo "${ECHO_T}$GCJX" >&6
23975 echo "$as_me:$LINENO: result: no" >&5
23976 echo "${ECHO_T}no" >&6
23987 # Check whether --with-ecj or --without-ecj was given.
23988 if test "${with_ecj+set}" = set; then
23989 withval
="$with_ecj"
23991 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23993 if test "x${withval}" != x
; then
23994 if test -f "${withval}"; then
23997 # Extract the first word of ""${withval}"", so it can be a program name with args.
23998 set dummy
"${withval}"; ac_word
=$2
23999 echo "$as_me:$LINENO: checking for $ac_word" >&5
24000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24001 if test "${ac_cv_path_ECJ+set}" = set; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24006 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24010 for as_dir
in $PATH
24013 test -z "$as_dir" && as_dir
=.
24014 for ac_exec_ext
in '' $ac_executable_extensions; do
24015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24016 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24026 ECJ
=$ac_cv_path_ECJ
24028 if test -n "$ECJ"; then
24029 echo "$as_me:$LINENO: result: $ECJ" >&5
24030 echo "${ECHO_T}$ECJ" >&6
24032 echo "$as_me:$LINENO: result: no" >&5
24033 echo "${ECHO_T}no" >&6
24038 # Extract the first word of ""ecj"", so it can be a program name with args.
24039 set dummy
"ecj"; ac_word
=$2
24040 echo "$as_me:$LINENO: checking for $ac_word" >&5
24041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24042 if test "${ac_cv_path_ECJ+set}" = set; then
24043 echo $ECHO_N "(cached) $ECHO_C" >&6
24047 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24051 for as_dir
in $PATH
24054 test -z "$as_dir" && as_dir
=.
24055 for ac_exec_ext
in '' $ac_executable_extensions; do
24056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24057 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24067 ECJ
=$ac_cv_path_ECJ
24069 if test -n "$ECJ"; then
24070 echo "$as_me:$LINENO: result: $ECJ" >&5
24071 echo "${ECHO_T}$ECJ" >&6
24073 echo "$as_me:$LINENO: result: no" >&5
24074 echo "${ECHO_T}no" >&6
24080 if test "x${withval}" != xno
; then
24082 if test "x" != x
; then
24083 if test -f ""; then
24086 # Extract the first word of """", so it can be a program name with args.
24087 set dummy
""; ac_word
=$2
24088 echo "$as_me:$LINENO: checking for $ac_word" >&5
24089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24090 if test "${ac_cv_path_ECJ+set}" = set; then
24091 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24099 for as_dir
in $PATH
24102 test -z "$as_dir" && as_dir
=.
24103 for ac_exec_ext
in '' $ac_executable_extensions; do
24104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24105 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24115 ECJ
=$ac_cv_path_ECJ
24117 if test -n "$ECJ"; then
24118 echo "$as_me:$LINENO: result: $ECJ" >&5
24119 echo "${ECHO_T}$ECJ" >&6
24121 echo "$as_me:$LINENO: result: no" >&5
24122 echo "${ECHO_T}no" >&6
24127 # Extract the first word of ""ecj"", so it can be a program name with args.
24128 set dummy
"ecj"; ac_word
=$2
24129 echo "$as_me:$LINENO: checking for $ac_word" >&5
24130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24131 if test "${ac_cv_path_ECJ+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24140 for as_dir
in $PATH
24143 test -z "$as_dir" && as_dir
=.
24144 for ac_exec_ext
in '' $ac_executable_extensions; do
24145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24146 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24156 ECJ
=$ac_cv_path_ECJ
24158 if test -n "$ECJ"; then
24159 echo "$as_me:$LINENO: result: $ECJ" >&5
24160 echo "${ECHO_T}$ECJ" >&6
24162 echo "$as_me:$LINENO: result: no" >&5
24163 echo "${ECHO_T}no" >&6
24170 user_specified_javac
=ecj
24175 if test "x" != x
; then
24176 if test -f ""; then
24179 # Extract the first word of """", so it can be a program name with args.
24180 set dummy
""; ac_word
=$2
24181 echo "$as_me:$LINENO: checking for $ac_word" >&5
24182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24183 if test "${ac_cv_path_ECJ+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24192 for as_dir
in $PATH
24195 test -z "$as_dir" && as_dir
=.
24196 for ac_exec_ext
in '' $ac_executable_extensions; do
24197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24198 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24208 ECJ
=$ac_cv_path_ECJ
24210 if test -n "$ECJ"; then
24211 echo "$as_me:$LINENO: result: $ECJ" >&5
24212 echo "${ECHO_T}$ECJ" >&6
24214 echo "$as_me:$LINENO: result: no" >&5
24215 echo "${ECHO_T}no" >&6
24220 # Extract the first word of ""ecj"", so it can be a program name with args.
24221 set dummy
"ecj"; ac_word
=$2
24222 echo "$as_me:$LINENO: checking for $ac_word" >&5
24223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24224 if test "${ac_cv_path_ECJ+set}" = set; then
24225 echo $ECHO_N "(cached) $ECHO_C" >&6
24229 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24233 for as_dir
in $PATH
24236 test -z "$as_dir" && as_dir
=.
24237 for ac_exec_ext
in '' $ac_executable_extensions; do
24238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24239 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24249 ECJ
=$ac_cv_path_ECJ
24251 if test -n "$ECJ"; then
24252 echo "$as_me:$LINENO: result: $ECJ" >&5
24253 echo "${ECHO_T}$ECJ" >&6
24255 echo "$as_me:$LINENO: result: no" >&5
24256 echo "${ECHO_T}no" >&6
24266 if test "x${user_specified_javac}" = x
; then
24269 if test "x${GCJ}" != x
; then
24271 FOUND_GCJ_FALSE
='#'
24279 if test "x${JIKES}" != x
; then
24281 FOUND_JIKES_FALSE
='#'
24283 FOUND_JIKES_TRUE
='#'
24289 if test "x${ECJ}" != x
; then
24291 FOUND_ECJ_FALSE
='#'
24300 if test "x${user_specified_javac}" = xgcj
; then
24302 FOUND_GCJ_FALSE
='#'
24310 if test "x${user_specified_javac}" = xjikes
; then
24312 FOUND_JIKES_FALSE
='#'
24314 FOUND_JIKES_TRUE
='#'
24320 if test "x${user_specified_javac}" = xecj
; then
24322 FOUND_ECJ_FALSE
='#'
24331 if test "x${user_specified_javac}" = xkjc
; then
24333 FOUND_KJC_FALSE
='#'
24341 if test "x${user_specified_javac}" = xgcjx
; then
24343 FOUND_GCJX_FALSE
='#'
24345 FOUND_GCJX_TRUE
='#'
24350 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj
; then
24351 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
24352 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
24353 { (exit 1); exit 1; }; }
24359 # Check whether --with-classpath or --without-classpath was given.
24360 if test "${with_classpath+set}" = set; then
24361 withval
="$with_classpath"
24363 if test "x${withval}" = xyes
; then
24364 # set user classpath to CLASSPATH from env
24365 echo "$as_me:$LINENO: checking for classlib" >&5
24366 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
24367 USER_CLASSLIB
=${CLASSPATH}
24369 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
24370 echo "${ECHO_T}${USER_CLASSLIB}" >&6
24371 conditional_with_classlib
=true
24372 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
24373 # set user classpath to specified value
24374 echo "$as_me:$LINENO: checking for classlib" >&5
24375 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
24376 USER_CLASSLIB
=${withval}
24378 echo "$as_me:$LINENO: result: ${withval}" >&5
24379 echo "${ECHO_T}${withval}" >&6
24380 conditional_with_classlib
=true
24384 conditional_with_classlib
=false
24388 if test "x${conditional_with_classlib}" = xtrue
; then
24389 USER_SPECIFIED_CLASSLIB_TRUE
=
24390 USER_SPECIFIED_CLASSLIB_FALSE
='#'
24392 USER_SPECIFIED_CLASSLIB_TRUE
='#'
24393 USER_SPECIFIED_CLASSLIB_FALSE
=
24398 # Check whether --with-vm-classes or --without-vm-classes was given.
24399 if test "${with_vm_classes+set}" = set; then
24400 withval
="$with_vm_classes"
24401 vm_classes
="$with_vm_classes"
24403 vm_classes
='${top_srcdir}/vm/reference'
24408 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
24409 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
24410 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
24411 if test "${enable_maintainer_mode+set}" = set; then
24412 enableval
="$enable_maintainer_mode"
24413 USE_MAINTAINER_MODE
=$enableval
24415 USE_MAINTAINER_MODE
=no
24417 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
24418 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
24421 if test $USE_MAINTAINER_MODE = yes; then
24422 MAINTAINER_MODE_TRUE
=
24423 MAINTAINER_MODE_FALSE
='#'
24425 MAINTAINER_MODE_TRUE
='#'
24426 MAINTAINER_MODE_FALSE
=
24429 MAINT
=$MAINTAINER_MODE_TRUE
24433 # Check whether --enable-debug or --disable-debug was given.
24434 if test "${enable_debug+set}" = set; then
24435 enableval
="$enable_debug"
24436 case "${enableval}" in
24440 cat >>confdefs.h
<<\_ACEOF
24445 no
) LIBDEBUG
="false" ;;
24446 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
24447 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
24448 { (exit 1); exit 1; }; } ;;
24455 # Check whether --enable-load-library or --disable-load-library was given.
24456 if test "${enable_load_library+set}" = set; then
24457 enableval
="$enable_load_library"
24458 case "${enableval}" in
24459 yes) INIT_LOAD_LIBRARY
="true" ;;
24460 no
) INIT_LOAD_LIBRARY
="false" ;;
24461 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
24462 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
24463 { (exit 1); exit 1; }; } ;;
24466 INIT_LOAD_LIBRARY
="true"
24472 # Check whether --with-ecj-jar or --without-ecj-jar was given.
24473 if test "${with_ecj_jar+set}" = set; then
24474 withval
="$with_ecj_jar"
24477 if test -f $multi_basedir/ecj.jar
; then
24478 ECJ_JAR
='$(jardir)/ecj.jar'
24483 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
24484 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
24485 enableval
="$enable_java_lang_system_explicit_initialization"
24486 case "${enableval}" in
24487 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
24488 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
24489 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
24490 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
24491 { (exit 1); exit 1; }; } ;;
24494 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
24502 # Extract the first word of "mkdir", so it can be a program name with args.
24503 set dummy mkdir
; ac_word
=$2
24504 echo "$as_me:$LINENO: checking for $ac_word" >&5
24505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24506 if test "${ac_cv_path_MKDIR+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
24514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24515 for as_dir
in $PATH
24518 test -z "$as_dir" && as_dir
=.
24519 for ac_exec_ext
in '' $ac_executable_extensions; do
24520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24521 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
24522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24531 MKDIR
=$ac_cv_path_MKDIR
24533 if test -n "$MKDIR"; then
24534 echo "$as_me:$LINENO: result: $MKDIR" >&5
24535 echo "${ECHO_T}$MKDIR" >&6
24537 echo "$as_me:$LINENO: result: no" >&5
24538 echo "${ECHO_T}no" >&6
24541 # Extract the first word of "cp", so it can be a program name with args.
24542 set dummy
cp; ac_word
=$2
24543 echo "$as_me:$LINENO: checking for $ac_word" >&5
24544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24545 if test "${ac_cv_path_CP+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
24553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24554 for as_dir
in $PATH
24557 test -z "$as_dir" && as_dir
=.
24558 for ac_exec_ext
in '' $ac_executable_extensions; do
24559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24560 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
24561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24572 if test -n "$CP"; then
24573 echo "$as_me:$LINENO: result: $CP" >&5
24574 echo "${ECHO_T}$CP" >&6
24576 echo "$as_me:$LINENO: result: no" >&5
24577 echo "${ECHO_T}no" >&6
24580 # Extract the first word of "date", so it can be a program name with args.
24581 set dummy
date; ac_word
=$2
24582 echo "$as_me:$LINENO: checking for $ac_word" >&5
24583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24584 if test "${ac_cv_path_DATE+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
24592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24593 for as_dir
in $PATH
24596 test -z "$as_dir" && as_dir
=.
24597 for ac_exec_ext
in '' $ac_executable_extensions; do
24598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24599 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
24600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24609 DATE
=$ac_cv_path_DATE
24611 if test -n "$DATE"; then
24612 echo "$as_me:$LINENO: result: $DATE" >&5
24613 echo "${ECHO_T}$DATE" >&6
24615 echo "$as_me:$LINENO: result: no" >&5
24616 echo "${ECHO_T}no" >&6
24620 # Extract the first word of "find", so it can be a program name with args.
24621 set dummy
find; ac_word
=$2
24622 echo "$as_me:$LINENO: checking for $ac_word" >&5
24623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24624 if test "${ac_cv_path_FIND+set}" = set; then
24625 echo $ECHO_N "(cached) $ECHO_C" >&6
24629 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
24632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24633 for as_dir
in $PATH
24636 test -z "$as_dir" && as_dir
=.
24637 for ac_exec_ext
in '' $ac_executable_extensions; do
24638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24639 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
24640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24649 FIND
=$ac_cv_path_FIND
24651 if test -n "$FIND"; then
24652 echo "$as_me:$LINENO: result: $FIND" >&5
24653 echo "${ECHO_T}$FIND" >&6
24655 echo "$as_me:$LINENO: result: no" >&5
24656 echo "${ECHO_T}no" >&6
24661 # Extract the first word of "zip", so it can be a program name with args.
24662 set dummy
zip; ac_word
=$2
24663 echo "$as_me:$LINENO: checking for $ac_word" >&5
24664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24665 if test "${ac_cv_path_ZIP+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
24673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24674 for as_dir
in $PATH
24677 test -z "$as_dir" && as_dir
=.
24678 for ac_exec_ext
in '' $ac_executable_extensions; do
24679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24680 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
24681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24690 ZIP
=$ac_cv_path_ZIP
24692 if test -n "$ZIP"; then
24693 echo "$as_me:$LINENO: result: $ZIP" >&5
24694 echo "${ECHO_T}$ZIP" >&6
24696 echo "$as_me:$LINENO: result: no" >&5
24697 echo "${ECHO_T}no" >&6
24701 # Check whether --with-fastjar or --without-fastjar was given.
24702 if test "${with_fastjar+set}" = set; then
24703 withval
="$with_fastjar"
24705 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
24706 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
24708 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
24709 echo "${ECHO_T}${FASTJAR}" >&6
24712 # Extract the first word of "fastjar", so it can be a program name with args.
24713 set dummy fastjar
; ac_word
=$2
24714 echo "$as_me:$LINENO: checking for $ac_word" >&5
24715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24716 if test "${ac_cv_path_FASTJAR+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24721 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
24724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24725 for as_dir
in $PATH
24728 test -z "$as_dir" && as_dir
=.
24729 for ac_exec_ext
in '' $ac_executable_extensions; do
24730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24731 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
24732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24741 FASTJAR
=$ac_cv_path_FASTJAR
24743 if test -n "$FASTJAR"; then
24744 echo "$as_me:$LINENO: result: $FASTJAR" >&5
24745 echo "${ECHO_T}$FASTJAR" >&6
24747 echo "$as_me:$LINENO: result: no" >&5
24748 echo "${ECHO_T}no" >&6
24752 if test x
"${FASTJAR}" != x
; then
24757 # Check whether --with-glibj or --without-glibj was given.
24758 if test "${with_glibj+set}" = set; then
24759 withval
="$with_glibj"
24761 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
24762 install_class_files
=no
24763 build_class_files
=yes
24765 elif test "x${withval}" = xboth
; then
24766 install_class_files
=yes
24767 build_class_files
=yes
24769 elif test "x${withval}" = xflat
; then
24770 install_class_files
=yes
24771 build_class_files
=yes
24773 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
24774 install_class_files
=no
24775 build_class_files
=no
24777 elif test "x${withval}" = xbuild
; then
24778 install_class_files
=no
24779 build_class_files
=yes
24782 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
24783 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
24784 { (exit 1); exit 1; }; }
24789 install_class_files
=no
24795 if test "x${use_zip}" = xyes
; then
24796 INSTALL_GLIBJ_ZIP_TRUE
=
24797 INSTALL_GLIBJ_ZIP_FALSE
='#'
24799 INSTALL_GLIBJ_ZIP_TRUE
='#'
24800 INSTALL_GLIBJ_ZIP_FALSE
=
24805 if test "x${install_class_files}" = xyes
; then
24806 INSTALL_CLASS_FILES_TRUE
=
24807 INSTALL_CLASS_FILES_FALSE
='#'
24809 INSTALL_CLASS_FILES_TRUE
='#'
24810 INSTALL_CLASS_FILES_FALSE
=
24815 if test "x${build_class_files}" = xyes
; then
24816 BUILD_CLASS_FILES_TRUE
=
24817 BUILD_CLASS_FILES_FALSE
='#'
24819 BUILD_CLASS_FILES_TRUE
='#'
24820 BUILD_CLASS_FILES_FALSE
=
24824 # Check whether --enable-examples or --disable-examples was given.
24825 if test "${enable_examples+set}" = set; then
24826 enableval
="$enable_examples"
24827 case "${enableval}" in
24828 yes) EXAMPLESDIR
="examples" ;;
24829 no
) EXAMPLESDIR
="" ;;
24830 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
24831 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
24832 { (exit 1); exit 1; }; } ;;
24835 EXAMPLESDIR
="examples"
24837 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
24845 # Check whether --with-gjdoc or --without-gjdoc was given.
24846 if test "${with_gjdoc+set}" = set; then
24847 withval
="$with_gjdoc"
24848 if test "x${withval}" = xno
; then
24850 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
24852 # Extract the first word of "gjdoc", so it can be a program name with args.
24853 set dummy gjdoc
; ac_word
=$2
24854 echo "$as_me:$LINENO: checking for $ac_word" >&5
24855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24856 if test "${ac_cv_path_GJDOC+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
24864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24865 for as_dir
in $PATH
24868 test -z "$as_dir" && as_dir
=.
24869 for ac_exec_ext
in '' $ac_executable_extensions; do
24870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24871 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
24872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24878 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
24882 GJDOC
=$ac_cv_path_GJDOC
24884 if test -n "$GJDOC"; then
24885 echo "$as_me:$LINENO: result: $GJDOC" >&5
24886 echo "${ECHO_T}$GJDOC" >&6
24888 echo "$as_me:$LINENO: result: no" >&5
24889 echo "${ECHO_T}no" >&6
24892 if test "x${GJDOC}" = xno
; then
24893 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
24894 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
24895 { (exit 1); exit 1; }; };
24900 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
24901 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
24902 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
24903 if eval "test \"\${$as_ac_File+set}\" = set"; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 test "$cross_compiling" = yes &&
24907 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24908 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24909 { (exit 1); exit 1; }; }
24910 if test -r "${GJDOC}"; then
24911 eval "$as_ac_File=yes"
24913 eval "$as_ac_File=no"
24916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
24917 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
24918 if test `eval echo '${'$as_ac_File'}'` = yes; then
24921 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
24922 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
24923 { (exit 1); exit 1; }; }
24933 if test "x${WITH_GJDOC}" = xyes
; then
24934 CREATE_API_DOCS_TRUE
=
24935 CREATE_API_DOCS_FALSE
='#'
24937 CREATE_API_DOCS_TRUE
='#'
24938 CREATE_API_DOCS_FALSE
=
24945 # Check whether --with-jay or --without-jay was given.
24946 if test "${with_jay+set}" = set; then
24947 withval
="$with_jay"
24949 if test -d "${withval}"; then
24950 JAY_DIR_PATH
="${withval}"
24951 # Extract the first word of "jay", so it can be a program name with args.
24952 set dummy jay
; ac_word
=$2
24953 echo "$as_me:$LINENO: checking for $ac_word" >&5
24954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24955 if test "${ac_cv_path_JAY+set}" = set; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24960 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
24963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24964 for as_dir
in ${JAY_DIR_PATH}
24967 test -z "$as_dir" && as_dir
=.
24968 for ac_exec_ext
in '' $ac_executable_extensions; do
24969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24970 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
24971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24977 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
24981 JAY
=$ac_cv_path_JAY
24983 if test -n "$JAY"; then
24984 echo "$as_me:$LINENO: result: $JAY" >&5
24985 echo "${ECHO_T}$JAY" >&6
24987 echo "$as_me:$LINENO: result: no" >&5
24988 echo "${ECHO_T}no" >&6
24991 if test "x${JAY}" = xno
; then
24992 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
24993 echo "$as_me: error: \"jay executable not found\"" >&2;}
24994 { (exit 1); exit 1; }; };
24997 JAY_DIR_PATH
=`dirname "${withval}"`
25001 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
25002 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
25003 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
25004 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
25005 if eval "test \"\${$as_ac_File+set}\" = set"; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 test "$cross_compiling" = yes &&
25009 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25010 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25011 { (exit 1); exit 1; }; }
25012 if test -r "${JAY_SKELETON}"; then
25013 eval "$as_ac_File=yes"
25015 eval "$as_ac_File=no"
25018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25019 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25020 if test `eval echo '${'$as_ac_File'}'` = yes; then
25023 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
25024 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
25025 { (exit 1); exit 1; }; }
25037 if test "x${JAY_FOUND}" = xyes
; then
25038 REGEN_PARSERS_TRUE
=
25039 REGEN_PARSERS_FALSE
='#'
25041 REGEN_PARSERS_TRUE
='#'
25042 REGEN_PARSERS_FALSE
=
25047 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
25048 if test "${enable_portable_native_sync+set}" = set; then
25049 enableval
="$enable_portable_native_sync"
25050 case "${enableval}" in
25053 cat >>confdefs.h
<<\_ACEOF
25054 #define PORTABLE_NATIVE_SYNC 1
25060 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
25061 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
25062 { (exit 1); exit 1; }; }
25067 # ------ AX CREATE STDINT H -------------------------------------
25068 echo "$as_me:$LINENO: checking for stdint types" >&5
25069 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
25070 ac_stdint_h
=`echo include/config-int.h`
25071 # try to shortcircuit - if the default include path of the compiler
25072 # can find a "stdint.h" header then we assume that all compilers can.
25073 if test "${ac_cv_header_stdint_t+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
25078 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
25079 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
25080 cat >conftest.
$ac_ext <<_ACEOF
25083 cat confdefs.h
>>conftest.
$ac_ext
25084 cat >>conftest.
$ac_ext <<_ACEOF
25085 /* end confdefs.h. */
25086 #include <stdint.h>
25090 int_least32_t v = 0;
25095 rm -f conftest.
$ac_objext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25097 (eval $ac_compile) 2>conftest.er1
25099 grep -v '^ *+' conftest.er1
>conftest.err
25101 cat conftest.err
>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try
='test -z "$ac_c_werror_flag"
25105 || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try
='test -s conftest.$ac_objext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 ac_cv_stdint_result
="(assuming C99 compatible system)"
25118 ac_cv_header_stdint_t
="stdint.h";
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.
$ac_ext >&5
25123 ac_cv_header_stdint_t
=""
25125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25126 CXXFLAGS
="$old_CXXFLAGS"
25127 CPPFLAGS
="$old_CPPFLAGS"
25128 CFLAGS
="$old_CFLAGS"
25132 v
="... $ac_cv_header_stdint_h"
25133 if test "$ac_stdint_h" = "stdint.h" ; then
25134 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
25135 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
25136 elif test "$ac_stdint_h" = "inttypes.h" ; then
25137 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
25138 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
25139 elif test "_$ac_cv_header_stdint_t" = "_" ; then
25140 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
25141 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
25143 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
25144 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
25145 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
25148 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
25151 inttype_headers
=`echo | sed -e 's/,/ /g'`
25153 ac_cv_stdint_result
="(no helpful system typedefs seen)"
25155 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
25156 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
25157 if test "${ac_cv_header_stdint_x+set}" = set; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
25162 echo "$as_me:$LINENO: result: (..)" >&5
25163 echo "${ECHO_T}(..)" >&6
25164 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
25165 unset ac_cv_type_uintptr_t
25166 unset ac_cv_type_uint64_t
25167 echo "$as_me:$LINENO: checking for uintptr_t" >&5
25168 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
25169 if test "${ac_cv_type_uintptr_t+set}" = set; then
25170 echo $ECHO_N "(cached) $ECHO_C" >&6
25172 cat >conftest.
$ac_ext <<_ACEOF
25175 cat confdefs.h
>>conftest.
$ac_ext
25176 cat >>conftest.
$ac_ext <<_ACEOF
25177 /* end confdefs.h. */
25183 if ((uintptr_t *) 0)
25185 if (sizeof (uintptr_t))
25191 rm -f conftest.
$ac_objext
25192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25193 (eval $ac_compile) 2>conftest.er1
25195 grep -v '^ *+' conftest.er1
>conftest.err
25197 cat conftest.err
>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); } &&
25200 { ac_try
='test -z "$ac_c_werror_flag"
25201 || test ! -s conftest.err'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; } &&
25207 { ac_try
='test -s conftest.$ac_objext'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; }; then
25213 ac_cv_type_uintptr_t
=yes
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.
$ac_ext >&5
25218 ac_cv_type_uintptr_t
=no
25220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25222 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
25223 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
25224 if test $ac_cv_type_uintptr_t = yes; then
25225 ac_cv_header_stdint_x
=$i
25230 echo "$as_me:$LINENO: checking for uint64_t" >&5
25231 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
25232 if test "${ac_cv_type_uint64_t+set}" = set; then
25233 echo $ECHO_N "(cached) $ECHO_C" >&6
25235 cat >conftest.
$ac_ext <<_ACEOF
25238 cat confdefs.h
>>conftest.
$ac_ext
25239 cat >>conftest.
$ac_ext <<_ACEOF
25240 /* end confdefs.h. */
25246 if ((uint64_t *) 0)
25248 if (sizeof (uint64_t))
25254 rm -f conftest.
$ac_objext
25255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25256 (eval $ac_compile) 2>conftest.er1
25258 grep -v '^ *+' conftest.er1
>conftest.err
25260 cat conftest.err
>&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } &&
25263 { ac_try
='test -z "$ac_c_werror_flag"
25264 || test ! -s conftest.err'
25265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25266 (eval $ac_try) 2>&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); }; } &&
25270 { ac_try
='test -s conftest.$ac_objext'
25271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25272 (eval $ac_try) 2>&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); }; }; then
25276 ac_cv_type_uint64_t
=yes
25278 echo "$as_me: failed program was:" >&5
25279 sed 's/^/| /' conftest.
$ac_ext >&5
25281 ac_cv_type_uint64_t
=no
25283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25285 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
25286 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
25287 if test $ac_cv_type_uint64_t = yes; then
25293 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
25296 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
25297 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
25300 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
25301 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
25304 if test "_$ac_cv_header_stdint_x" = "_" ; then
25306 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
25307 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
25308 if test "${ac_cv_header_stdint_o+set}" = set; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25312 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
25313 echo "$as_me:$LINENO: result: (..)" >&5
25314 echo "${ECHO_T}(..)" >&6
25315 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
25316 unset ac_cv_type_uint32_t
25317 unset ac_cv_type_uint64_t
25318 echo "$as_me:$LINENO: checking for uint32_t" >&5
25319 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
25320 if test "${ac_cv_type_uint32_t+set}" = set; then
25321 echo $ECHO_N "(cached) $ECHO_C" >&6
25323 cat >conftest.
$ac_ext <<_ACEOF
25326 cat confdefs.h
>>conftest.
$ac_ext
25327 cat >>conftest.
$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25334 if ((uint32_t *) 0)
25336 if (sizeof (uint32_t))
25342 rm -f conftest.
$ac_objext
25343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25344 (eval $ac_compile) 2>conftest.er1
25346 grep -v '^ *+' conftest.er1
>conftest.err
25348 cat conftest.err
>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try
='test -z "$ac_c_werror_flag"
25352 || test ! -s conftest.err'
25353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25354 (eval $ac_try) 2>&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); }; } &&
25358 { ac_try
='test -s conftest.$ac_objext'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 ac_cv_type_uint32_t
=yes
25366 echo "$as_me: failed program was:" >&5
25367 sed 's/^/| /' conftest.
$ac_ext >&5
25369 ac_cv_type_uint32_t
=no
25371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25373 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
25374 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
25375 if test $ac_cv_type_uint32_t = yes; then
25376 ac_cv_header_stdint_o
=$i
25381 echo "$as_me:$LINENO: checking for uint64_t" >&5
25382 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
25383 if test "${ac_cv_type_uint64_t+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 cat >conftest.
$ac_ext <<_ACEOF
25389 cat confdefs.h
>>conftest.
$ac_ext
25390 cat >>conftest.
$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25397 if ((uint64_t *) 0)
25399 if (sizeof (uint64_t))
25405 rm -f conftest.
$ac_objext
25406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25407 (eval $ac_compile) 2>conftest.er1
25409 grep -v '^ *+' conftest.er1
>conftest.err
25411 cat conftest.err
>&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } &&
25414 { ac_try
='test -z "$ac_c_werror_flag"
25415 || test ! -s conftest.err'
25416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417 (eval $ac_try) 2>&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); }; } &&
25421 { ac_try
='test -s conftest.$ac_objext'
25422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25423 (eval $ac_try) 2>&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); }; }; then
25427 ac_cv_type_uint64_t
=yes
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.
$ac_ext >&5
25432 ac_cv_type_uint64_t
=no
25434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25436 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
25437 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
25438 if test $ac_cv_type_uint64_t = yes; then
25444 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
25448 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
25449 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
25452 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
25453 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
25457 if test "_$ac_cv_header_stdint_x" = "_" ; then
25458 if test "_$ac_cv_header_stdint_o" = "_" ; then
25460 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
25461 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
25462 if test "${ac_cv_header_stdint_u+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
25467 echo "$as_me:$LINENO: result: (..)" >&5
25468 echo "${ECHO_T}(..)" >&6
25469 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
25470 unset ac_cv_type_u_int32_t
25471 unset ac_cv_type_u_int64_t
25472 echo "$as_me:$LINENO: checking for u_int32_t" >&5
25473 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
25474 if test "${ac_cv_type_u_int32_t+set}" = set; then
25475 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 cat >conftest.
$ac_ext <<_ACEOF
25480 cat confdefs.h
>>conftest.
$ac_ext
25481 cat >>conftest.
$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25488 if ((u_int32_t *) 0)
25490 if (sizeof (u_int32_t))
25496 rm -f conftest.
$ac_objext
25497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25498 (eval $ac_compile) 2>conftest.er1
25500 grep -v '^ *+' conftest.er1
>conftest.err
25502 cat conftest.err
>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); } &&
25505 { ac_try
='test -z "$ac_c_werror_flag"
25506 || test ! -s conftest.err'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; } &&
25512 { ac_try
='test -s conftest.$ac_objext'
25513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25514 (eval $ac_try) 2>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); }; }; then
25518 ac_cv_type_u_int32_t
=yes
25520 echo "$as_me: failed program was:" >&5
25521 sed 's/^/| /' conftest.
$ac_ext >&5
25523 ac_cv_type_u_int32_t
=no
25525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25527 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
25528 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
25529 if test $ac_cv_type_u_int32_t = yes; then
25530 ac_cv_header_stdint_u
=$i
25535 echo "$as_me:$LINENO: checking for u_int64_t" >&5
25536 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
25537 if test "${ac_cv_type_u_int64_t+set}" = set; then
25538 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 cat >conftest.
$ac_ext <<_ACEOF
25543 cat confdefs.h
>>conftest.
$ac_ext
25544 cat >>conftest.
$ac_ext <<_ACEOF
25545 /* end confdefs.h. */
25551 if ((u_int64_t *) 0)
25553 if (sizeof (u_int64_t))
25559 rm -f conftest.
$ac_objext
25560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25561 (eval $ac_compile) 2>conftest.er1
25563 grep -v '^ *+' conftest.er1
>conftest.err
25565 cat conftest.err
>&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } &&
25568 { ac_try
='test -z "$ac_c_werror_flag"
25569 || test ! -s conftest.err'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; } &&
25575 { ac_try
='test -s conftest.$ac_objext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581 ac_cv_type_u_int64_t
=yes
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.
$ac_ext >&5
25586 ac_cv_type_u_int64_t
=no
25588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25590 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
25591 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
25592 if test $ac_cv_type_u_int64_t = yes; then
25598 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
25602 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
25603 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
25606 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
25607 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
25611 if test "_$ac_cv_header_stdint_x" = "_" ; then
25612 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
25613 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
25614 echo "$as_me:$LINENO: result: (..)" >&5
25615 echo "${ECHO_T}(..)" >&6
25617 echo "$as_me:$LINENO: checking for char" >&5
25618 echo $ECHO_N "checking for char... $ECHO_C" >&6
25619 if test "${ac_cv_type_char+set}" = set; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 cat >conftest.
$ac_ext <<_ACEOF
25625 cat confdefs.h
>>conftest.
$ac_ext
25626 cat >>conftest.
$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 $ac_includes_default
25640 rm -f conftest.
$ac_objext
25641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25642 (eval $ac_compile) 2>conftest.er1
25644 grep -v '^ *+' conftest.er1
>conftest.err
25646 cat conftest.err
>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } &&
25649 { ac_try
='test -z "$ac_c_werror_flag"
25650 || test ! -s conftest.err'
25651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652 (eval $ac_try) 2>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); }; } &&
25656 { ac_try
='test -s conftest.$ac_objext'
25657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658 (eval $ac_try) 2>&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; }; then
25662 ac_cv_type_char
=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.
$ac_ext >&5
25669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25671 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
25672 echo "${ECHO_T}$ac_cv_type_char" >&6
25674 echo "$as_me:$LINENO: checking size of char" >&5
25675 echo $ECHO_N "checking size of char... $ECHO_C" >&6
25676 if test "${ac_cv_sizeof_char+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 if test "$ac_cv_type_char" = yes; then
25680 # The cast to unsigned long works around a bug in the HP C Compiler
25681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25683 # This bug is HP SR number 8606223364.
25684 if test "$cross_compiling" = yes; then
25685 # Depending upon the size, compute the lo and hi bounds.
25686 cat >conftest.
$ac_ext <<_ACEOF
25689 cat confdefs.h
>>conftest.
$ac_ext
25690 cat >>conftest.
$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692 $ac_includes_default
25696 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
25703 rm -f conftest.
$ac_objext
25704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25705 (eval $ac_compile) 2>conftest.er1
25707 grep -v '^ *+' conftest.er1
>conftest.err
25709 cat conftest.err
>&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); } &&
25712 { ac_try
='test -z "$ac_c_werror_flag"
25713 || test ! -s conftest.err'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; } &&
25719 { ac_try
='test -s conftest.$ac_objext'
25720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25721 (eval $ac_try) 2>&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); }; }; then
25727 cat >conftest.
$ac_ext <<_ACEOF
25730 cat confdefs.h
>>conftest.
$ac_ext
25731 cat >>conftest.
$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25733 $ac_includes_default
25737 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
25744 rm -f conftest.
$ac_objext
25745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25746 (eval $ac_compile) 2>conftest.er1
25748 grep -v '^ *+' conftest.er1
>conftest.err
25750 cat conftest.err
>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); } &&
25753 { ac_try
='test -z "$ac_c_werror_flag"
25754 || test ! -s conftest.err'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; } &&
25760 { ac_try
='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_hi
=$ac_mid; break
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.
$ac_ext >&5
25771 ac_lo
=`expr $ac_mid + 1`
25772 if test $ac_lo -le $ac_mid; then
25776 ac_mid
=`expr 2 '*' $ac_mid + 1`
25778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.
$ac_ext >&5
25784 cat >conftest.
$ac_ext <<_ACEOF
25787 cat confdefs.h
>>conftest.
$ac_ext
25788 cat >>conftest.
$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 $ac_includes_default
25794 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
25801 rm -f conftest.
$ac_objext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25803 (eval $ac_compile) 2>conftest.er1
25805 grep -v '^ *+' conftest.er1
>conftest.err
25807 cat conftest.err
>&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } &&
25810 { ac_try
='test -z "$ac_c_werror_flag"
25811 || test ! -s conftest.err'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; } &&
25817 { ac_try
='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25825 cat >conftest.
$ac_ext <<_ACEOF
25828 cat confdefs.h
>>conftest.
$ac_ext
25829 cat >>conftest.
$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 $ac_includes_default
25835 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
25842 rm -f conftest.
$ac_objext
25843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25844 (eval $ac_compile) 2>conftest.er1
25846 grep -v '^ *+' conftest.er1
>conftest.err
25848 cat conftest.err
>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } &&
25851 { ac_try
='test -z "$ac_c_werror_flag"
25852 || test ! -s conftest.err'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; } &&
25858 { ac_try
='test -s conftest.$ac_objext'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; }; then
25864 ac_lo
=$ac_mid; break
25866 echo "$as_me: failed program was:" >&5
25867 sed 's/^/| /' conftest.
$ac_ext >&5
25869 ac_hi
=`expr '(' $ac_mid ')' - 1`
25870 if test $ac_mid -le $ac_hi; then
25874 ac_mid
=`expr 2 '*' $ac_mid`
25876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.
$ac_ext >&5
25884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25887 # Binary search between lo and hi bounds.
25888 while test "x$ac_lo" != "x$ac_hi"; do
25889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25890 cat >conftest.
$ac_ext <<_ACEOF
25893 cat confdefs.h
>>conftest.
$ac_ext
25894 cat >>conftest.
$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25896 $ac_includes_default
25900 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
25907 rm -f conftest.
$ac_objext
25908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25909 (eval $ac_compile) 2>conftest.er1
25911 grep -v '^ *+' conftest.er1
>conftest.err
25913 cat conftest.err
>&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } &&
25916 { ac_try
='test -z "$ac_c_werror_flag"
25917 || test ! -s conftest.err'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; } &&
25923 { ac_try
='test -s conftest.$ac_objext'
25924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925 (eval $ac_try) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); }; }; then
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.
$ac_ext >&5
25934 ac_lo
=`expr '(' $ac_mid ')' + 1`
25936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25939 ?
*) ac_cv_sizeof_char
=$ac_lo;;
25940 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
25941 See \`config.log' for more details." >&5
25942 echo "$as_me: error: cannot compute sizeof (char), 77
25943 See \`config.log' for more details." >&2;}
25944 { (exit 1); exit 1; }; } ;;
25947 if test "$cross_compiling" = yes; then
25948 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25949 See \`config.log' for more details." >&5
25950 echo "$as_me: error: cannot run test program while cross compiling
25951 See \`config.log' for more details." >&2;}
25952 { (exit 1); exit 1; }; }
25954 cat >conftest.
$ac_ext <<_ACEOF
25957 cat confdefs.h
>>conftest.
$ac_ext
25958 cat >>conftest.
$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960 $ac_includes_default
25961 long longval () { return (long) (sizeof (char)); }
25962 unsigned long ulongval () { return (long) (sizeof (char)); }
25964 #include <stdlib.h>
25969 FILE *f = fopen ("conftest.val", "w");
25972 if (((long) (sizeof (char))) < 0)
25974 long i = longval ();
25975 if (i != ((long) (sizeof (char))))
25977 fprintf (f, "%ld\n", i);
25981 unsigned long i = ulongval ();
25982 if (i != ((long) (sizeof (char))))
25984 fprintf (f, "%lu\n", i);
25986 exit (ferror (f) || fclose (f) != 0);
25992 rm -f conftest
$ac_exeext
25993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25994 (eval $ac_link) 2>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; }; then
26003 ac_cv_sizeof_char
=`cat conftest.val`
26005 echo "$as_me: program exited with status $ac_status" >&5
26006 echo "$as_me: failed program was:" >&5
26007 sed 's/^/| /' conftest.
$ac_ext >&5
26009 ( exit $ac_status )
26010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26011 See \`config.log' for more details." >&5
26012 echo "$as_me: error: cannot compute sizeof (char), 77
26013 See \`config.log' for more details." >&2;}
26014 { (exit 1); exit 1; }; }
26016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26021 ac_cv_sizeof_char
=0
26024 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
26025 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
26026 cat >>confdefs.h
<<_ACEOF
26027 #define SIZEOF_CHAR $ac_cv_sizeof_char
26031 echo "$as_me:$LINENO: checking for short" >&5
26032 echo $ECHO_N "checking for short... $ECHO_C" >&6
26033 if test "${ac_cv_type_short+set}" = set; then
26034 echo $ECHO_N "(cached) $ECHO_C" >&6
26036 cat >conftest.
$ac_ext <<_ACEOF
26039 cat confdefs.h
>>conftest.
$ac_ext
26040 cat >>conftest.
$ac_ext <<_ACEOF
26041 /* end confdefs.h. */
26042 $ac_includes_default
26048 if (sizeof (short))
26054 rm -f conftest.
$ac_objext
26055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26056 (eval $ac_compile) 2>conftest.er1
26058 grep -v '^ *+' conftest.er1
>conftest.err
26060 cat conftest.err
>&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } &&
26063 { ac_try
='test -z "$ac_c_werror_flag"
26064 || test ! -s conftest.err'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; } &&
26070 { ac_try
='test -s conftest.$ac_objext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26076 ac_cv_type_short
=yes
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.
$ac_ext >&5
26081 ac_cv_type_short
=no
26083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26085 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26086 echo "${ECHO_T}$ac_cv_type_short" >&6
26088 echo "$as_me:$LINENO: checking size of short" >&5
26089 echo $ECHO_N "checking size of short... $ECHO_C" >&6
26090 if test "${ac_cv_sizeof_short+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26093 if test "$ac_cv_type_short" = yes; then
26094 # The cast to unsigned long works around a bug in the HP C Compiler
26095 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26096 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26097 # This bug is HP SR number 8606223364.
26098 if test "$cross_compiling" = yes; then
26099 # Depending upon the size, compute the lo and hi bounds.
26100 cat >conftest.
$ac_ext <<_ACEOF
26103 cat confdefs.h
>>conftest.
$ac_ext
26104 cat >>conftest.
$ac_ext <<_ACEOF
26105 /* end confdefs.h. */
26106 $ac_includes_default
26110 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
26117 rm -f conftest.
$ac_objext
26118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26119 (eval $ac_compile) 2>conftest.er1
26121 grep -v '^ *+' conftest.er1
>conftest.err
26123 cat conftest.err
>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try
='test -z "$ac_c_werror_flag"
26127 || test ! -s conftest.err'
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; } &&
26133 { ac_try
='test -s conftest.$ac_objext'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; }; then
26141 cat >conftest.
$ac_ext <<_ACEOF
26144 cat confdefs.h
>>conftest.
$ac_ext
26145 cat >>conftest.
$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 $ac_includes_default
26151 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
26158 rm -f conftest.
$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26162 grep -v '^ *+' conftest.er1
>conftest.err
26164 cat conftest.err
>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try
='test -z "$ac_c_werror_flag"
26168 || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try
='test -s conftest.$ac_objext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ac_hi
=$ac_mid; break
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 ac_lo
=`expr $ac_mid + 1`
26186 if test $ac_lo -le $ac_mid; then
26190 ac_mid
=`expr 2 '*' $ac_mid + 1`
26192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26195 echo "$as_me: failed program was:" >&5
26196 sed 's/^/| /' conftest.
$ac_ext >&5
26198 cat >conftest.
$ac_ext <<_ACEOF
26201 cat confdefs.h
>>conftest.
$ac_ext
26202 cat >>conftest.
$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26204 $ac_includes_default
26208 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
26215 rm -f conftest.
$ac_objext
26216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26217 (eval $ac_compile) 2>conftest.er1
26219 grep -v '^ *+' conftest.er1
>conftest.err
26221 cat conftest.err
>&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } &&
26224 { ac_try
='test -z "$ac_c_werror_flag"
26225 || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try
='test -s conftest.$ac_objext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26245 $ac_includes_default
26249 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
26256 rm -f conftest.
$ac_objext
26257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26258 (eval $ac_compile) 2>conftest.er1
26260 grep -v '^ *+' conftest.er1
>conftest.err
26262 cat conftest.err
>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } &&
26265 { ac_try
='test -z "$ac_c_werror_flag"
26266 || test ! -s conftest.err'
26267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268 (eval $ac_try) 2>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); }; } &&
26272 { ac_try
='test -s conftest.$ac_objext'
26273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26274 (eval $ac_try) 2>&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); }; }; then
26278 ac_lo
=$ac_mid; break
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.
$ac_ext >&5
26283 ac_hi
=`expr '(' $ac_mid ')' - 1`
26284 if test $ac_mid -le $ac_hi; then
26288 ac_mid
=`expr 2 '*' $ac_mid`
26290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.
$ac_ext >&5
26298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26301 # Binary search between lo and hi bounds.
26302 while test "x$ac_lo" != "x$ac_hi"; do
26303 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 $ac_includes_default
26314 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
26321 rm -f conftest.
$ac_objext
26322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26323 (eval $ac_compile) 2>conftest.er1
26325 grep -v '^ *+' conftest.er1
>conftest.err
26327 cat conftest.err
>&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } &&
26330 { ac_try
='test -z "$ac_c_werror_flag"
26331 || test ! -s conftest.err'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; } &&
26337 { ac_try
='test -s conftest.$ac_objext'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.
$ac_ext >&5
26348 ac_lo
=`expr '(' $ac_mid ')' + 1`
26350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26353 ?
*) ac_cv_sizeof_short
=$ac_lo;;
26354 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
26355 See \`config.log' for more details." >&5
26356 echo "$as_me: error: cannot compute sizeof (short), 77
26357 See \`config.log' for more details." >&2;}
26358 { (exit 1); exit 1; }; } ;;
26361 if test "$cross_compiling" = yes; then
26362 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26363 See \`config.log' for more details." >&5
26364 echo "$as_me: error: cannot run test program while cross compiling
26365 See \`config.log' for more details." >&2;}
26366 { (exit 1); exit 1; }; }
26368 cat >conftest.
$ac_ext <<_ACEOF
26371 cat confdefs.h
>>conftest.
$ac_ext
26372 cat >>conftest.
$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 $ac_includes_default
26375 long longval () { return (long) (sizeof (short)); }
26376 unsigned long ulongval () { return (long) (sizeof (short)); }
26378 #include <stdlib.h>
26383 FILE *f = fopen ("conftest.val", "w");
26386 if (((long) (sizeof (short))) < 0)
26388 long i = longval ();
26389 if (i != ((long) (sizeof (short))))
26391 fprintf (f, "%ld\n", i);
26395 unsigned long i = ulongval ();
26396 if (i != ((long) (sizeof (short))))
26398 fprintf (f, "%lu\n", i);
26400 exit (ferror (f) || fclose (f) != 0);
26406 rm -f conftest
$ac_exeext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26408 (eval $ac_link) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; }; then
26417 ac_cv_sizeof_short
=`cat conftest.val`
26419 echo "$as_me: program exited with status $ac_status" >&5
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ( exit $ac_status )
26424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
26425 See \`config.log' for more details." >&5
26426 echo "$as_me: error: cannot compute sizeof (short), 77
26427 See \`config.log' for more details." >&2;}
26428 { (exit 1); exit 1; }; }
26430 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26435 ac_cv_sizeof_short
=0
26438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26439 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
26440 cat >>confdefs.h
<<_ACEOF
26441 #define SIZEOF_SHORT $ac_cv_sizeof_short
26445 echo "$as_me:$LINENO: checking for int" >&5
26446 echo $ECHO_N "checking for int... $ECHO_C" >&6
26447 if test "${ac_cv_type_int+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 cat >conftest.
$ac_ext <<_ACEOF
26453 cat confdefs.h
>>conftest.
$ac_ext
26454 cat >>conftest.
$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456 $ac_includes_default
26468 rm -f conftest.
$ac_objext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26470 (eval $ac_compile) 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try
='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try
='test -s conftest.$ac_objext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26499 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
26500 echo "${ECHO_T}$ac_cv_type_int" >&6
26502 echo "$as_me:$LINENO: checking size of int" >&5
26503 echo $ECHO_N "checking size of int... $ECHO_C" >&6
26504 if test "${ac_cv_sizeof_int+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 if test "$ac_cv_type_int" = yes; then
26508 # The cast to unsigned long works around a bug in the HP C Compiler
26509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26511 # This bug is HP SR number 8606223364.
26512 if test "$cross_compiling" = yes; then
26513 # Depending upon the size, compute the lo and hi bounds.
26514 cat >conftest.
$ac_ext <<_ACEOF
26517 cat confdefs.h
>>conftest.
$ac_ext
26518 cat >>conftest.
$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26520 $ac_includes_default
26524 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
26531 rm -f conftest.
$ac_objext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26533 (eval $ac_compile) 2>conftest.er1
26535 grep -v '^ *+' conftest.er1
>conftest.err
26537 cat conftest.err
>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } &&
26540 { ac_try
='test -z "$ac_c_werror_flag"
26541 || test ! -s conftest.err'
26542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543 (eval $ac_try) 2>&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); }; } &&
26547 { ac_try
='test -s conftest.$ac_objext'
26548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549 (eval $ac_try) 2>&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); }; }; then
26555 cat >conftest.
$ac_ext <<_ACEOF
26558 cat confdefs.h
>>conftest.
$ac_ext
26559 cat >>conftest.
$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 $ac_includes_default
26565 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
26572 rm -f conftest.
$ac_objext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26574 (eval $ac_compile) 2>conftest.er1
26576 grep -v '^ *+' conftest.er1
>conftest.err
26578 cat conftest.err
>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try
='test -z "$ac_c_werror_flag"
26582 || test ! -s conftest.err'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; } &&
26588 { ac_try
='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 ac_hi
=$ac_mid; break
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.
$ac_ext >&5
26599 ac_lo
=`expr $ac_mid + 1`
26600 if test $ac_lo -le $ac_mid; then
26604 ac_mid
=`expr 2 '*' $ac_mid + 1`
26606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.
$ac_ext >&5
26612 cat >conftest.
$ac_ext <<_ACEOF
26615 cat confdefs.h
>>conftest.
$ac_ext
26616 cat >>conftest.
$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 $ac_includes_default
26622 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
26629 rm -f conftest.
$ac_objext
26630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26631 (eval $ac_compile) 2>conftest.er1
26633 grep -v '^ *+' conftest.er1
>conftest.err
26635 cat conftest.err
>&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } &&
26638 { ac_try
='test -z "$ac_c_werror_flag"
26639 || test ! -s conftest.err'
26640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26641 (eval $ac_try) 2>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); }; } &&
26645 { ac_try
='test -s conftest.$ac_objext'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; }; then
26653 cat >conftest.
$ac_ext <<_ACEOF
26656 cat confdefs.h
>>conftest.
$ac_ext
26657 cat >>conftest.
$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659 $ac_includes_default
26663 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
26670 rm -f conftest.
$ac_objext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26672 (eval $ac_compile) 2>conftest.er1
26674 grep -v '^ *+' conftest.er1
>conftest.err
26676 cat conftest.err
>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try
='test -z "$ac_c_werror_flag"
26680 || test ! -s conftest.err'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; } &&
26686 { ac_try
='test -s conftest.$ac_objext'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_lo
=$ac_mid; break
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.
$ac_ext >&5
26697 ac_hi
=`expr '(' $ac_mid ')' - 1`
26698 if test $ac_mid -le $ac_hi; then
26702 ac_mid
=`expr 2 '*' $ac_mid`
26704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.
$ac_ext >&5
26712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26715 # Binary search between lo and hi bounds.
26716 while test "x$ac_lo" != "x$ac_hi"; do
26717 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26718 cat >conftest.
$ac_ext <<_ACEOF
26721 cat confdefs.h
>>conftest.
$ac_ext
26722 cat >>conftest.
$ac_ext <<_ACEOF
26723 /* end confdefs.h. */
26724 $ac_includes_default
26728 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
26735 rm -f conftest.
$ac_objext
26736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26737 (eval $ac_compile) 2>conftest.er1
26739 grep -v '^ *+' conftest.er1
>conftest.err
26741 cat conftest.err
>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } &&
26744 { ac_try
='test -z "$ac_c_werror_flag"
26745 || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try
='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.
$ac_ext >&5
26762 ac_lo
=`expr '(' $ac_mid ')' + 1`
26764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26767 ?
*) ac_cv_sizeof_int
=$ac_lo;;
26768 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
26769 See \`config.log' for more details." >&5
26770 echo "$as_me: error: cannot compute sizeof (int), 77
26771 See \`config.log' for more details." >&2;}
26772 { (exit 1); exit 1; }; } ;;
26775 if test "$cross_compiling" = yes; then
26776 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26777 See \`config.log' for more details." >&5
26778 echo "$as_me: error: cannot run test program while cross compiling
26779 See \`config.log' for more details." >&2;}
26780 { (exit 1); exit 1; }; }
26782 cat >conftest.
$ac_ext <<_ACEOF
26785 cat confdefs.h
>>conftest.
$ac_ext
26786 cat >>conftest.
$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26788 $ac_includes_default
26789 long longval () { return (long) (sizeof (int)); }
26790 unsigned long ulongval () { return (long) (sizeof (int)); }
26792 #include <stdlib.h>
26797 FILE *f = fopen ("conftest.val", "w");
26800 if (((long) (sizeof (int))) < 0)
26802 long i = longval ();
26803 if (i != ((long) (sizeof (int))))
26805 fprintf (f, "%ld\n", i);
26809 unsigned long i = ulongval ();
26810 if (i != ((long) (sizeof (int))))
26812 fprintf (f, "%lu\n", i);
26814 exit (ferror (f) || fclose (f) != 0);
26820 rm -f conftest
$ac_exeext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26822 (eval $ac_link) 2>&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_sizeof_int
=`cat conftest.val`
26833 echo "$as_me: program exited with status $ac_status" >&5
26834 echo "$as_me: failed program was:" >&5
26835 sed 's/^/| /' conftest.
$ac_ext >&5
26837 ( exit $ac_status )
26838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
26839 See \`config.log' for more details." >&5
26840 echo "$as_me: error: cannot compute sizeof (int), 77
26841 See \`config.log' for more details." >&2;}
26842 { (exit 1); exit 1; }; }
26844 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
26853 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
26854 cat >>confdefs.h
<<_ACEOF
26855 #define SIZEOF_INT $ac_cv_sizeof_int
26859 echo "$as_me:$LINENO: checking for long" >&5
26860 echo $ECHO_N "checking for long... $ECHO_C" >&6
26861 if test "${ac_cv_type_long+set}" = set; then
26862 echo $ECHO_N "(cached) $ECHO_C" >&6
26864 cat >conftest.
$ac_ext <<_ACEOF
26867 cat confdefs.h
>>conftest.
$ac_ext
26868 cat >>conftest.
$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26870 $ac_includes_default
26882 rm -f conftest.
$ac_objext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26884 (eval $ac_compile) 2>conftest.er1
26886 grep -v '^ *+' conftest.er1
>conftest.err
26888 cat conftest.err
>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try
='test -z "$ac_c_werror_flag"
26892 || test ! -s conftest.err'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; } &&
26898 { ac_try
='test -s conftest.$ac_objext'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; }; then
26904 ac_cv_type_long
=yes
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.
$ac_ext >&5
26911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26913 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26914 echo "${ECHO_T}$ac_cv_type_long" >&6
26916 echo "$as_me:$LINENO: checking size of long" >&5
26917 echo $ECHO_N "checking size of long... $ECHO_C" >&6
26918 if test "${ac_cv_sizeof_long+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 if test "$ac_cv_type_long" = yes; then
26922 # The cast to unsigned long works around a bug in the HP C Compiler
26923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26925 # This bug is HP SR number 8606223364.
26926 if test "$cross_compiling" = yes; then
26927 # Depending upon the size, compute the lo and hi bounds.
26928 cat >conftest.
$ac_ext <<_ACEOF
26931 cat confdefs.h
>>conftest.
$ac_ext
26932 cat >>conftest.
$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26934 $ac_includes_default
26938 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
26945 rm -f conftest.
$ac_objext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26947 (eval $ac_compile) 2>conftest.er1
26949 grep -v '^ *+' conftest.er1
>conftest.err
26951 cat conftest.err
>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } &&
26954 { ac_try
='test -z "$ac_c_werror_flag"
26955 || test ! -s conftest.err'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; } &&
26961 { ac_try
='test -s conftest.$ac_objext'
26962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26963 (eval $ac_try) 2>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); }; }; then
26969 cat >conftest.
$ac_ext <<_ACEOF
26972 cat confdefs.h
>>conftest.
$ac_ext
26973 cat >>conftest.
$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975 $ac_includes_default
26979 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
26986 rm -f conftest.
$ac_objext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26988 (eval $ac_compile) 2>conftest.er1
26990 grep -v '^ *+' conftest.er1
>conftest.err
26992 cat conftest.err
>&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try
='test -z "$ac_c_werror_flag"
26996 || test ! -s conftest.err'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; } &&
27002 { ac_try
='test -s conftest.$ac_objext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 ac_hi
=$ac_mid; break
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.
$ac_ext >&5
27013 ac_lo
=`expr $ac_mid + 1`
27014 if test $ac_lo -le $ac_mid; then
27018 ac_mid
=`expr 2 '*' $ac_mid + 1`
27020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.
$ac_ext >&5
27026 cat >conftest.
$ac_ext <<_ACEOF
27029 cat confdefs.h
>>conftest.
$ac_ext
27030 cat >>conftest.
$ac_ext <<_ACEOF
27031 /* end confdefs.h. */
27032 $ac_includes_default
27036 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
27043 rm -f conftest.
$ac_objext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>conftest.er1
27047 grep -v '^ *+' conftest.er1
>conftest.err
27049 cat conftest.err
>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } &&
27052 { ac_try
='test -z "$ac_c_werror_flag"
27053 || test ! -s conftest.err'
27054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055 (eval $ac_try) 2>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; } &&
27059 { ac_try
='test -s conftest.$ac_objext'
27060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27061 (eval $ac_try) 2>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); }; }; then
27067 cat >conftest.
$ac_ext <<_ACEOF
27070 cat confdefs.h
>>conftest.
$ac_ext
27071 cat >>conftest.
$ac_ext <<_ACEOF
27072 /* end confdefs.h. */
27073 $ac_includes_default
27077 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
27084 rm -f conftest.
$ac_objext
27085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27086 (eval $ac_compile) 2>conftest.er1
27088 grep -v '^ *+' conftest.er1
>conftest.err
27090 cat conftest.err
>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } &&
27093 { ac_try
='test -z "$ac_c_werror_flag"
27094 || test ! -s conftest.err'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try
='test -s conftest.$ac_objext'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27106 ac_lo
=$ac_mid; break
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.
$ac_ext >&5
27111 ac_hi
=`expr '(' $ac_mid ')' - 1`
27112 if test $ac_mid -le $ac_hi; then
27116 ac_mid
=`expr 2 '*' $ac_mid`
27118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27121 echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.
$ac_ext >&5
27126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27129 # Binary search between lo and hi bounds.
27130 while test "x$ac_lo" != "x$ac_hi"; do
27131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27132 cat >conftest.
$ac_ext <<_ACEOF
27135 cat confdefs.h
>>conftest.
$ac_ext
27136 cat >>conftest.
$ac_ext <<_ACEOF
27137 /* end confdefs.h. */
27138 $ac_includes_default
27142 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27149 rm -f conftest.
$ac_objext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27151 (eval $ac_compile) 2>conftest.er1
27153 grep -v '^ *+' conftest.er1
>conftest.err
27155 cat conftest.err
>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } &&
27158 { ac_try
='test -z "$ac_c_werror_flag"
27159 || test ! -s conftest.err'
27160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27161 (eval $ac_try) 2>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); }; } &&
27165 { ac_try
='test -s conftest.$ac_objext'
27166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27167 (eval $ac_try) 2>&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); }; }; then
27173 echo "$as_me: failed program was:" >&5
27174 sed 's/^/| /' conftest.
$ac_ext >&5
27176 ac_lo
=`expr '(' $ac_mid ')' + 1`
27178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27181 ?
*) ac_cv_sizeof_long
=$ac_lo;;
27182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
27183 See \`config.log' for more details." >&5
27184 echo "$as_me: error: cannot compute sizeof (long), 77
27185 See \`config.log' for more details." >&2;}
27186 { (exit 1); exit 1; }; } ;;
27189 if test "$cross_compiling" = yes; then
27190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27191 See \`config.log' for more details." >&5
27192 echo "$as_me: error: cannot run test program while cross compiling
27193 See \`config.log' for more details." >&2;}
27194 { (exit 1); exit 1; }; }
27196 cat >conftest.
$ac_ext <<_ACEOF
27199 cat confdefs.h
>>conftest.
$ac_ext
27200 cat >>conftest.
$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27202 $ac_includes_default
27203 long longval () { return (long) (sizeof (long)); }
27204 unsigned long ulongval () { return (long) (sizeof (long)); }
27206 #include <stdlib.h>
27211 FILE *f = fopen ("conftest.val", "w");
27214 if (((long) (sizeof (long))) < 0)
27216 long i = longval ();
27217 if (i != ((long) (sizeof (long))))
27219 fprintf (f, "%ld\n", i);
27223 unsigned long i = ulongval ();
27224 if (i != ((long) (sizeof (long))))
27226 fprintf (f, "%lu\n", i);
27228 exit (ferror (f) || fclose (f) != 0);
27234 rm -f conftest
$ac_exeext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27236 (eval $ac_link) 2>&5
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27241 (eval $ac_try) 2>&5
27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244 (exit $ac_status); }; }; then
27245 ac_cv_sizeof_long
=`cat conftest.val`
27247 echo "$as_me: program exited with status $ac_status" >&5
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.
$ac_ext >&5
27251 ( exit $ac_status )
27252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
27253 See \`config.log' for more details." >&5
27254 echo "$as_me: error: cannot compute sizeof (long), 77
27255 See \`config.log' for more details." >&2;}
27256 { (exit 1); exit 1; }; }
27258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27263 ac_cv_sizeof_long
=0
27266 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
27267 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
27268 cat >>confdefs.h
<<_ACEOF
27269 #define SIZEOF_LONG $ac_cv_sizeof_long
27273 echo "$as_me:$LINENO: checking for void*" >&5
27274 echo $ECHO_N "checking for void*... $ECHO_C" >&6
27275 if test "${ac_cv_type_voidp+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 cat >conftest.
$ac_ext <<_ACEOF
27281 cat confdefs.h
>>conftest.
$ac_ext
27282 cat >>conftest.
$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284 $ac_includes_default
27290 if (sizeof (void*))
27296 rm -f conftest.
$ac_objext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27298 (eval $ac_compile) 2>conftest.er1
27300 grep -v '^ *+' conftest.er1
>conftest.err
27302 cat conftest.err
>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try
='test -z "$ac_c_werror_flag"
27306 || test ! -s conftest.err'
27307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308 (eval $ac_try) 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; } &&
27312 { ac_try
='test -s conftest.$ac_objext'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; }; then
27318 ac_cv_type_voidp
=yes
27320 echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.
$ac_ext >&5
27323 ac_cv_type_voidp
=no
27325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
27328 echo "${ECHO_T}$ac_cv_type_voidp" >&6
27330 echo "$as_me:$LINENO: checking size of void*" >&5
27331 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
27332 if test "${ac_cv_sizeof_voidp+set}" = set; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27335 if test "$ac_cv_type_voidp" = yes; then
27336 # The cast to unsigned long works around a bug in the HP C Compiler
27337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27339 # This bug is HP SR number 8606223364.
27340 if test "$cross_compiling" = yes; then
27341 # Depending upon the size, compute the lo and hi bounds.
27342 cat >conftest.
$ac_ext <<_ACEOF
27345 cat confdefs.h
>>conftest.
$ac_ext
27346 cat >>conftest.
$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 $ac_includes_default
27352 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
27359 rm -f conftest.
$ac_objext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27361 (eval $ac_compile) 2>conftest.er1
27363 grep -v '^ *+' conftest.er1
>conftest.err
27365 cat conftest.err
>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try
='test -z "$ac_c_werror_flag"
27369 || test ! -s conftest.err'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; } &&
27375 { ac_try
='test -s conftest.$ac_objext'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; }; then
27383 cat >conftest.
$ac_ext <<_ACEOF
27386 cat confdefs.h
>>conftest.
$ac_ext
27387 cat >>conftest.
$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389 $ac_includes_default
27393 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
27400 rm -f conftest.
$ac_objext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27402 (eval $ac_compile) 2>conftest.er1
27404 grep -v '^ *+' conftest.er1
>conftest.err
27406 cat conftest.err
>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } &&
27409 { ac_try
='test -z "$ac_c_werror_flag"
27410 || test ! -s conftest.err'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; } &&
27416 { ac_try
='test -s conftest.$ac_objext'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; }; then
27422 ac_hi
=$ac_mid; break
27424 echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.
$ac_ext >&5
27427 ac_lo
=`expr $ac_mid + 1`
27428 if test $ac_lo -le $ac_mid; then
27432 ac_mid
=`expr 2 '*' $ac_mid + 1`
27434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.
$ac_ext >&5
27440 cat >conftest.
$ac_ext <<_ACEOF
27443 cat confdefs.h
>>conftest.
$ac_ext
27444 cat >>conftest.
$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 $ac_includes_default
27450 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
27457 rm -f conftest.
$ac_objext
27458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27459 (eval $ac_compile) 2>conftest.er1
27461 grep -v '^ *+' conftest.er1
>conftest.err
27463 cat conftest.err
>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } &&
27466 { ac_try
='test -z "$ac_c_werror_flag"
27467 || test ! -s conftest.err'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; } &&
27473 { ac_try
='test -s conftest.$ac_objext'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; }; then
27481 cat >conftest.
$ac_ext <<_ACEOF
27484 cat confdefs.h
>>conftest.
$ac_ext
27485 cat >>conftest.
$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27487 $ac_includes_default
27491 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
27498 rm -f conftest.
$ac_objext
27499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27500 (eval $ac_compile) 2>conftest.er1
27502 grep -v '^ *+' conftest.er1
>conftest.err
27504 cat conftest.err
>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } &&
27507 { ac_try
='test -z "$ac_c_werror_flag"
27508 || test ! -s conftest.err'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; } &&
27514 { ac_try
='test -s conftest.$ac_objext'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; }; then
27520 ac_lo
=$ac_mid; break
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.
$ac_ext >&5
27525 ac_hi
=`expr '(' $ac_mid ')' - 1`
27526 if test $ac_mid -le $ac_hi; then
27530 ac_mid
=`expr 2 '*' $ac_mid`
27532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27535 echo "$as_me: failed program was:" >&5
27536 sed 's/^/| /' conftest.
$ac_ext >&5
27540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27543 # Binary search between lo and hi bounds.
27544 while test "x$ac_lo" != "x$ac_hi"; do
27545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27546 cat >conftest.
$ac_ext <<_ACEOF
27549 cat confdefs.h
>>conftest.
$ac_ext
27550 cat >>conftest.
$ac_ext <<_ACEOF
27551 /* end confdefs.h. */
27552 $ac_includes_default
27556 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
27563 rm -f conftest.
$ac_objext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27565 (eval $ac_compile) 2>conftest.er1
27567 grep -v '^ *+' conftest.er1
>conftest.err
27569 cat conftest.err
>&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } &&
27572 { ac_try
='test -z "$ac_c_werror_flag"
27573 || test ! -s conftest.err'
27574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575 (eval $ac_try) 2>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; } &&
27579 { ac_try
='test -s conftest.$ac_objext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.
$ac_ext >&5
27590 ac_lo
=`expr '(' $ac_mid ')' + 1`
27592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27595 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
27596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
27597 See \`config.log' for more details." >&5
27598 echo "$as_me: error: cannot compute sizeof (void*), 77
27599 See \`config.log' for more details." >&2;}
27600 { (exit 1); exit 1; }; } ;;
27603 if test "$cross_compiling" = yes; then
27604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27605 See \`config.log' for more details." >&5
27606 echo "$as_me: error: cannot run test program while cross compiling
27607 See \`config.log' for more details." >&2;}
27608 { (exit 1); exit 1; }; }
27610 cat >conftest.
$ac_ext <<_ACEOF
27613 cat confdefs.h
>>conftest.
$ac_ext
27614 cat >>conftest.
$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616 $ac_includes_default
27617 long longval () { return (long) (sizeof (void*)); }
27618 unsigned long ulongval () { return (long) (sizeof (void*)); }
27620 #include <stdlib.h>
27625 FILE *f = fopen ("conftest.val", "w");
27628 if (((long) (sizeof (void*))) < 0)
27630 long i = longval ();
27631 if (i != ((long) (sizeof (void*))))
27633 fprintf (f, "%ld\n", i);
27637 unsigned long i = ulongval ();
27638 if (i != ((long) (sizeof (void*))))
27640 fprintf (f, "%lu\n", i);
27642 exit (ferror (f) || fclose (f) != 0);
27648 rm -f conftest
$ac_exeext
27649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27650 (eval $ac_link) 2>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27659 ac_cv_sizeof_voidp
=`cat conftest.val`
27661 echo "$as_me: program exited with status $ac_status" >&5
27662 echo "$as_me: failed program was:" >&5
27663 sed 's/^/| /' conftest.
$ac_ext >&5
27665 ( exit $ac_status )
27666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
27667 See \`config.log' for more details." >&5
27668 echo "$as_me: error: cannot compute sizeof (void*), 77
27669 See \`config.log' for more details." >&2;}
27670 { (exit 1); exit 1; }; }
27672 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27677 ac_cv_sizeof_voidp
=0
27680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
27681 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
27682 cat >>confdefs.h
<<_ACEOF
27683 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
27687 ac_cv_char_data_model
=""
27688 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
27689 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
27690 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
27691 ac_cv_long_data_model
=""
27692 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
27693 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
27694 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
27695 echo "$as_me:$LINENO: checking data model" >&5
27696 echo $ECHO_N "checking data model... $ECHO_C" >&6
27697 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
27698 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
27699 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
27700 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
27701 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
27702 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
27703 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
27704 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
27705 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
27706 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
27707 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
27708 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
27709 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
27710 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
27711 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
27712 222/*|
333/*|
444/*|
666/*|
888/*) :
27713 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
27714 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
27716 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
27717 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
27721 if test "_$ac_cv_header_stdint_x" != "_" ; then
27722 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
27723 elif test "_$ac_cv_header_stdint_o" != "_" ; then
27724 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
27725 elif test "_$ac_cv_header_stdint_u" != "_" ; then
27726 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
27728 ac_cv_header_stdint
="stddef.h"
27731 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
27732 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
27733 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
27734 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
27735 unset ac_cv_type_int_least32_t
27736 unset ac_cv_type_int_fast32_t
27737 echo "$as_me:$LINENO: checking for int_least32_t" >&5
27738 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
27739 if test "${ac_cv_type_int_least32_t+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 cat >conftest.
$ac_ext <<_ACEOF
27745 cat confdefs.h
>>conftest.
$ac_ext
27746 cat >>conftest.
$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748 #include <$ac_cv_header_stdint>
27753 if ((int_least32_t *) 0)
27755 if (sizeof (int_least32_t))
27761 rm -f conftest.
$ac_objext
27762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27763 (eval $ac_compile) 2>conftest.er1
27765 grep -v '^ *+' conftest.er1
>conftest.err
27767 cat conftest.err
>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } &&
27770 { ac_try
='test -z "$ac_c_werror_flag"
27771 || test ! -s conftest.err'
27772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773 (eval $ac_try) 2>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; } &&
27777 { ac_try
='test -s conftest.$ac_objext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 ac_cv_type_int_least32_t
=yes
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.
$ac_ext >&5
27788 ac_cv_type_int_least32_t
=no
27790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27792 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
27793 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
27795 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
27796 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
27797 if test "${ac_cv_type_int_fast32_t+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27800 cat >conftest.
$ac_ext <<_ACEOF
27803 cat confdefs.h
>>conftest.
$ac_ext
27804 cat >>conftest.
$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27806 #include<$ac_cv_header_stdint>
27811 if ((int_fast32_t *) 0)
27813 if (sizeof (int_fast32_t))
27819 rm -f conftest.
$ac_objext
27820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27821 (eval $ac_compile) 2>conftest.er1
27823 grep -v '^ *+' conftest.er1
>conftest.err
27825 cat conftest.err
>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } &&
27828 { ac_try
='test -z "$ac_c_werror_flag"
27829 || test ! -s conftest.err'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; } &&
27835 { ac_try
='test -s conftest.$ac_objext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_type_int_fast32_t
=yes
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.
$ac_ext >&5
27846 ac_cv_type_int_fast32_t
=no
27848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27850 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
27851 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
27853 echo "$as_me:$LINENO: checking for intmax_t" >&5
27854 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
27855 if test "${ac_cv_type_intmax_t+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27858 cat >conftest.
$ac_ext <<_ACEOF
27861 cat confdefs.h
>>conftest.
$ac_ext
27862 cat >>conftest.
$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27864 #include <$ac_cv_header_stdint>
27869 if ((intmax_t *) 0)
27871 if (sizeof (intmax_t))
27877 rm -f conftest.
$ac_objext
27878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27879 (eval $ac_compile) 2>conftest.er1
27881 grep -v '^ *+' conftest.er1
>conftest.err
27883 cat conftest.err
>&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } &&
27886 { ac_try
='test -z "$ac_c_werror_flag"
27887 || test ! -s conftest.err'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } &&
27893 { ac_try
='test -s conftest.$ac_objext'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; }; then
27899 ac_cv_type_intmax_t
=yes
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.
$ac_ext >&5
27904 ac_cv_type_intmax_t
=no
27906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27908 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
27909 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
27912 fi # shortcircut to system "stdint.h"
27913 # ------------------ PREPARE VARIABLES ------------------------------
27914 if test "$GCC" = "yes" ; then
27915 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
27917 ac_cv_stdint_message
="using $CC"
27920 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
27921 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
27923 # ----------------- DONE inttypes.h checks START header -------------
27924 ac_config_commands
="$ac_config_commands $ac_stdint_h"
27929 # Check whether --with-glibj_zip or --without-glibj_zip was given.
27930 if test "${with_glibj_zip+set}" = set; then
27931 withval
="$with_glibj_zip"
27935 case "$with_glibj_zip" in
27937 use_glibj_zip
=false
27940 use_glibj_zip
=false
27943 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
27944 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
27945 { (exit 1); exit 1; }; }
27949 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
27955 if test x
$use_glibj_zip = xtrue
; then
27956 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
27957 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
27959 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
27960 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
27966 # Check whether --with-escher or --without-escher was given.
27967 if test "${with_escher+set}" = set; then
27968 withval
="$with_escher"
27971 case "$with_escher" in
27979 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
27980 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
27981 { (exit 1); exit 1; }; }
27985 PATH_TO_ESCHER
=$with_escher
27991 if test x
$use_escher = xtrue
; then
27993 USE_ESCHER_FALSE
='#'
27995 USE_ESCHER_TRUE
='#'
28001 # Check whether --enable-local-sockets or --disable-local-sockets was given.
28002 if test "${enable_local_sockets+set}" = set; then
28003 enableval
="$enable_local_sockets"
28004 case "${enableval}" in
28006 ENABLE_LOCAL_SOCKETS
=yes
28009 ENABLE_LOCAL_SOCKETS
=no
28013 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
28015 if test "${ac_cv_header_sys_un_h+set}" = set; then
28016 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28017 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28018 if test "${ac_cv_header_sys_un_h+set}" = set; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28022 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28024 # Is the header compilable?
28025 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
28026 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
28027 cat >conftest.
$ac_ext <<_ACEOF
28030 cat confdefs.h
>>conftest.
$ac_ext
28031 cat >>conftest.
$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28033 $ac_includes_default
28034 #include <sys/un.h>
28036 rm -f conftest.
$ac_objext
28037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28038 (eval $ac_compile) 2>conftest.er1
28040 grep -v '^ *+' conftest.er1
>conftest.err
28042 cat conftest.err
>&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } &&
28045 { ac_try
='test -z "$ac_c_werror_flag"
28046 || test ! -s conftest.err'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; } &&
28052 { ac_try
='test -s conftest.$ac_objext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 ac_header_compiler
=yes
28060 echo "$as_me: failed program was:" >&5
28061 sed 's/^/| /' conftest.
$ac_ext >&5
28063 ac_header_compiler
=no
28065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28067 echo "${ECHO_T}$ac_header_compiler" >&6
28069 # Is the header present?
28070 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
28071 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
28072 cat >conftest.
$ac_ext <<_ACEOF
28075 cat confdefs.h
>>conftest.
$ac_ext
28076 cat >>conftest.
$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 #include <sys/un.h>
28080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28083 grep -v '^ *+' conftest.er1
>conftest.err
28085 cat conftest.err
>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); } >/dev
/null
; then
28088 if test -s conftest.err
; then
28089 ac_cpp_err
=$ac_c_preproc_warn_flag
28090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28097 if test -z "$ac_cpp_err"; then
28098 ac_header_preproc
=yes
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.
$ac_ext >&5
28103 ac_header_preproc
=no
28105 rm -f conftest.err conftest.
$ac_ext
28106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28107 echo "${ECHO_T}$ac_header_preproc" >&6
28109 # So? What about this header?
28110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28112 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
28113 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28114 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
28115 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
28116 ac_header_preproc
=yes
28119 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
28120 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
28121 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
28122 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
28123 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
28124 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
28125 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
28126 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
28127 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
28128 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
28129 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
28130 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
28133 ## -------------------------------- ##
28134 ## Report this to classpath@gnu.org ##
28135 ## -------------------------------- ##
28138 sed "s/^/$as_me: WARNING: /" >&2
28141 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28142 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28143 if test "${ac_cv_header_sys_un_h+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 ac_cv_header_sys_un_h
=$ac_header_preproc
28148 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28149 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28160 for ac_func
in read write bind listen accept shutdown
28162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28163 echo "$as_me:$LINENO: checking for $ac_func" >&5
28164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28165 if eval "test \"\${$as_ac_var+set}\" = set"; then
28166 echo $ECHO_N "(cached) $ECHO_C" >&6
28168 if test x
$gcc_no_link = xyes
; then
28169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28171 { (exit 1); exit 1; }; }
28173 cat >conftest.
$ac_ext <<_ACEOF
28176 cat confdefs.h
>>conftest.
$ac_ext
28177 cat >>conftest.
$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28181 #define $ac_func innocuous_$ac_func
28183 /* System header to define __stub macros and hopefully few prototypes,
28184 which can conflict with char $ac_func (); below.
28185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28186 <limits.h> exists even on freestanding compilers. */
28189 # include <limits.h>
28191 # include <assert.h>
28196 /* Override any gcc2 internal prototype to avoid an error. */
28201 /* We use char because int might match the return type of a gcc2
28202 builtin and then its argument prototype would still apply. */
28204 /* The GNU C library defines this for functions which it implements
28205 to always fail with ENOSYS. Some functions are actually named
28206 something starting with __ and the normal name is an alias. */
28207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28210 char (*f) () = $ac_func;
28219 return f != $ac_func;
28224 rm -f conftest.
$ac_objext conftest
$ac_exeext
28225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28226 (eval $ac_link) 2>conftest.er1
28228 grep -v '^ *+' conftest.er1
>conftest.err
28230 cat conftest.err
>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); } &&
28233 { ac_try
='test -z "$ac_c_werror_flag"
28234 || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try
='test -s conftest$ac_exeext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 eval "$as_ac_var=yes"
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.
$ac_ext >&5
28251 eval "$as_ac_var=no"
28253 rm -f conftest.err conftest.
$ac_objext \
28254 conftest
$ac_exeext conftest.
$ac_ext
28256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28258 if test `eval echo '${'$as_ac_var'}'` = yes; then
28259 cat >>confdefs.h
<<_ACEOF
28260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28264 { { echo "$as_me:$LINENO: error: networking support not available" >&5
28265 echo "$as_me: error: networking support not available" >&2;}
28266 { (exit 1); exit 1; }; }
28271 cat >>confdefs.h
<<\_ACEOF
28272 #define ENABLE_LOCAL_SOCKETS 1
28278 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
28279 ENABLE_LOCAL_SOCKETS_TRUE
=
28280 ENABLE_LOCAL_SOCKETS_FALSE
='#'
28282 ENABLE_LOCAL_SOCKETS_TRUE
='#'
28283 ENABLE_LOCAL_SOCKETS_FALSE
=
28289 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/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 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"
28292 if test "x${COMPILE_WRAPPERS}" = xno
28294 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"
28296 ac_config_commands
="$ac_config_commands gappletviewer"
28298 ac_config_commands
="$ac_config_commands gjarsigner"
28300 ac_config_commands
="$ac_config_commands gkeytool"
28302 ac_config_commands
="$ac_config_commands gjar"
28304 ac_config_commands
="$ac_config_commands gnative2ascii"
28306 ac_config_commands
="$ac_config_commands gserialver"
28308 ac_config_commands
="$ac_config_commands grmiregistry"
28310 ac_config_commands
="$ac_config_commands gtnameserv"
28312 ac_config_commands
="$ac_config_commands gorbd"
28314 ac_config_commands
="$ac_config_commands grmid"
28316 ac_config_commands
="$ac_config_commands grmic"
28318 ac_config_commands
="$ac_config_commands gjavah"
28322 ac_config_commands
="$ac_config_commands gen-classlist"
28324 ac_config_commands
="$ac_config_commands copy-vmresources"
28326 cat >confcache
<<\_ACEOF
28327 # This file is a shell script that caches the results of configure
28328 # tests run on this system so they can be shared between configure
28329 # scripts and configure runs, see configure's option --config-cache.
28330 # It is not useful on other systems. If it contains results you don't
28331 # want to keep, you may remove or edit it.
28333 # config.status only pays attention to the cache file if you give it
28334 # the --recheck option to rerun configure.
28336 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28337 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28338 # following values.
28342 # The following way of writing the cache mishandles newlines in values,
28343 # but we know of no workaround that is simple, portable, and efficient.
28344 # So, don't put newlines in cache variables' values.
28345 # Ultrix sh set writes to stderr and can't be redirected directly,
28346 # and sets the high bit in the cache file unless we assign to the vars.
28349 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28351 # `set' does not quote correctly, so add quotes (double-quote
28352 # substitution turns \\\\ into \\, and sed turns \\ into \).
28355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28358 # `set' quotes correctly as required by POSIX, so do not add quotes.
28360 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28367 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28369 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28371 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28372 if test -w $cache_file; then
28373 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28374 cat confcache
>$cache_file
28376 echo "not updating unwritable cache $cache_file"
28381 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28382 # Let make expand exec_prefix.
28383 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28385 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28387 # trailing colons and then remove the whole line if VPATH becomes empty
28388 # (actually we leave an empty line to preserve line numbers).
28389 if test "x$srcdir" = x.
; then
28390 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28391 s/:*\$(srcdir):*/:/;
28392 s/:*\${srcdir}:*/:/;
28394 s/^\([^=]*=[ ]*\):*/\1/;
28400 DEFS
=-DHAVE_CONFIG_H
28404 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28405 # 1. Remove the extension, and $U if already installed.
28406 ac_i
=`echo "$ac_i" |
28407 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28409 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28410 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28412 LIBOBJS
=$ac_libobjs
28414 LTLIBOBJS
=$ac_ltlibobjs
28417 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
28418 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28419 Usually this means the macro was only invoked conditionally." >&5
28420 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28421 Usually this means the macro was only invoked conditionally." >&2;}
28422 { (exit 1); exit 1; }; }
28424 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
28425 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
28426 Usually this means the macro was only invoked conditionally." >&5
28427 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
28428 Usually this means the macro was only invoked conditionally." >&2;}
28429 { (exit 1); exit 1; }; }
28431 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
28432 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
28433 Usually this means the macro was only invoked conditionally." >&5
28434 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
28435 Usually this means the macro was only invoked conditionally." >&2;}
28436 { (exit 1); exit 1; }; }
28438 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
28439 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
28440 Usually this means the macro was only invoked conditionally." >&5
28441 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
28442 Usually this means the macro was only invoked conditionally." >&2;}
28443 { (exit 1); exit 1; }; }
28445 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
28446 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
28447 Usually this means the macro was only invoked conditionally." >&5
28448 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
28449 Usually this means the macro was only invoked conditionally." >&2;}
28450 { (exit 1); exit 1; }; }
28452 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
28453 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
28454 Usually this means the macro was only invoked conditionally." >&5
28455 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
28456 Usually this means the macro was only invoked conditionally." >&2;}
28457 { (exit 1); exit 1; }; }
28459 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
28460 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
28461 Usually this means the macro was only invoked conditionally." >&5
28462 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
28463 Usually this means the macro was only invoked conditionally." >&2;}
28464 { (exit 1); exit 1; }; }
28466 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28467 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28468 Usually this means the macro was only invoked conditionally." >&5
28469 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28470 Usually this means the macro was only invoked conditionally." >&2;}
28471 { (exit 1); exit 1; }; }
28473 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28474 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28475 Usually this means the macro was only invoked conditionally." >&5
28476 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28477 Usually this means the macro was only invoked conditionally." >&2;}
28478 { (exit 1); exit 1; }; }
28480 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
28481 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
28482 Usually this means the macro was only invoked conditionally." >&5
28483 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
28484 Usually this means the macro was only invoked conditionally." >&2;}
28485 { (exit 1); exit 1; }; }
28487 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
28488 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
28489 Usually this means the macro was only invoked conditionally." >&5
28490 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
28491 Usually this means the macro was only invoked conditionally." >&2;}
28492 { (exit 1); exit 1; }; }
28494 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
28495 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
28496 Usually this means the macro was only invoked conditionally." >&5
28497 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
28498 Usually this means the macro was only invoked conditionally." >&2;}
28499 { (exit 1); exit 1; }; }
28501 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
28502 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
28503 Usually this means the macro was only invoked conditionally." >&5
28504 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
28505 Usually this means the macro was only invoked conditionally." >&2;}
28506 { (exit 1); exit 1; }; }
28508 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
28509 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
28510 Usually this means the macro was only invoked conditionally." >&5
28511 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
28512 Usually this means the macro was only invoked conditionally." >&2;}
28513 { (exit 1); exit 1; }; }
28515 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
28516 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
28517 Usually this means the macro was only invoked conditionally." >&5
28518 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
28519 Usually this means the macro was only invoked conditionally." >&2;}
28520 { (exit 1); exit 1; }; }
28522 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
28523 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
28524 Usually this means the macro was only invoked conditionally." >&5
28525 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
28526 Usually this means the macro was only invoked conditionally." >&2;}
28527 { (exit 1); exit 1; }; }
28529 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
28530 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
28531 Usually this means the macro was only invoked conditionally." >&5
28532 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
28533 Usually this means the macro was only invoked conditionally." >&2;}
28534 { (exit 1); exit 1; }; }
28536 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28537 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28538 Usually this means the macro was only invoked conditionally." >&5
28539 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28540 Usually this means the macro was only invoked conditionally." >&2;}
28541 { (exit 1); exit 1; }; }
28543 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28544 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28545 Usually this means the macro was only invoked conditionally." >&5
28546 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28547 Usually this means the macro was only invoked conditionally." >&2;}
28548 { (exit 1); exit 1; }; }
28550 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28551 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28552 Usually this means the macro was only invoked conditionally." >&5
28553 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28554 Usually this means the macro was only invoked conditionally." >&2;}
28555 { (exit 1); exit 1; }; }
28557 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
28558 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
28559 Usually this means the macro was only invoked conditionally." >&5
28560 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
28561 Usually this means the macro was only invoked conditionally." >&2;}
28562 { (exit 1); exit 1; }; }
28564 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
28565 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
28566 Usually this means the macro was only invoked conditionally." >&5
28567 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
28568 Usually this means the macro was only invoked conditionally." >&2;}
28569 { (exit 1); exit 1; }; }
28571 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
28572 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
28573 Usually this means the macro was only invoked conditionally." >&5
28574 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
28575 Usually this means the macro was only invoked conditionally." >&2;}
28576 { (exit 1); exit 1; }; }
28578 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
28579 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
28580 Usually this means the macro was only invoked conditionally." >&5
28581 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
28582 Usually this means the macro was only invoked conditionally." >&2;}
28583 { (exit 1); exit 1; }; }
28585 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
28586 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
28587 Usually this means the macro was only invoked conditionally." >&5
28588 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
28589 Usually this means the macro was only invoked conditionally." >&2;}
28590 { (exit 1); exit 1; }; }
28592 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
28593 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
28594 Usually this means the macro was only invoked conditionally." >&5
28595 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
28596 Usually this means the macro was only invoked conditionally." >&2;}
28597 { (exit 1); exit 1; }; }
28599 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
28600 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
28601 Usually this means the macro was only invoked conditionally." >&5
28602 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
28603 Usually this means the macro was only invoked conditionally." >&2;}
28604 { (exit 1); exit 1; }; }
28606 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
28607 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
28608 Usually this means the macro was only invoked conditionally." >&5
28609 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
28610 Usually this means the macro was only invoked conditionally." >&2;}
28611 { (exit 1); exit 1; }; }
28613 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
28614 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
28615 Usually this means the macro was only invoked conditionally." >&5
28616 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
28617 Usually this means the macro was only invoked conditionally." >&2;}
28618 { (exit 1); exit 1; }; }
28620 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
28621 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
28622 Usually this means the macro was only invoked conditionally." >&5
28623 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
28624 Usually this means the macro was only invoked conditionally." >&2;}
28625 { (exit 1); exit 1; }; }
28627 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28628 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28629 Usually this means the macro was only invoked conditionally." >&5
28630 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28631 Usually this means the macro was only invoked conditionally." >&2;}
28632 { (exit 1); exit 1; }; }
28634 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
28635 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
28636 Usually this means the macro was only invoked conditionally." >&5
28637 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
28638 Usually this means the macro was only invoked conditionally." >&2;}
28639 { (exit 1); exit 1; }; }
28641 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
28642 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
28643 Usually this means the macro was only invoked conditionally." >&5
28644 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
28645 Usually this means the macro was only invoked conditionally." >&2;}
28646 { (exit 1); exit 1; }; }
28648 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
28649 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
28650 Usually this means the macro was only invoked conditionally." >&5
28651 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
28652 Usually this means the macro was only invoked conditionally." >&2;}
28653 { (exit 1); exit 1; }; }
28655 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
28656 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
28657 Usually this means the macro was only invoked conditionally." >&5
28658 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
28659 Usually this means the macro was only invoked conditionally." >&2;}
28660 { (exit 1); exit 1; }; }
28662 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
28663 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
28664 Usually this means the macro was only invoked conditionally." >&5
28665 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
28666 Usually this means the macro was only invoked conditionally." >&2;}
28667 { (exit 1); exit 1; }; }
28669 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
28670 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
28671 Usually this means the macro was only invoked conditionally." >&5
28672 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
28673 Usually this means the macro was only invoked conditionally." >&2;}
28674 { (exit 1); exit 1; }; }
28676 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
28677 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
28678 Usually this means the macro was only invoked conditionally." >&5
28679 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
28680 Usually this means the macro was only invoked conditionally." >&2;}
28681 { (exit 1); exit 1; }; }
28683 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
28684 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
28685 Usually this means the macro was only invoked conditionally." >&5
28686 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
28687 Usually this means the macro was only invoked conditionally." >&2;}
28688 { (exit 1); exit 1; }; }
28691 : ${CONFIG_STATUS=./config.status}
28692 ac_clean_files_save
=$ac_clean_files
28693 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28694 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28695 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28696 cat >$CONFIG_STATUS <<_ACEOF
28698 # Generated by $as_me.
28699 # Run this file to recreate the current configuration.
28700 # Compiler output produced by configure, useful for debugging
28701 # configure, is in config.log if it exists.
28704 ac_cs_recheck=false
28706 SHELL=\${CONFIG_SHELL-$SHELL}
28709 cat >>$CONFIG_STATUS <<\_ACEOF
28710 ## --------------------- ##
28711 ## M4sh Initialization. ##
28712 ## --------------------- ##
28714 # Be Bourne compatible
28715 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28718 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28719 # is contrary to our usage. Disable this feature.
28720 alias -g '${1+"$@"}'='"$@"'
28721 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28724 DUALCASE
=1; export DUALCASE
# for MKS sh
28726 # Support unset when possible.
28727 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28734 # Work around bugs in pre-3.0 UWIN ksh.
28735 $as_unset ENV MAIL MAILPATH
28742 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28743 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28744 LC_TELEPHONE LC_TIME
28746 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28747 eval $as_var=C
; export $as_var
28753 # Required to use basename.
28754 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28760 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28761 as_basename
=basename
28767 # Name of the executable.
28768 as_me
=`$as_basename "$0" ||
28769 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28770 X"$0" : 'X\(//\)$' \| \
28771 X"$0" : 'X\(/\)$' \| \
28772 . : '\(.\)' 2>/dev/null ||
28774 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28775 /^X\/\(\/\/\)$/{ s//\1/; q; }
28776 /^X\/\(\/\).*/{ s//\1/; q; }
28780 # PATH needs CR, and LINENO needs CR and PATH.
28781 # Avoid depending upon Character Ranges.
28782 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28783 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28784 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28785 as_cr_digits
='0123456789'
28786 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28788 # The user is always right.
28789 if test "${PATH_SEPARATOR+set}" != set; then
28790 echo "#! /bin/sh" >conf$$.sh
28791 echo "exit 0" >>conf$$.sh
28793 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28802 as_lineno_1
=$LINENO
28803 as_lineno_2
=$LINENO
28804 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28805 test "x$as_lineno_1" != "x$as_lineno_2" &&
28806 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28807 # Find who we are. Look in the path if we contain no path at all
28810 *[\\/]* ) as_myself
=$0 ;;
28811 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28812 for as_dir
in $PATH
28815 test -z "$as_dir" && as_dir
=.
28816 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28821 # We did not find ourselves, most probably we were run as `sh COMMAND'
28822 # in which case we are not to be found in the path.
28823 if test "x$as_myself" = x
; then
28826 if test ! -f "$as_myself"; then
28827 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28828 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28829 { (exit 1); exit 1; }; }
28831 case $CONFIG_SHELL in
28833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28834 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28837 test -z "$as_dir" && as_dir
=.
28838 for as_base
in sh bash ksh sh5
; do
28841 if ("$as_dir/$as_base" -c '
28842 as_lineno_1=$LINENO
28843 as_lineno_2=$LINENO
28844 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28845 test "x$as_lineno_1" != "x$as_lineno_2" &&
28846 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28847 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28848 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28849 CONFIG_SHELL
=$as_dir/$as_base
28850 export CONFIG_SHELL
28851 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28859 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28860 # uniformly replaced by the line number. The first 'sed' inserts a
28861 # line-number line before each line; the second 'sed' does the real
28862 # work. The second script uses 'N' to pair each line-number line
28863 # with the numbered line, and appends trailing '-' during
28864 # substitution so that $LINENO is not a special case at line end.
28865 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28866 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28867 sed '=' <$as_myself |
28872 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28875 s,^['$as_cr_digits']*\n,,
28876 ' >$as_me.lineno
&&
28877 chmod +x
$as_me.lineno ||
28878 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28879 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28880 { (exit 1); exit 1; }; }
28882 # Don't try to exec as it changes $[0], causing all sort of problems
28883 # (the dirname of $[0] is not the place where we might find the
28884 # original and so on. Autoconf is especially sensible to this).
28886 # Exit status is that of the last command.
28891 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28892 *c
*,-n*) ECHO_N
= ECHO_C
='
28894 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28895 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28898 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28904 rm -f conf$$ conf$$.exe conf$$.
file
28906 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28907 # We could just check for DJGPP; but this test a) works b) is more generic
28908 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28909 if test -f conf$$.exe
; then
28910 # Don't use ln at all; we don't have any links
28915 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28920 rm -f conf$$ conf$$.exe conf$$.
file
28922 if mkdir
-p .
2>/dev
/null
; then
28925 test -d .
/-p && rmdir .
/-p
28929 as_executable_p
="test -f"
28931 # Sed expression to map a string onto a valid CPP name.
28932 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28934 # Sed expression to map a string onto a valid variable name.
28935 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28939 # We need space, tab and new line, in precisely that order.
28949 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28950 # report actual input values of CONFIG_FILES etc. instead of their
28951 # values after options handling. Logging --version etc. is OK.
28955 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28956 ## Running $as_me. ##
28961 This file was extended by GNU Classpath $as_me 0.94-pre, which was
28962 generated by GNU Autoconf 2.59. Invocation command line was
28964 CONFIG_FILES = $CONFIG_FILES
28965 CONFIG_HEADERS = $CONFIG_HEADERS
28966 CONFIG_LINKS = $CONFIG_LINKS
28967 CONFIG_COMMANDS = $CONFIG_COMMANDS
28971 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28975 # Files that config.status was made for.
28976 if test -n "$ac_config_files"; then
28977 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28980 if test -n "$ac_config_headers"; then
28981 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28984 if test -n "$ac_config_links"; then
28985 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28988 if test -n "$ac_config_commands"; then
28989 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28992 cat >>$CONFIG_STATUS <<\_ACEOF
28995 \`$as_me' instantiates files from templates according to the
28996 current configuration.
28998 Usage: $0 [OPTIONS] [FILE]...
29000 -h, --help print this help, then exit
29001 -V, --version print version number, then exit
29002 -q, --quiet do not print progress messages
29003 -d, --debug don't remove temporary files
29004 --recheck update $as_me by reconfiguring in the same conditions
29005 --file=FILE[:TEMPLATE]
29006 instantiate the configuration file FILE
29007 --header=FILE[:TEMPLATE]
29008 instantiate the configuration header FILE
29010 Configuration files:
29013 Configuration headers:
29016 Configuration links:
29019 Configuration commands:
29022 Report bugs to <bug-autoconf@gnu.org>."
29025 cat >>$CONFIG_STATUS <<_ACEOF
29027 GNU Classpath config.status 0.94-pre
29028 configured by $0, generated by GNU Autoconf 2.59,
29029 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29031 Copyright (C) 2003 Free Software Foundation, Inc.
29032 This config.status script is free software; the Free Software Foundation
29033 gives unlimited permission to copy, distribute and modify it."
29038 cat >>$CONFIG_STATUS <<\_ACEOF
29039 # If no file are specified by the user, then we need to provide default
29040 # value. By we need to know if files were specified by the user.
29046 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
29047 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
29055 *) # This is not an option, so the user has probably given explicit
29058 ac_need_defaults
=false
;;
29062 # Handling of the options.
29064 cat >>$CONFIG_STATUS <<\_ACEOF
29065 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29067 --version |
--vers* |
-V )
29068 echo "$ac_cs_version"; exit 0 ;;
29070 # Conflict between --help and --header
29071 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29072 Try \`$0 --help' for more information." >&5
29073 echo "$as_me: error: ambiguous option: $1
29074 Try \`$0 --help' for more information." >&2;}
29075 { (exit 1); exit 1; }; };;
29076 --help |
--hel |
-h )
29077 echo "$ac_cs_usage"; exit 0 ;;
29078 --debug |
--d* |
-d )
29080 --file |
--fil |
--fi |
--f )
29082 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
29083 ac_need_defaults
=false
;;
29084 --header |
--heade |
--head |
--hea )
29086 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
29087 ac_need_defaults
=false
;;
29088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29089 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29092 # This is an error.
29093 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29094 Try \`$0 --help' for more information." >&5
29095 echo "$as_me: error: unrecognized option: $1
29096 Try \`$0 --help' for more information." >&2;}
29097 { (exit 1); exit 1; }; } ;;
29099 *) ac_config_targets
="$ac_config_targets $1" ;;
29105 ac_configure_extra_args
=
29107 if $ac_cs_silent; then
29109 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29113 cat >>$CONFIG_STATUS <<_ACEOF
29114 if \$ac_cs_recheck; then
29115 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29116 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29121 cat >>$CONFIG_STATUS <<_ACEOF
29123 # INIT-COMMANDS section.
29130 with_multisubdir="$with_multisubdir"
29131 with_multisrctop="$with_multisrctop"
29132 with_target_subdir="$with_target_subdir"
29133 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29134 multi_basedir="$multi_basedir"
29135 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29137 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29140 # The HP-UX ksh and POSIX shell print the target directory to stdout
29141 # if CDPATH is set.
29142 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29144 sed_quote_subst='$sed_quote_subst'
29145 double_quote_subst='$double_quote_subst'
29146 delay_variable_subst='$delay_variable_subst'
29147 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
29148 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
29149 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
29150 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
29151 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
29152 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
29153 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
29154 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
29155 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
29156 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
29157 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
29158 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
29159 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
29160 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
29161 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
29162 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
29163 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
29164 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
29165 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
29166 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
29167 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
29168 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
29169 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
29170 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
29171 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
29172 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
29173 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
29174 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29175 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
29176 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
29177 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
29178 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29179 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
29180 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
29181 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29182 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29183 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29184 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
29185 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29186 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
29187 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
29188 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
29189 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
29190 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"`'
29191 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
29192 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
29193 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
29194 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
29195 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
29196 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
29197 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
29198 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
29199 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
29200 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
29201 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
29202 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29203 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29204 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
29205 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
29206 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29207 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29208 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
29209 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29210 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29211 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29212 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29213 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29214 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29215 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
29216 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29217 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29218 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29219 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
29220 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
29221 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
29222 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
29223 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
29224 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29225 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
29226 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
29227 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
29228 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
29229 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
29230 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29231 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29232 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29233 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29234 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
29235 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
29236 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
29237 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
29238 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
29239 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29240 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29241 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
29242 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29243 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
29244 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29245 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29246 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29247 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29248 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
29249 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
29250 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29251 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29252 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
29253 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
29254 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
29255 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
29256 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
29257 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
29258 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29259 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29260 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
29261 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
29262 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
29263 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29264 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29265 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29266 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29267 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29268 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29269 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29270 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29271 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29272 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29273 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29274 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29275 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29276 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29277 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29278 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29279 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29280 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29281 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29282 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29283 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29284 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29285 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29286 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29287 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29288 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29289 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29290 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29291 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29292 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29293 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29294 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29295 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29296 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29297 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29298 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29299 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29300 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29301 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29302 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29303 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29304 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29305 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29306 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29307 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29308 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29311 LTCFLAGS='$LTCFLAGS'
29312 compiler='$compiler_DEFAULT'
29314 # Quote evaled strings.
29325 deplibs_check_method \
29334 lt_cv_sys_global_symbol_pipe \
29335 lt_cv_sys_global_symbol_to_cdecl \
29336 lt_cv_sys_global_symbol_to_c_name_address \
29339 lt_prog_compiler_no_builtin_flag \
29340 lt_prog_compiler_wl \
29341 lt_prog_compiler_pic \
29342 lt_prog_compiler_static \
29343 lt_cv_prog_compiler_c_o \
29346 export_dynamic_flag_spec \
29347 whole_archive_flag_spec \
29348 compiler_needs_object \
29350 allow_undefined_flag \
29351 no_undefined_flag \
29352 hardcode_libdir_flag_spec \
29353 hardcode_libdir_flag_spec_ld \
29354 hardcode_libdir_separator \
29359 variables_saved_for_relink \
29361 library_names_spec \
29370 compiler_lib_search_path \
29373 lt_prog_compiler_no_builtin_flag_CXX \
29374 lt_prog_compiler_wl_CXX \
29375 lt_prog_compiler_pic_CXX \
29376 lt_prog_compiler_static_CXX \
29377 lt_cv_prog_compiler_c_o_CXX \
29378 export_dynamic_flag_spec_CXX \
29379 whole_archive_flag_spec_CXX \
29380 compiler_needs_object_CXX \
29382 allow_undefined_flag_CXX \
29383 no_undefined_flag_CXX \
29384 hardcode_libdir_flag_spec_CXX \
29385 hardcode_libdir_flag_spec_ld_CXX \
29386 hardcode_libdir_separator_CXX \
29387 fix_srcfile_path_CXX \
29388 exclude_expsyms_CXX \
29389 include_expsyms_CXX \
29390 file_list_spec_CXX \
29391 predep_objects_CXX \
29392 postdep_objects_CXX \
29395 compiler_lib_search_path_CXX; do
29396 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29397 *[\\\\\\\`\\"\\\$]*)
29398 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29401 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29406 # Double-quote double-evaled strings.
29407 for var in reload_cmds \
29408 old_postinstall_cmds \
29409 old_postuninstall_cmds \
29411 extract_expsyms_cmds \
29412 old_archive_from_new_cmds \
29413 old_archive_from_expsyms_cmds \
29415 archive_expsym_cmds \
29417 module_expsym_cmds \
29418 export_symbols_cmds \
29421 postuninstall_cmds \
29423 sys_lib_search_path_spec \
29424 sys_lib_dlsearch_path_spec \
29425 old_archive_cmds_CXX \
29426 old_archive_from_new_cmds_CXX \
29427 old_archive_from_expsyms_cmds_CXX \
29429 archive_expsym_cmds_CXX \
29431 module_expsym_cmds_CXX \
29432 export_symbols_cmds_CXX \
29433 prelink_cmds_CXX; do
29434 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29435 *[\\\\\\\`\\"\\\$]*)
29436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29444 # Fix-up fallback echo if it was mangled by the above quoting rules.
29446 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
29450 ac_aux_dir='$ac_aux_dir'
29451 xsi_shell='$xsi_shell'
29452 lt_shell_append='$lt_shell_append'
29454 # See if we are running on zsh, and set the options which allow our
29455 # commands through without removal of \ escapes INIT.
29456 if test -n "\${ZSH_VERSION+set}" ; then
29457 setopt NO_GLOB_SUBST
29463 TIMESTAMP='$TIMESTAMP'
29471 # variables for create stdint.h replacement
29474 ac_stdint_h="$ac_stdint_h"
29475 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
29476 ac_cv_stdint_message="$ac_cv_stdint_message"
29477 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
29478 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
29479 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
29480 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
29481 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29482 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29483 ac_cv_char_data_model="$ac_cv_char_data_model"
29484 ac_cv_long_data_model="$ac_cv_long_data_model"
29485 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29486 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29487 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
29494 cat >>$CONFIG_STATUS <<\_ACEOF
29495 for ac_config_target
in $ac_config_targets
29497 case "$ac_config_target" in
29498 # Handling of arguments.
29499 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
29500 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29501 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
29502 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
29503 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
29504 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
29505 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
29506 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
29507 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
29508 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
29509 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
29510 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29511 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
29512 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
29513 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
29514 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
29515 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
29516 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
29517 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
29518 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
29519 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
29520 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
29521 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
29522 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
29523 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
29524 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
29525 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
29526 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
29527 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
29528 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
29529 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
29530 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
29531 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
29532 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
29533 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
29534 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
29535 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
29536 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
29537 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
29538 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
29539 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
29540 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
29541 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
29542 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
29543 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
29544 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
29545 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
29546 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
29547 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
29548 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
29549 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
29550 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
29551 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
29552 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
29553 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29554 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29555 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29556 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
29557 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
29558 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
29559 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
29560 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
29561 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
29562 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
29563 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
29564 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
29565 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
29566 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
29567 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
29568 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
29569 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
29570 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
29571 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
29572 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29573 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29574 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29575 { (exit 1); exit 1; }; };;
29579 # If the user did not use the arguments to specify the items to instantiate,
29580 # then the envvar interface is used. Set only those that are not.
29581 # We use the long form for the default assignment because of an extremely
29582 # bizarre bug on SunOS 4.1.3.
29583 if $ac_need_defaults; then
29584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29586 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29587 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29590 # Have a temporary directory for convenience. Make it in the build tree
29591 # simply because there is no reason to put it here, and in addition,
29592 # creating and moving files from /tmp can sometimes cause problems.
29593 # Create a temporary directory, and hook for its removal unless debugging.
29596 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29597 trap '{ (exit 1); exit 1; }' 1 2 13 15
29600 # Create a (secure) tmp directory for tmp files.
29603 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29604 test -n "$tmp" && test -d "$tmp"
29607 tmp
=.
/confstat$$
-$RANDOM
29608 (umask 077 && mkdir
$tmp)
29611 echo "$me: cannot create a temporary directory in ." >&2
29612 { (exit 1); exit 1; }
29617 cat >>$CONFIG_STATUS <<_ACEOF
29620 # CONFIG_FILES section.
29623 # No need to generate the scripts if there are no CONFIG_FILES.
29624 # This happens for instance when ./config.status config.h
29625 if test -n "\$CONFIG_FILES"; then
29626 # Protect against being on the right side of a sed subst in config.status.
29627 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29628 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29629 s,@SHELL@,$SHELL,;t t
29630 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29631 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29632 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29633 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29634 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29635 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29636 s,@exec_prefix@,$exec_prefix,;t t
29637 s,@prefix@,$prefix,;t t
29638 s,@program_transform_name@,$program_transform_name,;t t
29639 s,@bindir@,$bindir,;t t
29640 s,@sbindir@,$sbindir,;t t
29641 s,@libexecdir@,$libexecdir,;t t
29642 s,@datadir@,$datadir,;t t
29643 s,@sysconfdir@,$sysconfdir,;t t
29644 s,@sharedstatedir@,$sharedstatedir,;t t
29645 s,@localstatedir@,$localstatedir,;t t
29646 s,@libdir@,$libdir,;t t
29647 s,@includedir@,$includedir,;t t
29648 s,@oldincludedir@,$oldincludedir,;t t
29649 s,@infodir@,$infodir,;t t
29650 s,@mandir@,$mandir,;t t
29651 s,@build_alias@,$build_alias,;t t
29652 s,@host_alias@,$host_alias,;t t
29653 s,@target_alias@,$target_alias,;t t
29654 s,@DEFS@,$DEFS,;t t
29655 s,@ECHO_C@,$ECHO_C,;t t
29656 s,@ECHO_N@,$ECHO_N,;t t
29657 s,@ECHO_T@,$ECHO_T,;t t
29658 s,@LIBS@,$LIBS,;t t
29659 s,@build@,$build,;t t
29660 s,@build_cpu@,$build_cpu,;t t
29661 s,@build_vendor@,$build_vendor,;t t
29662 s,@build_os@,$build_os,;t t
29663 s,@host@,$host,;t t
29664 s,@host_cpu@,$host_cpu,;t t
29665 s,@host_vendor@,$host_vendor,;t t
29666 s,@host_os@,$host_os,;t t
29667 s,@target@,$target,;t t
29668 s,@target_cpu@,$target_cpu,;t t
29669 s,@target_vendor@,$target_vendor,;t t
29670 s,@target_os@,$target_os,;t t
29671 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29672 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29673 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
29674 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
29675 s,@multi_basedir@,$multi_basedir,;t t
29676 s,@LIBVERSION@,$LIBVERSION,;t t
29677 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
29678 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
29679 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29680 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29681 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29682 s,@CYGPATH_W@,$CYGPATH_W,;t t
29683 s,@PACKAGE@,$PACKAGE,;t t
29684 s,@VERSION@,$VERSION,;t t
29685 s,@ACLOCAL@,$ACLOCAL,;t t
29686 s,@AUTOCONF@,$AUTOCONF,;t t
29687 s,@AUTOMAKE@,$AUTOMAKE,;t t
29688 s,@AUTOHEADER@,$AUTOHEADER,;t t
29689 s,@MAKEINFO@,$MAKEINFO,;t t
29690 s,@install_sh@,$install_sh,;t t
29691 s,@STRIP@,$STRIP,;t t
29692 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29693 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29694 s,@mkdir_p@,$mkdir_p,;t t
29696 s,@SET_MAKE@,$SET_MAKE,;t t
29697 s,@am__leading_dot@,$am__leading_dot,;t t
29698 s,@AMTAR@,$AMTAR,;t t
29699 s,@am__tar@,$am__tar,;t t
29700 s,@am__untar@,$am__untar,;t t
29701 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
29702 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
29703 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
29704 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
29705 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
29706 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
29707 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
29708 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
29709 s,@default_toolkit@,$default_toolkit,;t t
29710 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
29711 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
29713 s,@CFLAGS@,$CFLAGS,;t t
29714 s,@LDFLAGS@,$LDFLAGS,;t t
29715 s,@CPPFLAGS@,$CPPFLAGS,;t t
29716 s,@ac_ct_CC@,$ac_ct_CC,;t t
29717 s,@EXEEXT@,$EXEEXT,;t t
29718 s,@OBJEXT@,$OBJEXT,;t t
29719 s,@DEPDIR@,$DEPDIR,;t t
29720 s,@am__include@,$am__include,;t t
29721 s,@am__quote@,$am__quote,;t t
29722 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29723 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29724 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29725 s,@CCDEPMODE@,$CCDEPMODE,;t t
29726 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29727 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29729 s,@EGREP@,$EGREP,;t t
29730 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
29731 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
29732 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
29733 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
29734 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
29735 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
29736 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
29737 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
29738 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
29739 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
29740 s,@toolexeclibdir@,$toolexeclibdir,;t t
29741 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
29742 s,@glibjdir@,$glibjdir,;t t
29743 s,@VM_BINARY@,$VM_BINARY,;t t
29744 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
29745 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
29746 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
29747 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
29748 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
29749 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
29750 s,@LN_S@,$LN_S,;t t
29751 s,@LIBTOOL@,$LIBTOOL,;t t
29753 s,@FGREP@,$FGREP,;t t
29754 s,@GREP@,$GREP,;t t
29756 s,@DUMPBIN@,$DUMPBIN,;t t
29757 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29760 s,@ac_ct_AR@,$ac_ct_AR,;t t
29761 s,@RANLIB@,$RANLIB,;t t
29762 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29763 s,@lt_ECHO@,$lt_ECHO,;t t
29765 s,@CXXFLAGS@,$CXXFLAGS,;t t
29766 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29767 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29768 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29769 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29770 s,@CXXCPP@,$CXXCPP,;t t
29771 s,@PERL@,$PERL,;t t
29772 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
29773 s,@LIBMAGIC@,$LIBMAGIC,;t t
29774 s,@LIBICONV@,$LIBICONV,;t t
29775 s,@LTLIBICONV@,$LTLIBICONV,;t t
29776 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
29777 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
29778 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
29779 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29780 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
29781 s,@XML_LIBS@,$XML_LIBS,;t t
29782 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
29783 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
29784 s,@X_CFLAGS@,$X_CFLAGS,;t t
29785 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29786 s,@X_LIBS@,$X_LIBS,;t t
29787 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29788 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29789 s,@GTK_LIBS@,$GTK_LIBS,;t t
29790 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
29791 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
29792 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
29793 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
29794 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
29795 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
29796 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
29797 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
29798 s,@GDK_LIBS@,$GDK_LIBS,;t t
29799 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
29800 s,@QT_LIBS@,$QT_LIBS,;t t
29802 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
29803 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
29804 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29805 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29806 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
29807 s,@USER_JAVAH@,$USER_JAVAH,;t t
29808 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
29809 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
29810 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
29812 s,@JIKES@,$JIKES,;t t
29813 s,@JIKESENCODING@,$JIKESENCODING,;t t
29814 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
29816 s,@GCJX@,$GCJX,;t t
29818 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
29819 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
29820 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
29821 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
29822 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
29823 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
29824 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
29825 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
29826 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
29827 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
29828 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
29829 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
29830 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
29831 s,@vm_classes@,$vm_classes,;t t
29832 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29833 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29834 s,@MAINT@,$MAINT,;t t
29835 s,@LIBDEBUG@,$LIBDEBUG,;t t
29836 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
29837 s,@ECJ_JAR@,$ECJ_JAR,;t t
29838 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
29839 s,@REMOVE@,$REMOVE,;t t
29840 s,@MKDIR@,$MKDIR,;t t
29842 s,@DATE@,$DATE,;t t
29843 s,@FIND@,$FIND,;t t
29845 s,@FASTJAR@,$FASTJAR,;t t
29846 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
29847 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
29848 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
29849 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
29850 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
29851 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
29852 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
29853 s,@GJDOC@,$GJDOC,;t t
29854 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
29855 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
29857 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
29858 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
29859 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
29860 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
29861 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
29862 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
29863 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
29864 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
29865 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
29866 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
29867 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
29868 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
29869 s,@LIBOBJS@,$LIBOBJS,;t t
29870 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29875 cat >>$CONFIG_STATUS <<\_ACEOF
29876 # Split the substitutions into bite-sized pieces for seds with
29877 # small command number limits, like on Digital OSF/1 and HP-UX.
29878 ac_max_sed_lines
=48
29879 ac_sed_frag
=1 # Number of current file.
29880 ac_beg
=1 # First line for current file.
29881 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29884 while $ac_more_lines; do
29885 if test $ac_beg -gt 1; then
29886 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29888 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29890 if test ! -s $tmp/subs.frag
; then
29891 ac_more_lines
=false
29893 # The purpose of the label and of the branching condition is to
29894 # speed up the sed processing (if there are no `@' at all, there
29895 # is no need to browse any of the substitutions).
29896 # These are the two extra sed commands mentioned above.
29898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29899 if test -z "$ac_sed_cmds"; then
29900 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29902 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29904 ac_sed_frag
=`expr $ac_sed_frag + 1`
29906 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29909 if test -z "$ac_sed_cmds"; then
29912 fi # test -n "$CONFIG_FILES"
29915 cat >>$CONFIG_STATUS <<\_ACEOF
29916 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29919 - |
*:- |
*:-:* ) # input from stdin
29921 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29923 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29924 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29925 * ) ac_file_in
=$ac_file.
in ;;
29928 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29929 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29931 X"$ac_file" : 'X\(//\)[^/]' \| \
29932 X"$ac_file" : 'X\(//\)$' \| \
29933 X"$ac_file" : 'X\(/\)' \| \
29934 . : '\(.\)' 2>/dev/null ||
29936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29938 /^X\(\/\/\)$/{ s//\1/; q; }
29939 /^X\(\/\).*/{ s//\1/; q; }
29941 { if $as_mkdir_p; then
29946 while test ! -d "$as_dir"; do
29947 as_dirs
="$as_dir $as_dirs"
29948 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29950 X"$as_dir" : 'X\(//\)[^/]' \| \
29951 X"$as_dir" : 'X\(//\)$' \| \
29952 X"$as_dir" : 'X\(/\)' \| \
29953 . : '\(.\)' 2>/dev/null ||
29955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29957 /^X\(\/\/\)$/{ s//\1/; q; }
29958 /^X\(\/\).*/{ s//\1/; q; }
29961 test ! -n "$as_dirs" || mkdir
$as_dirs
29962 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29963 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29964 { (exit 1); exit 1; }; }; }
29968 if test "$ac_dir" != .
; then
29969 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29970 # A "../" for each directory in $ac_dir_suffix.
29971 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29973 ac_dir_suffix
= ac_top_builddir
=
29977 .
) # No --srcdir option. We are building in place.
29979 if test -z "$ac_top_builddir"; then
29982 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29984 [\\/]* | ?
:[\\/]* ) # Absolute path.
29985 ac_srcdir
=$srcdir$ac_dir_suffix;
29986 ac_top_srcdir
=$srcdir ;;
29987 *) # Relative path.
29988 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29989 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29992 # Do not use `cd foo && pwd` to compute absolute paths, because
29993 # the directories may not exist.
29995 .
) ac_abs_builddir
="$ac_dir";;
29998 .
) ac_abs_builddir
=`pwd`;;
29999 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30000 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30003 case $ac_abs_builddir in
30004 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30006 case ${ac_top_builddir}.
in
30007 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30008 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30009 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30012 case $ac_abs_builddir in
30013 .
) ac_abs_srcdir
=$ac_srcdir;;
30016 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30017 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30018 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30021 case $ac_abs_builddir in
30022 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30024 case $ac_top_srcdir in
30025 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30026 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30027 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30033 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30034 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30037 if test x
"$ac_file" != x-
; then
30038 { echo "$as_me:$LINENO: creating $ac_file" >&5
30039 echo "$as_me: creating $ac_file" >&6;}
30042 # Let's still pretend it is `configure' which instantiates (i.e., don't
30043 # use $as_me), people would be surprised to read:
30044 # /* config.h. Generated by config.status. */
30045 if test x
"$ac_file" = x-
; then
30048 configure_input
="$ac_file. "
30050 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30051 sed 's,.*/,,'` by configure."
30053 # First look for the input files in the build tree, otherwise in the
30055 ac_file_inputs
=`IFS=:
30056 for f in $ac_file_in; do
30058 -) echo $tmp/stdin ;;
30060 # Absolute (can't be DOS-style, as IFS=:)
30061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30062 echo "$as_me: error: cannot find input file: $f" >&2;}
30063 { (exit 1); exit 1; }; }
30066 if test -f "$f"; then
30069 elif test -f "$srcdir/$f"; then
30074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30075 echo "$as_me: error: cannot find input file: $f" >&2;}
30076 { (exit 1); exit 1; }; }
30079 done` ||
{ (exit 1); exit 1; }
30081 cat >>$CONFIG_STATUS <<_ACEOF
30085 cat >>$CONFIG_STATUS <<\_ACEOF
30087 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30088 s
,@configure_input@
,$configure_input,;t t
30089 s
,@srcdir@
,$ac_srcdir,;t t
30090 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30091 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30092 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30093 s
,@builddir@
,$ac_builddir,;t t
30094 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30095 s
,@top_builddir@
,$ac_top_builddir,;t t
30096 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30097 s
,@INSTALL@
,$ac_INSTALL,;t t
30098 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30100 if test x"$ac_file" != x-; then
30101 mv $tmp/out $ac_file
30109 cat >>$CONFIG_STATUS <<\_ACEOF
30112 # CONFIG_HEADER section.
30115 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30116 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30118 # ac_d sets the value in "#define NAME VALUE" lines.
30119 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30120 ac_dB
='[ ].*$,\1#\2'
30123 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30124 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30125 ac_uB
='$,\1#\2define\3'
30129 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30130 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30132 - |
*:- |
*:-:* ) # input from stdin
30134 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30135 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30136 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30137 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30138 * ) ac_file_in
=$ac_file.
in ;;
30141 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30142 echo "$as_me: creating $ac_file" >&6;}
30144 # First look for the input files in the build tree, otherwise in the
30146 ac_file_inputs
=`IFS=:
30147 for f in $ac_file_in; do
30149 -) echo $tmp/stdin ;;
30151 # Absolute (can't be DOS-style, as IFS=:)
30152 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30153 echo "$as_me: error: cannot find input file: $f" >&2;}
30154 { (exit 1); exit 1; }; }
30155 # Do quote $f, to prevent DOS paths from being IFS'd.
30158 if test -f "$f"; then
30161 elif test -f "$srcdir/$f"; then
30166 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30167 echo "$as_me: error: cannot find input file: $f" >&2;}
30168 { (exit 1); exit 1; }; }
30171 done` ||
{ (exit 1); exit 1; }
30172 # Remove the trailing spaces.
30173 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30177 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30178 # `conftest.undefs', that substitutes the proper values into
30179 # config.h.in to produce config.h. The first handles `#define'
30180 # templates, and the second `#undef' templates.
30181 # And first: Protect against being on the right side of a sed subst in
30182 # config.status. Protect against being in an unquoted here document
30183 # in config.status.
30184 rm -f conftest.defines conftest.undefs
30185 # Using a here document instead of a string reduces the quoting nightmare.
30186 # Putting comments in sed scripts is not portable.
30188 # `end' is used to avoid that the second main sed command (meant for
30189 # 0-ary CPP macros) applies to n-ary macro definitions.
30190 # See the Autoconf documentation for `clear'.
30191 cat >confdef2sed.
sed <<\_ACEOF
30196 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30198 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30201 # If some macros were called several times there might be several times
30202 # the same #defines, which is useless. Nevertheless, we may not want to
30203 # sort them, since we want the *last* AC-DEFINE to be honored.
30204 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30205 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30206 rm -f confdef2sed.sed
30208 # This sed command replaces #undef with comments. This is necessary, for
30209 # example, in the case of _POSIX_SOURCE, which is predefined and required
30210 # on some systems where configure will not decide to define it.
30211 cat >>conftest.undefs <<\_ACEOF
30212 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30215 # Break up conftest.defines because some shells have a limit on the size
30216 # of here documents, and old seds have small limits too (100 cmds).
30217 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30218 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30219 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30220 echo ' :' >>$CONFIG_STATUS
30221 rm -f conftest.tail
30222 while grep . conftest.defines >/dev/null
30224 # Write a limited-size here document to $tmp/defines.sed.
30225 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30226 # Speed up: don't consider the non `#define' lines.
30227 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30228 # Work around the forget-to-reset-the-flag bug.
30229 echo 't clr' >>$CONFIG_STATUS
30230 echo ': clr' >>$CONFIG_STATUS
30231 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30233 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30235 mv $tmp/out $tmp/in
30237 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30238 rm -f conftest.defines
30239 mv conftest.
tail conftest.defines
30241 rm -f conftest.defines
30242 echo ' fi # grep' >>$CONFIG_STATUS
30243 echo >>$CONFIG_STATUS
30245 # Break up conftest.undefs because some shells have a limit on the size
30246 # of here documents, and old seds have small limits too (100 cmds).
30247 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30248 rm -f conftest.
tail
30249 while grep . conftest.undefs
>/dev
/null
30251 # Write a limited-size here document to $tmp/undefs.sed.
30252 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30253 # Speed up: don't consider the non
`#undef'
30254 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30255 # Work around the forget-to-reset-the-flag bug.
30256 echo 't clr' >>$CONFIG_STATUS
30257 echo ': clr' >>$CONFIG_STATUS
30258 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30260 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30262 mv $tmp/out $tmp/in
30264 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30265 rm -f conftest.undefs
30266 mv conftest.tail conftest.undefs
30268 rm -f conftest.undefs
30270 cat >>$CONFIG_STATUS <<\_ACEOF
30271 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30272 # use $as_me), people would be surprised to read:
30273 # /* config.h. Generated by config.status. */
30274 if test x
"$ac_file" = x-
; then
30275 echo "/* Generated by configure. */" >$tmp/config.h
30277 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30279 cat $tmp/in >>$tmp/config.h
30281 if test x
"$ac_file" != x-
; then
30282 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30283 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30284 echo "$as_me: $ac_file is unchanged" >&6;}
30286 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30288 X"$ac_file" : 'X\(//\)[^/]' \| \
30289 X"$ac_file" : 'X\(//\)$' \| \
30290 X"$ac_file" : 'X\(/\)' \| \
30291 . : '\(.\)' 2>/dev/null ||
30293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30295 /^X\(\/\/\)$/{ s//\1/; q; }
30296 /^X\(\/\).*/{ s//\1/; q; }
30298 { if $as_mkdir_p; then
30303 while test ! -d "$as_dir"; do
30304 as_dirs
="$as_dir $as_dirs"
30305 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30307 X"$as_dir" : 'X\(//\)[^/]' \| \
30308 X"$as_dir" : 'X\(//\)$' \| \
30309 X"$as_dir" : 'X\(/\)' \| \
30310 . : '\(.\)' 2>/dev/null ||
30312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30314 /^X\(\/\/\)$/{ s//\1/; q; }
30315 /^X\(\/\).*/{ s//\1/; q; }
30318 test ! -n "$as_dirs" || mkdir
$as_dirs
30319 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30321 { (exit 1); exit 1; }; }; }
30324 mv $tmp/config.h
$ac_file
30328 rm -f $tmp/config.h
30330 # Compute $ac_file's index in $config_headers.
30332 for _am_header
in $config_headers :; do
30333 case $_am_header in
30334 $ac_file |
$ac_file:* )
30337 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30340 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30341 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30342 X$ac_file : 'X\(//\)[^/]' \| \
30343 X$ac_file : 'X\(//\)$' \| \
30344 X$ac_file : 'X\(/\)' \| \
30345 . : '\(.\)' 2>/dev/null ||
30347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30349 /^X\(\/\/\)$/{ s//\1/; q; }
30350 /^X\(\/\).*/{ s//\1/; q; }
30351 s/.*/./; q'`/stamp-h
$_am_stamp_count
30354 cat >>$CONFIG_STATUS <<\_ACEOF
30357 # CONFIG_LINKS section.
30360 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30361 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30362 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30364 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30365 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30367 if test ! -r $srcdir/$ac_source; then
30368 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30369 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30370 { (exit 1); exit 1; }; }
30374 # Make relative symlinks.
30375 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30376 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30377 X"$ac_dest" : 'X\(//\)[^/]' \| \
30378 X"$ac_dest" : 'X\(//\)$' \| \
30379 X"$ac_dest" : 'X\(/\)' \| \
30380 . : '\(.\)' 2>/dev/null ||
30382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30384 /^X\(\/\/\)$/{ s//\1/; q; }
30385 /^X\(\/\).*/{ s//\1/; q; }
30387 { if $as_mkdir_p; then
30388 mkdir
-p "$ac_dest_dir"
30390 as_dir
="$ac_dest_dir"
30392 while test ! -d "$as_dir"; do
30393 as_dirs
="$as_dir $as_dirs"
30394 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30396 X"$as_dir" : 'X\(//\)[^/]' \| \
30397 X"$as_dir" : 'X\(//\)$' \| \
30398 X"$as_dir" : 'X\(/\)' \| \
30399 . : '\(.\)' 2>/dev/null ||
30401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30403 /^X\(\/\/\)$/{ s//\1/; q; }
30404 /^X\(\/\).*/{ s//\1/; q; }
30407 test ! -n "$as_dirs" || mkdir
$as_dirs
30408 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30409 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30410 { (exit 1); exit 1; }; }; }
30414 if test "$ac_dest_dir" != .
; then
30415 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30416 # A "../" for each directory in $ac_dir_suffix.
30417 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30419 ac_dir_suffix
= ac_top_builddir
=
30423 .
) # No --srcdir option. We are building in place.
30425 if test -z "$ac_top_builddir"; then
30428 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30430 [\\/]* | ?
:[\\/]* ) # Absolute path.
30431 ac_srcdir
=$srcdir$ac_dir_suffix;
30432 ac_top_srcdir
=$srcdir ;;
30433 *) # Relative path.
30434 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30435 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30438 # Do not use `cd foo && pwd` to compute absolute paths, because
30439 # the directories may not exist.
30441 .
) ac_abs_builddir
="$ac_dest_dir";;
30443 case "$ac_dest_dir" in
30444 .
) ac_abs_builddir
=`pwd`;;
30445 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30446 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30449 case $ac_abs_builddir in
30450 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30452 case ${ac_top_builddir}.
in
30453 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30454 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30455 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30458 case $ac_abs_builddir in
30459 .
) ac_abs_srcdir
=$ac_srcdir;;
30462 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30463 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30464 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30467 case $ac_abs_builddir in
30468 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30470 case $ac_top_srcdir in
30471 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30472 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30473 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30479 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30480 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30483 # Try a symlink, then a hard link, then a copy.
30484 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30485 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30486 cp -p $srcdir/$ac_source $ac_dest ||
30487 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30488 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30489 { (exit 1); exit 1; }; }
30492 cat >>$CONFIG_STATUS <<\_ACEOF
30495 # CONFIG_COMMANDS section.
30497 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30498 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30499 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30500 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30501 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30502 X"$ac_dest" : 'X\(//\)[^/]' \| \
30503 X"$ac_dest" : 'X\(//\)$' \| \
30504 X"$ac_dest" : 'X\(/\)' \| \
30505 . : '\(.\)' 2>/dev/null ||
30507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30509 /^X\(\/\/\)$/{ s//\1/; q; }
30510 /^X\(\/\).*/{ s//\1/; q; }
30512 { if $as_mkdir_p; then
30517 while test ! -d "$as_dir"; do
30518 as_dirs
="$as_dir $as_dirs"
30519 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30521 X"$as_dir" : 'X\(//\)[^/]' \| \
30522 X"$as_dir" : 'X\(//\)$' \| \
30523 X"$as_dir" : 'X\(/\)' \| \
30524 . : '\(.\)' 2>/dev/null ||
30526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30528 /^X\(\/\/\)$/{ s//\1/; q; }
30529 /^X\(\/\).*/{ s//\1/; q; }
30532 test ! -n "$as_dirs" || mkdir
$as_dirs
30533 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30534 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30535 { (exit 1); exit 1; }; }; }
30539 if test "$ac_dir" != .
; then
30540 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30541 # A "../" for each directory in $ac_dir_suffix.
30542 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30544 ac_dir_suffix
= ac_top_builddir
=
30548 .
) # No --srcdir option. We are building in place.
30550 if test -z "$ac_top_builddir"; then
30553 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30555 [\\/]* | ?
:[\\/]* ) # Absolute path.
30556 ac_srcdir
=$srcdir$ac_dir_suffix;
30557 ac_top_srcdir
=$srcdir ;;
30558 *) # Relative path.
30559 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30560 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30563 # Do not use `cd foo && pwd` to compute absolute paths, because
30564 # the directories may not exist.
30566 .
) ac_abs_builddir
="$ac_dir";;
30569 .
) ac_abs_builddir
=`pwd`;;
30570 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30571 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30574 case $ac_abs_builddir in
30575 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30577 case ${ac_top_builddir}.
in
30578 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30579 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30580 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30583 case $ac_abs_builddir in
30584 .
) ac_abs_srcdir
=$ac_srcdir;;
30587 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30588 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30589 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30592 case $ac_abs_builddir in
30593 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30595 case $ac_top_srcdir in
30596 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30597 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30598 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30603 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30604 echo "$as_me: executing $ac_dest commands" >&6;}
30607 # Only add multilib support code if we just rebuilt the top-level
30609 case " $CONFIG_FILES " in
30611 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30614 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30615 # Strip MF so we end up with the name of the file.
30616 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30617 # Check whether this is an Automake generated Makefile or not.
30618 # We used to match only the files named `Makefile.in', but
30619 # some people rename them; so instead we look at the file content.
30620 # Grep'ing the first line is not enough: some people post-process
30621 # each Makefile.in and add a new line on top of each file to say so.
30622 # So let's grep whole file.
30623 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30624 dirpart
=`(dirname "$mf") 2>/dev/null ||
30625 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30626 X"$mf" : 'X\(//\)[^/]' \| \
30627 X"$mf" : 'X\(//\)$' \| \
30628 X"$mf" : 'X\(/\)' \| \
30629 . : '\(.\)' 2>/dev/null ||
30631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30633 /^X\(\/\/\)$/{ s//\1/; q; }
30634 /^X\(\/\).*/{ s//\1/; q; }
30639 # Extract the definition of DEPDIR, am__include, and am__quote
30640 # from the Makefile without running `make'.
30641 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30642 test -z "$DEPDIR" && continue
30643 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30644 test -z "am__include" && continue
30645 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30646 # When using ansi2knr, U may be empty or an underscore; expand it
30647 U
=`sed -n 's/^U = //p' < "$mf"`
30648 # Find all dependency output files, they are included files with
30649 # $(DEPDIR) in their names. We invoke sed twice because it is the
30650 # simplest approach to changing $(DEPDIR) to its actual value in the
30652 for file in `sed -n "
30653 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30654 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30655 # Make sure the directory exists.
30656 test -f "$dirpart/$file" && continue
30657 fdir
=`(dirname "$file") 2>/dev/null ||
30658 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30659 X"$file" : 'X\(//\)[^/]' \| \
30660 X"$file" : 'X\(//\)$' \| \
30661 X"$file" : 'X\(/\)' \| \
30662 . : '\(.\)' 2>/dev/null ||
30664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30666 /^X\(\/\/\)$/{ s//\1/; q; }
30667 /^X\(\/\).*/{ s//\1/; q; }
30669 { if $as_mkdir_p; then
30670 mkdir
-p $dirpart/$fdir
30672 as_dir
=$dirpart/$fdir
30674 while test ! -d "$as_dir"; do
30675 as_dirs
="$as_dir $as_dirs"
30676 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30678 X"$as_dir" : 'X\(//\)[^/]' \| \
30679 X"$as_dir" : 'X\(//\)$' \| \
30680 X"$as_dir" : 'X\(/\)' \| \
30681 . : '\(.\)' 2>/dev/null ||
30683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30685 /^X\(\/\/\)$/{ s//\1/; q; }
30686 /^X\(\/\).*/{ s//\1/; q; }
30689 test ! -n "$as_dirs" || mkdir
$as_dirs
30690 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30691 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30692 { (exit 1); exit 1; }; }; }
30694 # echo "creating $dirpart/$file"
30695 echo '# dummy' > "$dirpart/$file"
30701 # See if we are running on zsh, and set the options which allow our
30702 # commands through without removal of \ escapes.
30703 if test -n "${ZSH_VERSION+set}" ; then
30704 setopt NO_GLOB_SUBST
30707 cfgfile
="${ofile}T"
30708 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30711 cat <<_LT_EOF >> "$cfgfile"
30714 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30715 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30716 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30717 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30719 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30720 # 2006, 2007 Free Software Foundation, Inc.
30722 # This file is part of GNU Libtool:
30723 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30725 # This program is free software; you can redistribute it and/or modify
30726 # it under the terms of the GNU General Public License as published by
30727 # the Free Software Foundation; either version 2 of the License, or
30728 # (at your option) any later version.
30730 # This program is distributed in the hope that it will be useful, but
30731 # WITHOUT ANY WARRANTY; without even the implied warranty of
30732 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30733 # General Public License for more details.
30735 # You should have received a copy of the GNU General Public License
30736 # along with this program; if not, a copy can be downloaded from
30737 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30738 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30739 # MA 02110-1301, USA.
30741 # As a special exception to the GNU General Public License, if you
30742 # distribute this file as part of a program that contains a
30743 # configuration script generated by Autoconf, you may include it under
30744 # the same distribution terms that you use for the rest of that program.
30747 # The names of the tagged configurations supported by this script.
30748 available_tags="CXX "
30750 # ### BEGIN LIBTOOL CONFIG
30752 # Whether or not to build static libraries.
30753 build_old_libs=$enable_static
30755 # Which release of libtool.m4 was used?
30756 macro_version=$macro_version
30757 macro_revision=$macro_revision
30759 # Whether or not to build shared libraries.
30760 build_libtool_libs=$enable_shared
30762 # What type of objects to build.
30765 # Whether or not to optimize for fast installation.
30766 fast_install=$enable_fast_install
30769 host_alias=$host_alias
30773 # The build system.
30774 build_alias=$build_alias
30778 # A sed program that does not truncate output.
30781 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30782 Xsed="\$SED -e 1s/^X//"
30784 # A grep program that handles long lines.
30790 # A literal string matcher.
30793 # A BSD- or MS-compatible name lister.
30796 # Whether we need soft or hard links.
30799 # What is the maximum length of a command?
30800 max_cmd_len=$max_cmd_len
30802 # Object file suffix (normally "o").
30805 # Executable file suffix (normally "").
30808 # whether the shell understands "unset".
30811 # turn spaces into newlines.
30814 # turn newlines into spaces.
30817 # How to create reloadable object files.
30818 reload_flag=$lt_reload_flag
30819 reload_cmds=$lt_reload_cmds
30821 # Method to check whether dependent libraries are shared objects.
30822 deplibs_check_method=$lt_deplibs_check_method
30824 # Command to use when deplibs_check_method == "file_magic".
30825 file_magic_cmd=$lt_file_magic_cmd
30829 AR_FLAGS=$lt_AR_FLAGS
30831 # A symbol stripping program.
30834 # Commands used to install an old-style archive.
30836 old_postinstall_cmds=$lt_old_postinstall_cmds
30837 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30842 # LTCC compiler flags.
30843 LTCFLAGS=$lt_CFLAGS
30845 # Take the output of nm and produce a listing of raw symbols and C names.
30846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30848 # Transform the output of nm in a proper C declaration.
30849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30851 # Transform the output of nm in a C name address pair.
30852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30854 # The name of the directory that contains temporary libtool files.
30857 # Shell to use when invoking shell scripts.
30860 # An echo program that does not interpret backslashes.
30863 # Used to examine libraries when file_magic_cmd begins with "file".
30864 MAGIC_CMD=$MAGIC_CMD
30866 # Must we lock files when doing compilation?
30867 need_locks=$lt_need_locks
30869 # Old archive suffix (normally "a").
30872 # Shared library suffix (normally ".so").
30873 shrext_cmds=$lt_shrext_cmds
30875 # The commands to extract the exported symbol list from a shared archive.
30876 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30878 # Variables whose values should be saved in libtool wrapper scripts and
30879 # restored at link time.
30880 variables_saved_for_relink=$lt_variables_saved_for_relink
30882 # Do we need the "lib" prefix for modules?
30883 need_lib_prefix=$need_lib_prefix
30885 # Do we need a version for libraries?
30886 need_version=$need_version
30888 # Library versioning type.
30889 version_type=$version_type
30891 # Shared library runtime path variable.
30892 runpath_var=$runpath_var
30894 # Shared library path variable.
30895 shlibpath_var=$shlibpath_var
30897 # Is shlibpath searched before the hard-coded library search path?
30898 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30900 # Format of library name prefix.
30901 libname_spec=$lt_libname_spec
30903 # List of archive names. First name is the real one, the rest are links.
30904 # The last name is the one that the linker finds with -lNAME
30905 library_names_spec=$lt_library_names_spec
30907 # The coded name of the library, if different from the real name.
30908 soname_spec=$lt_soname_spec
30910 # Command to use after installation of a shared archive.
30911 postinstall_cmds=$lt_postinstall_cmds
30913 # Command to use after uninstallation of a shared archive.
30914 postuninstall_cmds=$lt_postuninstall_cmds
30916 # Commands used to finish a libtool library installation in a directory.
30917 finish_cmds=$lt_finish_cmds
30919 # As "finish_cmds", except a single script fragment to be evaled but
30921 finish_eval=$lt_finish_eval
30923 # Whether we should hardcode library paths into libraries.
30924 hardcode_into_libs=$hardcode_into_libs
30926 # Compile-time system search path for libraries.
30927 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30929 # Run-time system search path for libraries.
30930 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30932 # Whether dlopen is supported.
30933 dlopen_support=$enable_dlopen
30935 # Whether dlopen of programs is supported.
30936 dlopen_self=$enable_dlopen_self
30938 # Whether dlopen of statically linked programs is supported.
30939 dlopen_self_static=$enable_dlopen_self_static
30941 # Commands to strip libraries.
30942 old_striplib=$lt_old_striplib
30943 striplib=$lt_striplib
30946 # The linker used to build libraries.
30949 # Commands used to build an old-style archive.
30950 old_archive_cmds=$lt_old_archive_cmds
30952 # A language specific compiler.
30955 # Is the compiler the GNU compiler?
30958 # Compiler flag to turn off builtin functions.
30959 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30961 # How to pass a linker flag through the compiler.
30962 wl=$lt_lt_prog_compiler_wl
30964 # Additional compiler flags for building library objects.
30965 pic_flag=$lt_lt_prog_compiler_pic
30967 # Compiler flag to prevent dynamic linking.
30968 link_static_flag=$lt_lt_prog_compiler_static
30970 # Does compiler simultaneously support -c and -o options?
30971 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30973 # Whether or not to add -lc for building shared libraries.
30974 build_libtool_need_lc=$archive_cmds_need_lc
30976 # Whether or not to disallow shared libs when runtime libs are static.
30977 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30979 # Compiler flag to allow reflexive dlopens.
30980 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30982 # Compiler flag to generate shared objects directly from archives.
30983 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30985 # Whether the compiler copes with passing no objects directly.
30986 compiler_needs_object=$lt_compiler_needs_object
30988 # Create an old-style archive from a shared archive.
30989 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30991 # Create a temporary old-style archive to link instead of a shared archive.
30992 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30994 # Commands used to build a shared archive.
30995 archive_cmds=$lt_archive_cmds
30996 archive_expsym_cmds=$lt_archive_expsym_cmds
30998 # Commands used to build a loadable module if different from building
30999 # a shared archive.
31000 module_cmds=$lt_module_cmds
31001 module_expsym_cmds=$lt_module_expsym_cmds
31003 # Whether we are building with GNU ld or not.
31004 with_gnu_ld=$lt_with_gnu_ld
31006 # Flag that allows shared libraries with undefined symbols to be built.
31007 allow_undefined_flag=$lt_allow_undefined_flag
31009 # Flag that enforces no undefined symbols.
31010 no_undefined_flag=$lt_no_undefined_flag
31012 # Flag to hardcode \$libdir into a binary during linking.
31013 # This must work even if \$libdir does not exist
31014 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31016 # If ld is used when linking, flag to hardcode \$libdir into a binary
31017 # during linking. This must work even if \$libdir does not exist.
31018 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
31020 # Whether we need a single "-rpath" flag with a separated argument.
31021 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31023 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31024 # DIR into the resulting binary.
31025 hardcode_direct=$hardcode_direct
31027 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31028 # DIR into the resulting binary and the resulting library dependency is
31029 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31030 # library is relocated.
31031 hardcode_direct_absolute=$hardcode_direct_absolute
31033 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31034 # into the resulting binary.
31035 hardcode_minus_L=$hardcode_minus_L
31037 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31038 # into the resulting binary.
31039 hardcode_shlibpath_var=$hardcode_shlibpath_var
31041 # Set to "yes" if building a shared library automatically hardcodes DIR
31042 # into the library and all subsequent libraries and executables linked
31044 hardcode_automatic=$hardcode_automatic
31046 # Set to yes if linker adds runtime paths of dependent libraries
31047 # to runtime path list.
31048 inherit_rpath=$inherit_rpath
31050 # Whether libtool must link a program against all its dependency libraries.
31051 link_all_deplibs=$link_all_deplibs
31053 # Fix the shell variable \$srcfile for the compiler.
31054 fix_srcfile_path=$lt_fix_srcfile_path
31056 # Set to "yes" if exported symbols are required.
31057 always_export_symbols=$always_export_symbols
31059 # The commands to list exported symbols.
31060 export_symbols_cmds=$lt_export_symbols_cmds
31062 # Symbols that should not be listed in the preloaded symbols.
31063 exclude_expsyms=$lt_exclude_expsyms
31065 # Symbols that must always be exported.
31066 include_expsyms=$lt_include_expsyms
31068 # Commands necessary for linking programs (against libraries) with templates.
31069 prelink_cmds=$lt_prelink_cmds
31071 # Specify filename containing input files.
31072 file_list_spec=$lt_file_list_spec
31074 # How to hardcode a shared library path into an executable.
31075 hardcode_action=$hardcode_action
31077 # Dependencies to place before and after the objects being linked to
31078 # create a shared library.
31079 predep_objects=$lt_predep_objects
31080 postdep_objects=$lt_postdep_objects
31081 predeps=$lt_predeps
31082 postdeps=$lt_postdeps
31084 # The library search path used internally by the compiler when linking
31085 # a shared library.
31086 compiler_lib_search_path=$lt_compiler_lib_search_path
31088 # ### END LIBTOOL CONFIG
31094 cat <<\_LT_EOF
>> "$cfgfile"
31095 # AIX sometimes has problems with the GCC collect2 program. For some
31096 # reason, if we set the COLLECT_NAMES environment variable, the problems
31097 # vanish in a puff of smoke.
31098 if test "X${COLLECT_NAMES+set}" != Xset
; then
31100 export COLLECT_NAMES
31107 ltmain
="$ac_aux_dir/ltmain.sh"
31110 # We use sed instead of cat because bash on DJGPP gets confused if
31111 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31112 # text mode, it properly converts lines to CR/LF. This bash problem
31113 # is reportedly fixed, but why not run on old versions too?
31114 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
31115 ||
(rm -f "$cfgfile"; exit 1)
31119 cat << \_LT_EOF
>> "$cfgfile"
31120 # func_dirname file append nondir_replacement
31121 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31122 # otherwise set result to NONDIR_REPLACEMENT.
31126 */*) func_dirname_result
="${1%/*}${2}" ;;
31127 * ) func_dirname_result
="${3}" ;;
31131 # func_basename file
31134 func_basename_result
="${1##*/}"
31137 # func_stripname prefix suffix name
31138 # strip PREFIX and SUFFIX off of NAME.
31139 # PREFIX and SUFFIX must not contain globbing or regex special
31140 # characters, hashes, percent signs, but SUFFIX may contain a leading
31141 # dot (in which case that matches only a dot).
31144 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31145 # positional parameters, so assign one to ordinary parameter first.
31146 func_stripname_result
=${3}
31147 func_stripname_result
=${func_stripname_result#"${1}"}
31148 func_stripname_result
=${func_stripname_result%"${2}"}
31154 func_opt_split_opt
=${1%%=*}
31155 func_opt_split_arg
=${1#*=}
31162 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
31163 *) func_lo2o_result
=${1} ;;
31168 *) # Bourne compatible functions.
31169 cat << \_LT_EOF
>> "$cfgfile"
31170 # func_dirname file append nondir_replacement
31171 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31172 # otherwise set result to NONDIR_REPLACEMENT.
31175 # Extract subdirectory from the argument.
31176 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31177 if test "X$func_dirname_result" = "X${1}"; then
31178 func_dirname_result
="${3}"
31180 func_dirname_result
="$func_dirname_result${2}"
31184 # func_basename file
31187 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
31190 # func_stripname prefix suffix name
31191 # strip PREFIX and SUFFIX off of NAME.
31192 # PREFIX and SUFFIX must not contain globbing or regex special
31193 # characters, hashes, percent signs, but SUFFIX may contain a leading
31194 # dot (in which case that matches only a dot).
31195 # func_strip_suffix prefix name
31199 .
*) func_stripname_result
=`$ECHO "X${3}" \
31200 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
31201 *) func_stripname_result
=`$ECHO "X${3}" \
31202 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
31207 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
31208 my_sed_long_arg
='1s/^-[^=]*=//'
31213 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
31214 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
31220 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
31225 case $lt_shell_append in
31227 cat << \_LT_EOF
>> "$cfgfile"
31229 # func_append var value
31230 # Append VALUE to the end of shell variable VAR.
31238 cat << \_LT_EOF
>> "$cfgfile"
31240 # func_append var value
31241 # Append VALUE to the end of shell variable VAR.
31251 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
31252 ||
(rm -f "$cfgfile"; exit 1)
31254 mv -f "$cfgfile" "$ofile" ||
31255 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31259 cat <<_LT_EOF >> "$ofile"
31261 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31263 # The linker used to build libraries.
31266 # Commands used to build an old-style archive.
31267 old_archive_cmds=$lt_old_archive_cmds_CXX
31269 # A language specific compiler.
31270 CC=$lt_compiler_CXX
31272 # Is the compiler the GNU compiler?
31275 # Compiler flag to turn off builtin functions.
31276 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31278 # How to pass a linker flag through the compiler.
31279 wl=$lt_lt_prog_compiler_wl_CXX
31281 # Additional compiler flags for building library objects.
31282 pic_flag=$lt_lt_prog_compiler_pic_CXX
31284 # Compiler flag to prevent dynamic linking.
31285 link_static_flag=$lt_lt_prog_compiler_static_CXX
31287 # Does compiler simultaneously support -c and -o options?
31288 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
31290 # Whether or not to add -lc for building shared libraries.
31291 build_libtool_need_lc=$archive_cmds_need_lc_CXX
31293 # Whether or not to disallow shared libs when runtime libs are static.
31294 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
31296 # Compiler flag to allow reflexive dlopens.
31297 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
31299 # Compiler flag to generate shared objects directly from archives.
31300 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
31302 # Whether the compiler copes with passing no objects directly.
31303 compiler_needs_object=$lt_compiler_needs_object_CXX
31305 # Create an old-style archive from a shared archive.
31306 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
31308 # Create a temporary old-style archive to link instead of a shared archive.
31309 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
31311 # Commands used to build a shared archive.
31312 archive_cmds=$lt_archive_cmds_CXX
31313 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
31315 # Commands used to build a loadable module if different from building
31316 # a shared archive.
31317 module_cmds=$lt_module_cmds_CXX
31318 module_expsym_cmds=$lt_module_expsym_cmds_CXX
31320 # Whether we are building with GNU ld or not.
31321 with_gnu_ld=$lt_with_gnu_ld_CXX
31323 # Flag that allows shared libraries with undefined symbols to be built.
31324 allow_undefined_flag=$lt_allow_undefined_flag_CXX
31326 # Flag that enforces no undefined symbols.
31327 no_undefined_flag=$lt_no_undefined_flag_CXX
31329 # Flag to hardcode \$libdir into a binary during linking.
31330 # This must work even if \$libdir does not exist
31331 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
31333 # If ld is used when linking, flag to hardcode \$libdir into a binary
31334 # during linking. This must work even if \$libdir does not exist.
31335 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
31337 # Whether we need a single "-rpath" flag with a separated argument.
31338 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
31340 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31341 # DIR into the resulting binary.
31342 hardcode_direct=$hardcode_direct_CXX
31344 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31345 # DIR into the resulting binary and the resulting library dependency is
31346 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31347 # library is relocated.
31348 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
31350 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31351 # into the resulting binary.
31352 hardcode_minus_L=$hardcode_minus_L_CXX
31354 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31355 # into the resulting binary.
31356 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
31358 # Set to "yes" if building a shared library automatically hardcodes DIR
31359 # into the library and all subsequent libraries and executables linked
31361 hardcode_automatic=$hardcode_automatic_CXX
31363 # Set to yes if linker adds runtime paths of dependent libraries
31364 # to runtime path list.
31365 inherit_rpath=$inherit_rpath_CXX
31367 # Whether libtool must link a program against all its dependency libraries.
31368 link_all_deplibs=$link_all_deplibs_CXX
31370 # Fix the shell variable \$srcfile for the compiler.
31371 fix_srcfile_path=$lt_fix_srcfile_path_CXX
31373 # Set to "yes" if exported symbols are required.
31374 always_export_symbols=$always_export_symbols_CXX
31376 # The commands to list exported symbols.
31377 export_symbols_cmds=$lt_export_symbols_cmds_CXX
31379 # Symbols that should not be listed in the preloaded symbols.
31380 exclude_expsyms=$lt_exclude_expsyms_CXX
31382 # Symbols that must always be exported.
31383 include_expsyms=$lt_include_expsyms_CXX
31385 # Commands necessary for linking programs (against libraries) with templates.
31386 prelink_cmds=$lt_prelink_cmds_CXX
31388 # Specify filename containing input files.
31389 file_list_spec=$lt_file_list_spec_CXX
31391 # How to hardcode a shared library path into an executable.
31392 hardcode_action=$hardcode_action_CXX
31394 # Dependencies to place before and after the objects being linked to
31395 # create a shared library.
31396 predep_objects=$lt_predep_objects_CXX
31397 postdep_objects=$lt_postdep_objects_CXX
31398 predeps=$lt_predeps_CXX
31399 postdeps=$lt_postdeps_CXX
31401 # The library search path used internally by the compiler when linking
31402 # a shared library.
31403 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
31405 # ### END LIBTOOL TAG CONFIG: CXX
31409 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
31411 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
31412 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
31413 ac_stdint
=$tmp/_stdint.h
31415 echo "#ifndef" $_ac_stdint_h >$ac_stdint
31416 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
31417 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
31418 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
31419 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
31420 if test "_$ac_cv_header_stdint_t" != "_" ; then
31421 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
31422 echo "#include <stdint.h>" >>$ac_stdint
31423 echo "#endif" >>$ac_stdint
31424 echo "#endif" >>$ac_stdint
31427 cat >>$ac_stdint <<STDINT_EOF
31429 /* ................... shortcircuit part ........................... */
31431 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
31432 #include <stdint.h>
31434 #include <stddef.h>
31436 /* .................... configured part ............................ */
31440 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
31441 if test "_$ac_cv_header_stdint_x" != "_" ; then
31442 ac_header
="$ac_cv_header_stdint_x"
31443 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
31445 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
31448 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
31449 if test "_$ac_cv_header_stdint_o" != "_" ; then
31450 ac_header
="$ac_cv_header_stdint_o"
31451 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
31453 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
31456 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
31457 if test "_$ac_cv_header_stdint_u" != "_" ; then
31458 ac_header
="$ac_cv_header_stdint_u"
31459 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
31461 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
31464 echo "" >>$ac_stdint
31466 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
31467 echo "#include <$ac_header>" >>$ac_stdint
31468 echo "" >>$ac_stdint
31471 echo "/* which 64bit typedef has been found */" >>$ac_stdint
31472 if test "$ac_cv_type_uint64_t" = "yes" ; then
31473 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
31475 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
31477 if test "$ac_cv_type_u_int64_t" = "yes" ; then
31478 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
31480 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
31482 echo "" >>$ac_stdint
31484 echo "/* which type model has been detected */" >>$ac_stdint
31485 if test "_$ac_cv_char_data_model" != "_" ; then
31486 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
31487 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
31489 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
31490 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
31492 echo "" >>$ac_stdint
31494 echo "/* whether int_least types were detected */" >>$ac_stdint
31495 if test "$ac_cv_type_int_least32_t" = "yes"; then
31496 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
31498 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
31500 echo "/* whether int_fast types were detected */" >>$ac_stdint
31501 if test "$ac_cv_type_int_fast32_t" = "yes"; then
31502 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
31504 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
31506 echo "/* whether intmax_t type was detected */" >>$ac_stdint
31507 if test "$ac_cv_type_intmax_t" = "yes"; then
31508 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
31510 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
31512 echo "" >>$ac_stdint
31514 cat >>$ac_stdint <<STDINT_EOF
31515 /* .................... detections part ............................ */
31517 /* whether we need to define bitspecific types from compiler base types */
31518 #ifndef _STDINT_HEADER_INTPTR
31519 #ifndef _STDINT_HEADER_UINT32
31520 #ifndef _STDINT_HEADER_U_INT32
31521 #define _STDINT_NEED_INT_MODEL_T
31523 #define _STDINT_HAVE_U_INT_TYPES
31528 #ifdef _STDINT_HAVE_U_INT_TYPES
31529 #undef _STDINT_NEED_INT_MODEL_T
31532 #ifdef _STDINT_CHAR_MODEL
31533 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
31534 #ifndef _STDINT_BYTE_MODEL
31535 #define _STDINT_BYTE_MODEL 12
31540 #ifndef _STDINT_HAVE_INT_LEAST32_T
31541 #define _STDINT_NEED_INT_LEAST_T
31544 #ifndef _STDINT_HAVE_INT_FAST32_T
31545 #define _STDINT_NEED_INT_FAST_T
31548 #ifndef _STDINT_HEADER_INTPTR
31549 #define _STDINT_NEED_INTPTR_T
31550 #ifndef _STDINT_HAVE_INTMAX_T
31551 #define _STDINT_NEED_INTMAX_T
31556 /* .................... definition part ............................ */
31558 /* some system headers have good uint64_t */
31559 #ifndef _HAVE_UINT64_T
31560 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
31561 #define _HAVE_UINT64_T
31562 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
31563 #define _HAVE_UINT64_T
31564 typedef u_int64_t uint64_t;
31568 #ifndef _HAVE_UINT64_T
31569 /* .. here are some common heuristics using compiler runtime specifics */
31570 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
31571 #define _HAVE_UINT64_T
31572 #define _HAVE_LONGLONG_UINT64_T
31573 typedef long long int64_t;
31574 typedef unsigned long long uint64_t;
31576 #elif !defined __STRICT_ANSI__
31577 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
31578 #define _HAVE_UINT64_T
31579 typedef __int64 int64_t;
31580 typedef unsigned __int64 uint64_t;
31582 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
31583 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
31584 #if !defined _NO_LONGLONG
31585 #define _HAVE_UINT64_T
31586 #define _HAVE_LONGLONG_UINT64_T
31587 typedef long long int64_t;
31588 typedef unsigned long long uint64_t;
31591 #elif defined __alpha || (defined __mips && defined _ABIN32)
31592 #if !defined _NO_LONGLONG
31593 typedef long int64_t;
31594 typedef unsigned long uint64_t;
31596 /* compiler/cpu type to define int64_t */
31601 #if defined _STDINT_HAVE_U_INT_TYPES
31602 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
31603 typedef u_int8_t uint8_t;
31604 typedef u_int16_t uint16_t;
31605 typedef u_int32_t uint32_t;
31607 /* glibc compatibility */
31608 #ifndef __int8_t_defined
31609 #define __int8_t_defined
31613 #ifdef _STDINT_NEED_INT_MODEL_T
31614 /* we must guess all the basic types. Apart from byte-adressable system, */
31615 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
31616 /* (btw, those nibble-addressable systems are way off, or so we assume) */
31619 #if defined _STDINT_BYTE_MODEL
31620 #if _STDINT_LONG_MODEL+0 == 242
31621 /* 2:4:2 = IP16 = a normal 16-bit system */
31622 typedef unsigned char uint8_t;
31623 typedef unsigned short uint16_t;
31624 typedef unsigned long uint32_t;
31625 #ifndef __int8_t_defined
31626 #define __int8_t_defined
31627 typedef char int8_t;
31628 typedef short int16_t;
31629 typedef long int32_t;
31631 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
31632 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
31633 /* 4:4:4 = ILP32 = a normal 32-bit system */
31634 typedef unsigned char uint8_t;
31635 typedef unsigned short uint16_t;
31636 typedef unsigned int uint32_t;
31637 #ifndef __int8_t_defined
31638 #define __int8_t_defined
31639 typedef char int8_t;
31640 typedef short int16_t;
31641 typedef int int32_t;
31643 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
31644 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
31645 /* 4:8:8 = LP64 = a normal 64-bit system */
31646 typedef unsigned char uint8_t;
31647 typedef unsigned short uint16_t;
31648 typedef unsigned int uint32_t;
31649 #ifndef __int8_t_defined
31650 #define __int8_t_defined
31651 typedef char int8_t;
31652 typedef short int16_t;
31653 typedef int int32_t;
31655 /* this system has a "long" of 64bit */
31656 #ifndef _HAVE_UINT64_T
31657 #define _HAVE_UINT64_T
31658 typedef unsigned long uint64_t;
31659 typedef long int64_t;
31661 #elif _STDINT_LONG_MODEL+0 == 448
31662 /* LLP64 a 64-bit system derived from a 32-bit system */
31663 typedef unsigned char uint8_t;
31664 typedef unsigned short uint16_t;
31665 typedef unsigned int uint32_t;
31666 #ifndef __int8_t_defined
31667 #define __int8_t_defined
31668 typedef char int8_t;
31669 typedef short int16_t;
31670 typedef int int32_t;
31672 /* assuming the system has a "long long" */
31673 #ifndef _HAVE_UINT64_T
31674 #define _HAVE_UINT64_T
31675 #define _HAVE_LONGLONG_UINT64_T
31676 typedef unsigned long long uint64_t;
31677 typedef long long int64_t;
31680 #define _STDINT_NO_INT32_T
31683 #define _STDINT_NO_INT8_T
31684 #define _STDINT_NO_INT32_T
31689 * quote from SunOS-5.8 sys/inttypes.h:
31690 * Use at your own risk. As of February 1996, the committee is squarely
31691 * behind the fixed sized types; the "least" and "fast" types are still being
31692 * discussed. The probability that the "fast" types may be removed before
31693 * the standard is finalized is high enough that they are not currently
31697 #if defined _STDINT_NEED_INT_LEAST_T
31698 typedef int8_t int_least8_t;
31699 typedef int16_t int_least16_t;
31700 typedef int32_t int_least32_t;
31701 #ifdef _HAVE_UINT64_T
31702 typedef int64_t int_least64_t;
31705 typedef uint8_t uint_least8_t;
31706 typedef uint16_t uint_least16_t;
31707 typedef uint32_t uint_least32_t;
31708 #ifdef _HAVE_UINT64_T
31709 typedef uint64_t uint_least64_t;
31714 #if defined _STDINT_NEED_INT_FAST_T
31715 typedef int8_t int_fast8_t;
31716 typedef int int_fast16_t;
31717 typedef int32_t int_fast32_t;
31718 #ifdef _HAVE_UINT64_T
31719 typedef int64_t int_fast64_t;
31722 typedef uint8_t uint_fast8_t;
31723 typedef unsigned uint_fast16_t;
31724 typedef uint32_t uint_fast32_t;
31725 #ifdef _HAVE_UINT64_T
31726 typedef uint64_t uint_fast64_t;
31731 #ifdef _STDINT_NEED_INTMAX_T
31732 #ifdef _HAVE_UINT64_T
31733 typedef int64_t intmax_t;
31734 typedef uint64_t uintmax_t;
31736 typedef long intmax_t;
31737 typedef unsigned long uintmax_t;
31741 #ifdef _STDINT_NEED_INTPTR_T
31742 #ifndef __intptr_t_defined
31743 #define __intptr_t_defined
31744 /* we encourage using "long" to store pointer values, never use "int" ! */
31745 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
31746 typedef unsigned int uintptr_t;
31747 typedef int intptr_t;
31748 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
31749 typedef unsigned long uintptr_t;
31750 typedef long intptr_t;
31751 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
31752 typedef uint64_t uintptr_t;
31753 typedef int64_t intptr_t;
31754 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
31755 typedef unsigned long uintptr_t;
31756 typedef long intptr_t;
31761 /* The ISO C99 standard specifies that in C++ implementations these
31762 should only be defined if explicitly requested. */
31763 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
31767 # define INT8_C(c) c
31768 # define INT16_C(c) c
31769 # define INT32_C(c) c
31770 # ifdef _HAVE_LONGLONG_UINT64_T
31771 # define INT64_C(c) c ## L
31773 # define INT64_C(c) c ## LL
31777 # define UINT8_C(c) c ## U
31778 # define UINT16_C(c) c ## U
31779 # define UINT32_C(c) c ## U
31780 # ifdef _HAVE_LONGLONG_UINT64_T
31781 # define UINT64_C(c) c ## UL
31783 # define UINT64_C(c) c ## ULL
31786 /* Maximal type. */
31787 # ifdef _HAVE_LONGLONG_UINT64_T
31788 # define INTMAX_C(c) c ## L
31789 # define UINTMAX_C(c) c ## UL
31791 # define INTMAX_C(c) c ## LL
31792 # define UINTMAX_C(c) c ## ULL
31795 /* literalnumbers */
31799 /* These limits are merily those of a two complement byte-oriented system */
31801 /* Minimum of signed integral types. */
31803 # define INT8_MIN (-128)
31806 # define INT16_MIN (-32767-1)
31809 # define INT32_MIN (-2147483647-1)
31812 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
31815 /* Maximum of signed integral types. */
31817 # define INT8_MAX (127)
31820 # define INT16_MAX (32767)
31823 # define INT32_MAX (2147483647)
31826 # define INT64_MAX (__INT64_C(9223372036854775807))
31829 /* Maximum of unsigned integral types. */
31831 # define UINT8_MAX (255)
31834 # define UINT16_MAX (65535)
31837 # define UINT32_MAX (4294967295U)
31840 # define UINT64_MAX (__UINT64_C(18446744073709551615))
31843 /* Minimum of signed integral types having a minimum size. */
31844 # define INT_LEAST8_MIN INT8_MIN
31845 # define INT_LEAST16_MIN INT16_MIN
31846 # define INT_LEAST32_MIN INT32_MIN
31847 # define INT_LEAST64_MIN INT64_MIN
31848 /* Maximum of signed integral types having a minimum size. */
31849 # define INT_LEAST8_MAX INT8_MAX
31850 # define INT_LEAST16_MAX INT16_MAX
31851 # define INT_LEAST32_MAX INT32_MAX
31852 # define INT_LEAST64_MAX INT64_MAX
31854 /* Maximum of unsigned integral types having a minimum size. */
31855 # define UINT_LEAST8_MAX UINT8_MAX
31856 # define UINT_LEAST16_MAX UINT16_MAX
31857 # define UINT_LEAST32_MAX UINT32_MAX
31858 # define UINT_LEAST64_MAX UINT64_MAX
31867 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
31868 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
31869 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
31871 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
31872 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31873 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
31874 X"$ac_stdint_h" : 'X\(//\)$' \| \
31875 X"$ac_stdint_h" : 'X\(/\)' \| \
31876 . : '\(.\)' 2>/dev/null ||
31877 echo X"$ac_stdint_h" |
31878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31880 /^X\(\/\/\)$/{ s//\1/; q; }
31881 /^X\(\/\).*/{ s//\1/; q; }
31883 { if $as_mkdir_p; then
31888 while test ! -d "$as_dir"; do
31889 as_dirs
="$as_dir $as_dirs"
31890 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31892 X"$as_dir" : 'X\(//\)[^/]' \| \
31893 X"$as_dir" : 'X\(//\)$' \| \
31894 X"$as_dir" : 'X\(/\)' \| \
31895 . : '\(.\)' 2>/dev/null ||
31897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31899 /^X\(\/\/\)$/{ s//\1/; q; }
31900 /^X\(\/\).*/{ s//\1/; q; }
31903 test ! -n "$as_dirs" || mkdir
$as_dirs
31904 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31905 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31906 { (exit 1); exit 1; }; }; }
31909 mv $ac_stdint $ac_stdint_h
31912 gappletviewer
) chmod 755 tools
/gappletviewer
;;
31913 gjarsigner
) chmod 755 tools
/gjarsigner
;;
31914 gkeytool
) chmod 755 tools
/gkeytool
;;
31915 gjar
) chmod 755 tools
/gjar
;;
31916 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
31917 gserialver
) chmod 755 tools
/gserialver
;;
31918 grmiregistry
) chmod 755 tools
/grmiregistry
;;
31919 gtnameserv
) chmod 755 tools
/gtnameserv
;;
31920 gorbd
) chmod 755 tools
/gorbd
;;
31921 grmid
) chmod 755 tools
/grmid
;;
31922 grmic
) chmod 755 tools
/grmic
;;
31923 gjavah
) chmod 755 tools
/gjavah
;;
31924 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
31925 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
31930 cat >>$CONFIG_STATUS <<\_ACEOF
31932 { (exit 0); exit 0; }
31934 chmod +x
$CONFIG_STATUS
31935 ac_clean_files
=$ac_clean_files_save
31938 # configure is writing to config.log, and then calls config.status.
31939 # config.status does its own redirection, appending to config.log.
31940 # Unfortunately, on DOS this fails, as config.log is still kept open
31941 # by configure, so config.status won't be able to write to it; its
31942 # output is simply discarded. So we exec the FD to /dev/null,
31943 # effectively closing config.log, so it can be properly (re)opened and
31944 # appended to by config.status. When coming back to configure, we
31945 # need to make the FD available again.
31946 if test "$no_create" != yes; then
31948 ac_config_status_args
=
31949 test "$silent" = yes &&
31950 ac_config_status_args
="$ac_config_status_args --quiet"
31952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31955 # would make configure fail if this is the last instruction.
31956 $ac_cs_success ||
{ (exit 1); exit 1; }
31960 # Create standard.omit based on decisions we just made.
31961 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
31962 if test x
$use_escher != xtrue
; then
31963 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit