2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.95.
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.95'
422 PACKAGE_STRING
='GNU Classpath 0.95'
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 CAIRO_CFLAGS CAIRO_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 ECJ JAVAC FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_JAVAC_TRUE FOUND_JAVAC_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
467 # Initialize some variables set by options.
469 ac_init_version
=false
470 # The variables have the same names as the options, with
471 # dashes changed to underlines.
479 program_transform_name
=s
,x
,x
,
487 # Installation directory options.
488 # These are left unexpanded so users can "make install exec_prefix=/foo"
489 # and all the variables that are supposed to be based on exec_prefix
490 # by default will actually change.
491 # Use braces instead of parens because sh, perl, etc. also accept them.
492 bindir
='${exec_prefix}/bin'
493 sbindir
='${exec_prefix}/sbin'
494 libexecdir
='${exec_prefix}/libexec'
495 datadir
='${prefix}/share'
496 sysconfdir
='${prefix}/etc'
497 sharedstatedir
='${prefix}/com'
498 localstatedir
='${prefix}/var'
499 libdir
='${exec_prefix}/lib'
500 includedir
='${prefix}/include'
501 oldincludedir
='/usr/include'
502 infodir
='${prefix}/info'
503 mandir
='${prefix}/man'
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
515 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
517 # Accept the important Cygnus configure options, so we can diagnose typos.
521 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
523 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
526 -build |
--build |
--buil |
--bui |
--bu)
527 ac_prev
=build_alias
;;
528 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
529 build_alias
=$ac_optarg ;;
531 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
532 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
533 ac_prev
=cache_file
;;
534 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
535 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
536 cache_file
=$ac_optarg ;;
539 cache_file
=config.cache
;;
541 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
543 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
545 datadir
=$ac_optarg ;;
547 -disable-* |
--disable-*)
548 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
551 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
552 { (exit 1); exit 1; }; }
553 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
554 eval "enable_$ac_feature=no" ;;
556 -enable-* |
--enable-*)
557 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
558 # Reject names that are not valid shell variable names.
559 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
560 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561 { (exit 1); exit 1; }; }
562 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
564 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567 eval "enable_$ac_feature='$ac_optarg'" ;;
569 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
570 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
571 |
--exec |
--exe |
--ex)
572 ac_prev
=exec_prefix
;;
573 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
574 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
575 |
--exec=* |
--exe=* |
--ex=*)
576 exec_prefix
=$ac_optarg ;;
578 -gas |
--gas |
--ga |
--g)
579 # Obsolete; use --with-gas.
582 -help |
--help |
--hel |
--he |
-h)
584 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
585 ac_init_help
=recursive
;;
586 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
587 ac_init_help
=short
;;
589 -host |
--host |
--hos |
--ho)
590 ac_prev
=host_alias
;;
591 -host=* |
--host=* |
--hos=* |
--ho=*)
592 host_alias
=$ac_optarg ;;
594 -includedir |
--includedir |
--includedi |
--included |
--include \
595 |
--includ |
--inclu |
--incl |
--inc)
596 ac_prev
=includedir
;;
597 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
598 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
599 includedir
=$ac_optarg ;;
601 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
603 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
604 infodir
=$ac_optarg ;;
606 -libdir |
--libdir |
--libdi |
--libd)
608 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
611 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
612 |
--libexe |
--libex |
--libe)
613 ac_prev
=libexecdir
;;
614 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
615 |
--libexe=* |
--libex=* |
--libe=*)
616 libexecdir
=$ac_optarg ;;
618 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
619 |
--localstate |
--localstat |
--localsta |
--localst \
620 |
--locals |
--local |
--loca |
--loc |
--lo)
621 ac_prev
=localstatedir
;;
622 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
623 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
624 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
625 localstatedir
=$ac_optarg ;;
627 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
629 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
633 # Obsolete; use --without-fp.
636 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
637 |
--no-cr |
--no-c |
-n)
640 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
641 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
644 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
645 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
646 |
--oldin |
--oldi |
--old |
--ol |
--o)
647 ac_prev
=oldincludedir
;;
648 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
649 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
650 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
651 oldincludedir
=$ac_optarg ;;
653 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
655 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
658 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
659 |
--program-pre |
--program-pr |
--program-p)
660 ac_prev
=program_prefix
;;
661 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
662 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
663 program_prefix
=$ac_optarg ;;
665 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
666 |
--program-suf |
--program-su |
--program-s)
667 ac_prev
=program_suffix
;;
668 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
669 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
670 program_suffix
=$ac_optarg ;;
672 -program-transform-name |
--program-transform-name \
673 |
--program-transform-nam |
--program-transform-na \
674 |
--program-transform-n |
--program-transform- \
675 |
--program-transform |
--program-transfor \
676 |
--program-transfo |
--program-transf \
677 |
--program-trans |
--program-tran \
678 |
--progr-tra |
--program-tr |
--program-t)
679 ac_prev
=program_transform_name
;;
680 -program-transform-name=* |
--program-transform-name=* \
681 |
--program-transform-nam=* |
--program-transform-na=* \
682 |
--program-transform-n=* |
--program-transform-=* \
683 |
--program-transform=* |
--program-transfor=* \
684 |
--program-transfo=* |
--program-transf=* \
685 |
--program-trans=* |
--program-tran=* \
686 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
687 program_transform_name
=$ac_optarg ;;
689 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
690 |
-silent |
--silent |
--silen |
--sile |
--sil)
693 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
695 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
697 sbindir
=$ac_optarg ;;
699 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
700 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
701 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
703 ac_prev
=sharedstatedir
;;
704 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
705 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
706 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
708 sharedstatedir
=$ac_optarg ;;
710 -site |
--site |
--sit)
712 -site=* |
--site=* |
--sit=*)
715 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
717 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
720 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
721 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
722 ac_prev
=sysconfdir
;;
723 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
724 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
725 sysconfdir
=$ac_optarg ;;
727 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
728 ac_prev
=target_alias
;;
729 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
730 target_alias
=$ac_optarg ;;
732 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
735 -version |
--version |
--versio |
--versi |
--vers |
-V)
739 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
740 # Reject names that are not valid shell variable names.
741 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
742 { echo "$as_me: error: invalid package name: $ac_package" >&2
743 { (exit 1); exit 1; }; }
744 ac_package
=`echo $ac_package| sed 's/-/_/g'`
746 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749 eval "with_$ac_package='$ac_optarg'" ;;
751 -without-* |
--without-*)
752 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
753 # Reject names that are not valid shell variable names.
754 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
755 { echo "$as_me: error: invalid package name: $ac_package" >&2
756 { (exit 1); exit 1; }; }
757 ac_package
=`echo $ac_package | sed 's/-/_/g'`
758 eval "with_$ac_package=no" ;;
761 # Obsolete; use --with-x.
764 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
765 |
--x-incl |
--x-inc |
--x-in |
--x-i)
766 ac_prev
=x_includes
;;
767 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
768 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
769 x_includes
=$ac_optarg ;;
771 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
772 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
773 ac_prev
=x_libraries
;;
774 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
775 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
776 x_libraries
=$ac_optarg ;;
778 -*) { echo "$as_me: error: unrecognized option: $ac_option
779 Try \`$0 --help' for more information." >&2
780 { (exit 1); exit 1; }; }
784 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
787 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
788 { (exit 1); exit 1; }; }
789 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
790 eval "$ac_envvar='$ac_optarg'"
794 # FIXME: should be removed in autoconf 3.0.
795 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
797 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
798 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
804 if test -n "$ac_prev"; then
805 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
806 { echo "$as_me: error: missing argument to $ac_option" >&2
807 { (exit 1); exit 1; }; }
810 # Be sure to have absolute paths.
811 for ac_var
in exec_prefix prefix
813 eval ac_val
=$
`echo $ac_var`
815 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
816 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
817 { (exit 1); exit 1; }; };;
821 # Be sure to have absolute paths.
822 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
823 localstatedir libdir includedir oldincludedir infodir mandir
825 eval ac_val
=$
`echo $ac_var`
827 [\\/$
]* | ?
:[\\/]* ) ;;
828 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
829 { (exit 1); exit 1; }; };;
833 # There might be people who depend on the old broken behavior: `$host'
834 # used to hold the argument of --host etc.
835 # FIXME: To remove some day.
840 # FIXME: To remove some day.
841 if test "x$host_alias" != x
; then
842 if test "x$build_alias" = x
; then
843 cross_compiling
=maybe
844 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
845 If a cross compiler is detected then cross compile mode will be used." >&2
846 elif test "x$build_alias" != "x$host_alias"; then
852 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
854 test "$silent" = yes && exec 6>/dev
/null
857 # Find the source files, if location was not specified.
858 if test -z "$srcdir"; then
859 ac_srcdir_defaulted
=yes
860 # Try the directory containing this script, then its parent.
861 ac_confdir
=`(dirname "$0") 2>/dev/null ||
862 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
863 X"$0" : 'X\(//\)[^/]' \| \
864 X"$0" : 'X\(//\)$' \| \
865 X"$0" : 'X\(/\)' \| \
866 . : '\(.\)' 2>/dev/null ||
868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
870 /^X\(\/\/\)$/{ s//\1/; q; }
871 /^X\(\/\).*/{ s//\1/; q; }
874 if test ! -r $srcdir/$ac_unique_file; then
878 ac_srcdir_defaulted
=no
880 if test ! -r $srcdir/$ac_unique_file; then
881 if test "$ac_srcdir_defaulted" = yes; then
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
883 { (exit 1); exit 1; }; }
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
886 { (exit 1); exit 1; }; }
889 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
890 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
891 { (exit 1); exit 1; }; }
892 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
893 ac_env_build_alias_set
=${build_alias+set}
894 ac_env_build_alias_value
=$build_alias
895 ac_cv_env_build_alias_set
=${build_alias+set}
896 ac_cv_env_build_alias_value
=$build_alias
897 ac_env_host_alias_set
=${host_alias+set}
898 ac_env_host_alias_value
=$host_alias
899 ac_cv_env_host_alias_set
=${host_alias+set}
900 ac_cv_env_host_alias_value
=$host_alias
901 ac_env_target_alias_set
=${target_alias+set}
902 ac_env_target_alias_value
=$target_alias
903 ac_cv_env_target_alias_set
=${target_alias+set}
904 ac_cv_env_target_alias_value
=$target_alias
905 ac_env_CC_set
=${CC+set}
907 ac_cv_env_CC_set
=${CC+set}
908 ac_cv_env_CC_value
=$CC
909 ac_env_CFLAGS_set
=${CFLAGS+set}
910 ac_env_CFLAGS_value
=$CFLAGS
911 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
912 ac_cv_env_CFLAGS_value
=$CFLAGS
913 ac_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_env_LDFLAGS_value
=$LDFLAGS
915 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_cv_env_LDFLAGS_value
=$LDFLAGS
917 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_env_CPP_set
=${CPP+set}
922 ac_env_CPP_value
=$CPP
923 ac_cv_env_CPP_set
=${CPP+set}
924 ac_cv_env_CPP_value
=$CPP
925 ac_env_CXX_set
=${CXX+set}
926 ac_env_CXX_value
=$CXX
927 ac_cv_env_CXX_set
=${CXX+set}
928 ac_cv_env_CXX_value
=$CXX
929 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_env_CXXFLAGS_value
=$CXXFLAGS
931 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_env_CXXCPP_set
=${CXXCPP+set}
934 ac_env_CXXCPP_value
=$CXXCPP
935 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
936 ac_cv_env_CXXCPP_value
=$CXXCPP
939 # Report the --help message.
941 if test "$ac_init_help" = "long"; then
942 # Omit some internal or obsolete options to make the list less imposing.
943 # This message is too long to be a string in the A/UX 3.1 sh.
945 \`configure' configures GNU Classpath 0.95 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.95:";;
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-ecj bytecode compilation with ecj
1104 --with-javac bytecode compilation with javac
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.95
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.95, 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
=
11862 if test "x$CC" != xcc
; then
11863 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11864 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
11866 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11867 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
11869 set dummy
$CC; ac_cc
=`echo $2 |
11870 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11871 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11889 # Make sure it works both with $CC and with simple cc.
11890 # We do the test twice because some compilers refuse to overwrite an
11891 # existing .o file with -o, though they will create one.
11892 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11893 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); };
11904 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11905 if test "x$CC" != xcc
; then
11906 # Test first that cc exists at all.
11907 if { ac_try
='cc -c conftest.$ac_ext >&5'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11914 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); };
11928 # cc exists but doesn't like -o.
11929 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
11934 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
11939 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
11940 echo "$as_me:$LINENO: result: yes" >&5
11941 echo "${ECHO_T}yes" >&6
11943 echo "$as_me:$LINENO: result: no" >&5
11944 echo "${ECHO_T}no" >&6
11946 cat >>confdefs.h
<<\_ACEOF
11947 #define NO_MINUS_C_MINUS_O 1
11952 # FIXME: we rely on the cache variable name because
11953 # there is no other way.
11955 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11956 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
11957 # Losing compiler, so override with the script.
11958 # FIXME: It is wrong to rewrite CC.
11959 # But if we don't then we get into trouble of one sort or another.
11960 # A longer-term fix would be to have automake use am__CC in this case,
11961 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11962 CC
="$am_aux_dir/compile $CC"
11966 ac_cpp
='$CPP $CPPFLAGS'
11967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11970 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11971 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11972 # On Suns, sometimes $CPP names a directory.
11973 if test -n "$CPP" && test -d "$CPP"; then
11976 if test -z "$CPP"; then
11977 if test "${ac_cv_prog_CPP+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 # Double quotes because CPP needs to be expanded
11981 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11983 ac_preproc_ok
=false
11984 for ac_c_preproc_warn_flag
in '' yes
11986 # Use a header file that comes with gcc, so configuring glibc
11987 # with a fresh cross-compiler works.
11988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11989 # <limits.h> exists even on freestanding compilers.
11990 # On the NeXT, cc -E runs the code through the compiler's parser,
11991 # not just through cpp. "Syntax error" is here to catch this case.
11992 cat >conftest.
$ac_ext <<_ACEOF
11995 cat confdefs.h
>>conftest.
$ac_ext
11996 cat >>conftest.
$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11999 # include <limits.h>
12001 # include <assert.h>
12005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12008 grep -v '^ *+' conftest.er1
>conftest.err
12010 cat conftest.err
>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } >/dev
/null
; then
12013 if test -s conftest.err
; then
12014 ac_cpp_err
=$ac_c_preproc_warn_flag
12015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12022 if test -z "$ac_cpp_err"; then
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.
$ac_ext >&5
12028 # Broken: fails on valid input.
12031 rm -f conftest.err conftest.
$ac_ext
12033 # OK, works on sane cases. Now check whether non-existent headers
12034 # can be detected and how.
12035 cat >conftest.
$ac_ext <<_ACEOF
12038 cat confdefs.h
>>conftest.
$ac_ext
12039 cat >>conftest.
$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <ac_nonexistent.h>
12043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12046 grep -v '^ *+' conftest.er1
>conftest.err
12048 cat conftest.err
>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } >/dev
/null
; then
12051 if test -s conftest.err
; then
12052 ac_cpp_err
=$ac_c_preproc_warn_flag
12053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12060 if test -z "$ac_cpp_err"; then
12061 # Broken: success on invalid input.
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.
$ac_ext >&5
12067 # Passes both tests.
12071 rm -f conftest.err conftest.
$ac_ext
12074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12075 rm -f conftest.err conftest.
$ac_ext
12076 if $ac_preproc_ok; then
12081 ac_cv_prog_CPP
=$CPP
12084 CPP
=$ac_cv_prog_CPP
12086 ac_cv_prog_CPP
=$CPP
12088 echo "$as_me:$LINENO: result: $CPP" >&5
12089 echo "${ECHO_T}$CPP" >&6
12090 ac_preproc_ok
=false
12091 for ac_c_preproc_warn_flag
in '' yes
12093 # Use a header file that comes with gcc, so configuring glibc
12094 # with a fresh cross-compiler works.
12095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12096 # <limits.h> exists even on freestanding compilers.
12097 # On the NeXT, cc -E runs the code through the compiler's parser,
12098 # not just through cpp. "Syntax error" is here to catch this case.
12099 cat >conftest.
$ac_ext <<_ACEOF
12102 cat confdefs.h
>>conftest.
$ac_ext
12103 cat >>conftest.
$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12106 # include <limits.h>
12108 # include <assert.h>
12112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12115 grep -v '^ *+' conftest.er1
>conftest.err
12117 cat conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } >/dev
/null
; then
12120 if test -s conftest.err
; then
12121 ac_cpp_err
=$ac_c_preproc_warn_flag
12122 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12129 if test -z "$ac_cpp_err"; then
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12135 # Broken: fails on valid input.
12138 rm -f conftest.err conftest.
$ac_ext
12140 # OK, works on sane cases. Now check whether non-existent headers
12141 # can be detected and how.
12142 cat >conftest.
$ac_ext <<_ACEOF
12145 cat confdefs.h
>>conftest.
$ac_ext
12146 cat >>conftest.
$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148 #include <ac_nonexistent.h>
12150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12153 grep -v '^ *+' conftest.er1
>conftest.err
12155 cat conftest.err
>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } >/dev
/null
; then
12158 if test -s conftest.err
; then
12159 ac_cpp_err
=$ac_c_preproc_warn_flag
12160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12167 if test -z "$ac_cpp_err"; then
12168 # Broken: success on invalid input.
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.
$ac_ext >&5
12174 # Passes both tests.
12178 rm -f conftest.err conftest.
$ac_ext
12181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12182 rm -f conftest.err conftest.
$ac_ext
12183 if $ac_preproc_ok; then
12186 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12187 See \`config.log' for more details." >&5
12188 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12189 See \`config.log' for more details." >&2;}
12190 { (exit 1); exit 1; }; }
12194 ac_cpp
='$CPP $CPPFLAGS'
12195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12200 ac_cpp
='$CXXCPP $CPPFLAGS'
12201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12204 if test -n "$ac_tool_prefix"; then
12205 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12208 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12209 echo "$as_me:$LINENO: checking for $ac_word" >&5
12210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12211 if test "${ac_cv_prog_CXX+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 if test -n "$CXX"; then
12215 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12218 for as_dir
in $PATH
12221 test -z "$as_dir" && as_dir
=.
12222 for ac_exec_ext
in '' $ac_executable_extensions; do
12223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12224 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 CXX
=$ac_cv_prog_CXX
12234 if test -n "$CXX"; then
12235 echo "$as_me:$LINENO: result: $CXX" >&5
12236 echo "${ECHO_T}$CXX" >&6
12238 echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6
12242 test -n "$CXX" && break
12245 if test -z "$CXX"; then
12247 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12249 # Extract the first word of "$ac_prog", so it can be a program name with args.
12250 set dummy
$ac_prog; ac_word
=$2
12251 echo "$as_me:$LINENO: checking for $ac_word" >&5
12252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12253 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12256 if test -n "$ac_ct_CXX"; then
12257 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12260 for as_dir
in $PATH
12263 test -z "$as_dir" && as_dir
=.
12264 for ac_exec_ext
in '' $ac_executable_extensions; do
12265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12266 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12276 if test -n "$ac_ct_CXX"; then
12277 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12278 echo "${ECHO_T}$ac_ct_CXX" >&6
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12284 test -n "$ac_ct_CXX" && break
12286 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12292 # Provide some information about the compiler.
12293 echo "$as_me:$LINENO:" \
12294 "checking for C++ compiler version" >&5
12295 ac_compiler
=`set X $ac_compile; echo $2`
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12297 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12302 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }
12306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12307 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }
12312 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12313 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12314 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 cat >conftest.
$ac_ext <<_ACEOF
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12335 rm -f conftest.
$ac_objext
12336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12337 (eval $ac_compile) 2>conftest.er1
12339 grep -v '^ *+' conftest.er1
>conftest.err
12341 cat conftest.err
>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try
='test -z "$ac_cxx_werror_flag"
12345 || test ! -s conftest.err'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; } &&
12351 { ac_try
='test -s conftest.$ac_objext'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; }; then
12357 ac_compiler_gnu
=yes
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.
$ac_ext >&5
12364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12365 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12368 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12370 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12371 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12372 ac_save_CXXFLAGS
=$CXXFLAGS
12374 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12375 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12376 if test "${ac_cv_prog_cxx_g+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12394 rm -f conftest.
$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>conftest.er1
12398 grep -v '^ *+' conftest.er1
>conftest.err
12400 cat conftest.err
>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try
='test -z "$ac_cxx_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try
='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 ac_cv_prog_cxx_g
=yes
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 ac_cv_prog_cxx_g
=no
12423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12425 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12426 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12427 if test "$ac_test_CXXFLAGS" = set; then
12428 CXXFLAGS
=$ac_save_CXXFLAGS
12429 elif test $ac_cv_prog_cxx_g = yes; then
12430 if test "$GXX" = yes; then
12436 if test "$GXX" = yes; then
12442 for ac_declaration
in \
12444 'extern "C" void std::exit (int) throw (); using std::exit;' \
12445 'extern "C" void std::exit (int); using std::exit;' \
12446 'extern "C" void exit (int) throw ();' \
12447 'extern "C" void exit (int);' \
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12457 #include <stdlib.h>
12466 rm -f conftest.
$ac_objext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12468 (eval $ac_compile) 2>conftest.er1
12470 grep -v '^ *+' conftest.er1
>conftest.err
12472 cat conftest.err
>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } &&
12475 { ac_try
='test -z "$ac_cxx_werror_flag"
12476 || test ! -s conftest.err'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; } &&
12482 { ac_try
='test -s conftest.$ac_objext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.
$ac_ext >&5
12495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12511 rm -f conftest.
$ac_objext
12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12513 (eval $ac_compile) 2>conftest.er1
12515 grep -v '^ *+' conftest.er1
>conftest.err
12517 cat conftest.err
>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } &&
12520 { ac_try
='test -z "$ac_cxx_werror_flag"
12521 || test ! -s conftest.err'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; } &&
12527 { ac_try
='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.
$ac_ext >&5
12539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12542 if test -n "$ac_declaration"; then
12543 echo '#ifdef __cplusplus' >>confdefs.h
12544 echo $ac_declaration >>confdefs.h
12545 echo '#endif' >>confdefs.h
12549 ac_cpp
='$CPP $CPPFLAGS'
12550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12554 depcc
="$CXX" am_compiler_list
=
12556 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12557 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12558 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12562 # We make a subdir and do the tests there. Otherwise we can end up
12563 # making bogus files that we don't know about and never remove. For
12564 # instance it was reported that on HP-UX the gcc test will end up
12565 # making a dummy file named `D' -- because `-MD' means `put the output
12568 # Copy depcomp to subdir because otherwise we won't find it if we're
12569 # using a relative directory.
12570 cp "$am_depcomp" conftest.dir
12572 # We will build objects and dependencies in a subdirectory because
12573 # it helps to detect inapplicable dependency modes. For instance
12574 # both Tru64's cc and ICC support -MD to output dependencies as a
12575 # side effect of compilation, but ICC will put the dependencies in
12576 # the current directory while Tru64 will put them in the object
12580 am_cv_CXX_dependencies_compiler_type
=none
12581 if test "$am_compiler_list" = ""; then
12582 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12584 for depmode
in $am_compiler_list; do
12585 # Setup a source with many dependencies, because some compilers
12586 # like to wrap large dependency lists on column 80 (with \), and
12587 # we should not choose a depcomp mode which is confused by this.
12589 # We need to recreate these files for each test, as the compiler may
12590 # overwrite some of them when testing with obscure command lines.
12591 # This happens at least with the AIX C compiler.
12593 for i
in 1 2 3 4 5 6; do
12594 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12595 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12596 # Solaris 8's {/usr,}/bin/sh.
12597 touch sub
/conftst
$i.h
12599 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12603 # after this tag, mechanisms are not by side-effect, so they'll
12604 # only be used when explicitly requested
12605 if test "x$enable_dependency_tracking" = xyes
; then
12613 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12614 # mode. It turns out that the SunPro C++ compiler does not properly
12615 # handle `-M -o', and we need to detect this.
12616 if depmode
=$depmode \
12617 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
12618 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12619 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
12620 >/dev
/null
2>conftest.err
&&
12621 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12622 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
12623 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12624 # icc doesn't choke on unknown options, it will just issue warnings
12625 # or remarks (even with -Werror). So we grep stderr for any message
12626 # that says an option was ignored or not supported.
12627 # When given -MP, icc 7.0 and 7.1 complain thusly:
12628 # icc: Command line warning: ignoring option '-M'; no argument required
12629 # The diagnosis changed in icc 8.0:
12630 # icc: Command line remark: option '-MP' not supported
12631 if (grep 'ignoring option' conftest.err ||
12632 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12633 am_cv_CXX_dependencies_compiler_type
=$depmode
12640 rm -rf conftest.dir
12642 am_cv_CXX_dependencies_compiler_type
=none
12646 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12647 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12648 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12653 test "x$enable_dependency_tracking" != xno \
12654 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12655 am__fastdepCXX_TRUE
=
12656 am__fastdepCXX_FALSE
='#'
12658 am__fastdepCXX_TRUE
='#'
12659 am__fastdepCXX_FALSE
=
12665 ac_cpp
='$CXXCPP $CPPFLAGS'
12666 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12669 if test -n "$ac_tool_prefix"; then
12670 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12673 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12674 echo "$as_me:$LINENO: checking for $ac_word" >&5
12675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12676 if test "${ac_cv_prog_CXX+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 if test -n "$CXX"; then
12680 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12683 for as_dir
in $PATH
12686 test -z "$as_dir" && as_dir
=.
12687 for ac_exec_ext
in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12698 CXX
=$ac_cv_prog_CXX
12699 if test -n "$CXX"; then
12700 echo "$as_me:$LINENO: result: $CXX" >&5
12701 echo "${ECHO_T}$CXX" >&6
12703 echo "$as_me:$LINENO: result: no" >&5
12704 echo "${ECHO_T}no" >&6
12707 test -n "$CXX" && break
12710 if test -z "$CXX"; then
12712 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12714 # Extract the first word of "$ac_prog", so it can be a program name with args.
12715 set dummy
$ac_prog; ac_word
=$2
12716 echo "$as_me:$LINENO: checking for $ac_word" >&5
12717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12718 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12721 if test -n "$ac_ct_CXX"; then
12722 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12725 for as_dir
in $PATH
12728 test -z "$as_dir" && as_dir
=.
12729 for ac_exec_ext
in '' $ac_executable_extensions; do
12730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12731 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12740 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12741 if test -n "$ac_ct_CXX"; then
12742 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12743 echo "${ECHO_T}$ac_ct_CXX" >&6
12745 echo "$as_me:$LINENO: result: no" >&5
12746 echo "${ECHO_T}no" >&6
12749 test -n "$ac_ct_CXX" && break
12751 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12757 # Provide some information about the compiler.
12758 echo "$as_me:$LINENO:" \
12759 "checking for C++ compiler version" >&5
12760 ac_compiler
=`set X $ac_compile; echo $2`
12761 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12762 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }
12766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12767 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }
12771 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12772 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }
12777 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12778 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12779 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12800 rm -f conftest.
$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_cxx_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try
='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_compiler_gnu
=yes
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12830 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12833 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12834 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12835 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12836 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12837 ac_save_CXXFLAGS
=$CXXFLAGS
12839 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12840 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12841 if test "${ac_cv_prog_cxx_g+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12859 rm -f conftest.
$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try
='test -z "$ac_cxx_werror_flag"
12869 || test ! -s conftest.err'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; } &&
12875 { ac_try
='test -s conftest.$ac_objext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 ac_cv_prog_cxx_g
=yes
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.
$ac_ext >&5
12886 ac_cv_prog_cxx_g
=no
12888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12890 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12891 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12892 if test "$ac_test_CXXFLAGS" = set; then
12893 CXXFLAGS
=$ac_save_CXXFLAGS
12894 elif test $ac_cv_prog_cxx_g = yes; then
12895 if test "$GXX" = yes; then
12901 if test "$GXX" = yes; then
12907 for ac_declaration
in \
12909 'extern "C" void std::exit (int) throw (); using std::exit;' \
12910 'extern "C" void std::exit (int); using std::exit;' \
12911 'extern "C" void exit (int) throw ();' \
12912 'extern "C" void exit (int);' \
12915 cat >conftest.
$ac_ext <<_ACEOF
12918 cat confdefs.h
>>conftest.
$ac_ext
12919 cat >>conftest.
$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12922 #include <stdlib.h>
12931 rm -f conftest.
$ac_objext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1
>conftest.err
12937 cat conftest.err
>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try
='test -z "$ac_cxx_werror_flag"
12941 || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try
='test -s conftest.$ac_objext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.
$ac_ext >&5
12960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12961 cat >conftest.
$ac_ext <<_ACEOF
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12976 rm -f conftest.
$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12980 grep -v '^ *+' conftest.er1
>conftest.err
12982 cat conftest.err
>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try
='test -z "$ac_cxx_werror_flag"
12986 || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try
='test -s conftest.$ac_objext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.
$ac_ext >&5
13004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 if test -n "$ac_declaration"; then
13008 echo '#ifdef __cplusplus' >>confdefs.h
13009 echo $ac_declaration >>confdefs.h
13010 echo '#endif' >>confdefs.h
13014 ac_cpp
='$CPP $CPPFLAGS'
13015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13019 depcc
="$CXX" am_compiler_list
=
13021 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13022 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13023 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13027 # We make a subdir and do the tests there. Otherwise we can end up
13028 # making bogus files that we don't know about and never remove. For
13029 # instance it was reported that on HP-UX the gcc test will end up
13030 # making a dummy file named `D' -- because `-MD' means `put the output
13033 # Copy depcomp to subdir because otherwise we won't find it if we're
13034 # using a relative directory.
13035 cp "$am_depcomp" conftest.dir
13037 # We will build objects and dependencies in a subdirectory because
13038 # it helps to detect inapplicable dependency modes. For instance
13039 # both Tru64's cc and ICC support -MD to output dependencies as a
13040 # side effect of compilation, but ICC will put the dependencies in
13041 # the current directory while Tru64 will put them in the object
13045 am_cv_CXX_dependencies_compiler_type
=none
13046 if test "$am_compiler_list" = ""; then
13047 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13049 for depmode
in $am_compiler_list; do
13050 # Setup a source with many dependencies, because some compilers
13051 # like to wrap large dependency lists on column 80 (with \), and
13052 # we should not choose a depcomp mode which is confused by this.
13054 # We need to recreate these files for each test, as the compiler may
13055 # overwrite some of them when testing with obscure command lines.
13056 # This happens at least with the AIX C compiler.
13058 for i
in 1 2 3 4 5 6; do
13059 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13060 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13061 # Solaris 8's {/usr,}/bin/sh.
13062 touch sub
/conftst
$i.h
13064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13068 # after this tag, mechanisms are not by side-effect, so they'll
13069 # only be used when explicitly requested
13070 if test "x$enable_dependency_tracking" = xyes
; then
13078 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13079 # mode. It turns out that the SunPro C++ compiler does not properly
13080 # handle `-M -o', and we need to detect this.
13081 if depmode
=$depmode \
13082 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
13083 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13084 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
13085 >/dev
/null
2>conftest.err
&&
13086 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13087 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
13088 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13089 # icc doesn't choke on unknown options, it will just issue warnings
13090 # or remarks (even with -Werror). So we grep stderr for any message
13091 # that says an option was ignored or not supported.
13092 # When given -MP, icc 7.0 and 7.1 complain thusly:
13093 # icc: Command line warning: ignoring option '-M'; no argument required
13094 # The diagnosis changed in icc 8.0:
13095 # icc: Command line remark: option '-MP' not supported
13096 if (grep 'ignoring option' conftest.err ||
13097 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13098 am_cv_CXX_dependencies_compiler_type
=$depmode
13105 rm -rf conftest.dir
13107 am_cv_CXX_dependencies_compiler_type
=none
13111 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13112 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13113 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
13118 test "x$enable_dependency_tracking" != xno \
13119 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
13120 am__fastdepCXX_TRUE
=
13121 am__fastdepCXX_FALSE
='#'
13123 am__fastdepCXX_TRUE
='#'
13124 am__fastdepCXX_FALSE
=
13128 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13129 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13130 (test "X$CXX" != "Xg++"))) ; then
13132 ac_cpp
='$CXXCPP $CPPFLAGS'
13133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13136 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13137 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13138 if test -z "$CXXCPP"; then
13139 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 # Double quotes because CXXCPP needs to be expanded
13143 for CXXCPP
in "$CXX -E" "/lib/cpp"
13145 ac_preproc_ok
=false
13146 for ac_cxx_preproc_warn_flag
in '' yes
13148 # Use a header file that comes with gcc, so configuring glibc
13149 # with a fresh cross-compiler works.
13150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13151 # <limits.h> exists even on freestanding compilers.
13152 # On the NeXT, cc -E runs the code through the compiler's parser,
13153 # not just through cpp. "Syntax error" is here to catch this case.
13154 cat >conftest.
$ac_ext <<_ACEOF
13157 cat confdefs.h
>>conftest.
$ac_ext
13158 cat >>conftest.
$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13161 # include <limits.h>
13163 # include <assert.h>
13167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13170 grep -v '^ *+' conftest.er1
>conftest.err
13172 cat conftest.err
>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } >/dev
/null
; then
13175 if test -s conftest.err
; then
13176 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13177 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13184 if test -z "$ac_cpp_err"; then
13187 echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.
$ac_ext >&5
13190 # Broken: fails on valid input.
13193 rm -f conftest.err conftest.
$ac_ext
13195 # OK, works on sane cases. Now check whether non-existent headers
13196 # can be detected and how.
13197 cat >conftest.
$ac_ext <<_ACEOF
13200 cat confdefs.h
>>conftest.
$ac_ext
13201 cat >>conftest.
$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <ac_nonexistent.h>
13205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13208 grep -v '^ *+' conftest.er1
>conftest.err
13210 cat conftest.err
>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } >/dev
/null
; then
13213 if test -s conftest.err
; then
13214 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13215 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13222 if test -z "$ac_cpp_err"; then
13223 # Broken: success on invalid input.
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13229 # Passes both tests.
13233 rm -f conftest.err conftest.
$ac_ext
13236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13237 rm -f conftest.err conftest.
$ac_ext
13238 if $ac_preproc_ok; then
13243 ac_cv_prog_CXXCPP
=$CXXCPP
13246 CXXCPP
=$ac_cv_prog_CXXCPP
13248 ac_cv_prog_CXXCPP
=$CXXCPP
13250 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13251 echo "${ECHO_T}$CXXCPP" >&6
13252 ac_preproc_ok
=false
13253 for ac_cxx_preproc_warn_flag
in '' yes
13255 # Use a header file that comes with gcc, so configuring glibc
13256 # with a fresh cross-compiler works.
13257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13258 # <limits.h> exists even on freestanding compilers.
13259 # On the NeXT, cc -E runs the code through the compiler's parser,
13260 # not just through cpp. "Syntax error" is here to catch this case.
13261 cat >conftest.
$ac_ext <<_ACEOF
13264 cat confdefs.h
>>conftest.
$ac_ext
13265 cat >>conftest.
$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13268 # include <limits.h>
13270 # include <assert.h>
13274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13277 grep -v '^ *+' conftest.er1
>conftest.err
13279 cat conftest.err
>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } >/dev
/null
; then
13282 if test -s conftest.err
; then
13283 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13284 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13291 if test -z "$ac_cpp_err"; then
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.
$ac_ext >&5
13297 # Broken: fails on valid input.
13300 rm -f conftest.err conftest.
$ac_ext
13302 # OK, works on sane cases. Now check whether non-existent headers
13303 # can be detected and how.
13304 cat >conftest.
$ac_ext <<_ACEOF
13307 cat confdefs.h
>>conftest.
$ac_ext
13308 cat >>conftest.
$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310 #include <ac_nonexistent.h>
13312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13315 grep -v '^ *+' conftest.er1
>conftest.err
13317 cat conftest.err
>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } >/dev
/null
; then
13320 if test -s conftest.err
; then
13321 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13322 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
13329 if test -z "$ac_cpp_err"; then
13330 # Broken: success on invalid input.
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.
$ac_ext >&5
13336 # Passes both tests.
13340 rm -f conftest.err conftest.
$ac_ext
13343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13344 rm -f conftest.err conftest.
$ac_ext
13345 if $ac_preproc_ok; then
13348 _lt_caught_CXX_error
=yes
13352 ac_cpp
='$CPP $CPPFLAGS'
13353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13358 _lt_caught_CXX_error
=yes
13365 ac_cpp
='$CXXCPP $CPPFLAGS'
13366 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13370 archive_cmds_need_lc_CXX
=no
13371 allow_undefined_flag_CXX
=
13372 always_export_symbols_CXX
=no
13373 archive_expsym_cmds_CXX
=
13374 compiler_needs_object_CXX
=no
13375 export_dynamic_flag_spec_CXX
=
13376 hardcode_direct_CXX
=no
13377 hardcode_direct_absolute_CXX
=no
13378 hardcode_libdir_flag_spec_CXX
=
13379 hardcode_libdir_flag_spec_ld_CXX
=
13380 hardcode_libdir_separator_CXX
=
13381 hardcode_minus_L_CXX
=no
13382 hardcode_shlibpath_var_CXX
=unsupported
13383 hardcode_automatic_CXX
=no
13384 inherit_rpath_CXX
=no
13386 module_expsym_cmds_CXX
=
13387 link_all_deplibs_CXX
=unknown
13388 old_archive_cmds_CXX
=$old_archive_cmds
13389 no_undefined_flag_CXX
=
13390 whole_archive_flag_spec_CXX
=
13391 enable_shared_with_static_runtimes_CXX
=no
13393 # Source file extension for C++ test sources.
13396 # Object file extension for compiled C++ test sources.
13400 # No sense in running all these tests if we already determined that
13401 # the CXX compiler isn't working. Some variables (like enable_shared)
13402 # are currently assumed to apply to all compilers on this platform,
13403 # and will be corrupted by setting them based on a non-working compiler.
13404 if test "$_lt_caught_CXX_error" != yes; then
13405 # Code to be used in simple compile tests
13406 lt_simple_compile_test_code
="int some_variable = 0;"
13408 # Code to be used in simple link tests
13409 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13411 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13418 # If no C compiler was specified, use CC.
13421 # If no C compiler flags were specified, use CFLAGS.
13422 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13424 # Allow CC to be a program name with arguments.
13428 # save warnings/boilerplate of simple test code
13429 ac_outfile
=conftest.
$ac_objext
13430 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13431 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13432 _lt_compiler_boilerplate
=`cat conftest.err`
13435 ac_outfile
=conftest.
$ac_objext
13436 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13437 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13438 _lt_linker_boilerplate
=`cat conftest.err`
13442 # Allow CC to be a program name with arguments.
13447 lt_save_with_gnu_ld
=$with_gnu_ld
13448 lt_save_path_LD
=$lt_cv_path_LD
13449 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13450 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13452 $as_unset lt_cv_prog_gnu_ld
13454 if test -n "${lt_cv_path_LDCXX+set}"; then
13455 lt_cv_path_LD
=$lt_cv_path_LDCXX
13457 $as_unset lt_cv_path_LD
13459 test -z "${LDCXX+set}" || LD
=$LDCXX
13463 for cc_temp
in $compiler""; do
13465 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13466 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13471 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13474 if test -n "$compiler"; then
13475 # We don't want -fno-exception when compiling C++ code, so set the
13476 # no_builtin_flag separately
13477 if test "$GXX" = yes; then
13478 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13480 lt_prog_compiler_no_builtin_flag_CXX
=
13483 if test "$GXX" = yes; then
13484 # Set up default GNU C++ configuration
13488 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13489 if test "${with_gnu_ld+set}" = set; then
13490 withval
="$with_gnu_ld"
13491 test "$withval" = no || with_gnu_ld
=yes
13496 if test "$GCC" = yes; then
13497 # Check if gcc -print-prog-name=ld gives a path.
13498 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13499 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13502 # gcc leaves a trailing carriage return which upsets mingw
13503 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13505 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13508 # Accept absolute paths.
13510 re_direlt
='/[^/][^/]*/\.\./'
13511 # Canonicalize the pathname of ld
13512 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13513 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13514 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13516 test -z "$LD" && LD
="$ac_prog"
13519 # If it fails, then pretend we aren't using GCC.
13523 # If it is relative, then search for the first ld in PATH.
13524 with_gnu_ld
=unknown
13527 elif test "$with_gnu_ld" = yes; then
13528 echo "$as_me:$LINENO: checking for GNU ld" >&5
13529 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13531 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13532 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13534 if test "${lt_cv_path_LD+set}" = set; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 if test -z "$LD"; then
13538 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13539 for ac_dir
in $PATH; do
13541 test -z "$ac_dir" && ac_dir
=.
13542 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13543 lt_cv_path_LD
="$ac_dir/$ac_prog"
13544 # Check to see if the program is GNU ld. I'd rather use --version,
13545 # but apparently some variants of GNU ld only accept -v.
13546 # Break only if it was the GNU/non-GNU ld that we prefer.
13547 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13548 *GNU
* |
*'with BFD'*)
13549 test "$with_gnu_ld" != no
&& break
13552 test "$with_gnu_ld" != yes && break
13559 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13563 LD
="$lt_cv_path_LD"
13564 if test -n "$LD"; then
13565 echo "$as_me:$LINENO: result: $LD" >&5
13566 echo "${ECHO_T}$LD" >&6
13568 echo "$as_me:$LINENO: result: no" >&5
13569 echo "${ECHO_T}no" >&6
13571 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13572 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13573 { (exit 1); exit 1; }; }
13574 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13575 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13576 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13580 case `$LD -v 2>&1 </dev/null` in
13581 *GNU
* |
*'with BFD'*)
13582 lt_cv_prog_gnu_ld
=yes
13585 lt_cv_prog_gnu_ld
=no
13589 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13590 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13591 with_gnu_ld
=$lt_cv_prog_gnu_ld
13599 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13600 # archiving commands below assume that GNU ld is being used.
13601 if test "$with_gnu_ld" = yes; then
13602 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13603 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'
13605 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13606 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13608 # If archive_cmds runs LD, not CC, wlarc should be empty
13609 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13610 # investigate it a little bit more. (MM)
13613 # ancient GNU ld didn't support --whole-archive et. al.
13614 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13615 $GREP 'no-whole-archive' > /dev
/null
; then
13616 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13618 whole_archive_flag_spec_CXX
=
13624 # A generic and very simple default shared library creation
13625 # command for GNU C++ for the case where it uses the native
13626 # linker, instead of GNU ld. If possible, this setting should
13627 # overridden to take advantage of the native linker features on
13628 # the platform it is being used on.
13629 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13632 # Commands to make compiler produce verbose output that lists
13633 # what "hidden" libraries, object files and flags are used when
13634 # linking a shared library.
13635 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13643 # PORTME: fill in a description of your system's C++ link characteristics
13644 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13645 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13649 # FIXME: insert proper C++ library support
13653 if test "$host_cpu" = ia64
; then
13654 # On IA64, the linker does run time linking by default, so we don't
13655 # have to do anything special.
13656 aix_use_runtimelinking
=no
13657 exp_sym_flag
='-Bexport'
13660 aix_use_runtimelinking
=no
13662 # Test if we are trying to use run time linking or normal
13663 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13664 # need to do runtime linking.
13665 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13666 for ld_flag
in $LDFLAGS; do
13669 aix_use_runtimelinking
=yes
13677 exp_sym_flag
='-bexport'
13678 no_entry_flag
='-bnoentry'
13681 # When large executables or shared objects are built, AIX ld can
13682 # have problems creating the table of contents. If linking a library
13683 # or program results in "error TOC overflow" add -mminimal-toc to
13684 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13685 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13687 archive_cmds_CXX
=''
13688 hardcode_direct_CXX
=yes
13689 hardcode_direct_absolute_CXX
=yes
13690 hardcode_libdir_separator_CXX
=':'
13691 link_all_deplibs_CXX
=yes
13692 file_list_spec_CXX
='${wl}-f,'
13694 if test "$GXX" = yes; then
13695 case $host_os in aix4.
[012]|aix4.
[012].
*)
13696 # We only want to do this on AIX 4.2 and lower, the check
13697 # below for broken collect2 doesn't work under 4.3+
13698 collect2name
=`${CC} -print-prog-name=collect2`
13699 if test -f "$collect2name" &&
13700 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13702 # We have reworked collect2
13705 # We have old collect2
13706 hardcode_direct_CXX
=unsupported
13707 # It fails to find uninstalled libraries when the uninstalled
13708 # path is not listed in the libpath. Setting hardcode_minus_L
13709 # to unsupported forces relinking
13710 hardcode_minus_L_CXX
=yes
13711 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13712 hardcode_libdir_separator_CXX
=
13715 shared_flag
='-shared'
13716 if test "$aix_use_runtimelinking" = yes; then
13717 shared_flag
="$shared_flag "'${wl}-G'
13721 if test "$host_cpu" = ia64
; then
13722 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13723 # chokes on -Wl,-G. The following line is correct:
13726 if test "$aix_use_runtimelinking" = yes; then
13727 shared_flag
='${wl}-G'
13729 shared_flag
='${wl}-bM:SRE'
13734 # It seems that -bexpall does not export symbols beginning with
13735 # underscore (_), so it is better to generate a list of symbols to
13737 always_export_symbols_CXX
=yes
13738 if test "$aix_use_runtimelinking" = yes; then
13739 # Warning - without using the other runtime loading flags (-brtl),
13740 # -berok will link without error, but may produce a broken library.
13741 allow_undefined_flag_CXX
='-berok'
13742 # Determine the default libpath from the value encoded in an empty
13744 if test x
$gcc_no_link = xyes
; then
13745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13747 { (exit 1); exit 1; }; }
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13764 rm -f conftest.
$ac_objext conftest
$ac_exeext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13766 (eval $ac_link) 2>conftest.er1
13768 grep -v '^ *+' conftest.er1
>conftest.err
13770 cat conftest.err
>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try
='test -z "$ac_cxx_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try
='test -s conftest$ac_exeext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13787 lt_aix_libpath_sed
='
13788 /Import File Strings/,/^$/ {
13794 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13795 # Check for a 64-bit object if we didn't find anything.
13796 if test -z "$aix_libpath"; then
13797 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.
$ac_ext >&5
13804 rm -f conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13808 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13810 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"
13812 if test "$host_cpu" = ia64
; then
13813 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13814 allow_undefined_flag_CXX
="-z nodefs"
13815 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"
13817 # Determine the default libpath from the value encoded in an
13818 # empty executable.
13819 if test x
$gcc_no_link = xyes
; then
13820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13822 { (exit 1); exit 1; }; }
13824 cat >conftest.
$ac_ext <<_ACEOF
13827 cat confdefs.h
>>conftest.
$ac_ext
13828 cat >>conftest.
$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13839 rm -f conftest.
$ac_objext conftest
$ac_exeext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13841 (eval $ac_link) 2>conftest.er1
13843 grep -v '^ *+' conftest.er1
>conftest.err
13845 cat conftest.err
>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); } &&
13848 { ac_try
='test -z "$ac_cxx_werror_flag"
13849 || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try
='test -s conftest$ac_exeext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13862 lt_aix_libpath_sed
='
13863 /Import File Strings/,/^$/ {
13869 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13870 # Check for a 64-bit object if we didn't find anything.
13871 if test -z "$aix_libpath"; then
13872 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.
$ac_ext >&5
13879 rm -f conftest.err conftest.
$ac_objext \
13880 conftest
$ac_exeext conftest.
$ac_ext
13881 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13883 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13884 # Warning - without using the other run time loading flags,
13885 # -berok will link without error, but may produce a broken library.
13886 no_undefined_flag_CXX
=' ${wl}-bernotok'
13887 allow_undefined_flag_CXX
=' ${wl}-berok'
13888 # Exported symbols can be pulled into shared objects from archives
13889 whole_archive_flag_spec_CXX
='$convenience'
13890 archive_cmds_need_lc_CXX
=yes
13891 # This is similar to how AIX traditionally builds its shared
13893 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'
13899 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13900 allow_undefined_flag_CXX
=unsupported
13901 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13902 # support --undefined. This deserves some investigation. FIXME
13903 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13910 case $cc_basename in
13912 # FIXME: insert proper C++ library support
13918 cygwin
* | mingw
* | pw32
*)
13919 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13920 # as there is no search path for DLLs.
13921 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13922 allow_undefined_flag_CXX
=unsupported
13923 always_export_symbols_CXX
=no
13924 enable_shared_with_static_runtimes_CXX
=yes
13926 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13927 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'
13928 # If the export-symbols file already is a .def file (1st line
13929 # is EXPORTS), use it as is; otherwise, prepend...
13930 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13931 cp $export_symbols $output_objdir/$soname.def;
13933 echo EXPORTS > $output_objdir/$soname.def;
13934 cat $export_symbols >> $output_objdir/$soname.def;
13936 $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'
13941 darwin
* | rhapsody
*)
13943 rhapsody
* | darwin1.
[012])
13944 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
13947 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13949 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13952 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
13957 archive_cmds_need_lc_CXX
=no
13958 hardcode_direct_CXX
=no
13959 hardcode_automatic_CXX
=yes
13960 hardcode_shlibpath_var_CXX
=unsupported
13961 whole_archive_flag_spec_CXX
=''
13962 link_all_deplibs_CXX
=yes
13964 if test "$GXX" = yes ; then
13965 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 lt_cv_apple_cc_single_mod
=no
13969 if test -z "${LT_MULTI_MODULE}"; then
13970 # By default we will add the -single_module flag. You can override
13971 # by either setting the environment variable LT_MULTI_MODULE
13972 # non-empty at configure time, or by adding -multi-module to the
13974 echo "int foo(void){return 1;}" > conftest.c
13975 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13976 -dynamiclib ${wl}-single_module conftest.c
13977 if test -f libconftest.dylib
; then
13978 lt_cv_apple_cc_single_mod
=yes
13979 rm libconftest.dylib
13981 rm conftest.
$ac_ext
13985 output_verbose_link_cmd
=echo
13986 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
13987 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13988 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}'
13990 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'
13991 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}'
13993 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13994 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}'
13996 case $cc_basename in
13998 output_verbose_link_cmd
=echo
13999 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'
14000 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14001 # Don't fix this by using the ld -exported_symbols_list flag,
14002 # it doesn't exist in older darwin lds
14003 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}'
14004 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}'
14014 case $cc_basename in
14016 # FIXME: insert proper C++ library support
14020 # Green Hills C++ Compiler
14021 # FIXME: insert proper C++ library support
14025 # FIXME: insert proper C++ library support
14032 # C++ shared libraries reported to be fairly broken before
14038 archive_cmds_need_lc_CXX
=no
14041 freebsd
* | dragonfly
*)
14042 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14051 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14052 hardcode_libdir_separator_CXX
=:
14053 export_dynamic_flag_spec_CXX
='${wl}-E'
14054 hardcode_direct_CXX
=yes
14055 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14056 # but as the default
14057 # location of the library.
14059 case $cc_basename in
14061 # FIXME: insert proper C++ library support
14065 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'
14066 # Commands to make compiler produce verbose output that lists
14067 # what "hidden" libraries, object files and flags are used when
14068 # linking a shared library.
14070 # There doesn't appear to be a way to prevent this compiler from
14071 # explicitly linking system object files so we need to strip them
14072 # from the output so that they don't get included in the library
14074 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'
14077 if test "$GXX" = yes; then
14078 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'
14080 # FIXME: insert proper C++ library support
14088 if test $with_gnu_ld = no
; then
14089 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14090 hardcode_libdir_separator_CXX
=:
14096 export_dynamic_flag_spec_CXX
='${wl}-E'
14102 hardcode_direct_CXX
=no
14103 hardcode_shlibpath_var_CXX
=no
14106 hardcode_direct_CXX
=yes
14107 hardcode_direct_absolute_CXX
=yes
14108 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14109 # but as the default
14110 # location of the library.
14114 case $cc_basename in
14116 # FIXME: insert proper C++ library support
14122 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14125 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14128 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14131 # Commands to make compiler produce verbose output that lists
14132 # what "hidden" libraries, object files and flags are used when
14133 # linking a shared library.
14135 # There doesn't appear to be a way to prevent this compiler from
14136 # explicitly linking system object files so we need to strip them
14137 # from the output so that they don't get included in the library
14139 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'
14142 if test "$GXX" = yes; then
14143 if test $with_gnu_ld = no
; then
14146 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14149 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 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'
14157 # FIXME: insert proper C++ library support
14165 hardcode_direct_CXX
=no
14166 hardcode_shlibpath_var_CXX
=no
14167 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14168 export_dynamic_flag_spec_CXX
='${wl}-E'
14169 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14170 # Instead, shared libraries are loaded at an image base (0x10000000 by
14171 # default) and relocated if they conflict, which is a slow very memory
14172 # consuming and fragmenting process. To avoid this, we pick a random,
14173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14174 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14175 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'
14176 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'
14179 case $cc_basename in
14182 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'
14184 # Archives containing C++ object files must be created using
14185 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14186 # necessary to make sure instantiated templates are included
14188 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14191 if test "$GXX" = yes; then
14192 if test "$with_gnu_ld" = no
; then
14193 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'
14195 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'
14198 link_all_deplibs_CXX
=yes
14201 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14202 hardcode_libdir_separator_CXX
=:
14203 inherit_rpath_CXX
=yes
14206 linux
* | k
*bsd
*-gnu)
14207 case $cc_basename in
14209 # Kuck and Associates, Inc. (KAI) C++ Compiler
14211 # KCC will only create a shared library if the output file
14212 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14213 # to its proper name (with version) after linking.
14214 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'
14215 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'
14216 # Commands to make compiler produce verbose output that lists
14217 # what "hidden" libraries, object files and flags are used when
14218 # linking a shared library.
14220 # There doesn't appear to be a way to prevent this compiler from
14221 # explicitly linking system object files so we need to strip them
14222 # from the output so that they don't get included in the library
14224 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'
14226 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14227 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14229 # Archives containing C++ object files must be created using
14230 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14231 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14236 # version 8.0 and above of icpc choke on multiply defined symbols
14237 # if we add $predep_objects and $postdep_objects, however 7.1 and
14238 # earlier do not add the objects themselves.
14239 case `$CC -V 2>&1` in
14241 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14242 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'
14244 *) # Version 8.0 or newer
14247 ia64
*) tmp_idyn
=' -i_dynamic';;
14249 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 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'
14253 archive_cmds_need_lc_CXX
=no
14254 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14255 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14256 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14259 # Portland Group C++ compiler
14262 prelink_cmds_CXX
='tpldir=Template.dir~
14264 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14265 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14266 old_archive_cmds_CXX
='tpldir=Template.dir~
14268 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14269 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14271 archive_cmds_CXX
='tpldir=Template.dir~
14273 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14274 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14275 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14277 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14278 $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'
14280 *) # Version 6 will use weak symbols
14281 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14282 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'
14286 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14287 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14288 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'
14292 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14293 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'
14295 runpath_var
=LD_RUN_PATH
14296 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14297 hardcode_libdir_separator_CXX
=:
14299 # Commands to make compiler produce verbose output that lists
14300 # what "hidden" libraries, object files and flags are used when
14301 # linking a shared library.
14303 # There doesn't appear to be a way to prevent this compiler from
14304 # explicitly linking system object files so we need to strip them
14305 # from the output so that they don't get included in the library
14307 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'
14310 case `$CC -V 2>&1 | sed 5q` in
14313 no_undefined_flag_CXX
=' -zdefs'
14314 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14315 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'
14316 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14317 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'
14318 compiler_needs_object_CXX
=yes
14320 # Not sure whether something based on
14321 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14323 output_verbose_link_cmd
='echo'
14325 # Archives containing C++ object files must be created using
14326 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14327 # necessary to make sure instantiated templates are included
14329 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14337 # FIXME: insert proper C++ library support
14342 # FIXME: insert proper C++ library support
14347 case $cc_basename in
14349 # FIXME: insert proper C++ library support
14353 # FIXME: insert proper C++ library support
14360 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14361 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14363 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14364 hardcode_direct_CXX
=yes
14365 hardcode_shlibpath_var_CXX
=no
14367 # Workaround some broken pre-1.5 toolchains
14368 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14376 # C++ shared libraries are fairly broken
14381 hardcode_direct_CXX
=yes
14382 hardcode_shlibpath_var_CXX
=no
14383 hardcode_direct_absolute_CXX
=yes
14384 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14385 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14387 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14388 export_dynamic_flag_spec_CXX
='${wl}-E'
14389 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14391 output_verbose_link_cmd
=echo
14394 osf3
* | osf4
* | osf5
*)
14395 case $cc_basename in
14397 # Kuck and Associates, Inc. (KAI) C++ Compiler
14399 # KCC will only create a shared library if the output file
14400 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14401 # to its proper name (with version) after linking.
14402 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'
14404 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14405 hardcode_libdir_separator_CXX
=:
14407 # Archives containing C++ object files must be created using
14408 # the KAI C++ compiler.
14410 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14411 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14415 # Rational C++ 2.4.1
14416 # FIXME: insert proper C++ library support
14422 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14423 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'
14424 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14427 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14428 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'
14429 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14430 echo "-hidden">> $lib.exp~
14431 $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~
14433 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14437 hardcode_libdir_separator_CXX
=:
14439 # Commands to make compiler produce verbose output that lists
14440 # what "hidden" libraries, object files and flags are used when
14441 # linking a shared library.
14443 # There doesn't appear to be a way to prevent this compiler from
14444 # explicitly linking system object files so we need to strip them
14445 # from the output so that they don't get included in the library
14447 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'
14450 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14451 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14454 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'
14457 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'
14461 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14462 hardcode_libdir_separator_CXX
=:
14464 # Commands to make compiler produce verbose output that lists
14465 # what "hidden" libraries, object files and flags are used when
14466 # linking a shared library.
14467 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14470 # FIXME: insert proper C++ library support
14478 # FIXME: insert proper C++ library support
14483 case $cc_basename in
14486 # FIXME: insert proper C++ library support
14491 # FIXME: insert proper C++ library support
14495 # FIXME: insert proper C++ library support
14502 case $cc_basename in
14504 # Sun C++ 4.2, 5.x and Centerline C++
14505 archive_cmds_need_lc_CXX
=yes
14506 no_undefined_flag_CXX
=' -zdefs'
14507 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14508 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14509 $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'
14511 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14512 hardcode_shlibpath_var_CXX
=no
14514 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14516 # The compiler driver will combine and reorder linker options,
14517 # but understands `-z linker_flag'.
14518 # Supported since Solaris 2.6 (maybe 2.5.1?)
14519 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14522 link_all_deplibs_CXX
=yes
14524 output_verbose_link_cmd
='echo'
14526 # Archives containing C++ object files must be created using
14527 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14528 # necessary to make sure instantiated templates are included
14530 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14533 # Green Hills C++ Compiler
14534 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14536 # The C++ compiler must be used to create the archive.
14537 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14540 # GNU C++ compiler with Solaris linker
14541 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14542 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14543 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14544 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14545 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14546 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14548 # Commands to make compiler produce verbose output that lists
14549 # what "hidden" libraries, object files and flags are used when
14550 # linking a shared library.
14551 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14553 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14555 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14556 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14557 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14559 # Commands to make compiler produce verbose output that lists
14560 # what "hidden" libraries, object files and flags are used when
14561 # linking a shared library.
14562 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14565 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14567 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14569 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14577 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14578 no_undefined_flag_CXX
='${wl}-z,text'
14579 archive_cmds_need_lc_CXX
=no
14580 hardcode_shlibpath_var_CXX
=no
14581 runpath_var
='LD_RUN_PATH'
14583 case $cc_basename in
14585 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14586 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14589 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14590 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14595 sysv5
* | sco3.2v5
* | sco5v6
*)
14596 # Note: We can NOT use -z defs as we might desire, because we do not
14597 # link with -lc, and that would cause any symbols used from libc to
14598 # always be unresolved, which means just about no library would
14599 # ever link correctly. If we're not using GNU ld we use -z text
14600 # though, which does catch some bad symbols but isn't as heavy-handed
14602 no_undefined_flag_CXX
='${wl}-z,text'
14603 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14604 archive_cmds_need_lc_CXX
=no
14605 hardcode_shlibpath_var_CXX
=no
14606 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14607 hardcode_libdir_separator_CXX
=':'
14608 link_all_deplibs_CXX
=yes
14609 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14610 runpath_var
='LD_RUN_PATH'
14612 case $cc_basename in
14614 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14615 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14619 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14625 case $cc_basename in
14627 # NonStop-UX NCC 3.20
14628 # FIXME: insert proper C++ library support
14632 # FIXME: insert proper C++ library support
14639 # FIXME: insert proper C++ library support
14644 # FIXME: insert proper C++ library support
14649 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14650 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14651 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14657 ## There is no encapsulation within the following macros, do not change
14658 ## the running order or otherwise move them around unless you know exactly
14659 ## what you are doing...
14660 # Dependencies to place before and after the object being linked:
14661 predep_objects_CXX
=
14662 postdep_objects_CXX
=
14665 compiler_lib_search_path_CXX
=
14667 cat > conftest.
$ac_ext <<_LT_EOF
14671 Foo (void) { a = 0; }
14677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14678 (eval $ac_compile) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; then
14682 # Parse the compiler output and extract the necessary
14683 # objects, libraries and library flags.
14685 # Sentinel used to keep track of whether or not we are before
14686 # the conftest object file.
14687 pre_test_object_deps_done
=no
14689 # The `*' in the case matches for architectures that use `case' in
14690 # $output_verbose_cmd can trigger glob expansion during the loop
14691 # eval without this substitution.
14692 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14694 for p
in `eval $output_verbose_link_cmd`; do
14698 # Some compilers place space between "-{L,R}" and the path.
14699 # Remove the space.
14700 if test $p = "-L" ||
14701 test $p = "-R"; then
14708 if test "$pre_test_object_deps_done" = no
; then
14711 # Internal compiler library paths should come after those
14712 # provided the user. The postdeps already come after the
14713 # user supplied libs so there is no need to process them.
14714 if test -z "$compiler_lib_search_path_CXX"; then
14715 compiler_lib_search_path_CXX
="${prev}${p}"
14717 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14720 # The "-l" case would never come before the object being
14721 # linked, so don't bother handling this case.
14724 if test -z "$postdeps_CXX"; then
14725 postdeps_CXX
="${prev}${p}"
14727 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14733 # This assumes that the test object file only shows up
14734 # once in the compiler output.
14735 if test "$p" = "conftest.$objext"; then
14736 pre_test_object_deps_done
=yes
14740 if test "$pre_test_object_deps_done" = no
; then
14741 if test -z "$predep_objects_CXX"; then
14742 predep_objects_CXX
="$p"
14744 predep_objects_CXX
="$predep_objects_CXX $p"
14747 if test -z "$postdep_objects_CXX"; then
14748 postdep_objects_CXX
="$p"
14750 postdep_objects_CXX
="$postdep_objects_CXX $p"
14755 *) ;; # Ignore the rest.
14763 echo "libtool.m4: error: problem compiling CXX test program"
14766 $RM -f confest.
$objext
14768 # PORTME: override above test on systems where it is broken
14771 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14772 # hack all around it, let's just trust "g++" to DTRT.
14773 predep_objects_CXX
=
14774 postdep_objects_CXX
=
14779 case `$CC -V 2>&1 | sed 5q` in
14783 # The more standards-conforming stlport4 library is
14784 # incompatible with the Cstd library. Avoid specifying
14785 # it if it's in CXXFLAGS. Ignore libCrun as
14786 # -library=stlport4 depends on it.
14787 case " $CXX $CXXFLAGS " in
14788 *" -library=stlport4 "*)
14789 solaris_use_stlport4
=yes
14793 if test "$solaris_use_stlport4" != yes; then
14794 postdeps_CXX
='-library=Cstd -library=Crun'
14801 case $cc_basename in
14803 # The more standards-conforming stlport4 library is
14804 # incompatible with the Cstd library. Avoid specifying
14805 # it if it's in CXXFLAGS. Ignore libCrun as
14806 # -library=stlport4 depends on it.
14807 case " $CXX $CXXFLAGS " in
14808 *" -library=stlport4 "*)
14809 solaris_use_stlport4
=yes
14813 # Adding this requires a known-good setup of shared libraries for
14814 # Sun compiler versions before 5.6, else PIC objects from an old
14815 # archive will be linked into the output, leading to subtle bugs.
14816 if test "$solaris_use_stlport4" != yes; then
14817 postdeps_CXX
='-library=Cstd -library=Crun'
14825 case " $postdeps_CXX " in
14826 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14854 lt_prog_compiler_wl_CXX
=
14855 lt_prog_compiler_pic_CXX
=
14856 lt_prog_compiler_static_CXX
=
14858 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14859 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14861 # C++ specific cases for pic, static, wl, etc.
14862 if test "$GXX" = yes; then
14863 lt_prog_compiler_wl_CXX
='-Wl,'
14864 lt_prog_compiler_static_CXX
='-static'
14868 # All AIX code is PIC.
14869 if test "$host_cpu" = ia64
; then
14870 # AIX 5 now supports IA64 processor
14871 lt_prog_compiler_static_CXX
='-Bstatic'
14875 if test "$host_cpu" = m68k
; then
14876 # FIXME: we need at least 68020 code to build shared libraries, but
14877 # adding the `-m68020' flag to GCC prevents building anything better,
14879 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14882 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14883 # PIC is the default for these OSes.
14885 mingw
* | cygwin
* | os2
* | pw32
*)
14886 # This hack is so that the source file can tell whether it is being
14887 # built for inclusion in a dll (and should export symbols for example).
14888 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14889 # (--disable-auto-import) libraries
14890 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14892 darwin
* | rhapsody
*)
14893 # PIC is the default on this platform
14894 # Common symbols not allowed in MH_DYLIB files
14895 lt_prog_compiler_pic_CXX
='-fno-common'
14898 # DJGPP does not support shared libraries at all
14899 lt_prog_compiler_pic_CXX
=
14902 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14903 # Instead, we relocate shared libraries at runtime.
14906 if test -d /usr
/nec
; then
14907 lt_prog_compiler_pic_CXX
=-Kconform_pic
14911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14912 # not for PA HP-UX.
14917 lt_prog_compiler_pic_CXX
='-fPIC'
14922 # QNX uses GNU C++, but need to define -shared option too, otherwise
14923 # it will coredump.
14924 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14927 lt_prog_compiler_pic_CXX
='-fPIC'
14933 # All AIX code is PIC.
14934 if test "$host_cpu" = ia64
; then
14935 # AIX 5 now supports IA64 processor
14936 lt_prog_compiler_static_CXX
='-Bstatic'
14938 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14942 case $cc_basename in
14944 # Green Hills C++ Compiler
14945 # _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"
14950 # PIC is the default on this platform
14951 # Common symbols not allowed in MH_DYLIB files
14952 case $cc_basename in
14954 lt_prog_compiler_pic_CXX
='-qnocommon'
14955 lt_prog_compiler_wl_CXX
='-Wl,'
14960 case $cc_basename in
14962 lt_prog_compiler_pic_CXX
='-KPIC'
14965 # Green Hills C++ Compiler
14966 lt_prog_compiler_pic_CXX
='-pic'
14972 freebsd
* | dragonfly
*)
14973 # FreeBSD uses GNU C++
14975 hpux9
* | hpux10
* | hpux11
*)
14976 case $cc_basename in
14978 lt_prog_compiler_wl_CXX
='-Wl,'
14979 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14980 if test "$host_cpu" != ia64
; then
14981 lt_prog_compiler_pic_CXX
='+Z'
14985 lt_prog_compiler_wl_CXX
='-Wl,'
14986 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14992 lt_prog_compiler_pic_CXX
='+Z'
15001 # This is c89, which is MS Visual C++ (no shared libs)
15002 # Anyone wants to do a port?
15004 irix5
* | irix6
* | nonstopux
*)
15005 case $cc_basename in
15007 lt_prog_compiler_wl_CXX
='-Wl,'
15008 lt_prog_compiler_static_CXX
='-non_shared'
15009 # CC pic flag -KPIC is the default.
15015 linux
* | k
*bsd
*-gnu)
15016 case $cc_basename in
15019 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15020 lt_prog_compiler_pic_CXX
='-fPIC'
15024 lt_prog_compiler_wl_CXX
='-Wl,'
15025 lt_prog_compiler_pic_CXX
='-KPIC'
15026 lt_prog_compiler_static_CXX
='-static'
15029 # Portland Group C++ compiler
15030 lt_prog_compiler_wl_CXX
='-Wl,'
15031 lt_prog_compiler_pic_CXX
='-fpic'
15032 lt_prog_compiler_static_CXX
='-Bstatic'
15036 # Make sure the PIC flag is empty. It appears that all Alpha
15037 # Linux and Compaq Tru64 Unix objects are PIC.
15038 lt_prog_compiler_pic_CXX
=
15039 lt_prog_compiler_static_CXX
='-non_shared'
15042 case `$CC -V 2>&1 | sed 5q` in
15045 lt_prog_compiler_pic_CXX
='-KPIC'
15046 lt_prog_compiler_static_CXX
='-Bstatic'
15047 lt_prog_compiler_wl_CXX
='-Qoption ld '
15058 case $cc_basename in
15060 lt_prog_compiler_pic_CXX
='-W c,exportall'
15069 # QNX uses GNU C++, but need to define -shared option too, otherwise
15070 # it will coredump.
15071 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15073 osf3
* | osf4
* | osf5
*)
15074 case $cc_basename in
15076 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15079 # Rational C++ 2.4.1
15080 lt_prog_compiler_pic_CXX
='-pic'
15083 # Digital/Compaq C++
15084 lt_prog_compiler_wl_CXX
='-Wl,'
15085 # Make sure the PIC flag is empty. It appears that all Alpha
15086 # Linux and Compaq Tru64 Unix objects are PIC.
15087 lt_prog_compiler_pic_CXX
=
15088 lt_prog_compiler_static_CXX
='-non_shared'
15097 case $cc_basename in
15099 # Sun C++ 4.2, 5.x and Centerline C++
15100 lt_prog_compiler_pic_CXX
='-KPIC'
15101 lt_prog_compiler_static_CXX
='-Bstatic'
15102 lt_prog_compiler_wl_CXX
='-Qoption ld '
15105 # Green Hills C++ Compiler
15106 lt_prog_compiler_pic_CXX
='-PIC'
15113 case $cc_basename in
15116 lt_prog_compiler_pic_CXX
='-pic'
15117 lt_prog_compiler_static_CXX
='-Bstatic'
15121 lt_prog_compiler_pic_CXX
='-pic'
15127 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15128 case $cc_basename in
15130 lt_prog_compiler_wl_CXX
='-Wl,'
15131 lt_prog_compiler_pic_CXX
='-KPIC'
15132 lt_prog_compiler_static_CXX
='-Bstatic'
15137 case $cc_basename in
15139 # NonStop-UX NCC 3.20
15140 lt_prog_compiler_pic_CXX
='-KPIC'
15149 lt_prog_compiler_can_build_shared_CXX
=no
15155 # For platforms which do not support PIC, -DPIC is meaningless:
15157 lt_prog_compiler_pic_CXX
=
15160 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15163 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15164 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15169 # Check to make sure the PIC flag actually works.
15171 if test -n "$lt_prog_compiler_pic_CXX"; then
15172 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15173 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15174 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15177 lt_prog_compiler_pic_works_CXX
=no
15178 ac_outfile
=conftest.
$ac_objext
15179 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15180 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15181 # Insert the option either (1) after the last *FLAGS variable, or
15182 # (2) before a word containing "conftest.", or (3) at the end.
15183 # Note that $ac_compile itself does not contain backslashes and begins
15184 # with a dollar sign (not a hyphen), so the echo should work correctly.
15185 # The option is referenced via a variable to avoid confusing sed.
15186 lt_compile
=`echo "$ac_compile" | $SED \
15187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15189 -e 's:$: $lt_compiler_flag:'`
15190 (eval echo "\"\$as_me:15190: $lt_compile\"" >&5)
15191 (eval "$lt_compile" 2>conftest.err
)
15193 cat conftest.err
>&5
15194 echo "$as_me:15194: \$? = $ac_status" >&5
15195 if (exit $ac_status) && test -s "$ac_outfile"; then
15196 # The compiler can only warn and ignore the option if not recognized
15197 # So say no if there are warnings other than the usual output.
15198 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15199 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15200 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15201 lt_prog_compiler_pic_works_CXX
=yes
15207 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15208 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15210 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
15211 case $lt_prog_compiler_pic_CXX in
15213 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15216 lt_prog_compiler_pic_CXX
=
15217 lt_prog_compiler_can_build_shared_CXX
=no
15225 # Check to make sure the static flag actually works.
15227 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15228 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15229 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15230 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15233 lt_prog_compiler_static_works_CXX
=no
15234 save_LDFLAGS
="$LDFLAGS"
15235 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15236 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15237 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15238 # The linker can only warn and ignore the option if not recognized
15239 # So say no if there are warnings
15240 if test -s conftest.err
; then
15241 # Append any errors to the config.log.
15242 cat conftest.err
1>&5
15243 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15244 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15245 if diff conftest.exp conftest.er2
>/dev
/null
; then
15246 lt_prog_compiler_static_works_CXX
=yes
15249 lt_prog_compiler_static_works_CXX
=yes
15253 LDFLAGS
="$save_LDFLAGS"
15256 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15257 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15259 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
15262 lt_prog_compiler_static_CXX
=
15268 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15269 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15270 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 lt_cv_prog_compiler_c_o_CXX
=no
15274 $RM -r conftest
2>/dev
/null
15278 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15280 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15281 # Insert the option either (1) after the last *FLAGS variable, or
15282 # (2) before a word containing "conftest.", or (3) at the end.
15283 # Note that $ac_compile itself does not contain backslashes and begins
15284 # with a dollar sign (not a hyphen), so the echo should work correctly.
15285 lt_compile
=`echo "$ac_compile" | $SED \
15286 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15288 -e 's:$: $lt_compiler_flag:'`
15289 (eval echo "\"\$as_me:15289: $lt_compile\"" >&5)
15290 (eval "$lt_compile" 2>out
/conftest.err
)
15292 cat out
/conftest.err
>&5
15293 echo "$as_me:15293: \$? = $ac_status" >&5
15294 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15296 # The compiler can only warn and ignore the option if not recognized
15297 # So say no if there are warnings
15298 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15299 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15300 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15301 lt_cv_prog_compiler_c_o_CXX
=yes
15306 # SGI C++ compiler will create directory out/ii_files/ for
15307 # template instantiation
15308 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15309 $RM out
/* && rmdir out
15315 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15316 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15320 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15321 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15322 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 lt_cv_prog_compiler_c_o_CXX
=no
15326 $RM -r conftest
2>/dev
/null
15330 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15332 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15333 # Insert the option either (1) after the last *FLAGS variable, or
15334 # (2) before a word containing "conftest.", or (3) at the end.
15335 # Note that $ac_compile itself does not contain backslashes and begins
15336 # with a dollar sign (not a hyphen), so the echo should work correctly.
15337 lt_compile
=`echo "$ac_compile" | $SED \
15338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15340 -e 's:$: $lt_compiler_flag:'`
15341 (eval echo "\"\$as_me:15341: $lt_compile\"" >&5)
15342 (eval "$lt_compile" 2>out
/conftest.err
)
15344 cat out
/conftest.err
>&5
15345 echo "$as_me:15345: \$? = $ac_status" >&5
15346 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15348 # The compiler can only warn and ignore the option if not recognized
15349 # So say no if there are warnings
15350 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15351 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15352 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15353 lt_cv_prog_compiler_c_o_CXX
=yes
15358 # SGI C++ compiler will create directory out/ii_files/ for
15359 # template instantiation
15360 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15361 $RM out
/* && rmdir out
15367 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15368 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15373 hard_links
="nottested"
15374 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15375 # do not overwrite the value of need_locks provided by the user
15376 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15377 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15380 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15382 ln conftest.a conftest.b
2>&5 || hard_links
=no
15383 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15384 echo "$as_me:$LINENO: result: $hard_links" >&5
15385 echo "${ECHO_T}$hard_links" >&6
15386 if test "$hard_links" = no
; then
15387 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15388 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15397 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15398 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15400 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15403 # If we're using GNU nm, then we don't want the "-C" option.
15404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15405 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15406 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'
15408 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'
15412 export_symbols_cmds_CXX
="$ltdll_cmds"
15415 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'
15418 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15422 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15423 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15424 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15426 with_gnu_ld_CXX
=$with_gnu_ld
15434 # Do we need to explicitly link libc?
15436 case "x$archive_cmds_need_lc_CXX" in
15438 # Assume -lc should be added
15439 archive_cmds_need_lc_CXX
=yes
15441 if test "$enable_shared" = yes && test "$GCC" = yes; then
15442 case $archive_cmds_CXX in
15444 # FIXME: we may have to deal with multi-command sequences.
15447 # Test whether the compiler implicitly links with -lc since on some
15448 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15449 # to ld, don't add -lc before -lgcc.
15450 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15451 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15453 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456 (eval $ac_compile) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } 2>conftest.err
; then
15462 libobjs
=conftest.
$ac_objext
15464 wl
=$lt_prog_compiler_wl_CXX
15465 pic_flag
=$lt_prog_compiler_pic_CXX
15471 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15472 allow_undefined_flag_CXX
=
15473 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15474 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }
15479 archive_cmds_need_lc_CXX
=no
15481 archive_cmds_need_lc_CXX
=yes
15483 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15485 cat conftest.err
1>&5
15488 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15489 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15559 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15560 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15562 library_names_spec
=
15563 libname_spec
='lib$name'
15567 postuninstall_cmds
=
15571 shlibpath_overrides_runpath
=unknown
15573 dynamic_linker
="$host_os ld.so"
15574 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15575 need_lib_prefix
=unknown
15576 hardcode_into_libs
=no
15578 # when you set need_version to no, make sure it does not cause -set_version
15579 # flags to be left without arguments
15580 need_version
=unknown
15585 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15586 shlibpath_var
=LIBPATH
15588 # AIX 3 has no versioning support, so we append a major version to the name.
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15596 hardcode_into_libs
=yes
15597 if test "$host_cpu" = ia64
; then
15598 # AIX 5 supports IA64
15599 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15600 shlibpath_var
=LD_LIBRARY_PATH
15602 # With GCC up to 2.95.x, collect2 would create an import file
15603 # for dependence libraries. The import file would start with
15604 # the line `#! .'. This would cause the generated library to
15605 # depend on `.', always an invalid library. This was fixed in
15606 # development snapshots of GCC prior to 3.0.
15608 aix4 | aix4.
[01] | aix4.
[01].
*)
15609 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15611 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15614 can_build_shared
=no
15618 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15619 # soname into executable. Probably we can add versioning support to
15620 # collect2, so additional links can be useful in future.
15621 if test "$aix_use_runtimelinking" = yes; then
15622 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15623 # instead of lib<name>.a to let people know that these are not
15624 # typical AIX shared libraries.
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15627 # We preserve .a as extension for shared libraries through AIX4.2
15628 # and later when we are not doing run time linking.
15629 library_names_spec
='${libname}${release}.a $libname.a'
15630 soname_spec
='${libname}${release}${shared_ext}$major'
15632 shlibpath_var
=LIBPATH
15637 if test "$host_cpu" = m68k
; then
15638 library_names_spec
='$libname.ixlibrary $libname.a'
15639 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15640 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'
15647 library_names_spec
='${libname}${shared_ext}'
15648 dynamic_linker
="$host_os ld.so"
15649 shlibpath_var
=LIBRARY_PATH
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 soname_spec
='${libname}${release}${shared_ext}$major'
15657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15658 shlibpath_var
=LD_LIBRARY_PATH
15659 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15660 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15661 # the default ld.so.conf also contains /usr/contrib/lib and
15662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15663 # libtool to hard-code these into programs
15666 cygwin
* | mingw
* | pw32
*)
15667 version_type
=windows
15672 case $withGCC,$host_os in
15673 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15674 library_names_spec
='$libname.dll.a'
15675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15676 postinstall_cmds
='base_file=`basename \${file}`~
15677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15678 dldir=$destdir/`dirname \$dlpath`~
15679 test -d \$dldir || mkdir -p \$dldir~
15680 $install_prog $dir/$dlname \$dldir/$dlname~
15681 chmod a+x \$dldir/$dlname~
15682 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15683 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15685 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15686 dlpath=$dir/\$dldll~
15688 shlibpath_overrides_runpath
=yes
15692 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15693 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15694 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15697 # MinGW DLLs use traditional 'lib' prefix
15698 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15699 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15700 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15701 # It is most probably a Windows format PATH printed by
15702 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15703 # path with ; separators, and with drive letters. We can handle the
15704 # drive letters (cygwin fileutils understands them), so leave them,
15705 # especially as we might pass files found there to a mingw objdump,
15706 # which wouldn't understand a cygwinified path. Ahh.
15707 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15709 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15713 # pw32 DLLs use 'pw' prefix rather than 'lib'
15714 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15720 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15723 dynamic_linker
='Win32 ld.exe'
15724 # FIXME: first we should search . and the directory the executable is in
15728 darwin
* | rhapsody
*)
15729 dynamic_linker
="$host_os dyld"
15730 version_type
=darwin
15733 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15734 soname_spec
='${libname}${release}${major}$shared_ext'
15735 shlibpath_overrides_runpath
=yes
15736 shlibpath_var
=DYLD_LIBRARY_PATH
15737 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15739 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15747 soname_spec
='${libname}${release}${shared_ext}$major'
15748 shlibpath_var
=LD_LIBRARY_PATH
15755 freebsd
* | dragonfly
*)
15756 # DragonFly does not have aout. When/if they implement a new
15757 # versioning mechanism, adjust this.
15758 if test -x /usr
/bin
/objformat
; then
15759 objformat
=`/usr/bin/objformat`
15762 freebsd
[123]*) objformat
=aout
;;
15763 *) objformat
=elf
;;
15766 version_type
=freebsd-
$objformat
15767 case $version_type in
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15778 shlibpath_var
=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath
=yes
15783 freebsd3.
[01]* | freebsdelf3.
[01]*)
15784 shlibpath_overrides_runpath
=yes
15785 hardcode_into_libs
=yes
15787 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15788 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15789 shlibpath_overrides_runpath
=no
15790 hardcode_into_libs
=yes
15792 *) # from 4.6 on, and DragonFly
15793 shlibpath_overrides_runpath
=yes
15794 hardcode_into_libs
=yes
15803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15804 soname_spec
='${libname}${release}${shared_ext}$major'
15805 shlibpath_var
=LD_LIBRARY_PATH
15806 hardcode_into_libs
=yes
15809 hpux9
* | hpux10
* | hpux11
*)
15810 # Give a soname corresponding to the major version so that dld.sl refuses to
15811 # link against other versions.
15818 hardcode_into_libs
=yes
15819 dynamic_linker
="$host_os dld.so"
15820 shlibpath_var
=LD_LIBRARY_PATH
15821 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823 soname_spec
='${libname}${release}${shared_ext}$major'
15824 if test "X$HPUX_IA64_MODE" = X32
; then
15825 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15827 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15829 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15833 hardcode_into_libs
=yes
15834 dynamic_linker
="$host_os dld.sl"
15835 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15836 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838 soname_spec
='${libname}${release}${shared_ext}$major'
15839 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15840 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15844 dynamic_linker
="$host_os dld.sl"
15845 shlibpath_var
=SHLIB_PATH
15846 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15848 soname_spec
='${libname}${release}${shared_ext}$major'
15851 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15852 postinstall_cmds
='chmod 555 $lib'
15859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15860 soname_spec
='${libname}${release}${shared_ext}$major'
15861 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15862 shlibpath_var
=LD_LIBRARY_PATH
15863 shlibpath_overrides_runpath
=no
15864 hardcode_into_libs
=yes
15867 irix5
* | irix6
* | nonstopux
*)
15869 nonstopux
*) version_type
=nonstopux
;;
15871 if test "$lt_cv_prog_gnu_ld" = yes; then
15879 soname_spec
='${libname}${release}${shared_ext}$major'
15880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15882 irix5
* | nonstopux
*)
15883 libsuff
= shlibsuff
=
15886 case $LD in # libtool.m4 will add one of these switches to LD
15887 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15888 libsuff
= shlibsuff
= libmagic
=32-bit;;
15889 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15890 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15891 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15892 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15893 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15897 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15898 shlibpath_overrides_runpath
=no
15899 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15900 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15901 hardcode_into_libs
=yes
15904 # No shared lib support for Linux oldld, aout, or coff.
15905 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15909 # This must be Linux ELF.
15910 linux
* | k
*bsd
*-gnu)
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 soname_spec
='${libname}${release}${shared_ext}$major'
15916 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15917 shlibpath_var
=LD_LIBRARY_PATH
15918 shlibpath_overrides_runpath
=no
15919 # Some binutils ld are patched to set DT_RUNPATH
15920 save_LDFLAGS
=$LDFLAGS
15921 save_libdir
=$libdir
15922 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15923 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15924 if test x
$gcc_no_link = xyes
; then
15925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15927 { (exit 1); exit 1; }; }
15929 cat >conftest.
$ac_ext <<_ACEOF
15932 cat confdefs.h
>>conftest.
$ac_ext
15933 cat >>conftest.
$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15944 rm -f conftest.
$ac_objext conftest
$ac_exeext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>conftest.er1
15948 grep -v '^ *+' conftest.er1
>conftest.err
15950 cat conftest.err
>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try
='test -z "$ac_cxx_werror_flag"
15954 || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try
='test -s conftest$ac_exeext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
15967 shlibpath_overrides_runpath
=yes
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15975 rm -f conftest.err conftest.
$ac_objext \
15976 conftest
$ac_exeext conftest.
$ac_ext
15977 LDFLAGS
=$save_LDFLAGS
15978 libdir
=$save_libdir
15980 # This implies no fast_install, which is unacceptable.
15981 # Some rework will be needed to allow for fast_install
15982 # before this can be enabled.
15983 hardcode_into_libs
=yes
15985 # Append ld.so.conf contents to the search path
15986 if test -f /etc
/ld.so.conf
; then
15987 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' ' '`
15988 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15991 # We used to test for /lib/ld.so.1 and disable shared libraries on
15992 # powerpc, because MkLinux only supported shared libraries with the
15993 # GNU dynamic linker. Since this was broken with cross compilers,
15994 # most powerpc-linux boxes support dynamic linking these days and
15995 # people can always --disable-shared, the test was removed, and we
15996 # assume the GNU/Linux dynamic linker is in use.
15997 dynamic_linker
='GNU/Linux ld.so'
16004 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16006 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16007 dynamic_linker
='NetBSD (a.out) ld.so'
16009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16010 soname_spec
='${libname}${release}${shared_ext}$major'
16011 dynamic_linker
='NetBSD ld.elf_so'
16013 shlibpath_var
=LD_LIBRARY_PATH
16014 shlibpath_overrides_runpath
=yes
16015 hardcode_into_libs
=yes
16020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16021 shlibpath_var
=LD_LIBRARY_PATH
16022 shlibpath_overrides_runpath
=yes
16029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16030 soname_spec
='${libname}${release}${shared_ext}$major'
16031 shlibpath_var
=LD_LIBRARY_PATH
16032 shlibpath_overrides_runpath
=no
16033 hardcode_into_libs
=yes
16034 dynamic_linker
='ldqnx.so'
16039 sys_lib_dlsearch_path_spec
="/usr/lib"
16041 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16043 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16044 *) need_version
=no
;;
16046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16048 shlibpath_var
=LD_LIBRARY_PATH
16049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16051 openbsd2.
[89] | openbsd2.
[89].
*)
16052 shlibpath_overrides_runpath
=no
16055 shlibpath_overrides_runpath
=yes
16059 shlibpath_overrides_runpath
=yes
16064 libname_spec
='$name'
16067 library_names_spec
='$libname${shared_ext} $libname.a'
16068 dynamic_linker
='OS/2 ld.exe'
16069 shlibpath_var
=LIBPATH
16072 osf3
* | osf4
* | osf5
*)
16076 soname_spec
='${libname}${release}${shared_ext}$major'
16077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16078 shlibpath_var
=LD_LIBRARY_PATH
16079 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16080 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16092 soname_spec
='${libname}${release}${shared_ext}$major'
16093 shlibpath_var
=LD_LIBRARY_PATH
16094 shlibpath_overrides_runpath
=yes
16095 hardcode_into_libs
=yes
16096 # ldd complains unless libraries are executable
16097 postinstall_cmds
='chmod +x $lib'
16102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16103 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16104 shlibpath_var
=LD_LIBRARY_PATH
16105 shlibpath_overrides_runpath
=yes
16106 if test "$with_gnu_ld" = yes; then
16114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16115 soname_spec
='${libname}${release}${shared_ext}$major'
16116 shlibpath_var
=LD_LIBRARY_PATH
16117 case $host_vendor in
16119 shlibpath_overrides_runpath
=no
16121 runpath_var
=LD_RUN_PATH
16129 shlibpath_overrides_runpath
=no
16130 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16136 if test -d /usr
/nec
;then
16138 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16139 soname_spec
='$libname${shared_ext}.$major'
16140 shlibpath_var
=LD_LIBRARY_PATH
16144 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16145 version_type
=freebsd-elf
16148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16149 soname_spec
='${libname}${release}${shared_ext}$major'
16150 shlibpath_var
=LD_LIBRARY_PATH
16151 shlibpath_overrides_runpath
=yes
16152 hardcode_into_libs
=yes
16153 if test "$with_gnu_ld" = yes; then
16154 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16156 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16159 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16163 sys_lib_dlsearch_path_spec
='/usr/lib'
16167 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16171 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16172 shlibpath_var
=LD_LIBRARY_PATH
16173 shlibpath_overrides_runpath
=no
16174 hardcode_into_libs
=yes
16179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16180 soname_spec
='${libname}${release}${shared_ext}$major'
16181 shlibpath_var
=LD_LIBRARY_PATH
16188 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16189 echo "${ECHO_T}$dynamic_linker" >&6
16190 test "$dynamic_linker" = no
&& can_build_shared
=no
16192 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16193 if test "$GCC" = yes; then
16194 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16232 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16233 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16234 hardcode_action_CXX
=
16235 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16236 test -n "$runpath_var_CXX" ||
16237 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16239 # We can hardcode non-existent directories.
16240 if test "$hardcode_direct_CXX" != no
&&
16241 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16242 # have to relink, otherwise we might link with an installed library
16243 # when we should be linking with a yet-to-be-installed one
16244 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16245 test "$hardcode_minus_L_CXX" != no
; then
16246 # Linking always hardcodes the temporary library directory.
16247 hardcode_action_CXX
=relink
16249 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16250 hardcode_action_CXX
=immediate
16253 # We cannot hardcode anything, or else we can only hardcode existing
16255 hardcode_action_CXX
=unsupported
16257 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16258 echo "${ECHO_T}$hardcode_action_CXX" >&6
16260 if test "$hardcode_action_CXX" = relink ||
16261 test "$inherit_rpath_CXX" = yes; then
16262 # Fast installation is not supported
16263 enable_fast_install
=no
16264 elif test "$shlibpath_overrides_runpath" = yes ||
16265 test "$enable_shared" = no
; then
16266 # Fast installation is not necessary
16267 enable_fast_install
=needless
16276 fi # test -n "$compiler"
16282 with_gnu_ld
=$lt_save_with_gnu_ld
16283 lt_cv_path_LDCXX
=$lt_cv_path_LD
16284 lt_cv_path_LD
=$lt_save_path_LD
16285 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16286 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16287 fi # test "$_lt_caught_CXX_error" != yes
16290 ac_cpp
='$CPP $CPPFLAGS'
16291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16297 # Handle -Werror default case.
16298 if test "$ENABLE_WERROR" = default
; then
16301 if test "$GCC" = yes; then
16308 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
16309 # Extract the first word of "perl", so it can be a program name with args.
16310 set dummy perl
; ac_word
=$2
16311 echo "$as_me:$LINENO: checking for $ac_word" >&5
16312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16313 if test "${ac_cv_path_PERL+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16318 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16322 for as_dir
in $PATH
16325 test -z "$as_dir" && as_dir
=.
16326 for ac_exec_ext
in '' $ac_executable_extensions; do
16327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16328 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16338 PERL
=$ac_cv_path_PERL
16340 if test -n "$PERL"; then
16341 echo "$as_me:$LINENO: result: $PERL" >&5
16342 echo "${ECHO_T}$PERL" >&6
16344 echo "$as_me:$LINENO: result: no" >&5
16345 echo "${ECHO_T}no" >&6
16350 ac_config_files
="$ac_config_files lib/mkcollections.pl"
16352 ac_config_commands
="$ac_config_commands mkcollections.pl"
16356 if test "x${COMPILE_JNI}" = xyes
; then
16360 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16361 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16362 if test "${cv_c_gcc_attribute_supported+set}" = set; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 cat >conftest.
$ac_ext <<_ACEOF
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16376 extern int testfunction(int x) __attribute__((,,))
16381 rm -f conftest.
$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>conftest.er1
16385 grep -v '^ *+' conftest.er1
>conftest.err
16387 cat conftest.err
>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); } &&
16390 { ac_try
='test -z "$ac_c_werror_flag"
16391 || test ! -s conftest.err'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; } &&
16397 { ac_try
='test -s conftest.$ac_objext'
16398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399 (eval $ac_try) 2>&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; }; then
16403 cv_c_gcc_attribute_supported
=yes
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.
$ac_ext >&5
16408 cv_c_gcc_attribute_supported
=no
16410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16414 if test "x$cv_c_gcc_attribute_supported" = xyes
; then
16416 echo "$as_me:$LINENO: result: yes" >&5
16417 echo "${ECHO_T}yes" >&6
16419 cat >>confdefs.h
<<\_ACEOF
16420 #define HAVE_GNUC25_ATTRIB
16426 echo "$as_me:$LINENO: result: no" >&5
16427 echo "${ECHO_T}no" >&6
16440 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16441 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16442 if test "${cv_c_gcc_attribute_unused+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 cat >conftest.
$ac_ext <<_ACEOF
16449 cat confdefs.h
>>conftest.
$ac_ext
16450 cat >>conftest.
$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16456 extern int testfunction(int x) __attribute__((unused))
16461 rm -f conftest.
$ac_objext
16462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16463 (eval $ac_compile) 2>conftest.er1
16465 grep -v '^ *+' conftest.er1
>conftest.err
16467 cat conftest.err
>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try
='test -z "$ac_c_werror_flag"
16471 || test ! -s conftest.err'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; } &&
16477 { ac_try
='test -s conftest.$ac_objext'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16483 cv_c_gcc_attribute_unused
=yes
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.
$ac_ext >&5
16488 cv_c_gcc_attribute_unused
=no
16490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16494 if test "x$cv_c_gcc_attribute_unused" = xyes
; then
16496 echo "$as_me:$LINENO: result: yes" >&5
16497 echo "${ECHO_T}yes" >&6
16499 cat >>confdefs.h
<<\_ACEOF
16500 #define HAVE_GNUC25_UNUSED
16506 echo "$as_me:$LINENO: result: no" >&5
16507 echo "${ECHO_T}no" >&6
16516 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16517 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16518 if test "${ac_cv_header_stdc+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 cat >conftest.
$ac_ext <<_ACEOF
16524 cat confdefs.h
>>conftest.
$ac_ext
16525 cat >>conftest.
$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <stdlib.h>
16528 #include <stdarg.h>
16529 #include <string.h>
16540 rm -f conftest.
$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>conftest.er1
16544 grep -v '^ *+' conftest.er1
>conftest.err
16546 cat conftest.err
>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try
='test -z "$ac_c_werror_flag"
16550 || test ! -s conftest.err'
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); }; } &&
16556 { ac_try
='test -s conftest.$ac_objext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_header_stdc
=yes
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.
$ac_ext >&5
16567 ac_cv_header_stdc
=no
16569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16571 if test $ac_cv_header_stdc = yes; then
16572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #include <string.h>
16582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16583 $EGREP "memchr" >/dev
/null
2>&1; then
16586 ac_cv_header_stdc
=no
16592 if test $ac_cv_header_stdc = yes; then
16593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16594 cat >conftest.
$ac_ext <<_ACEOF
16597 cat confdefs.h
>>conftest.
$ac_ext
16598 cat >>conftest.
$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600 #include <stdlib.h>
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "free" >/dev
/null
2>&1; then
16607 ac_cv_header_stdc
=no
16613 if test $ac_cv_header_stdc = yes; then
16614 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16615 if test "$cross_compiling" = yes; then
16618 cat >conftest.
$ac_ext <<_ACEOF
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16625 #if ((' ' & 0x0FF) == 0x020)
16626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16629 # define ISLOWER(c) \
16630 (('a' <= (c) && (c) <= 'i') \
16631 || ('j' <= (c) && (c) <= 'r') \
16632 || ('s' <= (c) && (c) <= 'z'))
16633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16641 for (i = 0; i < 256; i++)
16642 if (XOR (islower (i), ISLOWER (i))
16643 || toupper (i) != TOUPPER (i))
16648 rm -f conftest
$ac_exeext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16650 (eval $ac_link) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16661 echo "$as_me: program exited with status $ac_status" >&5
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16665 ( exit $ac_status )
16666 ac_cv_header_stdc
=no
16668 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16672 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16673 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16674 if test $ac_cv_header_stdc = yes; then
16676 cat >>confdefs.h
<<\_ACEOF
16677 #define STDC_HEADERS 1
16683 echo "$as_me:$LINENO: checking size of void *" >&5
16684 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16685 if test "${ac_cv_sizeof_void_p+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include "confdefs.h"
16696 #include <sys/types.h>
16702 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16707 rm -f conftest.
$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>conftest.er1
16711 grep -v '^ *+' conftest.er1
>conftest.err
16713 cat conftest.err
>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } &&
16716 { ac_try
='test -z "$ac_c_werror_flag"
16717 || test ! -s conftest.err'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try
='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sizeof_void_p
=$ac_size
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.
$ac_ext >&5
16735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16736 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
16741 if test x
$ac_cv_sizeof_void_p = x
; then
16742 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16743 echo "$as_me: error: cannot determine a size for void *" >&2;}
16744 { (exit 1); exit 1; }; }
16746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16747 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16749 cat >>confdefs.h
<<_ACEOF
16750 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16755 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16756 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16757 if test "${ac_cv_c_bigendian+set}" = set; then
16758 echo $ECHO_N "(cached) $ECHO_C" >&6
16760 ac_cv_c_bigendian
=unknown
16761 # See if sys/param.h defines the BYTE_ORDER macro.
16762 cat >conftest.
$ac_ext <<_ACEOF
16765 cat confdefs.h
>>conftest.
$ac_ext
16766 cat >>conftest.
$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 #include <sys/types.h>
16769 #include <sys/param.h>
16774 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16775 bogus endian macros
16781 rm -f conftest.
$ac_objext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16783 (eval $ac_compile) 2>conftest.er1
16785 grep -v '^ *+' conftest.er1
>conftest.err
16787 cat conftest.err
>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } &&
16790 { ac_try
='test -z "$ac_c_werror_flag"
16791 || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try
='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 # It does; now see whether it defined to BIG_ENDIAN or not.
16804 cat >conftest.
$ac_ext <<_ACEOF
16807 cat confdefs.h
>>conftest.
$ac_ext
16808 cat >>conftest.
$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16810 #include <sys/types.h>
16811 #include <sys/param.h>
16816 #if BYTE_ORDER != BIG_ENDIAN
16823 rm -f conftest.
$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try
='test -z "$ac_c_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try
='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_cv_c_bigendian
=yes
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 ac_cv_c_bigendian
=no
16852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 if test $ac_cv_c_bigendian = unknown
; then
16860 if test "$cross_compiling" = yes; then
16861 echo $ac_n "cross-compiling... " 2>&6
16863 cat >conftest.
$ac_ext <<_ACEOF
16866 cat confdefs.h
>>conftest.
$ac_ext
16867 cat >>conftest.
$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16870 /* Are we little or big endian? From Harbison&Steele. */
16874 char c[sizeof (long)];
16877 exit (u.c[sizeof (long) - 1] == 1);
16880 rm -f conftest
$ac_exeext
16881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16882 (eval $ac_link) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_c_bigendian
=no
16893 echo "$as_me: program exited with status $ac_status" >&5
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.
$ac_ext >&5
16897 ( exit $ac_status )
16898 ac_cv_c_bigendian
=yes
16900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16904 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16905 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16906 if test $ac_cv_c_bigendian = unknown
; then
16907 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
16908 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
16910 cat >conftest.c
<<EOF
16911 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16912 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16913 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16914 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16915 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16916 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16917 int main() { _ascii (); _ebcdic (); return 0; }
16919 if test -f conftest.c
; then
16920 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
16921 if test `grep -l BIGenDianSyS conftest.o` ; then
16922 echo $ac_n ' big endian probe OK, ' 1>&6
16923 ac_cv_c_bigendian
=yes
16925 if test `grep -l LiTTleEnDian conftest.o` ; then
16926 echo $ac_n ' little endian probe OK, ' 1>&6
16927 if test $ac_cv_c_bigendian = yes ; then
16928 ac_cv_c_bigendian
=unknown
;
16930 ac_cv_c_bigendian
=no
16933 echo $ac_n 'guessing bigendian ... ' >&6
16936 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16937 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16939 if test $ac_cv_c_bigendian = yes; then
16941 cat >>confdefs.h
<<\_ACEOF
16942 #define WORDS_BIGENDIAN 1
16946 cat >>confdefs.h
<<\_ACEOF
16947 #define HOST_WORDS_BIG_ENDIAN 1
16955 cat >>confdefs.h
<<_ACEOF
16956 #define BYTEORDER $BYTEORDER
16959 if test $ac_cv_c_bigendian = unknown
; then
16960 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
16961 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
16962 { (exit 1); exit 1; }; }
16985 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
16987 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
16994 sys
/event.h sys
/epoll.h \
16997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16999 echo "$as_me:$LINENO: checking for $ac_header" >&5
17000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17007 # Is the header compilable?
17008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17010 cat >conftest.
$ac_ext <<_ACEOF
17013 cat confdefs.h
>>conftest.
$ac_ext
17014 cat >>conftest.
$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 $ac_includes_default
17017 #include <$ac_header>
17019 rm -f conftest.
$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17023 grep -v '^ *+' conftest.er1
>conftest.err
17025 cat conftest.err
>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try
='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try
='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 ac_header_compiler
=yes
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17046 ac_header_compiler
=no
17048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17050 echo "${ECHO_T}$ac_header_compiler" >&6
17052 # Is the header present?
17053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17055 cat >conftest.
$ac_ext <<_ACEOF
17058 cat confdefs.h
>>conftest.
$ac_ext
17059 cat >>conftest.
$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 #include <$ac_header>
17063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17066 grep -v '^ *+' conftest.er1
>conftest.err
17068 cat conftest.err
>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } >/dev
/null
; then
17071 if test -s conftest.err
; then
17072 ac_cpp_err
=$ac_c_preproc_warn_flag
17073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17080 if test -z "$ac_cpp_err"; then
17081 ac_header_preproc
=yes
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.
$ac_ext >&5
17086 ac_header_preproc
=no
17088 rm -f conftest.err conftest.
$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17090 echo "${ECHO_T}$ac_header_preproc" >&6
17092 # So? What about this header?
17093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17099 ac_header_preproc
=yes
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17116 ## -------------------------------- ##
17117 ## Report this to classpath@gnu.org ##
17118 ## -------------------------------- ##
17121 sed "s/^/$as_me: WARNING: /" >&2
17124 echo "$as_me:$LINENO: checking for $ac_header" >&5
17125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 eval "$as_ac_Header=\$ac_header_preproc"
17131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17136 cat >>confdefs.h
<<_ACEOF
17137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17145 cat >conftest.
$ac_ext <<_ACEOF
17148 cat confdefs.h
>>conftest.
$ac_ext
17149 cat >>conftest.
$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 #include <stdint.h>
17154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17155 $EGREP "uint32_t" >/dev
/null
2>&1; then
17157 cat >>confdefs.h
<<\_ACEOF
17158 #define HAVE_INT32_DEFINED 1
17164 cat >conftest.
$ac_ext <<_ACEOF
17167 cat confdefs.h
>>conftest.
$ac_ext
17168 cat >>conftest.
$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #include <inttypes.h>
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "uint32_t" >/dev
/null
2>&1; then
17176 cat >>confdefs.h
<<\_ACEOF
17177 #define HAVE_INT32_DEFINED 1
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <sys/types.h>
17192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17193 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17195 cat >>confdefs.h
<<\_ACEOF
17196 #define HAVE_BSD_INT32_DEFINED 1
17202 cat >conftest.
$ac_ext <<_ACEOF
17205 cat confdefs.h
>>conftest.
$ac_ext
17206 cat >>conftest.
$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208 #include <sys/config.h>
17211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17212 $EGREP "u_int32_t" >/dev
/null
2>&1; then
17214 cat >>confdefs.h
<<\_ACEOF
17215 #define HAVE_BSD_INT32_DEFINED 1
17277 for ac_func
in ftruncate fsync
select \
17278 gethostname socket strerror fork pipe execve open close \
17279 lseek fstat
read readv
write writev htonl memset htons connect \
17280 getsockname getpeername
bind listen accept \
17281 recvfrom send sendto setsockopt getsockopt
time mktime \
17282 gethostbyname_r localtime_r \
17285 mmap munmap mincore msync madvise getpagesize sysconf \
17287 inet_aton inet_addr inet_pton \
17288 getifaddrs kqueue kevent epoll_create \
17289 readdir_r getloadavg
17291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17292 echo "$as_me:$LINENO: checking for $ac_func" >&5
17293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17294 if eval "test \"\${$as_ac_var+set}\" = set"; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 if test x
$gcc_no_link = xyes
; then
17298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17300 { (exit 1); exit 1; }; }
17302 cat >conftest.
$ac_ext <<_ACEOF
17305 cat confdefs.h
>>conftest.
$ac_ext
17306 cat >>conftest.
$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17310 #define $ac_func innocuous_$ac_func
17312 /* System header to define __stub macros and hopefully few prototypes,
17313 which can conflict with char $ac_func (); below.
17314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17315 <limits.h> exists even on freestanding compilers. */
17318 # include <limits.h>
17320 # include <assert.h>
17325 /* Override any gcc2 internal prototype to avoid an error. */
17330 /* We use char because int might match the return type of a gcc2
17331 builtin and then its argument prototype would still apply. */
17333 /* The GNU C library defines this for functions which it implements
17334 to always fail with ENOSYS. Some functions are actually named
17335 something starting with __ and the normal name is an alias. */
17336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17339 char (*f) () = $ac_func;
17348 return f != $ac_func;
17353 rm -f conftest.
$ac_objext conftest
$ac_exeext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17355 (eval $ac_link) 2>conftest.er1
17357 grep -v '^ *+' conftest.er1
>conftest.err
17359 cat conftest.err
>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try
='test -z "$ac_c_werror_flag"
17363 || test ! -s conftest.err'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; } &&
17369 { ac_try
='test -s conftest$ac_exeext'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; }; then
17375 eval "$as_ac_var=yes"
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.
$ac_ext >&5
17380 eval "$as_ac_var=no"
17382 rm -f conftest.err conftest.
$ac_objext \
17383 conftest
$ac_exeext conftest.
$ac_ext
17385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17387 if test `eval echo '${'$as_ac_var'}'` = yes; then
17388 cat >>confdefs.h
<<_ACEOF
17389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17397 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17398 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17399 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 ac_check_lib_save_LIBS
=$LIBS
17403 LIBS
="-lmagic $LIBS"
17404 if test x
$gcc_no_link = xyes
; then
17405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17407 { (exit 1); exit 1; }; }
17409 cat >conftest.
$ac_ext <<_ACEOF
17412 cat confdefs.h
>>conftest.
$ac_ext
17413 cat >>conftest.
$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17416 /* Override any gcc2 internal prototype to avoid an error. */
17420 /* We use char because int might match the return type of a gcc2
17421 builtin and then its argument prototype would still apply. */
17422 char magic_open ();
17431 rm -f conftest.
$ac_objext conftest
$ac_exeext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17433 (eval $ac_link) 2>conftest.er1
17435 grep -v '^ *+' conftest.er1
>conftest.err
17437 cat conftest.err
>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try
='test -z "$ac_c_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try
='test -s conftest$ac_exeext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 ac_cv_lib_magic_magic_open
=yes
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.
$ac_ext >&5
17458 ac_cv_lib_magic_magic_open
=no
17460 rm -f conftest.err conftest.
$ac_objext \
17461 conftest
$ac_exeext conftest.
$ac_ext
17462 LIBS
=$ac_check_lib_save_LIBS
17464 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17465 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17466 if test $ac_cv_lib_magic_magic_open = yes; then
17472 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17473 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 #include <netinet/in.h>
17484 struct sockaddr_in6 addr6;
17489 rm -f conftest.
$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17493 grep -v '^ *+' conftest.er1
>conftest.err
17495 cat conftest.err
>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try
='test -z "$ac_c_werror_flag"
17499 || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try
='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17512 cat >>confdefs.h
<<\_ACEOF
17513 #define HAVE_INET6 1
17516 echo "$as_me:$LINENO: result: yes" >&5
17517 echo "${ECHO_T}yes" >&6
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.
$ac_ext >&5
17522 echo "$as_me:$LINENO: result: no" >&5
17523 echo "${ECHO_T}no" >&6
17525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17527 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17528 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17529 if test "${ac_cv_header_time+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 cat >conftest.
$ac_ext <<_ACEOF
17535 cat confdefs.h
>>conftest.
$ac_ext
17536 cat >>conftest.
$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <sys/types.h>
17539 #include <sys/time.h>
17545 if ((struct tm *) 0)
17551 rm -f conftest.
$ac_objext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17553 (eval $ac_compile) 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try
='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try
='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_cv_header_time
=yes
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.
$ac_ext >&5
17578 ac_cv_header_time
=no
17580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17582 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17583 echo "${ECHO_T}$ac_cv_header_time" >&6
17584 if test $ac_cv_header_time = yes; then
17586 cat >>confdefs.h
<<\_ACEOF
17587 #define TIME_WITH_SYS_TIME 1
17592 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17593 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17594 if test "${ac_cv_struct_tm+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 cat >conftest.
$ac_ext <<_ACEOF
17600 cat confdefs.h
>>conftest.
$ac_ext
17601 cat >>conftest.
$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17609 struct tm *tp; tp->tm_sec;
17614 rm -f conftest.
$ac_objext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17616 (eval $ac_compile) 2>conftest.er1
17618 grep -v '^ *+' conftest.er1
>conftest.err
17620 cat conftest.err
>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } &&
17623 { ac_try
='test -z "$ac_c_werror_flag"
17624 || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try
='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_cv_struct_tm
=time.h
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 ac_cv_struct_tm
=sys
/time.h
17643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17645 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17646 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17647 if test $ac_cv_struct_tm = sys
/time.h
; then
17649 cat >>confdefs.h
<<\_ACEOF
17650 #define TM_IN_SYS_TIME 1
17655 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17656 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17657 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 #include <sys/types.h>
17667 #include <$ac_cv_struct_tm>
17673 static struct tm ac_aggr;
17674 if (ac_aggr.tm_zone)
17680 rm -f conftest.
$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17684 grep -v '^ *+' conftest.er1
>conftest.err
17686 cat conftest.err
>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try
='test -z "$ac_c_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try
='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17702 ac_cv_member_struct_tm_tm_zone
=yes
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.
$ac_ext >&5
17707 cat >conftest.
$ac_ext <<_ACEOF
17710 cat confdefs.h
>>conftest.
$ac_ext
17711 cat >>conftest.
$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 #include <sys/types.h>
17714 #include <$ac_cv_struct_tm>
17720 static struct tm ac_aggr;
17721 if (sizeof ac_aggr.tm_zone)
17727 rm -f conftest.
$ac_objext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>conftest.er1
17731 grep -v '^ *+' conftest.er1
>conftest.err
17733 cat conftest.err
>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try
='test -z "$ac_c_werror_flag"
17737 || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try
='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 ac_cv_member_struct_tm_tm_zone
=yes
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.
$ac_ext >&5
17754 ac_cv_member_struct_tm_tm_zone
=no
17756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17760 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
17761 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
17762 if test $ac_cv_member_struct_tm_tm_zone = yes; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define HAVE_STRUCT_TM_TM_ZONE 1
17771 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17773 cat >>confdefs.h
<<\_ACEOF
17774 #define HAVE_TM_ZONE 1
17778 echo "$as_me:$LINENO: checking for tzname" >&5
17779 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
17780 if test "${ac_cv_var_tzname+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 if test x
$gcc_no_link = xyes
; then
17784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17786 { (exit 1); exit 1; }; }
17788 cat >conftest.
$ac_ext <<_ACEOF
17791 cat confdefs.h
>>conftest.
$ac_ext
17792 cat >>conftest.
$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17795 #ifndef tzname /* For SGI. */
17796 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
17807 rm -f conftest.
$ac_objext conftest
$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try
='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest$ac_exeext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_var_tzname
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_cv_var_tzname
=no
17836 rm -f conftest.err conftest.
$ac_objext \
17837 conftest
$ac_exeext conftest.
$ac_ext
17839 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
17840 echo "${ECHO_T}$ac_cv_var_tzname" >&6
17841 if test $ac_cv_var_tzname = yes; then
17843 cat >>confdefs.h
<<\_ACEOF
17844 #define HAVE_TZNAME 1
17851 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
17852 echo $ECHO_N "checking for tm_gmtoff in struct tm... $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 struct tm tim; tim.tm_gmtoff = 0;
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 STRUCT_TM_HAS_GMTOFF 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
17903 echo "$as_me:$LINENO: checking for global timezone variable" >&5
17904 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17915 void i(){long z2 = 2*timezone;}
17920 rm -f conftest.
$ac_objext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17922 (eval $ac_compile) 2>conftest.er1
17924 grep -v '^ *+' conftest.er1
>conftest.err
17926 cat conftest.err
>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try
='test -z "$ac_c_werror_flag"
17930 || test ! -s conftest.err'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try
='test -s conftest.$ac_objext'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; }; then
17943 cat >>confdefs.h
<<\_ACEOF
17944 #define HAVE_TIMEZONE 1
17947 echo "$as_me:$LINENO: result: yes" >&5
17948 echo "${ECHO_T}yes" >&6
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.
$ac_ext >&5
17953 echo "$as_me:$LINENO: result: no" >&5
17954 echo "${ECHO_T}no" >&6
17955 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
17956 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17967 long z2 = _timezone;
17972 rm -f conftest.
$ac_objext
17973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17974 (eval $ac_compile) 2>conftest.er1
17976 grep -v '^ *+' conftest.er1
>conftest.err
17978 cat conftest.err
>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } &&
17981 { ac_try
='test -z "$ac_c_werror_flag"
17982 || test ! -s conftest.err'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; } &&
17988 { ac_try
='test -s conftest.$ac_objext'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; }; then
17995 cat >>confdefs.h
<<\_ACEOF
17996 #define HAVE_UNDERSCORE_TIMEZONE 1
17999 echo "$as_me:$LINENO: result: yes" >&5
18000 echo "${ECHO_T}yes" >&6
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 echo "$as_me:$LINENO: result: no" >&5
18006 echo "${ECHO_T}no" >&6
18008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18014 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18015 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18016 if test "${ac_cv_c_const+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 cat >conftest.
$ac_ext <<_ACEOF
18022 cat confdefs.h
>>conftest.
$ac_ext
18023 cat >>conftest.
$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18029 /* FIXME: Include the comments suggested by Paul. */
18030 #ifndef __cplusplus
18031 /* Ultrix mips cc rejects this. */
18032 typedef int charset[2];
18034 /* SunOS 4.1.1 cc rejects this. */
18035 char const *const *ccp;
18037 /* NEC SVR4.0.2 mips cc rejects this. */
18038 struct point {int x, y;};
18039 static struct point const zero = {0,0};
18040 /* AIX XL C 1.02.0.0 rejects this.
18041 It does not let you subtract one const X* pointer from another in
18042 an arm of an if-expression whose if-part is not a constant
18044 const char *g = "string";
18045 ccp = &g + (g ? g-g : 0);
18046 /* HPUX 7.0 cc rejects these. */
18049 ccp = (char const *const *) p;
18050 { /* SCO 3.2v4 cc rejects this. */
18052 char const *s = 0 ? (char *) 0 : (char const *) 0;
18056 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18057 int x[] = {25, 17};
18058 const int *foo = &x[0];
18061 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18062 typedef const int *iptr;
18066 { /* AIX XL C 1.02.0.0 rejects this saying
18067 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18068 struct s { int j; const int *ap[3]; };
18069 struct s *b; b->j = 5;
18071 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18072 const int foo = 10;
18080 rm -f conftest.
$ac_objext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18082 (eval $ac_compile) 2>conftest.er1
18084 grep -v '^ *+' conftest.er1
>conftest.err
18086 cat conftest.err
>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try
='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try
='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.
$ac_ext >&5
18109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18111 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18112 echo "${ECHO_T}$ac_cv_c_const" >&6
18113 if test $ac_cv_c_const = no
; then
18115 cat >>confdefs.h
<<\_ACEOF
18121 echo "$as_me:$LINENO: checking for inline" >&5
18122 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18123 if test "${ac_cv_c_inline+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 for ac_kw
in inline __inline__ __inline
; do
18128 cat >conftest.
$ac_ext <<_ACEOF
18131 cat confdefs.h
>>conftest.
$ac_ext
18132 cat >>conftest.
$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134 #ifndef __cplusplus
18136 static $ac_kw foo_t static_foo () {return 0; }
18137 $ac_kw foo_t foo () {return 0; }
18141 rm -f conftest.
$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try
='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18163 ac_cv_c_inline
=$ac_kw; break
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.
$ac_ext >&5
18169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18173 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18174 echo "${ECHO_T}$ac_cv_c_inline" >&6
18177 case $ac_cv_c_inline in
18180 case $ac_cv_c_inline in
18182 *) ac_val
=$ac_cv_c_inline;;
18184 cat >>confdefs.h
<<_ACEOF
18185 #ifndef __cplusplus
18186 #define inline $ac_val
18192 echo "$as_me:$LINENO: checking for __attribute__" >&5
18193 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18194 if test "${ac_cv_c_attribute+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 void foo(void) __attribute__ ((__noreturn__));
18207 rm -f conftest.
$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18211 grep -v '^ *+' conftest.er1
>conftest.err
18213 cat conftest.err
>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try
='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try
='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_cv_c_attribute
=yes
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.
$ac_ext >&5
18234 ac_cv_c_attribute
=no
18237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18240 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18241 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18244 case $ac_cv_c_attribute in
18247 cat >>confdefs.h
<<_ACEOF
18248 #define __attribute__(x) /* nothing */
18256 ac_cpp
='$CPP $CPPFLAGS'
18257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18261 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
18262 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
18264 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18269 ################################################################
18271 ac_cv_func_which_gethostbyname_r
=unknown
18274 # ONE ARGUMENT (sanity check)
18277 # This should fail, as there is no variant of gethostbyname_r() that takes
18278 # a single argument. If it actually compiles, then we can assume that
18279 # netdb.h is not declaring the function, and the compiler is thereby
18280 # assuming an implicit prototype. In which case, we're out of luck.
18282 cat >conftest.
$ac_ext <<_ACEOF
18285 cat confdefs.h
>>conftest.
$ac_ext
18286 cat >>conftest.
$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18293 char *name = "www.gnu.org";
18294 (void)gethostbyname_r(name) /* ; */
18300 rm -f conftest.
$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302 (eval $ac_compile) 2>conftest.er1
18304 grep -v '^ *+' conftest.er1
>conftest.err
18306 cat conftest.err
>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
18309 { ac_try
='test -z "$ac_c_werror_flag"
18310 || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try
='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_cv_func_which_gethostbyname_r
=no
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.
$ac_ext >&5
18328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18335 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18337 cat >conftest.
$ac_ext <<_ACEOF
18340 cat confdefs.h
>>conftest.
$ac_ext
18341 cat >>conftest.
$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18348 char *name = "www.gnu.org";
18349 struct hostent ret, *retp;
18353 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
18359 rm -f conftest.
$ac_objext
18360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18361 (eval $ac_compile) 2>conftest.er1
18363 grep -v '^ *+' conftest.er1
>conftest.err
18365 cat conftest.err
>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } &&
18368 { ac_try
='test -z "$ac_c_werror_flag"
18369 || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try
='test -s conftest.$ac_objext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_cv_func_which_gethostbyname_r
=six
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.
$ac_ext >&5
18387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18396 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18398 cat >conftest.
$ac_ext <<_ACEOF
18401 cat confdefs.h
>>conftest.
$ac_ext
18402 cat >>conftest.
$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18409 char *name = "www.gnu.org";
18410 struct hostent ret;
18414 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
18420 rm -f conftest.
$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_func_which_gethostbyname_r
=five
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.
$ac_ext >&5
18448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18454 # (e.g. AIX, HP-UX, Tru64)
18457 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18459 cat >conftest.
$ac_ext <<_ACEOF
18462 cat confdefs.h
>>conftest.
$ac_ext
18463 cat >>conftest.
$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18470 char *name = "www.gnu.org";
18471 struct hostent ret;
18472 struct hostent_data data;
18473 (void)gethostbyname_r(name, &ret, &data) /* ; */
18479 rm -f conftest.
$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18483 grep -v '^ *+' conftest.er1
>conftest.err
18485 cat conftest.err
>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try
='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try
='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_func_which_gethostbyname_r
=three
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.
$ac_ext >&5
18507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18511 ################################################################
18516 case "$ac_cv_func_which_gethostbyname_r" in
18518 echo "$as_me:$LINENO: result: three" >&5
18519 echo "${ECHO_T}three" >&6
18521 cat >>confdefs.h
<<\_ACEOF
18522 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
18528 echo "$as_me:$LINENO: result: five" >&5
18529 echo "${ECHO_T}five" >&6
18531 cat >>confdefs.h
<<\_ACEOF
18532 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
18538 echo "$as_me:$LINENO: result: six" >&5
18539 echo "${ECHO_T}six" >&6
18541 cat >>confdefs.h
<<\_ACEOF
18542 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
18548 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
18549 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
18553 echo "$as_me:$LINENO: result: can't tell" >&5
18554 echo "${ECHO_T}can't tell" >&6
18558 { { echo "$as_me:$LINENO: error: internal error" >&5
18559 echo "$as_me: error: internal error" >&2;}
18560 { (exit 1); exit 1; }; }
18565 ac_cpp
='$CPP $CPPFLAGS'
18566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18574 if test "X$prefix" = "XNONE"; then
18575 acl_final_prefix
="$ac_default_prefix"
18577 acl_final_prefix
="$prefix"
18579 if test "X$exec_prefix" = "XNONE"; then
18580 acl_final_exec_prefix
='${prefix}'
18582 acl_final_exec_prefix
="$exec_prefix"
18584 acl_save_prefix
="$prefix"
18585 prefix
="$acl_final_prefix"
18586 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
18587 prefix
="$acl_save_prefix"
18590 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18591 if test "${with_gnu_ld+set}" = set; then
18592 withval
="$with_gnu_ld"
18593 test "$withval" = no || with_gnu_ld
=yes
18597 # Prepare PATH_SEPARATOR.
18598 # The user is always right.
18599 if test "${PATH_SEPARATOR+set}" != set; then
18600 echo "#! /bin/sh" >conf$$.sh
18601 echo "exit 0" >>conf$$.sh
18603 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18611 if test "$GCC" = yes; then
18612 # Check if gcc -print-prog-name=ld gives a path.
18613 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18614 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18617 # gcc leaves a trailing carriage return which upsets mingw
18618 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18620 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18623 # Accept absolute paths.
18624 [\\/]* |
[A-Za-z
]:[\\/]*)
18625 re_direlt
='/[^/][^/]*/\.\./'
18626 # Canonicalize the path of ld
18627 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
18628 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
18629 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
18631 test -z "$LD" && LD
="$ac_prog"
18634 # If it fails, then pretend we aren't using GCC.
18638 # If it is relative, then search for the first ld in PATH.
18639 with_gnu_ld
=unknown
18642 elif test "$with_gnu_ld" = yes; then
18643 echo "$as_me:$LINENO: checking for GNU ld" >&5
18644 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18646 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18647 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18649 if test "${acl_cv_path_LD+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 if test -z "$LD"; then
18653 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18654 for ac_dir
in $PATH; do
18655 test -z "$ac_dir" && ac_dir
=.
18656 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18657 acl_cv_path_LD
="$ac_dir/$ac_prog"
18658 # Check to see if the program is GNU ld. I'd rather use --version,
18659 # but apparently some GNU ld's only accept -v.
18660 # Break only if it was the GNU/non-GNU ld that we prefer.
18661 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
18662 test "$with_gnu_ld" != no
&& break
18664 test "$with_gnu_ld" != yes && break
18670 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
18674 LD
="$acl_cv_path_LD"
18675 if test -n "$LD"; then
18676 echo "$as_me:$LINENO: result: $LD" >&5
18677 echo "${ECHO_T}$LD" >&6
18679 echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6
18682 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18683 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18684 { (exit 1); exit 1; }; }
18685 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18686 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18687 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18691 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
18692 acl_cv_prog_gnu_ld
=yes
18694 acl_cv_prog_gnu_ld
=no
18697 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18698 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18699 with_gnu_ld
=$acl_cv_prog_gnu_ld
18703 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18704 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18705 if test "${acl_cv_rpath+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
18710 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18712 rm -f .
/conftest.sh
18716 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18717 echo "${ECHO_T}$acl_cv_rpath" >&6
18719 libext
="$acl_cv_libext"
18720 shlibext
="$acl_cv_shlibext"
18721 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
18722 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
18723 hardcode_direct
="$acl_cv_hardcode_direct"
18724 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
18725 # Check whether --enable-rpath or --disable-rpath was given.
18726 if test "${enable_rpath+set}" = set; then
18727 enableval
="$enable_rpath"
18741 acl_save_prefix
="$prefix"
18742 prefix
="$acl_final_prefix"
18743 acl_save_exec_prefix
="$exec_prefix"
18744 exec_prefix
="$acl_final_exec_prefix"
18746 eval additional_includedir
=\"$includedir\"
18747 eval additional_libdir
=\"$libdir\"
18749 exec_prefix
="$acl_save_exec_prefix"
18750 prefix
="$acl_save_prefix"
18753 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
18754 if test "${with_libiconv_prefix+set}" = set; then
18755 withval
="$with_libiconv_prefix"
18757 if test "X$withval" = "Xno"; then
18760 if test "X$withval" = "X"; then
18762 acl_save_prefix
="$prefix"
18763 prefix
="$acl_final_prefix"
18764 acl_save_exec_prefix
="$exec_prefix"
18765 exec_prefix
="$acl_final_exec_prefix"
18767 eval additional_includedir
=\"$includedir\"
18768 eval additional_libdir
=\"$libdir\"
18770 exec_prefix
="$acl_save_exec_prefix"
18771 prefix
="$acl_save_prefix"
18774 additional_includedir
="$withval/include"
18775 additional_libdir
="$withval/lib"
18785 names_already_handled
=
18786 names_next_round
='iconv '
18787 while test -n "$names_next_round"; do
18788 names_this_round
="$names_next_round"
18790 for name
in $names_this_round; do
18792 for n
in $names_already_handled; do
18793 if test "$n" = "$name"; then
18794 already_handled
=yes
18798 if test -z "$already_handled"; then
18799 names_already_handled
="$names_already_handled $name"
18800 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18801 eval value
=\"\
$HAVE_LIB$uppername\"
18802 if test -n "$value"; then
18803 if test "$value" = yes; then
18804 eval value
=\"\
$LIB$uppername\"
18805 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
18806 eval value
=\"\
$LTLIB$uppername\"
18807 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
18816 if test $use_additional = yes; then
18817 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18818 found_dir
="$additional_libdir"
18819 found_so
="$additional_libdir/lib$name.$shlibext"
18820 if test -f "$additional_libdir/lib$name.la"; then
18821 found_la
="$additional_libdir/lib$name.la"
18824 if test -f "$additional_libdir/lib$name.$libext"; then
18825 found_dir
="$additional_libdir"
18826 found_a
="$additional_libdir/lib$name.$libext"
18827 if test -f "$additional_libdir/lib$name.la"; then
18828 found_la
="$additional_libdir/lib$name.la"
18833 if test "X$found_dir" = "X"; then
18834 for x
in $LDFLAGS $LTLIBICONV; do
18836 acl_save_prefix
="$prefix"
18837 prefix
="$acl_final_prefix"
18838 acl_save_exec_prefix
="$exec_prefix"
18839 exec_prefix
="$acl_final_exec_prefix"
18841 exec_prefix
="$acl_save_exec_prefix"
18842 prefix
="$acl_save_prefix"
18846 dir
=`echo "X$x" | sed -e 's/^X-L//'`
18847 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18849 found_so
="$dir/lib$name.$shlibext"
18850 if test -f "$dir/lib$name.la"; then
18851 found_la
="$dir/lib$name.la"
18854 if test -f "$dir/lib$name.$libext"; then
18856 found_a
="$dir/lib$name.$libext"
18857 if test -f "$dir/lib$name.la"; then
18858 found_la
="$dir/lib$name.la"
18864 if test "X$found_dir" != "X"; then
18869 if test "X$found_dir" != "X"; then
18870 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18871 if test "X$found_so" != "X"; then
18872 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
18873 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18876 for x
in $ltrpathdirs; do
18877 if test "X$x" = "X$found_dir"; then
18882 if test -z "$haveit"; then
18883 ltrpathdirs
="$ltrpathdirs $found_dir"
18885 if test "$hardcode_direct" = yes; then
18886 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18888 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
18889 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18891 for x
in $rpathdirs; do
18892 if test "X$x" = "X$found_dir"; then
18897 if test -z "$haveit"; then
18898 rpathdirs
="$rpathdirs $found_dir"
18902 for x
in $LDFLAGS $LIBICONV; do
18904 acl_save_prefix
="$prefix"
18905 prefix
="$acl_final_prefix"
18906 acl_save_exec_prefix
="$exec_prefix"
18907 exec_prefix
="$acl_final_exec_prefix"
18909 exec_prefix
="$acl_save_exec_prefix"
18910 prefix
="$acl_save_prefix"
18912 if test "X$x" = "X-L$found_dir"; then
18917 if test -z "$haveit"; then
18918 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18920 if test "$hardcode_minus_L" != no
; then
18921 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
18923 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
18929 if test "X$found_a" != "X"; then
18930 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
18932 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18935 additional_includedir
=
18936 case "$found_dir" in
18938 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18939 additional_includedir
="$basedir/include"
18942 if test "X$additional_includedir" != "X"; then
18943 if test "X$additional_includedir" != "X/usr/include"; then
18945 if test "X$additional_includedir" = "X/usr/local/include"; then
18946 if test -n "$GCC"; then
18948 linux
*) haveit
=yes;;
18952 if test -z "$haveit"; then
18953 for x
in $CPPFLAGS $INCICONV; do
18955 acl_save_prefix
="$prefix"
18956 prefix
="$acl_final_prefix"
18957 acl_save_exec_prefix
="$exec_prefix"
18958 exec_prefix
="$acl_final_exec_prefix"
18960 exec_prefix
="$acl_save_exec_prefix"
18961 prefix
="$acl_save_prefix"
18963 if test "X$x" = "X-I$additional_includedir"; then
18968 if test -z "$haveit"; then
18969 if test -d "$additional_includedir"; then
18970 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18976 if test -n "$found_la"; then
18977 save_libdir
="$libdir"
18978 case "$found_la" in
18979 */* |
*\\*) .
"$found_la" ;;
18980 *) .
"./$found_la" ;;
18982 libdir
="$save_libdir"
18983 for dep
in $dependency_libs; do
18986 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
18987 if test "X$additional_libdir" != "X/usr/lib"; then
18989 if test "X$additional_libdir" = "X/usr/local/lib"; then
18990 if test -n "$GCC"; then
18992 linux
*) haveit
=yes;;
18996 if test -z "$haveit"; then
18998 for x
in $LDFLAGS $LIBICONV; do
19000 acl_save_prefix
="$prefix"
19001 prefix
="$acl_final_prefix"
19002 acl_save_exec_prefix
="$exec_prefix"
19003 exec_prefix
="$acl_final_exec_prefix"
19005 exec_prefix
="$acl_save_exec_prefix"
19006 prefix
="$acl_save_prefix"
19008 if test "X$x" = "X-L$additional_libdir"; then
19013 if test -z "$haveit"; then
19014 if test -d "$additional_libdir"; then
19015 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19019 for x
in $LDFLAGS $LTLIBICONV; do
19021 acl_save_prefix
="$prefix"
19022 prefix
="$acl_final_prefix"
19023 acl_save_exec_prefix
="$exec_prefix"
19024 exec_prefix
="$acl_final_exec_prefix"
19026 exec_prefix
="$acl_save_exec_prefix"
19027 prefix
="$acl_save_prefix"
19029 if test "X$x" = "X-L$additional_libdir"; then
19034 if test -z "$haveit"; then
19035 if test -d "$additional_libdir"; then
19036 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19043 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
19044 if test "$enable_rpath" != no
; then
19046 for x
in $rpathdirs; do
19047 if test "X$x" = "X$dir"; then
19052 if test -z "$haveit"; then
19053 rpathdirs
="$rpathdirs $dir"
19056 for x
in $ltrpathdirs; do
19057 if test "X$x" = "X$dir"; then
19062 if test -z "$haveit"; then
19063 ltrpathdirs
="$ltrpathdirs $dir"
19068 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19071 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19074 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
19075 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19081 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
19082 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19088 if test "X$rpathdirs" != "X"; then
19089 if test -n "$hardcode_libdir_separator"; then
19091 for found_dir
in $rpathdirs; do
19092 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19094 acl_save_libdir
="$libdir"
19096 eval flag
=\"$hardcode_libdir_flag_spec\"
19097 libdir
="$acl_save_libdir"
19098 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19100 for found_dir
in $rpathdirs; do
19101 acl_save_libdir
="$libdir"
19102 libdir
="$found_dir"
19103 eval flag
=\"$hardcode_libdir_flag_spec\"
19104 libdir
="$acl_save_libdir"
19105 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
19109 if test "X$ltrpathdirs" != "X"; then
19110 for found_dir
in $ltrpathdirs; do
19111 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19121 am_save_CPPFLAGS
="$CPPFLAGS"
19123 for element
in $INCICONV; do
19125 for x
in $CPPFLAGS; do
19127 acl_save_prefix
="$prefix"
19128 prefix
="$acl_final_prefix"
19129 acl_save_exec_prefix
="$exec_prefix"
19130 exec_prefix
="$acl_final_exec_prefix"
19132 exec_prefix
="$acl_save_exec_prefix"
19133 prefix
="$acl_save_prefix"
19135 if test "X$x" = "X$element"; then
19140 if test -z "$haveit"; then
19141 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19146 echo "$as_me:$LINENO: checking for iconv" >&5
19147 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
19148 if test "${am_cv_func_iconv+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 am_cv_func_iconv
="no, consider installing GNU libiconv"
19154 if test x
$gcc_no_link = xyes
; then
19155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19157 { (exit 1); exit 1; }; }
19159 cat >conftest.
$ac_ext <<_ACEOF
19162 cat confdefs.h
>>conftest.
$ac_ext
19163 cat >>conftest.
$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <stdlib.h>
19170 iconv_t cd = iconv_open("","");
19171 iconv(cd,NULL,NULL,NULL,NULL);
19177 rm -f conftest.
$ac_objext conftest
$ac_exeext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19179 (eval $ac_link) 2>conftest.er1
19181 grep -v '^ *+' conftest.er1
>conftest.err
19183 cat conftest.err
>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try
='test -z "$ac_c_werror_flag"
19187 || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try
='test -s conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 am_cv_func_iconv
=yes
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.
$ac_ext >&5
19205 rm -f conftest.err conftest.
$ac_objext \
19206 conftest
$ac_exeext conftest.
$ac_ext
19207 if test "$am_cv_func_iconv" != yes; then
19208 am_save_LIBS
="$LIBS"
19209 LIBS
="$LIBS $LIBICONV"
19210 if test x
$gcc_no_link = xyes
; then
19211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19213 { (exit 1); exit 1; }; }
19215 cat >conftest.
$ac_ext <<_ACEOF
19218 cat confdefs.h
>>conftest.
$ac_ext
19219 cat >>conftest.
$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 #include <stdlib.h>
19226 iconv_t cd = iconv_open("","");
19227 iconv(cd,NULL,NULL,NULL,NULL);
19233 rm -f conftest.
$ac_objext conftest
$ac_exeext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19235 (eval $ac_link) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_c_werror_flag"
19243 || test ! -s conftest.err'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try
='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 am_cv_lib_iconv
=yes
19256 am_cv_func_iconv
=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.
$ac_ext >&5
19262 rm -f conftest.err conftest.
$ac_objext \
19263 conftest
$ac_exeext conftest.
$ac_ext
19264 LIBS
="$am_save_LIBS"
19268 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
19269 echo "${ECHO_T}$am_cv_func_iconv" >&6
19270 if test "$am_cv_func_iconv" = yes; then
19272 cat >>confdefs.h
<<\_ACEOF
19273 #define HAVE_ICONV 1
19277 if test "$am_cv_lib_iconv" = yes; then
19278 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
19279 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
19280 echo "$as_me:$LINENO: result: $LIBICONV" >&5
19281 echo "${ECHO_T}$LIBICONV" >&6
19283 CPPFLAGS
="$am_save_CPPFLAGS"
19290 if test "$am_cv_func_iconv" = yes; then
19291 echo "$as_me:$LINENO: checking for iconv declaration" >&5
19292 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
19293 if test "${am_cv_proto_iconv+set}" = set; then
19294 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19304 #include <stdlib.h>
19310 #if defined(__STDC__) || defined(__cplusplus)
19311 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_c_werror_flag"
19334 || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 am_cv_proto_iconv_arg1
=""
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 am_cv_proto_iconv_arg1
="const"
19353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19354 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);"
19357 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19358 echo "$as_me:$LINENO: result: ${ac_t:-
19359 }$am_cv_proto_iconv" >&5
19360 echo "${ECHO_T}${ac_t:-
19361 }$am_cv_proto_iconv" >&6
19363 cat >>confdefs.h
<<_ACEOF
19364 #define ICONV_CONST $am_cv_proto_iconv_arg1
19370 if test "x${GCC}" = xyes
; then
19372 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
19375 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
19379 if test "x${ENABLE_WERROR}" = xyes
; then
19380 ERROR_CFLAGS
='-Werror'
19385 if test "x${COMPILE_XMLJ}" = xyes
; then
19389 if test -z "$PKG_CONFIG"; then
19390 # Extract the first word of "pkg-config", so it can be a program name with args.
19391 set dummy pkg-config
; ac_word
=$2
19392 echo "$as_me:$LINENO: checking for $ac_word" >&5
19393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19394 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 case $PKG_CONFIG in
19399 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19403 for as_dir
in $PATH
19406 test -z "$as_dir" && as_dir
=.
19407 for ac_exec_ext
in '' $ac_executable_extensions; do
19408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19409 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19416 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19420 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19422 if test -n "$PKG_CONFIG"; then
19423 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19424 echo "${ECHO_T}$PKG_CONFIG" >&6
19426 echo "$as_me:$LINENO: result: no" >&5
19427 echo "${ECHO_T}no" >&6
19432 if test "$PKG_CONFIG" = "no" ; then
19433 echo "*** The pkg-config script could not be found. Make sure it is"
19434 echo "*** in your path, or set the PKG_CONFIG environment variable"
19435 echo "*** to the full path to pkg-config."
19436 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19438 PKG_CONFIG_MIN_VERSION
=0.9.0
19439 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19440 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
19441 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
19443 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
19444 echo "$as_me:$LINENO: result: yes" >&5
19445 echo "${ECHO_T}yes" >&6
19448 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
19449 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
19450 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
19451 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
19452 echo "${ECHO_T}$XML_CFLAGS" >&6
19454 echo "$as_me:$LINENO: checking XML_LIBS" >&5
19455 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
19456 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
19457 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
19458 echo "${ECHO_T}$XML_LIBS" >&6
19462 ## If we have a custom action on failure, don't print errors, but
19463 ## do set a variable so people can do so.
19464 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
19465 echo $XML_PKG_ERRORS
19471 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19472 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19476 if test $succeeded = yes; then
19479 { { 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
19480 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;}
19481 { (exit 1); exit 1; }; }
19487 if test -z "$PKG_CONFIG"; then
19488 # Extract the first word of "pkg-config", so it can be a program name with args.
19489 set dummy pkg-config
; ac_word
=$2
19490 echo "$as_me:$LINENO: checking for $ac_word" >&5
19491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19492 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 case $PKG_CONFIG in
19497 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19501 for as_dir
in $PATH
19504 test -z "$as_dir" && as_dir
=.
19505 for ac_exec_ext
in '' $ac_executable_extensions; do
19506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19507 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19514 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19518 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19520 if test -n "$PKG_CONFIG"; then
19521 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19522 echo "${ECHO_T}$PKG_CONFIG" >&6
19524 echo "$as_me:$LINENO: result: no" >&5
19525 echo "${ECHO_T}no" >&6
19530 if test "$PKG_CONFIG" = "no" ; then
19531 echo "*** The pkg-config script could not be found. Make sure it is"
19532 echo "*** in your path, or set the PKG_CONFIG environment variable"
19533 echo "*** to the full path to pkg-config."
19534 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19536 PKG_CONFIG_MIN_VERSION
=0.9.0
19537 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19538 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19539 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19541 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19542 echo "$as_me:$LINENO: result: yes" >&5
19543 echo "${ECHO_T}yes" >&6
19546 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19547 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19548 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19549 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19550 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19552 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19553 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19554 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19555 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19556 echo "${ECHO_T}$XSLT_LIBS" >&6
19560 ## If we have a custom action on failure, don't print errors, but
19561 ## do set a variable so people can do so.
19562 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19563 echo $XSLT_PKG_ERRORS
19569 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19570 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19574 if test $succeeded = yes; then
19577 { { 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
19578 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;}
19579 { (exit 1); exit 1; }; }
19588 if test "x${COMPILE_GTK_PEER}" = xyes
; then
19589 echo "$as_me:$LINENO: checking for X" >&5
19590 echo $ECHO_N "checking for X... $ECHO_C" >&6
19593 # Check whether --with-x or --without-x was given.
19594 if test "${with_x+set}" = set; then
19598 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19599 if test "x$with_x" = xno
; then
19600 # The user explicitly disabled X.
19603 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19604 # Both variables are already set.
19607 if test "${ac_cv_have_x+set}" = set; then
19608 echo $ECHO_N "(cached) $ECHO_C" >&6
19610 # One or both of the vars are not set, and there is no cached value.
19611 ac_x_includes
=no ac_x_libraries
=no
19612 rm -fr conftest.dir
19613 if mkdir conftest.dir
; then
19615 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19616 cat >Imakefile
<<'_ACEOF'
19618 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19620 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19621 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19622 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19623 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19624 for ac_extension
in a so sl
; do
19625 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19626 test -f $ac_im_libdir/libX11.
$ac_extension; then
19627 ac_im_usrlibdir
=$ac_im_libdir; break
19630 # Screen out bogus values from the imake configuration. They are
19631 # bogus both because they are the default anyway, and because
19632 # using them would break gcc on systems where it needs fixed includes.
19633 case $ac_im_incroot in
19635 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19637 case $ac_im_usrlibdir in
19638 /usr
/lib |
/lib
) ;;
19639 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19643 rm -fr conftest.dir
19646 # Standard set of common directories for X headers.
19647 # Check X11 before X11Rn because it is often a symlink to the current release.
19659 /usr/local/X11/include
19660 /usr/local/X11R6/include
19661 /usr/local/X11R5/include
19662 /usr/local/X11R4/include
19664 /usr/local/include/X11
19665 /usr/local/include/X11R6
19666 /usr/local/include/X11R5
19667 /usr/local/include/X11R4
19671 /usr/XFree86/include/X11
19675 /usr/unsupported/include
19676 /usr/athena/include
19677 /usr/local/x11r5/include
19678 /usr/lpp/Xamples/include
19680 /usr/openwin/include
19681 /usr/openwin/share/include'
19683 if test "$ac_x_includes" = no
; then
19684 # Guess where to find include files, by looking for Intrinsic.h.
19685 # First, try using that file with no special directory specified.
19686 cat >conftest.
$ac_ext <<_ACEOF
19689 cat confdefs.h
>>conftest.
$ac_ext
19690 cat >>conftest.
$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <X11/Intrinsic.h>
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19697 grep -v '^ *+' conftest.er1
>conftest.err
19699 cat conftest.err
>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev
/null
; then
19702 if test -s conftest.err
; then
19703 ac_cpp_err
=$ac_c_preproc_warn_flag
19704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19711 if test -z "$ac_cpp_err"; then
19712 # We can compile using X headers with no special include directory.
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 for ac_dir
in $ac_x_header_dirs; do
19719 if test -r "$ac_dir/X11/Intrinsic.h"; then
19720 ac_x_includes
=$ac_dir
19725 rm -f conftest.err conftest.
$ac_ext
19726 fi # $ac_x_includes = no
19728 if test "$ac_x_libraries" = no
; then
19729 # Check for the libraries.
19730 # See if we find them without any special options.
19731 # Don't add to $LIBS permanently.
19734 if test x
$gcc_no_link = xyes
; then
19735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19737 { (exit 1); exit 1; }; }
19739 cat >conftest.
$ac_ext <<_ACEOF
19742 cat confdefs.h
>>conftest.
$ac_ext
19743 cat >>conftest.
$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #include <X11/Intrinsic.h>
19754 rm -f conftest.
$ac_objext conftest
$ac_exeext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756 (eval $ac_link) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag"
19764 || test ! -s conftest.err'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; } &&
19770 { ac_try
='test -s conftest$ac_exeext'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19777 # We can link X programs with no special library path.
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.
$ac_ext >&5
19784 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19786 # Don't even attempt the hair of trying to link an X program!
19787 for ac_extension
in a so sl
; do
19788 if test -r $ac_dir/libXt.
$ac_extension; then
19789 ac_x_libraries
=$ac_dir
19795 rm -f conftest.err conftest.
$ac_objext \
19796 conftest
$ac_exeext conftest.
$ac_ext
19797 fi # $ac_x_libraries = no
19799 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19800 # Didn't find X anywhere. Cache the known absence of X.
19801 ac_cv_have_x
="have_x=no"
19803 # Record where we found X for the cache.
19804 ac_cv_have_x
="have_x=yes \
19805 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19810 eval "$ac_cv_have_x"
19813 if test "$have_x" != yes; then
19814 echo "$as_me:$LINENO: result: $have_x" >&5
19815 echo "${ECHO_T}$have_x" >&6
19818 # If each of the values was on the command line, it overrides each guess.
19819 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19820 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19821 # Update the cache value to reflect the command line values.
19822 ac_cv_have_x
="have_x=yes \
19823 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19824 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19825 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19828 if test "$no_x" = yes; then
19829 # Not all programs may use this symbol, but it does not hurt to define it.
19831 cat >>confdefs.h
<<\_ACEOF
19832 #define X_DISPLAY_MISSING 1
19835 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19837 if test -n "$x_includes"; then
19838 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19841 # It would also be nice to do this for all -L options, not just this one.
19842 if test -n "$x_libraries"; then
19843 X_LIBS
="$X_LIBS -L$x_libraries"
19844 # For Solaris; some versions of Sun CC require a space after -R and
19845 # others require no space. Words are not sufficient . . . .
19846 case `(uname -sr) 2>/dev/null` in
19848 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19849 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19850 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19851 if test x
$gcc_no_link = xyes
; then
19852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19854 { (exit 1); exit 1; }; }
19856 cat >conftest.
$ac_ext <<_ACEOF
19859 cat confdefs.h
>>conftest.
$ac_ext
19860 cat >>conftest.
$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19871 rm -f conftest.
$ac_objext conftest
$ac_exeext
19872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19873 (eval $ac_link) 2>conftest.er1
19875 grep -v '^ *+' conftest.er1
>conftest.err
19877 cat conftest.err
>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); } &&
19880 { ac_try
='test -z "$ac_c_werror_flag"
19881 || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try
='test -s conftest$ac_exeext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19900 rm -f conftest.err conftest.
$ac_objext \
19901 conftest
$ac_exeext conftest.
$ac_ext
19902 if test $ac_R_nospace = yes; then
19903 echo "$as_me:$LINENO: result: no" >&5
19904 echo "${ECHO_T}no" >&6
19905 X_LIBS
="$X_LIBS -R$x_libraries"
19907 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19908 if test x
$gcc_no_link = xyes
; then
19909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19911 { (exit 1); exit 1; }; }
19913 cat >conftest.
$ac_ext <<_ACEOF
19916 cat confdefs.h
>>conftest.
$ac_ext
19917 cat >>conftest.
$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19928 rm -f conftest.
$ac_objext conftest
$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>conftest.er1
19932 grep -v '^ *+' conftest.er1
>conftest.err
19934 cat conftest.err
>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -z "$ac_c_werror_flag"
19938 || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try
='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19957 rm -f conftest.err conftest.
$ac_objext \
19958 conftest
$ac_exeext conftest.
$ac_ext
19959 if test $ac_R_space = yes; then
19960 echo "$as_me:$LINENO: result: yes" >&5
19961 echo "${ECHO_T}yes" >&6
19962 X_LIBS
="$X_LIBS -R $x_libraries"
19964 echo "$as_me:$LINENO: result: neither works" >&5
19965 echo "${ECHO_T}neither works" >&6
19968 LIBS
=$ac_xsave_LIBS
19972 # Check for system-dependent libraries X programs must link with.
19973 # Do this before checking for the system-independent R6 libraries
19974 # (-lICE), since we may need -lsocket or whatever for X linking.
19976 if test "$ISC" = yes; then
19977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19979 # Martyn Johnson says this is needed for Ultrix, if the X
19980 # libraries were built with DECnet support. And Karl Berry says
19981 # the Alpha needs dnet_stub (dnet does not exist).
19982 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19983 if test x
$gcc_no_link = xyes
; then
19984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19986 { (exit 1); exit 1; }; }
19988 cat >conftest.
$ac_ext <<_ACEOF
19991 cat confdefs.h
>>conftest.
$ac_ext
19992 cat >>conftest.
$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19995 /* Override any gcc2 internal prototype to avoid an error. */
19999 /* We use char because int might match the return type of a gcc2
20000 builtin and then its argument prototype would still apply. */
20001 char XOpenDisplay ();
20010 rm -f conftest.
$ac_objext conftest
$ac_exeext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012 (eval $ac_link) 2>conftest.er1
20014 grep -v '^ *+' conftest.er1
>conftest.err
20016 cat conftest.err
>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try
='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try
='test -s conftest$ac_exeext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.
$ac_ext >&5
20037 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20038 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20039 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 ac_check_lib_save_LIBS
=$LIBS
20043 LIBS
="-ldnet $LIBS"
20044 if test x
$gcc_no_link = xyes
; then
20045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20047 { (exit 1); exit 1; }; }
20049 cat >conftest.
$ac_ext <<_ACEOF
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20056 /* Override any gcc2 internal prototype to avoid an error. */
20060 /* We use char because int might match the return type of a gcc2
20061 builtin and then its argument prototype would still apply. */
20071 rm -f conftest.
$ac_objext conftest
$ac_exeext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073 (eval $ac_link) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try
='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest$ac_exeext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_lib_dnet_dnet_ntoa
=yes
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_cv_lib_dnet_dnet_ntoa
=no
20100 rm -f conftest.err conftest.
$ac_objext \
20101 conftest
$ac_exeext conftest.
$ac_ext
20102 LIBS
=$ac_check_lib_save_LIBS
20104 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20110 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20111 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 ac_check_lib_save_LIBS
=$LIBS
20117 LIBS
="-ldnet_stub $LIBS"
20118 if test x
$gcc_no_link = xyes
; then
20119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20121 { (exit 1); exit 1; }; }
20123 cat >conftest.
$ac_ext <<_ACEOF
20126 cat confdefs.h
>>conftest.
$ac_ext
20127 cat >>conftest.
$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20130 /* Override any gcc2 internal prototype to avoid an error. */
20134 /* We use char because int might match the return type of a gcc2
20135 builtin and then its argument prototype would still apply. */
20145 rm -f conftest.
$ac_objext conftest
$ac_exeext
20146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20147 (eval $ac_link) 2>conftest.er1
20149 grep -v '^ *+' conftest.er1
>conftest.err
20151 cat conftest.err
>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } &&
20154 { ac_try
='test -z "$ac_c_werror_flag"
20155 || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try
='test -s conftest$ac_exeext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20172 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20174 rm -f conftest.err conftest.
$ac_objext \
20175 conftest
$ac_exeext conftest.
$ac_ext
20176 LIBS
=$ac_check_lib_save_LIBS
20178 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20179 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20180 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20181 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20186 rm -f conftest.err conftest.
$ac_objext \
20187 conftest
$ac_exeext conftest.
$ac_ext
20188 LIBS
="$ac_xsave_LIBS"
20190 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20191 # to get the SysV transport functions.
20192 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20194 # The nsl library prevents programs from opening the X display
20195 # on Irix 5.2, according to T.E. Dickey.
20196 # The functions gethostbyname, getservbyname, and inet_addr are
20197 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20198 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20199 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20200 if test "${ac_cv_func_gethostbyname+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 if test x
$gcc_no_link = xyes
; then
20204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20206 { (exit 1); exit 1; }; }
20208 cat >conftest.
$ac_ext <<_ACEOF
20211 cat confdefs.h
>>conftest.
$ac_ext
20212 cat >>conftest.
$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20214 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20216 #define gethostbyname innocuous_gethostbyname
20218 /* System header to define __stub macros and hopefully few prototypes,
20219 which can conflict with char gethostbyname (); below.
20220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20221 <limits.h> exists even on freestanding compilers. */
20224 # include <limits.h>
20226 # include <assert.h>
20229 #undef gethostbyname
20231 /* Override any gcc2 internal prototype to avoid an error. */
20236 /* We use char because int might match the return type of a gcc2
20237 builtin and then its argument prototype would still apply. */
20238 char gethostbyname ();
20239 /* The GNU C library defines this for functions which it implements
20240 to always fail with ENOSYS. Some functions are actually named
20241 something starting with __ and the normal name is an alias. */
20242 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20245 char (*f) () = gethostbyname;
20254 return f != gethostbyname;
20259 rm -f conftest.
$ac_objext conftest
$ac_exeext
20260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20261 (eval $ac_link) 2>conftest.er1
20263 grep -v '^ *+' conftest.er1
>conftest.err
20265 cat conftest.err
>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } &&
20268 { ac_try
='test -z "$ac_c_werror_flag"
20269 || test ! -s conftest.err'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; } &&
20275 { ac_try
='test -s conftest$ac_exeext'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 ac_cv_func_gethostbyname
=yes
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20286 ac_cv_func_gethostbyname
=no
20288 rm -f conftest.err conftest.
$ac_objext \
20289 conftest
$ac_exeext conftest.
$ac_ext
20291 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20292 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20294 if test $ac_cv_func_gethostbyname = no
; then
20295 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20296 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20297 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20300 ac_check_lib_save_LIBS
=$LIBS
20302 if test x
$gcc_no_link = xyes
; then
20303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20305 { (exit 1); exit 1; }; }
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20314 /* Override any gcc2 internal prototype to avoid an error. */
20318 /* We use char because int might match the return type of a gcc2
20319 builtin and then its argument prototype would still apply. */
20320 char gethostbyname ();
20329 rm -f conftest.
$ac_objext conftest
$ac_exeext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20331 (eval $ac_link) 2>conftest.er1
20333 grep -v '^ *+' conftest.er1
>conftest.err
20335 cat conftest.err
>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try
='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try
='test -s conftest$ac_exeext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_lib_nsl_gethostbyname
=yes
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.
$ac_ext >&5
20356 ac_cv_lib_nsl_gethostbyname
=no
20358 rm -f conftest.err conftest.
$ac_objext \
20359 conftest
$ac_exeext conftest.
$ac_ext
20360 LIBS
=$ac_check_lib_save_LIBS
20362 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20363 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20364 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20365 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20368 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20369 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20370 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20371 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 ac_check_lib_save_LIBS
=$LIBS
20376 if test x
$gcc_no_link = xyes
; then
20377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20379 { (exit 1); exit 1; }; }
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20388 /* Override any gcc2 internal prototype to avoid an error. */
20392 /* We use char because int might match the return type of a gcc2
20393 builtin and then its argument prototype would still apply. */
20394 char gethostbyname ();
20403 rm -f conftest.
$ac_objext conftest
$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405 (eval $ac_link) 2>conftest.er1
20407 grep -v '^ *+' conftest.er1
>conftest.err
20409 cat conftest.err
>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try
='test -z "$ac_c_werror_flag"
20413 || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try
='test -s conftest$ac_exeext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_cv_lib_bsd_gethostbyname
=yes
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_cv_lib_bsd_gethostbyname
=no
20432 rm -f conftest.err conftest.
$ac_objext \
20433 conftest
$ac_exeext conftest.
$ac_ext
20434 LIBS
=$ac_check_lib_save_LIBS
20436 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20437 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20438 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20439 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20445 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20446 # socket/setsockopt and other routines are undefined under SCO ODT
20447 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20448 # on later versions), says Simon Leinen: it contains gethostby*
20449 # variants that don't use the name server (or something). -lsocket
20450 # must be given before -lnsl if both are needed. We assume that
20451 # if connect needs -lnsl, so does gethostbyname.
20452 echo "$as_me:$LINENO: checking for connect" >&5
20453 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20454 if test "${ac_cv_func_connect+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 if test x
$gcc_no_link = xyes
; then
20458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20460 { (exit 1); exit 1; }; }
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20470 #define connect innocuous_connect
20472 /* System header to define __stub macros and hopefully few prototypes,
20473 which can conflict with char connect (); below.
20474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20475 <limits.h> exists even on freestanding compilers. */
20478 # include <limits.h>
20480 # include <assert.h>
20485 /* Override any gcc2 internal prototype to avoid an error. */
20490 /* We use char because int might match the return type of a gcc2
20491 builtin and then its argument prototype would still apply. */
20493 /* The GNU C library defines this for functions which it implements
20494 to always fail with ENOSYS. Some functions are actually named
20495 something starting with __ and the normal name is an alias. */
20496 #if defined (__stub_connect) || defined (__stub___connect)
20499 char (*f) () = connect;
20508 return f != connect;
20513 rm -f conftest.
$ac_objext conftest
$ac_exeext
20514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20515 (eval $ac_link) 2>conftest.er1
20517 grep -v '^ *+' conftest.er1
>conftest.err
20519 cat conftest.err
>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try
='test -z "$ac_c_werror_flag"
20523 || test ! -s conftest.err'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; } &&
20529 { ac_try
='test -s conftest$ac_exeext'
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20531 (eval $ac_try) 2>&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; }; then
20535 ac_cv_func_connect
=yes
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.
$ac_ext >&5
20540 ac_cv_func_connect
=no
20542 rm -f conftest.err conftest.
$ac_objext \
20543 conftest
$ac_exeext conftest.
$ac_ext
20545 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20546 echo "${ECHO_T}$ac_cv_func_connect" >&6
20548 if test $ac_cv_func_connect = no
; then
20549 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20550 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20551 if test "${ac_cv_lib_socket_connect+set}" = set; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20554 ac_check_lib_save_LIBS
=$LIBS
20555 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20556 if test x
$gcc_no_link = xyes
; then
20557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20559 { (exit 1); exit 1; }; }
20561 cat >conftest.
$ac_ext <<_ACEOF
20564 cat confdefs.h
>>conftest.
$ac_ext
20565 cat >>conftest.
$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20568 /* Override any gcc2 internal prototype to avoid an error. */
20572 /* We use char because int might match the return type of a gcc2
20573 builtin and then its argument prototype would still apply. */
20583 rm -f conftest.
$ac_objext conftest
$ac_exeext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20585 (eval $ac_link) 2>conftest.er1
20587 grep -v '^ *+' conftest.er1
>conftest.err
20589 cat conftest.err
>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try
='test -z "$ac_c_werror_flag"
20593 || test ! -s conftest.err'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; } &&
20599 { ac_try
='test -s conftest$ac_exeext'
20600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20601 (eval $ac_try) 2>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); }; }; then
20605 ac_cv_lib_socket_connect
=yes
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.
$ac_ext >&5
20610 ac_cv_lib_socket_connect
=no
20612 rm -f conftest.err conftest.
$ac_objext \
20613 conftest
$ac_exeext conftest.
$ac_ext
20614 LIBS
=$ac_check_lib_save_LIBS
20616 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20617 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20618 if test $ac_cv_lib_socket_connect = yes; then
20619 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20624 # Guillermo Gomez says -lposix is necessary on A/UX.
20625 echo "$as_me:$LINENO: checking for remove" >&5
20626 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20627 if test "${ac_cv_func_remove+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 if test x
$gcc_no_link = xyes
; then
20631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20633 { (exit 1); exit 1; }; }
20635 cat >conftest.
$ac_ext <<_ACEOF
20638 cat confdefs.h
>>conftest.
$ac_ext
20639 cat >>conftest.
$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20643 #define remove innocuous_remove
20645 /* System header to define __stub macros and hopefully few prototypes,
20646 which can conflict with char remove (); below.
20647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20648 <limits.h> exists even on freestanding compilers. */
20651 # include <limits.h>
20653 # include <assert.h>
20658 /* Override any gcc2 internal prototype to avoid an error. */
20663 /* We use char because int might match the return type of a gcc2
20664 builtin and then its argument prototype would still apply. */
20666 /* The GNU C library defines this for functions which it implements
20667 to always fail with ENOSYS. Some functions are actually named
20668 something starting with __ and the normal name is an alias. */
20669 #if defined (__stub_remove) || defined (__stub___remove)
20672 char (*f) () = remove;
20681 return f != remove;
20686 rm -f conftest.
$ac_objext conftest
$ac_exeext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20688 (eval $ac_link) 2>conftest.er1
20690 grep -v '^ *+' conftest.er1
>conftest.err
20692 cat conftest.err
>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try
='test -z "$ac_c_werror_flag"
20696 || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try
='test -s conftest$ac_exeext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 ac_cv_func_remove
=yes
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.
$ac_ext >&5
20713 ac_cv_func_remove
=no
20715 rm -f conftest.err conftest.
$ac_objext \
20716 conftest
$ac_exeext conftest.
$ac_ext
20718 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20719 echo "${ECHO_T}$ac_cv_func_remove" >&6
20721 if test $ac_cv_func_remove = no
; then
20722 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20723 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20724 if test "${ac_cv_lib_posix_remove+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20727 ac_check_lib_save_LIBS
=$LIBS
20728 LIBS
="-lposix $LIBS"
20729 if test x
$gcc_no_link = xyes
; then
20730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20732 { (exit 1); exit 1; }; }
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20741 /* Override any gcc2 internal prototype to avoid an error. */
20745 /* We use char because int might match the return type of a gcc2
20746 builtin and then its argument prototype would still apply. */
20756 rm -f conftest.
$ac_objext conftest
$ac_exeext
20757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20758 (eval $ac_link) 2>conftest.er1
20760 grep -v '^ *+' conftest.er1
>conftest.err
20762 cat conftest.err
>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } &&
20765 { ac_try
='test -z "$ac_c_werror_flag"
20766 || test ! -s conftest.err'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; } &&
20772 { ac_try
='test -s conftest$ac_exeext'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; }; then
20778 ac_cv_lib_posix_remove
=yes
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.
$ac_ext >&5
20783 ac_cv_lib_posix_remove
=no
20785 rm -f conftest.err conftest.
$ac_objext \
20786 conftest
$ac_exeext conftest.
$ac_ext
20787 LIBS
=$ac_check_lib_save_LIBS
20789 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20790 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20791 if test $ac_cv_lib_posix_remove = yes; then
20792 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20798 echo "$as_me:$LINENO: checking for shmat" >&5
20799 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20800 if test "${ac_cv_func_shmat+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 if test x
$gcc_no_link = xyes
; then
20804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20806 { (exit 1); exit 1; }; }
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20816 #define shmat innocuous_shmat
20818 /* System header to define __stub macros and hopefully few prototypes,
20819 which can conflict with char shmat (); below.
20820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20821 <limits.h> exists even on freestanding compilers. */
20824 # include <limits.h>
20826 # include <assert.h>
20831 /* Override any gcc2 internal prototype to avoid an error. */
20836 /* We use char because int might match the return type of a gcc2
20837 builtin and then its argument prototype would still apply. */
20839 /* The GNU C library defines this for functions which it implements
20840 to always fail with ENOSYS. Some functions are actually named
20841 something starting with __ and the normal name is an alias. */
20842 #if defined (__stub_shmat) || defined (__stub___shmat)
20845 char (*f) () = shmat;
20859 rm -f conftest.
$ac_objext conftest
$ac_exeext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20861 (eval $ac_link) 2>conftest.er1
20863 grep -v '^ *+' conftest.er1
>conftest.err
20865 cat conftest.err
>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try
='test -z "$ac_c_werror_flag"
20869 || test ! -s conftest.err'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; } &&
20875 { ac_try
='test -s conftest$ac_exeext'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 ac_cv_func_shmat
=yes
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.
$ac_ext >&5
20886 ac_cv_func_shmat
=no
20888 rm -f conftest.err conftest.
$ac_objext \
20889 conftest
$ac_exeext conftest.
$ac_ext
20891 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20892 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20894 if test $ac_cv_func_shmat = no
; then
20895 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20896 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20897 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20898 echo $ECHO_N "(cached) $ECHO_C" >&6
20900 ac_check_lib_save_LIBS
=$LIBS
20902 if test x
$gcc_no_link = xyes
; then
20903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20905 { (exit 1); exit 1; }; }
20907 cat >conftest.
$ac_ext <<_ACEOF
20910 cat confdefs.h
>>conftest.
$ac_ext
20911 cat >>conftest.
$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20914 /* Override any gcc2 internal prototype to avoid an error. */
20918 /* We use char because int might match the return type of a gcc2
20919 builtin and then its argument prototype would still apply. */
20929 rm -f conftest.
$ac_objext conftest
$ac_exeext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20931 (eval $ac_link) 2>conftest.er1
20933 grep -v '^ *+' conftest.er1
>conftest.err
20935 cat conftest.err
>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try
='test -z "$ac_c_werror_flag"
20939 || test ! -s conftest.err'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try
='test -s conftest$ac_exeext'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20951 ac_cv_lib_ipc_shmat
=yes
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.
$ac_ext >&5
20956 ac_cv_lib_ipc_shmat
=no
20958 rm -f conftest.err conftest.
$ac_objext \
20959 conftest
$ac_exeext conftest.
$ac_ext
20960 LIBS
=$ac_check_lib_save_LIBS
20962 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20963 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20964 if test $ac_cv_lib_ipc_shmat = yes; then
20965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20971 # Check for libraries that X11R6 Xt/Xaw programs need.
20972 ac_save_LDFLAGS
=$LDFLAGS
20973 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20974 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20975 # check for ICE first), but we must link in the order -lSM -lICE or
20976 # we get undefined symbols. So assume we have SM if we have ICE.
20977 # These have to be linked with before -lX11, unlike the other
20978 # libraries we check for below, so use a different variable.
20979 # John Interrante, Karl Berry
20980 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20981 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20982 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20983 echo $ECHO_N "(cached) $ECHO_C" >&6
20985 ac_check_lib_save_LIBS
=$LIBS
20986 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20987 if test x
$gcc_no_link = xyes
; then
20988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20990 { (exit 1); exit 1; }; }
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20999 /* Override any gcc2 internal prototype to avoid an error. */
21003 /* We use char because int might match the return type of a gcc2
21004 builtin and then its argument prototype would still apply. */
21005 char IceConnectionNumber ();
21009 IceConnectionNumber ();
21014 rm -f conftest.
$ac_objext conftest
$ac_exeext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21016 (eval $ac_link) 2>conftest.er1
21018 grep -v '^ *+' conftest.er1
>conftest.err
21020 cat conftest.err
>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try
='test -z "$ac_c_werror_flag"
21024 || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try
='test -s conftest$ac_exeext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_lib_ICE_IceConnectionNumber
=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ac_cv_lib_ICE_IceConnectionNumber
=no
21043 rm -f conftest.err conftest.
$ac_objext \
21044 conftest
$ac_exeext conftest.
$ac_ext
21045 LIBS
=$ac_check_lib_save_LIBS
21047 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21048 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21049 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21050 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21053 LDFLAGS
=$ac_save_LDFLAGS
21057 if test "$no_x" = yes; then
21058 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
21059 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
21060 { (exit 1); exit 1; }; }
21062 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21063 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
21064 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 ac_check_lib_save_LIBS
=$LIBS
21068 LIBS
="-lXtst ${X_LIBS} $LIBS"
21069 if test x
$gcc_no_link = xyes
; then
21070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21072 { (exit 1); exit 1; }; }
21074 cat >conftest.
$ac_ext <<_ACEOF
21077 cat confdefs.h
>>conftest.
$ac_ext
21078 cat >>conftest.
$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21081 /* Override any gcc2 internal prototype to avoid an error. */
21085 /* We use char because int might match the return type of a gcc2
21086 builtin and then its argument prototype would still apply. */
21087 char XTestQueryExtension ();
21091 XTestQueryExtension ();
21096 rm -f conftest.
$ac_objext conftest
$ac_exeext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21098 (eval $ac_link) 2>conftest.er1
21100 grep -v '^ *+' conftest.er1
>conftest.err
21102 cat conftest.err
>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } &&
21105 { ac_try
='test -z "$ac_c_werror_flag"
21106 || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try
='test -s conftest$ac_exeext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21118 ac_cv_lib_Xtst_XTestQueryExtension
=yes
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.
$ac_ext >&5
21123 ac_cv_lib_Xtst_XTestQueryExtension
=no
21125 rm -f conftest.err conftest.
$ac_objext \
21126 conftest
$ac_exeext conftest.
$ac_ext
21127 LIBS
=$ac_check_lib_save_LIBS
21129 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21130 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
21131 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
21132 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
21134 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
21135 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
21136 { (exit 1); exit 1; }; }
21143 if test -z "$PKG_CONFIG"; then
21144 # Extract the first word of "pkg-config", so it can be a program name with args.
21145 set dummy pkg-config
; ac_word
=$2
21146 echo "$as_me:$LINENO: checking for $ac_word" >&5
21147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21148 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21151 case $PKG_CONFIG in
21153 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21157 for as_dir
in $PATH
21160 test -z "$as_dir" && as_dir
=.
21161 for ac_exec_ext
in '' $ac_executable_extensions; do
21162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21163 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21174 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21176 if test -n "$PKG_CONFIG"; then
21177 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21178 echo "${ECHO_T}$PKG_CONFIG" >&6
21180 echo "$as_me:$LINENO: result: no" >&5
21181 echo "${ECHO_T}no" >&6
21186 if test "$PKG_CONFIG" = "no" ; then
21187 echo "*** The pkg-config script could not be found. Make sure it is"
21188 echo "*** in your path, or set the PKG_CONFIG environment variable"
21189 echo "*** to the full path to pkg-config."
21190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21192 PKG_CONFIG_MIN_VERSION
=0.9.0
21193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21194 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21195 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
21197 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21198 echo "$as_me:$LINENO: result: yes" >&5
21199 echo "${ECHO_T}yes" >&6
21202 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21203 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
21204 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21205 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21206 echo "${ECHO_T}$GTK_CFLAGS" >&6
21208 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21209 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
21210 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21211 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21212 echo "${ECHO_T}$GTK_LIBS" >&6
21216 ## If we have a custom action on failure, don't print errors, but
21217 ## do set a variable so people can do so.
21218 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21219 echo $GTK_PKG_ERRORS
21225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21230 if test $succeeded = yes; then
21233 { { 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
21234 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;}
21235 { (exit 1); exit 1; }; }
21241 if test -z "$PKG_CONFIG"; then
21242 # Extract the first word of "pkg-config", so it can be a program name with args.
21243 set dummy pkg-config
; ac_word
=$2
21244 echo "$as_me:$LINENO: checking for $ac_word" >&5
21245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21246 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 case $PKG_CONFIG in
21251 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21255 for as_dir
in $PATH
21258 test -z "$as_dir" && as_dir
=.
21259 for ac_exec_ext
in '' $ac_executable_extensions; do
21260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21261 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21272 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21274 if test -n "$PKG_CONFIG"; then
21275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21276 echo "${ECHO_T}$PKG_CONFIG" >&6
21278 echo "$as_me:$LINENO: result: no" >&5
21279 echo "${ECHO_T}no" >&6
21284 if test "$PKG_CONFIG" = "no" ; then
21285 echo "*** The pkg-config script could not be found. Make sure it is"
21286 echo "*** in your path, or set the PKG_CONFIG environment variable"
21287 echo "*** to the full path to pkg-config."
21288 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21290 PKG_CONFIG_MIN_VERSION
=0.9.0
21291 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21292 echo "$as_me:$LINENO: checking for freetype2" >&5
21293 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
21295 if $PKG_CONFIG --exists "freetype2" ; then
21296 echo "$as_me:$LINENO: result: yes" >&5
21297 echo "${ECHO_T}yes" >&6
21300 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
21301 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
21302 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
21303 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
21304 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
21306 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
21307 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
21308 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
21309 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
21310 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
21312 FREETYPE2_CFLAGS
=""
21314 ## If we have a custom action on failure, don't print errors, but
21315 ## do set a variable so people can do so.
21316 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
21317 echo $FREETYPE2_PKG_ERRORS
21323 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21324 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21328 if test $succeeded = yes; then
21331 { { 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
21332 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;}
21333 { (exit 1); exit 1; }; }
21339 if test -z "$PKG_CONFIG"; then
21340 # Extract the first word of "pkg-config", so it can be a program name with args.
21341 set dummy pkg-config
; ac_word
=$2
21342 echo "$as_me:$LINENO: checking for $ac_word" >&5
21343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21345 echo $ECHO_N "(cached) $ECHO_C" >&6
21347 case $PKG_CONFIG in
21349 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21353 for as_dir
in $PATH
21356 test -z "$as_dir" && as_dir
=.
21357 for ac_exec_ext
in '' $ac_executable_extensions; do
21358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21359 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21370 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21372 if test -n "$PKG_CONFIG"; then
21373 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21374 echo "${ECHO_T}$PKG_CONFIG" >&6
21376 echo "$as_me:$LINENO: result: no" >&5
21377 echo "${ECHO_T}no" >&6
21382 if test "$PKG_CONFIG" = "no" ; then
21383 echo "*** The pkg-config script could not be found. Make sure it is"
21384 echo "*** in your path, or set the PKG_CONFIG environment variable"
21385 echo "*** to the full path to pkg-config."
21386 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21388 PKG_CONFIG_MIN_VERSION
=0.9.0
21389 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21390 echo "$as_me:$LINENO: checking for pangoft2" >&5
21391 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21393 if $PKG_CONFIG --exists "pangoft2" ; then
21394 echo "$as_me:$LINENO: result: yes" >&5
21395 echo "${ECHO_T}yes" >&6
21398 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21399 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21400 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21401 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21402 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21404 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21405 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21406 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21407 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21408 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21412 ## If we have a custom action on failure, don't print errors, but
21413 ## do set a variable so people can do so.
21414 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21415 echo $PANGOFT2_PKG_ERRORS
21421 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21422 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21426 if test $succeeded = yes; then
21429 { { 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
21430 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;}
21431 { (exit 1); exit 1; }; }
21437 if test -z "$PKG_CONFIG"; then
21438 # Extract the first word of "pkg-config", so it can be a program name with args.
21439 set dummy pkg-config
; ac_word
=$2
21440 echo "$as_me:$LINENO: checking for $ac_word" >&5
21441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21443 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 case $PKG_CONFIG in
21447 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21451 for as_dir
in $PATH
21454 test -z "$as_dir" && as_dir
=.
21455 for ac_exec_ext
in '' $ac_executable_extensions; do
21456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21457 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21464 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21468 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21470 if test -n "$PKG_CONFIG"; then
21471 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21472 echo "${ECHO_T}$PKG_CONFIG" >&6
21474 echo "$as_me:$LINENO: result: no" >&5
21475 echo "${ECHO_T}no" >&6
21480 if test "$PKG_CONFIG" = "no" ; then
21481 echo "*** The pkg-config script could not be found. Make sure it is"
21482 echo "*** in your path, or set the PKG_CONFIG environment variable"
21483 echo "*** to the full path to pkg-config."
21484 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21486 PKG_CONFIG_MIN_VERSION
=0.9.0
21487 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21488 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
21489 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
21491 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
21492 echo "$as_me:$LINENO: result: yes" >&5
21493 echo "${ECHO_T}yes" >&6
21496 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
21497 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
21498 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
21499 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
21500 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
21502 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
21503 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
21504 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
21505 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
21506 echo "${ECHO_T}$CAIRO_LIBS" >&6
21510 ## If we have a custom action on failure, don't print errors, but
21511 ## do set a variable so people can do so.
21512 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
21513 echo $CAIRO_PKG_ERRORS
21519 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21520 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21524 if test $succeeded = yes; then
21527 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 1.1.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
21528 echo "$as_me: error: Library requirements (cairo >= 1.1.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
21529 { (exit 1); exit 1; }; }
21532 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
21533 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
21534 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 ac_check_lib_save_LIBS
=$LIBS
21538 LIBS
="-lXrender ${X_LIBS} $LIBS"
21539 if test x
$gcc_no_link = xyes
; then
21540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21542 { (exit 1); exit 1; }; }
21544 cat >conftest.
$ac_ext <<_ACEOF
21547 cat confdefs.h
>>conftest.
$ac_ext
21548 cat >>conftest.
$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21551 /* Override any gcc2 internal prototype to avoid an error. */
21555 /* We use char because int might match the return type of a gcc2
21556 builtin and then its argument prototype would still apply. */
21557 char XRenderQueryExtension ();
21561 XRenderQueryExtension ();
21566 rm -f conftest.
$ac_objext conftest
$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try
='test -z "$ac_c_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try
='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.
$ac_ext >&5
21593 ac_cv_lib_Xrender_XRenderQueryExtension
=no
21595 rm -f conftest.err conftest.
$ac_objext \
21596 conftest
$ac_exeext conftest.
$ac_ext
21597 LIBS
=$ac_check_lib_save_LIBS
21599 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21600 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21601 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21603 cat >>confdefs.h
<<\_ACEOF
21604 #define HAVE_XRENDER 1
21606 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
21612 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21613 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21614 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21615 echo $ECHO_N "(cached) $ECHO_C" >&6
21617 ac_check_lib_save_LIBS
=$LIBS
21618 LIBS
="-lXrandr ${X_LIBS} $LIBS"
21619 if test x
$gcc_no_link = xyes
; then
21620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21622 { (exit 1); exit 1; }; }
21624 cat >conftest.
$ac_ext <<_ACEOF
21627 cat confdefs.h
>>conftest.
$ac_ext
21628 cat >>conftest.
$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21631 /* Override any gcc2 internal prototype to avoid an error. */
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21637 char XRRQueryExtension ();
21641 XRRQueryExtension ();
21646 rm -f conftest.
$ac_objext conftest
$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>conftest.er1
21650 grep -v '^ *+' conftest.er1
>conftest.err
21652 cat conftest.err
>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } &&
21655 { ac_try
='test -z "$ac_c_werror_flag"
21656 || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try
='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 ac_cv_lib_Xrandr_XRRQueryExtension
=no
21675 rm -f conftest.err conftest.
$ac_objext \
21676 conftest
$ac_exeext conftest.
$ac_ext
21677 LIBS
=$ac_check_lib_save_LIBS
21679 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21680 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21681 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21683 cat >>confdefs.h
<<\_ACEOF
21684 #define HAVE_XRANDR 1
21686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
21701 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
21705 if test -z "$PKG_CONFIG"; then
21706 # Extract the first word of "pkg-config", so it can be a program name with args.
21707 set dummy pkg-config
; ac_word
=$2
21708 echo "$as_me:$LINENO: checking for $ac_word" >&5
21709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 case $PKG_CONFIG in
21715 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21719 for as_dir
in $PATH
21722 test -z "$as_dir" && as_dir
=.
21723 for ac_exec_ext
in '' $ac_executable_extensions; do
21724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21725 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21736 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21738 if test -n "$PKG_CONFIG"; then
21739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21740 echo "${ECHO_T}$PKG_CONFIG" >&6
21742 echo "$as_me:$LINENO: result: no" >&5
21743 echo "${ECHO_T}no" >&6
21748 if test "$PKG_CONFIG" = "no" ; then
21749 echo "*** The pkg-config script could not be found. Make sure it is"
21750 echo "*** in your path, or set the PKG_CONFIG environment variable"
21751 echo "*** to the full path to pkg-config."
21752 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21754 PKG_CONFIG_MIN_VERSION
=0.9.0
21755 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21756 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
21757 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
21759 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
21760 echo "$as_me:$LINENO: result: yes" >&5
21761 echo "${ECHO_T}yes" >&6
21764 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
21765 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
21766 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
21767 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
21768 echo "${ECHO_T}$GCONF_CFLAGS" >&6
21770 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
21771 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
21772 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
21773 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
21774 echo "${ECHO_T}$GCONF_LIBS" >&6
21778 ## If we have a custom action on failure, don't print errors, but
21779 ## do set a variable so people can do so.
21780 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
21781 echo $GCONF_PKG_ERRORS
21787 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21788 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21792 if test $succeeded = yes; then
21795 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
21796 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
21797 { (exit 1); exit 1; }; }
21805 if test -z "$PKG_CONFIG"; then
21806 # Extract the first word of "pkg-config", so it can be a program name with args.
21807 set dummy pkg-config
; ac_word
=$2
21808 echo "$as_me:$LINENO: checking for $ac_word" >&5
21809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 case $PKG_CONFIG in
21815 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21819 for as_dir
in $PATH
21822 test -z "$as_dir" && as_dir
=.
21823 for ac_exec_ext
in '' $ac_executable_extensions; do
21824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21825 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21832 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21836 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21838 if test -n "$PKG_CONFIG"; then
21839 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21840 echo "${ECHO_T}$PKG_CONFIG" >&6
21842 echo "$as_me:$LINENO: result: no" >&5
21843 echo "${ECHO_T}no" >&6
21848 if test "$PKG_CONFIG" = "no" ; then
21849 echo "*** The pkg-config script could not be found. Make sure it is"
21850 echo "*** in your path, or set the PKG_CONFIG environment variable"
21851 echo "*** to the full path to pkg-config."
21852 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21854 PKG_CONFIG_MIN_VERSION
=0.9.0
21855 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21856 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
21857 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
21859 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21860 echo "$as_me:$LINENO: result: yes" >&5
21861 echo "${ECHO_T}yes" >&6
21864 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
21865 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
21866 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21867 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
21868 echo "${ECHO_T}$GDK_CFLAGS" >&6
21870 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
21871 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
21872 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21873 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
21874 echo "${ECHO_T}$GDK_LIBS" >&6
21878 ## If we have a custom action on failure, don't print errors, but
21879 ## do set a variable so people can do so.
21880 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21881 echo $GDK_PKG_ERRORS
21887 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21888 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21892 if test $succeeded = yes; then
21895 { { 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
21896 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;}
21897 { (exit 1); exit 1; }; }
21902 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
21903 if test "$USE_GCONF_PREFS_PEER" = ""; then
21904 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
21908 if test "x${COMPILE_QT_PEER}" = xyes
; then
21912 if test -z "$PKG_CONFIG"; then
21913 # Extract the first word of "pkg-config", so it can be a program name with args.
21914 set dummy pkg-config
; ac_word
=$2
21915 echo "$as_me:$LINENO: checking for $ac_word" >&5
21916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 case $PKG_CONFIG in
21922 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21926 for as_dir
in $PATH
21929 test -z "$as_dir" && as_dir
=.
21930 for ac_exec_ext
in '' $ac_executable_extensions; do
21931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21932 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21939 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21943 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21945 if test -n "$PKG_CONFIG"; then
21946 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21947 echo "${ECHO_T}$PKG_CONFIG" >&6
21949 echo "$as_me:$LINENO: result: no" >&5
21950 echo "${ECHO_T}no" >&6
21955 if test "$PKG_CONFIG" = "no" ; then
21956 echo "*** The pkg-config script could not be found. Make sure it is"
21957 echo "*** in your path, or set the PKG_CONFIG environment variable"
21958 echo "*** to the full path to pkg-config."
21959 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21961 PKG_CONFIG_MIN_VERSION
=0.9.0
21962 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21963 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
21964 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
21966 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21967 echo "$as_me:$LINENO: result: yes" >&5
21968 echo "${ECHO_T}yes" >&6
21971 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
21972 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
21973 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21974 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
21975 echo "${ECHO_T}$QT_CFLAGS" >&6
21977 echo "$as_me:$LINENO: checking QT_LIBS" >&5
21978 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
21979 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21980 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
21981 echo "${ECHO_T}$QT_LIBS" >&6
21985 ## If we have a custom action on failure, don't print errors, but
21986 ## do set a variable so people can do so.
21987 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21994 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21995 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21999 if test $succeeded = yes; then
22005 if test "x$HAVE_QT4" = "xyes"; then
22006 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
22007 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
22008 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22009 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
22010 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22011 if eval "test \"\${$as_ac_File+set}\" = set"; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 test "$cross_compiling" = yes &&
22015 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22016 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22017 { (exit 1); exit 1; }; }
22018 if test -r "$QT_INCLUDE_DIR/QWidget"; then
22019 eval "$as_ac_File=yes"
22021 eval "$as_ac_File=no"
22024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22025 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22026 if test `eval echo '${'$as_ac_File'}'` = yes; then
22027 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
22028 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
22030 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22031 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
22032 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22033 if eval "test \"\${$as_ac_File+set}\" = set"; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22036 test "$cross_compiling" = yes &&
22037 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22038 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22039 { (exit 1); exit 1; }; }
22040 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
22041 eval "$as_ac_File=yes"
22043 eval "$as_ac_File=no"
22046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22047 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22048 if test `eval echo '${'$as_ac_File'}'` = yes; then
22049 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
22051 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
22052 echo "$as_me: WARNING: QWidget not found" >&2;}
22057 # Extract the first word of "moc", so it can be a program name with args.
22058 set dummy moc
; ac_word
=$2
22059 echo "$as_me:$LINENO: checking for $ac_word" >&5
22060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22061 if test "${ac_cv_prog_MOC+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 if test -n "$MOC"; then
22065 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22068 for as_dir
in $PATH
22071 test -z "$as_dir" && as_dir
=.
22072 for ac_exec_ext
in '' $ac_executable_extensions; do
22073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22074 ac_cv_prog_MOC
="moc"
22075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22083 MOC
=$ac_cv_prog_MOC
22084 if test -n "$MOC"; then
22085 echo "$as_me:$LINENO: result: $MOC" >&5
22086 echo "${ECHO_T}$MOC" >&6
22088 echo "$as_me:$LINENO: result: no" >&5
22089 echo "${ECHO_T}no" >&6
22092 # Extract the first word of "moc-qt4", so it can be a program name with args.
22093 set dummy moc-qt4
; ac_word
=$2
22094 echo "$as_me:$LINENO: checking for $ac_word" >&5
22095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22096 if test "${ac_cv_prog_MOC+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 if test -n "$MOC"; then
22100 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22103 for as_dir
in $PATH
22106 test -z "$as_dir" && as_dir
=.
22107 for ac_exec_ext
in '' $ac_executable_extensions; do
22108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22109 ac_cv_prog_MOC
="moc-qt4"
22110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22118 MOC
=$ac_cv_prog_MOC
22119 if test -n "$MOC"; then
22120 echo "$as_me:$LINENO: result: $MOC" >&5
22121 echo "${ECHO_T}$MOC" >&6
22123 echo "$as_me:$LINENO: result: no" >&5
22124 echo "${ECHO_T}no" >&6
22128 if test "x$HAVE_QT4" = "xno"; then
22129 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
22130 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
22134 # Check whether --with-qt4dir or --without-qt4dir was given.
22135 if test "${with_qt4dir+set}" = set; then
22136 withval
="$with_qt4dir"
22140 if test x
"$QT4DIR" = x
; then
22141 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
22142 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
22143 { (exit 1); exit 1; }; }
22145 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
22146 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
22147 # Extract the first word of "moc", so it can be a program name with args.
22148 set dummy moc
; ac_word
=$2
22149 echo "$as_me:$LINENO: checking for $ac_word" >&5
22150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22151 if test "${ac_cv_prog_MOC+set}" = set; then
22152 echo $ECHO_N "(cached) $ECHO_C" >&6
22154 if test -n "$MOC"; then
22155 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
22157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22158 for as_dir
in $QT4DIR/bin
22161 test -z "$as_dir" && as_dir
=.
22162 for ac_exec_ext
in '' $ac_executable_extensions; do
22163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22164 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
22165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22173 MOC
=$ac_cv_prog_MOC
22174 if test -n "$MOC"; then
22175 echo "$as_me:$LINENO: result: $MOC" >&5
22176 echo "${ECHO_T}$MOC" >&6
22178 echo "$as_me:$LINENO: result: no" >&5
22179 echo "${ECHO_T}no" >&6
22182 if test x
"$MOC" = x
; then
22183 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
22184 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
22185 { (exit 1); exit 1; }; }
22187 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
22188 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
22189 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
22190 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
22193 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
22194 of your installed Qt4 installation." >&5
22195 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
22196 of your installed Qt4 installation." >&2;}
22197 { (exit 1); exit 1; }; }
22201 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
22202 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
22206 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
22207 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
22208 cat >conftest.
$ac_ext <<_ACEOF
22211 cat confdefs.h
>>conftest.
$ac_ext
22212 cat >>conftest.
$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 #include <sys/socket.h>
22218 int f = MSG_NOSIGNAL;
22223 rm -f conftest.
$ac_objext
22224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22225 (eval $ac_compile) 2>conftest.er1
22227 grep -v '^ *+' conftest.er1
>conftest.err
22229 cat conftest.err
>&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } &&
22232 { ac_try
='test -z "$ac_c_werror_flag"
22233 || test ! -s conftest.err'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; } &&
22239 { ac_try
='test -s conftest.$ac_objext'
22240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241 (eval $ac_try) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); }; }; then
22245 echo "$as_me:$LINENO: result: yes" >&5
22246 echo "${ECHO_T}yes" >&6
22248 cat >>confdefs.h
<<\_ACEOF
22249 #define HAVE_MSG_NOSIGNAL 1
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.
$ac_ext >&5
22256 echo "$as_me:$LINENO: result: no" >&5
22257 echo "${ECHO_T}no" >&6
22260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22261 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
22262 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
22263 cat >conftest.
$ac_ext <<_ACEOF
22266 cat confdefs.h
>>conftest.
$ac_ext
22267 cat >>conftest.
$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22269 #include <sys/socket.h>
22273 int f = SO_NOSIGPIPE;
22278 rm -f conftest.
$ac_objext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22280 (eval $ac_compile) 2>conftest.er1
22282 grep -v '^ *+' conftest.er1
>conftest.err
22284 cat conftest.err
>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); } &&
22287 { ac_try
='test -z "$ac_c_werror_flag"
22288 || test ! -s conftest.err'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try
='test -s conftest.$ac_objext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 echo "$as_me:$LINENO: result: yes" >&5
22301 echo "${ECHO_T}yes" >&6
22303 cat >>confdefs.h
<<\_ACEOF
22304 #define HAVE_SO_NOSIGPIPE 1
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.
$ac_ext >&5
22311 echo "$as_me:$LINENO: result: no" >&5
22312 echo "${ECHO_T}no" >&6
22315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22317 if test "x${COMPILE_PLUGIN}" = xyes
; then
22321 if test -z "$PKG_CONFIG"; then
22322 # Extract the first word of "pkg-config", so it can be a program name with args.
22323 set dummy pkg-config
; ac_word
=$2
22324 echo "$as_me:$LINENO: checking for $ac_word" >&5
22325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22326 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22327 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 case $PKG_CONFIG in
22331 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22335 for as_dir
in $PATH
22338 test -z "$as_dir" && as_dir
=.
22339 for ac_exec_ext
in '' $ac_executable_extensions; do
22340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22341 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22348 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22352 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22354 if test -n "$PKG_CONFIG"; then
22355 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22356 echo "${ECHO_T}$PKG_CONFIG" >&6
22358 echo "$as_me:$LINENO: result: no" >&5
22359 echo "${ECHO_T}no" >&6
22364 if test "$PKG_CONFIG" = "no" ; then
22365 echo "*** The pkg-config script could not be found. Make sure it is"
22366 echo "*** in your path, or set the PKG_CONFIG environment variable"
22367 echo "*** to the full path to pkg-config."
22368 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22370 PKG_CONFIG_MIN_VERSION
=0.9.0
22371 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22372 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
22373 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
22375 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22376 echo "$as_me:$LINENO: result: yes" >&5
22377 echo "${ECHO_T}yes" >&6
22380 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22381 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22382 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
22383 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22384 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22386 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22387 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22388 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
22389 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22390 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22394 ## If we have a custom action on failure, don't print errors, but
22395 ## do set a variable so people can do so.
22396 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22403 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22404 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22408 if test $succeeded = yes; then
22414 if test "x${MOZILLA_FOUND}" = xno
; then
22418 if test -z "$PKG_CONFIG"; then
22419 # Extract the first word of "pkg-config", so it can be a program name with args.
22420 set dummy pkg-config
; ac_word
=$2
22421 echo "$as_me:$LINENO: checking for $ac_word" >&5
22422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22423 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 case $PKG_CONFIG in
22428 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22432 for as_dir
in $PATH
22435 test -z "$as_dir" && as_dir
=.
22436 for ac_exec_ext
in '' $ac_executable_extensions; do
22437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22438 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22445 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22449 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22451 if test -n "$PKG_CONFIG"; then
22452 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22453 echo "${ECHO_T}$PKG_CONFIG" >&6
22455 echo "$as_me:$LINENO: result: no" >&5
22456 echo "${ECHO_T}no" >&6
22461 if test "$PKG_CONFIG" = "no" ; then
22462 echo "*** The pkg-config script could not be found. Make sure it is"
22463 echo "*** in your path, or set the PKG_CONFIG environment variable"
22464 echo "*** to the full path to pkg-config."
22465 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22467 PKG_CONFIG_MIN_VERSION
=0.9.0
22468 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22469 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
22470 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
22472 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22473 echo "$as_me:$LINENO: result: yes" >&5
22474 echo "${ECHO_T}yes" >&6
22477 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22478 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22479 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22480 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22481 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22483 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22484 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22485 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22486 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22487 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22491 ## If we have a custom action on failure, don't print errors, but
22492 ## do set a variable so people can do so.
22493 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22500 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22501 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22505 if test $succeeded = yes; then
22512 if test "x${MOZILLA_FOUND}" = xno
; then
22516 if test -z "$PKG_CONFIG"; then
22517 # Extract the first word of "pkg-config", so it can be a program name with args.
22518 set dummy pkg-config
; ac_word
=$2
22519 echo "$as_me:$LINENO: checking for $ac_word" >&5
22520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 case $PKG_CONFIG in
22526 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22530 for as_dir
in $PATH
22533 test -z "$as_dir" && as_dir
=.
22534 for ac_exec_ext
in '' $ac_executable_extensions; do
22535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22536 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22543 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22547 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22549 if test -n "$PKG_CONFIG"; then
22550 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22551 echo "${ECHO_T}$PKG_CONFIG" >&6
22553 echo "$as_me:$LINENO: result: no" >&5
22554 echo "${ECHO_T}no" >&6
22559 if test "$PKG_CONFIG" = "no" ; then
22560 echo "*** The pkg-config script could not be found. Make sure it is"
22561 echo "*** in your path, or set the PKG_CONFIG environment variable"
22562 echo "*** to the full path to pkg-config."
22563 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22565 PKG_CONFIG_MIN_VERSION
=0.9.0
22566 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22567 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
22568 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
22570 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22571 echo "$as_me:$LINENO: result: yes" >&5
22572 echo "${ECHO_T}yes" >&6
22575 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22576 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22577 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22578 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22579 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22581 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22582 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22583 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22584 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22585 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22589 ## If we have a custom action on failure, don't print errors, but
22590 ## do set a variable so people can do so.
22591 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22598 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22599 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22603 if test $succeeded = yes; then
22610 if test "x${MOZILLA_FOUND}" = xno
; then
22614 if test -z "$PKG_CONFIG"; then
22615 # Extract the first word of "pkg-config", so it can be a program name with args.
22616 set dummy pkg-config
; ac_word
=$2
22617 echo "$as_me:$LINENO: checking for $ac_word" >&5
22618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22619 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22622 case $PKG_CONFIG in
22624 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22628 for as_dir
in $PATH
22631 test -z "$as_dir" && as_dir
=.
22632 for ac_exec_ext
in '' $ac_executable_extensions; do
22633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22634 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22641 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22645 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22647 if test -n "$PKG_CONFIG"; then
22648 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22649 echo "${ECHO_T}$PKG_CONFIG" >&6
22651 echo "$as_me:$LINENO: result: no" >&5
22652 echo "${ECHO_T}no" >&6
22657 if test "$PKG_CONFIG" = "no" ; then
22658 echo "*** The pkg-config script could not be found. Make sure it is"
22659 echo "*** in your path, or set the PKG_CONFIG environment variable"
22660 echo "*** to the full path to pkg-config."
22661 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22663 PKG_CONFIG_MIN_VERSION
=0.9.0
22664 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22665 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22666 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
22668 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22669 echo "$as_me:$LINENO: result: yes" >&5
22670 echo "${ECHO_T}yes" >&6
22673 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22674 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22675 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22676 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22677 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22679 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22680 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22681 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22682 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22683 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22687 ## If we have a custom action on failure, don't print errors, but
22688 ## do set a variable so people can do so.
22689 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22696 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22697 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22701 if test $succeeded = yes; then
22708 if test "x${MOZILLA_FOUND}" = xno
; then
22712 if test -z "$PKG_CONFIG"; then
22713 # Extract the first word of "pkg-config", so it can be a program name with args.
22714 set dummy pkg-config
; ac_word
=$2
22715 echo "$as_me:$LINENO: checking for $ac_word" >&5
22716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22717 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22720 case $PKG_CONFIG in
22722 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22726 for as_dir
in $PATH
22729 test -z "$as_dir" && as_dir
=.
22730 for ac_exec_ext
in '' $ac_executable_extensions; do
22731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22732 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22739 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22743 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22745 if test -n "$PKG_CONFIG"; then
22746 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22747 echo "${ECHO_T}$PKG_CONFIG" >&6
22749 echo "$as_me:$LINENO: result: no" >&5
22750 echo "${ECHO_T}no" >&6
22755 if test "$PKG_CONFIG" = "no" ; then
22756 echo "*** The pkg-config script could not be found. Make sure it is"
22757 echo "*** in your path, or set the PKG_CONFIG environment variable"
22758 echo "*** to the full path to pkg-config."
22759 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22761 PKG_CONFIG_MIN_VERSION
=0.9.0
22762 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22763 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
22764 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
22766 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22767 echo "$as_me:$LINENO: result: yes" >&5
22768 echo "${ECHO_T}yes" >&6
22771 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22772 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22773 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22774 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22775 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22777 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22778 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22779 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22780 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22781 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22785 ## If we have a custom action on failure, don't print errors, but
22786 ## do set a variable so people can do so.
22787 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22794 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22795 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22799 if test $succeeded = yes; then
22806 if test "x${MOZILLA_FOUND}" = xno
; then
22810 if test -z "$PKG_CONFIG"; then
22811 # Extract the first word of "pkg-config", so it can be a program name with args.
22812 set dummy pkg-config
; ac_word
=$2
22813 echo "$as_me:$LINENO: checking for $ac_word" >&5
22814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22818 case $PKG_CONFIG in
22820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22824 for as_dir
in $PATH
22827 test -z "$as_dir" && as_dir
=.
22828 for ac_exec_ext
in '' $ac_executable_extensions; do
22829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22837 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22843 if test -n "$PKG_CONFIG"; then
22844 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22845 echo "${ECHO_T}$PKG_CONFIG" >&6
22847 echo "$as_me:$LINENO: result: no" >&5
22848 echo "${ECHO_T}no" >&6
22853 if test "$PKG_CONFIG" = "no" ; then
22854 echo "*** The pkg-config script could not be found. Make sure it is"
22855 echo "*** in your path, or set the PKG_CONFIG environment variable"
22856 echo "*** to the full path to pkg-config."
22857 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22859 PKG_CONFIG_MIN_VERSION
=0.9.0
22860 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22861 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
22862 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
22864 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
22865 echo "$as_me:$LINENO: result: yes" >&5
22866 echo "${ECHO_T}yes" >&6
22869 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22870 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22871 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
22872 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22873 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22875 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22876 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22877 MOZILLA_LIBS
=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
22878 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22879 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22883 ## If we have a custom action on failure, don't print errors, but
22884 ## do set a variable so people can do so.
22885 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
22892 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22893 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22897 if test $succeeded = yes; then
22904 if test "x${MOZILLA_FOUND}" = xno
; then
22905 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
22906 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
22907 { (exit 1); exit 1; }; }
22913 if test -z "$PKG_CONFIG"; then
22914 # Extract the first word of "pkg-config", so it can be a program name with args.
22915 set dummy pkg-config
; ac_word
=$2
22916 echo "$as_me:$LINENO: checking for $ac_word" >&5
22917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22918 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22919 echo $ECHO_N "(cached) $ECHO_C" >&6
22921 case $PKG_CONFIG in
22923 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22927 for as_dir
in $PATH
22930 test -z "$as_dir" && as_dir
=.
22931 for ac_exec_ext
in '' $ac_executable_extensions; do
22932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22933 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22940 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22944 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22946 if test -n "$PKG_CONFIG"; then
22947 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22948 echo "${ECHO_T}$PKG_CONFIG" >&6
22950 echo "$as_me:$LINENO: result: no" >&5
22951 echo "${ECHO_T}no" >&6
22956 if test "$PKG_CONFIG" = "no" ; then
22957 echo "*** The pkg-config script could not be found. Make sure it is"
22958 echo "*** in your path, or set the PKG_CONFIG environment variable"
22959 echo "*** to the full path to pkg-config."
22960 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22962 PKG_CONFIG_MIN_VERSION
=0.9.0
22963 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22964 echo "$as_me:$LINENO: checking for glib-2.0" >&5
22965 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
22967 if $PKG_CONFIG --exists "glib-2.0" ; then
22968 echo "$as_me:$LINENO: result: yes" >&5
22969 echo "${ECHO_T}yes" >&6
22972 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
22973 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
22974 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
22975 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
22976 echo "${ECHO_T}$GLIB_CFLAGS" >&6
22978 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
22979 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
22980 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
22981 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
22982 echo "${ECHO_T}$GLIB_LIBS" >&6
22986 ## If we have a custom action on failure, don't print errors, but
22987 ## do set a variable so people can do so.
22988 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
22989 echo $GLIB_PKG_ERRORS
22995 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22996 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23000 if test $succeeded = yes; then
23003 { { 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
23004 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;}
23005 { (exit 1); exit 1; }; }
23011 if test -z "$PKG_CONFIG"; then
23012 # Extract the first word of "pkg-config", so it can be a program name with args.
23013 set dummy pkg-config
; ac_word
=$2
23014 echo "$as_me:$LINENO: checking for $ac_word" >&5
23015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23016 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23019 case $PKG_CONFIG in
23021 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23025 for as_dir
in $PATH
23028 test -z "$as_dir" && as_dir
=.
23029 for ac_exec_ext
in '' $ac_executable_extensions; do
23030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23031 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23038 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23042 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23044 if test -n "$PKG_CONFIG"; then
23045 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23046 echo "${ECHO_T}$PKG_CONFIG" >&6
23048 echo "$as_me:$LINENO: result: no" >&5
23049 echo "${ECHO_T}no" >&6
23054 if test "$PKG_CONFIG" = "no" ; then
23055 echo "*** The pkg-config script could not be found. Make sure it is"
23056 echo "*** in your path, or set the PKG_CONFIG environment variable"
23057 echo "*** to the full path to pkg-config."
23058 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23060 PKG_CONFIG_MIN_VERSION
=0.9.0
23061 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23062 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23063 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
23065 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23066 echo "$as_me:$LINENO: result: yes" >&5
23067 echo "${ECHO_T}yes" >&6
23070 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
23071 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
23072 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23073 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
23074 echo "${ECHO_T}$GTK_CFLAGS" >&6
23076 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
23077 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
23078 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23079 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
23080 echo "${ECHO_T}$GTK_LIBS" >&6
23084 ## If we have a custom action on failure, don't print errors, but
23085 ## do set a variable so people can do so.
23086 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23087 echo $GTK_PKG_ERRORS
23093 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23094 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23098 if test $succeeded = yes; then
23101 { { 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
23102 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;}
23103 { (exit 1); exit 1; }; }
23114 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
23121 # Check whether --with-javah or --without-javah was given.
23122 if test "${with_javah+set}" = set; then
23123 withval
="$with_javah"
23125 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23127 if test "x${withval}" != x
; then
23128 if test -f "${withval}"; then
23129 USER_JAVAH
="${withval}"
23131 # Extract the first word of ""${withval}"", so it can be a program name with args.
23132 set dummy
"${withval}"; ac_word
=$2
23133 echo "$as_me:$LINENO: checking for $ac_word" >&5
23134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23135 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 case $USER_JAVAH in
23140 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23144 for as_dir
in $PATH
23147 test -z "$as_dir" && as_dir
=.
23148 for ac_exec_ext
in '' $ac_executable_extensions; do
23149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23150 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23160 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23162 if test -n "$USER_JAVAH"; then
23163 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23164 echo "${ECHO_T}$USER_JAVAH" >&6
23166 echo "$as_me:$LINENO: result: no" >&5
23167 echo "${ECHO_T}no" >&6
23172 for javah_name
in gcjh javah
; do
23173 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23174 set dummy
"$javah_name"; ac_word
=$2
23175 echo "$as_me:$LINENO: checking for $ac_word" >&5
23176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23177 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 case $USER_JAVAH in
23182 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23186 for as_dir
in $PATH
23189 test -z "$as_dir" && as_dir
=.
23190 for ac_exec_ext
in '' $ac_executable_extensions; do
23191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23192 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23202 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23204 if test -n "$USER_JAVAH"; then
23205 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23206 echo "${ECHO_T}$USER_JAVAH" >&6
23208 echo "$as_me:$LINENO: result: no" >&5
23209 echo "${ECHO_T}no" >&6
23212 if test "x${USER_JAVAH}" != x
; then
23218 # if test "x${USER_JAVAH}" = x; then
23219 # echo "configure: cannot find javah" 1>&2
23225 if test "x" != x
; then
23226 if test -f ""; then
23229 # Extract the first word of """", so it can be a program name with args.
23230 set dummy
""; ac_word
=$2
23231 echo "$as_me:$LINENO: checking for $ac_word" >&5
23232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23233 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 case $USER_JAVAH in
23238 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23242 for as_dir
in $PATH
23245 test -z "$as_dir" && as_dir
=.
23246 for ac_exec_ext
in '' $ac_executable_extensions; do
23247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23248 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23258 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23260 if test -n "$USER_JAVAH"; then
23261 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23262 echo "${ECHO_T}$USER_JAVAH" >&6
23264 echo "$as_me:$LINENO: result: no" >&5
23265 echo "${ECHO_T}no" >&6
23270 for javah_name
in gcjh javah
; do
23271 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23272 set dummy
"$javah_name"; ac_word
=$2
23273 echo "$as_me:$LINENO: checking for $ac_word" >&5
23274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23275 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 case $USER_JAVAH in
23280 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23284 for as_dir
in $PATH
23287 test -z "$as_dir" && as_dir
=.
23288 for ac_exec_ext
in '' $ac_executable_extensions; do
23289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23290 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23300 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23302 if test -n "$USER_JAVAH"; then
23303 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23304 echo "${ECHO_T}$USER_JAVAH" >&6
23306 echo "$as_me:$LINENO: result: no" >&5
23307 echo "${ECHO_T}no" >&6
23310 if test "x${USER_JAVAH}" != x
; then
23316 # if test "x${USER_JAVAH}" = x; then
23317 # echo "configure: cannot find javah" 1>&2
23326 if test "x" != x
; then
23327 if test -f ""; then
23330 # Extract the first word of """", so it can be a program name with args.
23331 set dummy
""; ac_word
=$2
23332 echo "$as_me:$LINENO: checking for $ac_word" >&5
23333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23334 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23337 case $USER_JAVAH in
23339 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23343 for as_dir
in $PATH
23346 test -z "$as_dir" && as_dir
=.
23347 for ac_exec_ext
in '' $ac_executable_extensions; do
23348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23349 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23359 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23361 if test -n "$USER_JAVAH"; then
23362 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23363 echo "${ECHO_T}$USER_JAVAH" >&6
23365 echo "$as_me:$LINENO: result: no" >&5
23366 echo "${ECHO_T}no" >&6
23371 for javah_name
in gcjh javah
; do
23372 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23373 set dummy
"$javah_name"; ac_word
=$2
23374 echo "$as_me:$LINENO: checking for $ac_word" >&5
23375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23376 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 case $USER_JAVAH in
23381 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
23384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23385 for as_dir
in $PATH
23388 test -z "$as_dir" && as_dir
=.
23389 for ac_exec_ext
in '' $ac_executable_extensions; do
23390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23391 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
23392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23401 USER_JAVAH
=$ac_cv_path_USER_JAVAH
23403 if test -n "$USER_JAVAH"; then
23404 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23405 echo "${ECHO_T}$USER_JAVAH" >&6
23407 echo "$as_me:$LINENO: result: no" >&5
23408 echo "${ECHO_T}no" >&6
23411 if test "x${USER_JAVAH}" != x
; then
23417 # if test "x${USER_JAVAH}" = x; then
23418 # echo "configure: cannot find javah" 1>&2
23426 if test "x${USER_JAVAH}" != x
; then
23427 USER_SPECIFIED_JAVAH_TRUE
=
23428 USER_SPECIFIED_JAVAH_FALSE
='#'
23430 USER_SPECIFIED_JAVAH_TRUE
='#'
23431 USER_SPECIFIED_JAVAH_FALSE
=
23437 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23440 if test "x${COMPILE_JNI}" = xyes
; then
23441 echo "$as_me:$LINENO: checking jni_md.h support" >&5
23442 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
23443 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
23444 echo "$as_me:$LINENO: result: yes" >&5
23445 echo "${ECHO_T}yes" >&6
23448 target_os
=linux-gnu
23449 { echo "$as_me:$LINENO: WARNING: no" >&5
23450 echo "$as_me: WARNING: no" >&2;}
23452 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
23453 ac_dests
="include/jni_md.h"
23454 while test -n "$ac_sources"; do
23455 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23456 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23457 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23459 ac_config_links
="$ac_config_links $ac_config_links_1"
23464 user_specified_javac
=
23468 # Check whether --with-gcj or --without-gcj was given.
23469 if test "${with_gcj+set}" = set; then
23470 withval
="$with_gcj"
23472 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23474 if test "x${withval}" != x
; then
23475 if test -f "${withval}"; then
23478 # Extract the first word of ""${withval}"", so it can be a program name with args.
23479 set dummy
"${withval}"; 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_GCJ+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23487 ac_cv_path_GCJ
="$GCJ" # 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_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23507 GCJ
=$ac_cv_path_GCJ
23509 if test -n "$GCJ"; then
23510 echo "$as_me:$LINENO: result: $GCJ" >&5
23511 echo "${ECHO_T}$GCJ" >&6
23513 echo "$as_me:$LINENO: result: no" >&5
23514 echo "${ECHO_T}no" >&6
23519 # Extract the first word of ""gcj"", so it can be a program name with args.
23520 set dummy
"gcj"; ac_word
=$2
23521 echo "$as_me:$LINENO: checking for $ac_word" >&5
23522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23523 if test "${ac_cv_path_GCJ+set}" = set; then
23524 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
23531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23532 for as_dir
in $PATH
23535 test -z "$as_dir" && as_dir
=.
23536 for ac_exec_ext
in '' $ac_executable_extensions; do
23537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23538 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23548 GCJ
=$ac_cv_path_GCJ
23550 if test -n "$GCJ"; then
23551 echo "$as_me:$LINENO: result: $GCJ" >&5
23552 echo "${ECHO_T}$GCJ" >&6
23554 echo "$as_me:$LINENO: result: no" >&5
23555 echo "${ECHO_T}no" >&6
23559 if test "x$GCJ" != x
; then
23560 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23561 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23563 ac_cpp
='$CPP $CPPFLAGS'
23564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23568 cat >conftest.
$ac_ext <<_ACEOF
23570 #error GCJ 4.0.0 or higher is required
23574 $GCJ -E conftest.c
> /dev
/null
23576 if test "x$gcj_4_result" = "x0"; then
23577 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23578 echo "${ECHO_T}4.0 or higher found" >&6
23580 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23581 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23584 ac_cpp
='$CPP $CPPFLAGS'
23585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23592 if test "x${withval}" != xno
; then
23594 if test "x" != x
; then
23595 if test -f ""; then
23598 # Extract the first word of """", so it can be a program name with args.
23599 set dummy
""; ac_word
=$2
23600 echo "$as_me:$LINENO: checking for $ac_word" >&5
23601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23602 if test "${ac_cv_path_GCJ+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
23610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23611 for as_dir
in $PATH
23614 test -z "$as_dir" && as_dir
=.
23615 for ac_exec_ext
in '' $ac_executable_extensions; do
23616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23617 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23627 GCJ
=$ac_cv_path_GCJ
23629 if test -n "$GCJ"; then
23630 echo "$as_me:$LINENO: result: $GCJ" >&5
23631 echo "${ECHO_T}$GCJ" >&6
23633 echo "$as_me:$LINENO: result: no" >&5
23634 echo "${ECHO_T}no" >&6
23639 # Extract the first word of ""gcj"", so it can be a program name with args.
23640 set dummy
"gcj"; ac_word
=$2
23641 echo "$as_me:$LINENO: checking for $ac_word" >&5
23642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23643 if test "${ac_cv_path_GCJ+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
23651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23652 for as_dir
in $PATH
23655 test -z "$as_dir" && as_dir
=.
23656 for ac_exec_ext
in '' $ac_executable_extensions; do
23657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23658 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23668 GCJ
=$ac_cv_path_GCJ
23670 if test -n "$GCJ"; then
23671 echo "$as_me:$LINENO: result: $GCJ" >&5
23672 echo "${ECHO_T}$GCJ" >&6
23674 echo "$as_me:$LINENO: result: no" >&5
23675 echo "${ECHO_T}no" >&6
23679 if test "x$GCJ" != x
; then
23680 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23681 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23683 ac_cpp
='$CPP $CPPFLAGS'
23684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23688 cat >conftest.
$ac_ext <<_ACEOF
23690 #error GCJ 4.0.0 or higher is required
23694 $GCJ -E conftest.c
> /dev
/null
23696 if test "x$gcj_4_result" = "x0"; then
23697 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23698 echo "${ECHO_T}4.0 or higher found" >&6
23700 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23701 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23704 ac_cpp
='$CPP $CPPFLAGS'
23705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23713 user_specified_javac
=gcj
23718 if test "x" != x
; then
23719 if test -f ""; then
23722 # Extract the first word of """", so it can be a program name with args.
23723 set dummy
""; ac_word
=$2
23724 echo "$as_me:$LINENO: checking for $ac_word" >&5
23725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23726 if test "${ac_cv_path_GCJ+set}" = set; then
23727 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
23734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23735 for as_dir
in $PATH
23738 test -z "$as_dir" && as_dir
=.
23739 for ac_exec_ext
in '' $ac_executable_extensions; do
23740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23741 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23751 GCJ
=$ac_cv_path_GCJ
23753 if test -n "$GCJ"; then
23754 echo "$as_me:$LINENO: result: $GCJ" >&5
23755 echo "${ECHO_T}$GCJ" >&6
23757 echo "$as_me:$LINENO: result: no" >&5
23758 echo "${ECHO_T}no" >&6
23763 # Extract the first word of ""gcj"", so it can be a program name with args.
23764 set dummy
"gcj"; ac_word
=$2
23765 echo "$as_me:$LINENO: checking for $ac_word" >&5
23766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23767 if test "${ac_cv_path_GCJ+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23772 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
23775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23776 for as_dir
in $PATH
23779 test -z "$as_dir" && as_dir
=.
23780 for ac_exec_ext
in '' $ac_executable_extensions; do
23781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23782 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
23783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23792 GCJ
=$ac_cv_path_GCJ
23794 if test -n "$GCJ"; then
23795 echo "$as_me:$LINENO: result: $GCJ" >&5
23796 echo "${ECHO_T}$GCJ" >&6
23798 echo "$as_me:$LINENO: result: no" >&5
23799 echo "${ECHO_T}no" >&6
23803 if test "x$GCJ" != x
; then
23804 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23805 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23807 ac_cpp
='$CPP $CPPFLAGS'
23808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23812 cat >conftest.
$ac_ext <<_ACEOF
23814 #error GCJ 4.0.0 or higher is required
23818 $GCJ -E conftest.c
> /dev
/null
23820 if test "x$gcj_4_result" = "x0"; then
23821 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23822 echo "${ECHO_T}4.0 or higher found" >&6
23824 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23825 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23828 ac_cpp
='$CPP $CPPFLAGS'
23829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23841 # Check whether --with-jikes or --without-jikes was given.
23842 if test "${with_jikes+set}" = set; then
23843 withval
="$with_jikes"
23845 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
23847 if test "x${withval}" != x
; then
23848 if test -f "${withval}"; then
23851 # Extract the first word of ""${withval}"", so it can be a program name with args.
23852 set dummy
"${withval}"; ac_word
=$2
23853 echo "$as_me:$LINENO: checking for $ac_word" >&5
23854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23855 if test "${ac_cv_path_JIKES+set}" = set; then
23856 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23864 for as_dir
in $PATH
23867 test -z "$as_dir" && as_dir
=.
23868 for ac_exec_ext
in '' $ac_executable_extensions; do
23869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23870 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23880 JIKES
=$ac_cv_path_JIKES
23882 if test -n "$JIKES"; then
23883 echo "$as_me:$LINENO: result: $JIKES" >&5
23884 echo "${ECHO_T}$JIKES" >&6
23886 echo "$as_me:$LINENO: result: no" >&5
23887 echo "${ECHO_T}no" >&6
23892 # Extract the first word of ""jikes"", so it can be a program name with args.
23893 set dummy
"jikes"; ac_word
=$2
23894 echo "$as_me:$LINENO: checking for $ac_word" >&5
23895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23896 if test "${ac_cv_path_JIKES+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23905 for as_dir
in $PATH
23908 test -z "$as_dir" && as_dir
=.
23909 for ac_exec_ext
in '' $ac_executable_extensions; do
23910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23911 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23921 JIKES
=$ac_cv_path_JIKES
23923 if test -n "$JIKES"; then
23924 echo "$as_me:$LINENO: result: $JIKES" >&5
23925 echo "${ECHO_T}$JIKES" >&6
23927 echo "$as_me:$LINENO: result: no" >&5
23928 echo "${ECHO_T}no" >&6
23932 if test "x$JIKES" != "x"; then
23933 echo "$as_me:$LINENO: checking jikes version" >&5
23934 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
23935 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
23936 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
23937 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
23938 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
23939 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
23943 if test "x$JIKES" != "x"; then
23944 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
23945 echo "${ECHO_T}$JIKES_VERSION" >&6
23947 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
23948 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
23952 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
23953 JIKESENCODING
='-encoding UTF-8'
23957 JIKESWARNINGS
="+Pno-switchcheck"
23958 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
23959 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
23960 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
23968 if test "x${withval}" != xno
; then
23970 if test "x" != x
; then
23971 if test -f ""; then
23974 # Extract the first word of """", so it can be a program name with args.
23975 set dummy
""; ac_word
=$2
23976 echo "$as_me:$LINENO: checking for $ac_word" >&5
23977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23978 if test "${ac_cv_path_JIKES+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
23986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23987 for as_dir
in $PATH
23990 test -z "$as_dir" && as_dir
=.
23991 for ac_exec_ext
in '' $ac_executable_extensions; do
23992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23993 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
23994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24003 JIKES
=$ac_cv_path_JIKES
24005 if test -n "$JIKES"; then
24006 echo "$as_me:$LINENO: result: $JIKES" >&5
24007 echo "${ECHO_T}$JIKES" >&6
24009 echo "$as_me:$LINENO: result: no" >&5
24010 echo "${ECHO_T}no" >&6
24015 # Extract the first word of ""jikes"", so it can be a program name with args.
24016 set dummy
"jikes"; ac_word
=$2
24017 echo "$as_me:$LINENO: checking for $ac_word" >&5
24018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24019 if test "${ac_cv_path_JIKES+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24028 for as_dir
in $PATH
24031 test -z "$as_dir" && as_dir
=.
24032 for ac_exec_ext
in '' $ac_executable_extensions; do
24033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24034 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24044 JIKES
=$ac_cv_path_JIKES
24046 if test -n "$JIKES"; then
24047 echo "$as_me:$LINENO: result: $JIKES" >&5
24048 echo "${ECHO_T}$JIKES" >&6
24050 echo "$as_me:$LINENO: result: no" >&5
24051 echo "${ECHO_T}no" >&6
24055 if test "x$JIKES" != "x"; then
24056 echo "$as_me:$LINENO: checking jikes version" >&5
24057 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24058 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24059 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24060 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24061 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24062 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24066 if test "x$JIKES" != "x"; then
24067 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24068 echo "${ECHO_T}$JIKES_VERSION" >&6
24070 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24071 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24075 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24076 JIKESENCODING
='-encoding UTF-8'
24080 JIKESWARNINGS
="+Pno-switchcheck"
24081 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24082 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24083 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24092 user_specified_javac
=jikes
24097 if test "x" != x
; then
24098 if test -f ""; then
24101 # Extract the first word of """", so it can be a program name with args.
24102 set dummy
""; ac_word
=$2
24103 echo "$as_me:$LINENO: checking for $ac_word" >&5
24104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24105 if test "${ac_cv_path_JIKES+set}" = set; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24114 for as_dir
in $PATH
24117 test -z "$as_dir" && as_dir
=.
24118 for ac_exec_ext
in '' $ac_executable_extensions; do
24119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24120 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24130 JIKES
=$ac_cv_path_JIKES
24132 if test -n "$JIKES"; then
24133 echo "$as_me:$LINENO: result: $JIKES" >&5
24134 echo "${ECHO_T}$JIKES" >&6
24136 echo "$as_me:$LINENO: result: no" >&5
24137 echo "${ECHO_T}no" >&6
24142 # Extract the first word of ""jikes"", so it can be a program name with args.
24143 set dummy
"jikes"; ac_word
=$2
24144 echo "$as_me:$LINENO: checking for $ac_word" >&5
24145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24146 if test "${ac_cv_path_JIKES+set}" = set; then
24147 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
24154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24155 for as_dir
in $PATH
24158 test -z "$as_dir" && as_dir
=.
24159 for ac_exec_ext
in '' $ac_executable_extensions; do
24160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24161 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
24162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24171 JIKES
=$ac_cv_path_JIKES
24173 if test -n "$JIKES"; then
24174 echo "$as_me:$LINENO: result: $JIKES" >&5
24175 echo "${ECHO_T}$JIKES" >&6
24177 echo "$as_me:$LINENO: result: no" >&5
24178 echo "${ECHO_T}no" >&6
24182 if test "x$JIKES" != "x"; then
24183 echo "$as_me:$LINENO: checking jikes version" >&5
24184 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24185 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24186 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24187 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24188 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
24189 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
24193 if test "x$JIKES" != "x"; then
24194 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24195 echo "${ECHO_T}$JIKES_VERSION" >&6
24197 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24198 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24202 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24203 JIKESENCODING
='-encoding UTF-8'
24207 JIKESWARNINGS
="+Pno-switchcheck"
24208 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
24209 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
24210 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
24223 # Check whether --with-kjc or --without-kjc was given.
24224 if test "${with_kjc+set}" = set; then
24225 withval
="$with_kjc"
24227 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24229 if test "x${withval}" != x
; then
24230 if test -f "${withval}"; then
24233 # Extract the first word of ""${withval}"", so it can be a program name with args.
24234 set dummy
"${withval}"; ac_word
=$2
24235 echo "$as_me:$LINENO: checking for $ac_word" >&5
24236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24237 if test "${ac_cv_path_KJC+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24246 for as_dir
in $PATH
24249 test -z "$as_dir" && as_dir
=.
24250 for ac_exec_ext
in '' $ac_executable_extensions; do
24251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24252 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24262 KJC
=$ac_cv_path_KJC
24264 if test -n "$KJC"; then
24265 echo "$as_me:$LINENO: result: $KJC" >&5
24266 echo "${ECHO_T}$KJC" >&6
24268 echo "$as_me:$LINENO: result: no" >&5
24269 echo "${ECHO_T}no" >&6
24274 # Extract the first word of ""kJC"", so it can be a program name with args.
24275 set dummy
"kJC"; ac_word
=$2
24276 echo "$as_me:$LINENO: checking for $ac_word" >&5
24277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24278 if test "${ac_cv_path_KJC+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24287 for as_dir
in $PATH
24290 test -z "$as_dir" && as_dir
=.
24291 for ac_exec_ext
in '' $ac_executable_extensions; do
24292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24293 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24303 KJC
=$ac_cv_path_KJC
24305 if test -n "$KJC"; then
24306 echo "$as_me:$LINENO: result: $KJC" >&5
24307 echo "${ECHO_T}$KJC" >&6
24309 echo "$as_me:$LINENO: result: no" >&5
24310 echo "${ECHO_T}no" >&6
24316 if test "x${withval}" != xno
; then
24318 if test "x" != x
; then
24319 if test -f ""; then
24322 # Extract the first word of """", so it can be a program name with args.
24323 set dummy
""; ac_word
=$2
24324 echo "$as_me:$LINENO: checking for $ac_word" >&5
24325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24326 if test "${ac_cv_path_KJC+set}" = set; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24331 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24335 for as_dir
in $PATH
24338 test -z "$as_dir" && as_dir
=.
24339 for ac_exec_ext
in '' $ac_executable_extensions; do
24340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24341 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24351 KJC
=$ac_cv_path_KJC
24353 if test -n "$KJC"; then
24354 echo "$as_me:$LINENO: result: $KJC" >&5
24355 echo "${ECHO_T}$KJC" >&6
24357 echo "$as_me:$LINENO: result: no" >&5
24358 echo "${ECHO_T}no" >&6
24363 # Extract the first word of ""kJC"", so it can be a program name with args.
24364 set dummy
"kJC"; ac_word
=$2
24365 echo "$as_me:$LINENO: checking for $ac_word" >&5
24366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24367 if test "${ac_cv_path_KJC+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24376 for as_dir
in $PATH
24379 test -z "$as_dir" && as_dir
=.
24380 for ac_exec_ext
in '' $ac_executable_extensions; do
24381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24382 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24392 KJC
=$ac_cv_path_KJC
24394 if test -n "$KJC"; then
24395 echo "$as_me:$LINENO: result: $KJC" >&5
24396 echo "${ECHO_T}$KJC" >&6
24398 echo "$as_me:$LINENO: result: no" >&5
24399 echo "${ECHO_T}no" >&6
24406 user_specified_javac
=kjc
24411 if test "x" != x
; then
24412 if test -f ""; then
24415 # Extract the first word of """", so it can be a program name with args.
24416 set dummy
""; ac_word
=$2
24417 echo "$as_me:$LINENO: checking for $ac_word" >&5
24418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24419 if test "${ac_cv_path_KJC+set}" = set; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24428 for as_dir
in $PATH
24431 test -z "$as_dir" && as_dir
=.
24432 for ac_exec_ext
in '' $ac_executable_extensions; do
24433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24434 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24444 KJC
=$ac_cv_path_KJC
24446 if test -n "$KJC"; then
24447 echo "$as_me:$LINENO: result: $KJC" >&5
24448 echo "${ECHO_T}$KJC" >&6
24450 echo "$as_me:$LINENO: result: no" >&5
24451 echo "${ECHO_T}no" >&6
24456 # Extract the first word of ""kJC"", so it can be a program name with args.
24457 set dummy
"kJC"; ac_word
=$2
24458 echo "$as_me:$LINENO: checking for $ac_word" >&5
24459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24460 if test "${ac_cv_path_KJC+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
24468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24469 for as_dir
in $PATH
24472 test -z "$as_dir" && as_dir
=.
24473 for ac_exec_ext
in '' $ac_executable_extensions; do
24474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24475 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
24476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24485 KJC
=$ac_cv_path_KJC
24487 if test -n "$KJC"; then
24488 echo "$as_me:$LINENO: result: $KJC" >&5
24489 echo "${ECHO_T}$KJC" >&6
24491 echo "$as_me:$LINENO: result: no" >&5
24492 echo "${ECHO_T}no" >&6
24503 # Check whether --with-ecj or --without-ecj was given.
24504 if test "${with_ecj+set}" = set; then
24505 withval
="$with_ecj"
24507 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24509 if test "x${withval}" != x
; then
24510 if test -f "${withval}"; then
24513 # Extract the first word of ""${withval}"", so it can be a program name with args.
24514 set dummy
"${withval}"; ac_word
=$2
24515 echo "$as_me:$LINENO: checking for $ac_word" >&5
24516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24517 if test "${ac_cv_path_ECJ+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24522 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24526 for as_dir
in $PATH
24529 test -z "$as_dir" && as_dir
=.
24530 for ac_exec_ext
in '' $ac_executable_extensions; do
24531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24532 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24542 ECJ
=$ac_cv_path_ECJ
24544 if test -n "$ECJ"; then
24545 echo "$as_me:$LINENO: result: $ECJ" >&5
24546 echo "${ECHO_T}$ECJ" >&6
24548 echo "$as_me:$LINENO: result: no" >&5
24549 echo "${ECHO_T}no" >&6
24554 # Extract the first word of ""ecj"", so it can be a program name with args.
24555 set dummy
"ecj"; ac_word
=$2
24556 echo "$as_me:$LINENO: checking for $ac_word" >&5
24557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24558 if test "${ac_cv_path_ECJ+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24567 for as_dir
in $PATH
24570 test -z "$as_dir" && as_dir
=.
24571 for ac_exec_ext
in '' $ac_executable_extensions; do
24572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24573 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24583 ECJ
=$ac_cv_path_ECJ
24585 if test -n "$ECJ"; then
24586 echo "$as_me:$LINENO: result: $ECJ" >&5
24587 echo "${ECHO_T}$ECJ" >&6
24589 echo "$as_me:$LINENO: result: no" >&5
24590 echo "${ECHO_T}no" >&6
24596 if test "x${withval}" != xno
; then
24598 if test "x" != x
; then
24599 if test -f ""; then
24602 # Extract the first word of """", so it can be a program name with args.
24603 set dummy
""; ac_word
=$2
24604 echo "$as_me:$LINENO: checking for $ac_word" >&5
24605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24606 if test "${ac_cv_path_ECJ+set}" = set; then
24607 echo $ECHO_N "(cached) $ECHO_C" >&6
24611 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24615 for as_dir
in $PATH
24618 test -z "$as_dir" && as_dir
=.
24619 for ac_exec_ext
in '' $ac_executable_extensions; do
24620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24621 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24631 ECJ
=$ac_cv_path_ECJ
24633 if test -n "$ECJ"; then
24634 echo "$as_me:$LINENO: result: $ECJ" >&5
24635 echo "${ECHO_T}$ECJ" >&6
24637 echo "$as_me:$LINENO: result: no" >&5
24638 echo "${ECHO_T}no" >&6
24643 # Extract the first word of ""ecj"", so it can be a program name with args.
24644 set dummy
"ecj"; ac_word
=$2
24645 echo "$as_me:$LINENO: checking for $ac_word" >&5
24646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24647 if test "${ac_cv_path_ECJ+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24656 for as_dir
in $PATH
24659 test -z "$as_dir" && as_dir
=.
24660 for ac_exec_ext
in '' $ac_executable_extensions; do
24661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24662 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24672 ECJ
=$ac_cv_path_ECJ
24674 if test -n "$ECJ"; then
24675 echo "$as_me:$LINENO: result: $ECJ" >&5
24676 echo "${ECHO_T}$ECJ" >&6
24678 echo "$as_me:$LINENO: result: no" >&5
24679 echo "${ECHO_T}no" >&6
24686 user_specified_javac
=ecj
24691 if test "x" != x
; then
24692 if test -f ""; then
24695 # Extract the first word of """", so it can be a program name with args.
24696 set dummy
""; ac_word
=$2
24697 echo "$as_me:$LINENO: checking for $ac_word" >&5
24698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24699 if test "${ac_cv_path_ECJ+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24704 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24708 for as_dir
in $PATH
24711 test -z "$as_dir" && as_dir
=.
24712 for ac_exec_ext
in '' $ac_executable_extensions; do
24713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24714 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24724 ECJ
=$ac_cv_path_ECJ
24726 if test -n "$ECJ"; then
24727 echo "$as_me:$LINENO: result: $ECJ" >&5
24728 echo "${ECHO_T}$ECJ" >&6
24730 echo "$as_me:$LINENO: result: no" >&5
24731 echo "${ECHO_T}no" >&6
24736 # Extract the first word of ""ecj"", so it can be a program name with args.
24737 set dummy
"ecj"; ac_word
=$2
24738 echo "$as_me:$LINENO: checking for $ac_word" >&5
24739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24740 if test "${ac_cv_path_ECJ+set}" = set; then
24741 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
24748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24749 for as_dir
in $PATH
24752 test -z "$as_dir" && as_dir
=.
24753 for ac_exec_ext
in '' $ac_executable_extensions; do
24754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24755 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
24756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24765 ECJ
=$ac_cv_path_ECJ
24767 if test -n "$ECJ"; then
24768 echo "$as_me:$LINENO: result: $ECJ" >&5
24769 echo "${ECHO_T}$ECJ" >&6
24771 echo "$as_me:$LINENO: result: no" >&5
24772 echo "${ECHO_T}no" >&6
24783 # Check whether --with-javac or --without-javac was given.
24784 if test "${with_javac+set}" = set; then
24785 withval
="$with_javac"
24787 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
24789 if test "x${withval}" != x
; then
24790 if test -f "${withval}"; then
24793 # Extract the first word of ""${withval}"", so it can be a program name with args.
24794 set dummy
"${withval}"; ac_word
=$2
24795 echo "$as_me:$LINENO: checking for $ac_word" >&5
24796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24797 if test "${ac_cv_path_JAVAC+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
24805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24806 for as_dir
in $PATH
24809 test -z "$as_dir" && as_dir
=.
24810 for ac_exec_ext
in '' $ac_executable_extensions; do
24811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24812 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
24813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24822 JAVAC
=$ac_cv_path_JAVAC
24824 if test -n "$JAVAC"; then
24825 echo "$as_me:$LINENO: result: $JAVAC" >&5
24826 echo "${ECHO_T}$JAVAC" >&6
24828 echo "$as_me:$LINENO: result: no" >&5
24829 echo "${ECHO_T}no" >&6
24834 # Extract the first word of ""javac"", so it can be a program name with args.
24835 set dummy
"javac"; ac_word
=$2
24836 echo "$as_me:$LINENO: checking for $ac_word" >&5
24837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24838 if test "${ac_cv_path_JAVAC+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24843 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
24846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24847 for as_dir
in $PATH
24850 test -z "$as_dir" && as_dir
=.
24851 for ac_exec_ext
in '' $ac_executable_extensions; do
24852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24853 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
24854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24863 JAVAC
=$ac_cv_path_JAVAC
24865 if test -n "$JAVAC"; then
24866 echo "$as_me:$LINENO: result: $JAVAC" >&5
24867 echo "${ECHO_T}$JAVAC" >&6
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24876 if test "x${withval}" != xno
; then
24878 if test "x" != x
; then
24879 if test -f ""; then
24882 # Extract the first word of """", so it can be a program name with args.
24883 set dummy
""; ac_word
=$2
24884 echo "$as_me:$LINENO: checking for $ac_word" >&5
24885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24886 if test "${ac_cv_path_JAVAC+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
24894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24895 for as_dir
in $PATH
24898 test -z "$as_dir" && as_dir
=.
24899 for ac_exec_ext
in '' $ac_executable_extensions; do
24900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24901 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
24902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24911 JAVAC
=$ac_cv_path_JAVAC
24913 if test -n "$JAVAC"; then
24914 echo "$as_me:$LINENO: result: $JAVAC" >&5
24915 echo "${ECHO_T}$JAVAC" >&6
24917 echo "$as_me:$LINENO: result: no" >&5
24918 echo "${ECHO_T}no" >&6
24923 # Extract the first word of ""javac"", so it can be a program name with args.
24924 set dummy
"javac"; ac_word
=$2
24925 echo "$as_me:$LINENO: checking for $ac_word" >&5
24926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24927 if test "${ac_cv_path_JAVAC+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24932 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
24935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24936 for as_dir
in $PATH
24939 test -z "$as_dir" && as_dir
=.
24940 for ac_exec_ext
in '' $ac_executable_extensions; do
24941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24942 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
24943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24952 JAVAC
=$ac_cv_path_JAVAC
24954 if test -n "$JAVAC"; then
24955 echo "$as_me:$LINENO: result: $JAVAC" >&5
24956 echo "${ECHO_T}$JAVAC" >&6
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24966 user_specified_javac
=javac
24971 if test "x" != x
; then
24972 if test -f ""; then
24975 # Extract the first word of """", so it can be a program name with args.
24976 set dummy
""; ac_word
=$2
24977 echo "$as_me:$LINENO: checking for $ac_word" >&5
24978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24979 if test "${ac_cv_path_JAVAC+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24984 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
24987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24988 for as_dir
in $PATH
24991 test -z "$as_dir" && as_dir
=.
24992 for ac_exec_ext
in '' $ac_executable_extensions; do
24993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24994 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
24995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25004 JAVAC
=$ac_cv_path_JAVAC
25006 if test -n "$JAVAC"; then
25007 echo "$as_me:$LINENO: result: $JAVAC" >&5
25008 echo "${ECHO_T}$JAVAC" >&6
25010 echo "$as_me:$LINENO: result: no" >&5
25011 echo "${ECHO_T}no" >&6
25016 # Extract the first word of ""javac"", so it can be a program name with args.
25017 set dummy
"javac"; ac_word
=$2
25018 echo "$as_me:$LINENO: checking for $ac_word" >&5
25019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25020 if test "${ac_cv_path_JAVAC+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
25028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25029 for as_dir
in $PATH
25032 test -z "$as_dir" && as_dir
=.
25033 for ac_exec_ext
in '' $ac_executable_extensions; do
25034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25035 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
25036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25045 JAVAC
=$ac_cv_path_JAVAC
25047 if test -n "$JAVAC"; then
25048 echo "$as_me:$LINENO: result: $JAVAC" >&5
25049 echo "${ECHO_T}$JAVAC" >&6
25051 echo "$as_me:$LINENO: result: no" >&5
25052 echo "${ECHO_T}no" >&6
25062 if test "x${user_specified_javac}" = x
; then
25065 if test "x${GCJ}" != x
; then
25067 FOUND_GCJ_FALSE
='#'
25075 if test "x${JIKES}" != x
; then
25077 FOUND_JIKES_FALSE
='#'
25079 FOUND_JIKES_TRUE
='#'
25085 if test "x${ECJ}" != x
; then
25087 FOUND_ECJ_FALSE
='#'
25095 if test "x${JAVAC}" != x
; then
25097 FOUND_JAVAC_FALSE
='#'
25099 FOUND_JAVAC_TRUE
='#'
25106 if test "x${user_specified_javac}" = xgcj
; then
25108 FOUND_GCJ_FALSE
='#'
25116 if test "x${user_specified_javac}" = xjikes
; then
25118 FOUND_JIKES_FALSE
='#'
25120 FOUND_JIKES_TRUE
='#'
25126 if test "x${user_specified_javac}" = xecj
; then
25128 FOUND_ECJ_FALSE
='#'
25136 if test "x${user_specified_javac}" = xjavac
; then
25138 FOUND_JAVAC_FALSE
='#'
25140 FOUND_JAVAC_TRUE
='#'
25147 if test "x${user_specified_javac}" = xkjc
; then
25149 FOUND_KJC_FALSE
='#'
25156 if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj
; then
25157 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5
25158 echo "$as_me: error: cannot find javac, try --with-ecj" >&2;}
25159 { (exit 1); exit 1; }; }
25165 # Check whether --with-classpath or --without-classpath was given.
25166 if test "${with_classpath+set}" = set; then
25167 withval
="$with_classpath"
25169 if test "x${withval}" = xyes
; then
25170 # set user classpath to CLASSPATH from env
25171 echo "$as_me:$LINENO: checking for classlib" >&5
25172 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25173 USER_CLASSLIB
=${CLASSPATH}
25175 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
25176 echo "${ECHO_T}${USER_CLASSLIB}" >&6
25177 conditional_with_classlib
=true
25178 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
25179 # set user classpath to specified value
25180 echo "$as_me:$LINENO: checking for classlib" >&5
25181 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25182 USER_CLASSLIB
=${withval}
25184 echo "$as_me:$LINENO: result: ${withval}" >&5
25185 echo "${ECHO_T}${withval}" >&6
25186 conditional_with_classlib
=true
25190 conditional_with_classlib
=false
25194 if test "x${conditional_with_classlib}" = xtrue
; then
25195 USER_SPECIFIED_CLASSLIB_TRUE
=
25196 USER_SPECIFIED_CLASSLIB_FALSE
='#'
25198 USER_SPECIFIED_CLASSLIB_TRUE
='#'
25199 USER_SPECIFIED_CLASSLIB_FALSE
=
25204 # Check whether --with-vm-classes or --without-vm-classes was given.
25205 if test "${with_vm_classes+set}" = set; then
25206 withval
="$with_vm_classes"
25207 vm_classes
="$with_vm_classes"
25209 vm_classes
='${top_srcdir}/vm/reference'
25214 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25215 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25216 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25217 if test "${enable_maintainer_mode+set}" = set; then
25218 enableval
="$enable_maintainer_mode"
25219 USE_MAINTAINER_MODE
=$enableval
25221 USE_MAINTAINER_MODE
=no
25223 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25224 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25227 if test $USE_MAINTAINER_MODE = yes; then
25228 MAINTAINER_MODE_TRUE
=
25229 MAINTAINER_MODE_FALSE
='#'
25231 MAINTAINER_MODE_TRUE
='#'
25232 MAINTAINER_MODE_FALSE
=
25235 MAINT
=$MAINTAINER_MODE_TRUE
25239 # Check whether --enable-debug or --disable-debug was given.
25240 if test "${enable_debug+set}" = set; then
25241 enableval
="$enable_debug"
25242 case "${enableval}" in
25246 cat >>confdefs.h
<<\_ACEOF
25251 no
) LIBDEBUG
="false" ;;
25252 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25253 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25254 { (exit 1); exit 1; }; } ;;
25261 # Check whether --enable-load-library or --disable-load-library was given.
25262 if test "${enable_load_library+set}" = set; then
25263 enableval
="$enable_load_library"
25264 case "${enableval}" in
25265 yes) INIT_LOAD_LIBRARY
="true" ;;
25266 no
) INIT_LOAD_LIBRARY
="false" ;;
25267 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25268 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25269 { (exit 1); exit 1; }; } ;;
25272 INIT_LOAD_LIBRARY
="true"
25278 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25279 if test "${with_ecj_jar+set}" = set; then
25280 withval
="$with_ecj_jar"
25283 if test -f $multi_basedir/ecj.jar
; then
25284 ECJ_JAR
='$(jardir)/ecj.jar'
25289 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25290 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25291 enableval
="$enable_java_lang_system_explicit_initialization"
25292 case "${enableval}" in
25293 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
25294 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
25295 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25296 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25297 { (exit 1); exit 1; }; } ;;
25300 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
25308 # Extract the first word of "mkdir", so it can be a program name with args.
25309 set dummy mkdir
; ac_word
=$2
25310 echo "$as_me:$LINENO: checking for $ac_word" >&5
25311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25312 if test "${ac_cv_path_MKDIR+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
25320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25321 for as_dir
in $PATH
25324 test -z "$as_dir" && as_dir
=.
25325 for ac_exec_ext
in '' $ac_executable_extensions; do
25326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25327 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
25328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25337 MKDIR
=$ac_cv_path_MKDIR
25339 if test -n "$MKDIR"; then
25340 echo "$as_me:$LINENO: result: $MKDIR" >&5
25341 echo "${ECHO_T}$MKDIR" >&6
25343 echo "$as_me:$LINENO: result: no" >&5
25344 echo "${ECHO_T}no" >&6
25347 # Extract the first word of "cp", so it can be a program name with args.
25348 set dummy
cp; ac_word
=$2
25349 echo "$as_me:$LINENO: checking for $ac_word" >&5
25350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25351 if test "${ac_cv_path_CP+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25356 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
25359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25360 for as_dir
in $PATH
25363 test -z "$as_dir" && as_dir
=.
25364 for ac_exec_ext
in '' $ac_executable_extensions; do
25365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25366 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
25367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25378 if test -n "$CP"; then
25379 echo "$as_me:$LINENO: result: $CP" >&5
25380 echo "${ECHO_T}$CP" >&6
25382 echo "$as_me:$LINENO: result: no" >&5
25383 echo "${ECHO_T}no" >&6
25386 # Extract the first word of "date", so it can be a program name with args.
25387 set dummy
date; ac_word
=$2
25388 echo "$as_me:$LINENO: checking for $ac_word" >&5
25389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25390 if test "${ac_cv_path_DATE+set}" = set; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
25398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25399 for as_dir
in $PATH
25402 test -z "$as_dir" && as_dir
=.
25403 for ac_exec_ext
in '' $ac_executable_extensions; do
25404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25405 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
25406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25415 DATE
=$ac_cv_path_DATE
25417 if test -n "$DATE"; then
25418 echo "$as_me:$LINENO: result: $DATE" >&5
25419 echo "${ECHO_T}$DATE" >&6
25421 echo "$as_me:$LINENO: result: no" >&5
25422 echo "${ECHO_T}no" >&6
25426 # Extract the first word of "find", so it can be a program name with args.
25427 set dummy
find; ac_word
=$2
25428 echo "$as_me:$LINENO: checking for $ac_word" >&5
25429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25430 if test "${ac_cv_path_FIND+set}" = set; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25435 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
25438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25439 for as_dir
in $PATH
25442 test -z "$as_dir" && as_dir
=.
25443 for ac_exec_ext
in '' $ac_executable_extensions; do
25444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25445 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
25446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25455 FIND
=$ac_cv_path_FIND
25457 if test -n "$FIND"; then
25458 echo "$as_me:$LINENO: result: $FIND" >&5
25459 echo "${ECHO_T}$FIND" >&6
25461 echo "$as_me:$LINENO: result: no" >&5
25462 echo "${ECHO_T}no" >&6
25467 # Extract the first word of "zip", so it can be a program name with args.
25468 set dummy
zip; ac_word
=$2
25469 echo "$as_me:$LINENO: checking for $ac_word" >&5
25470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25471 if test "${ac_cv_path_ZIP+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25480 for as_dir
in $PATH
25483 test -z "$as_dir" && as_dir
=.
25484 for ac_exec_ext
in '' $ac_executable_extensions; do
25485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25486 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25496 ZIP
=$ac_cv_path_ZIP
25498 if test -n "$ZIP"; then
25499 echo "$as_me:$LINENO: result: $ZIP" >&5
25500 echo "${ECHO_T}$ZIP" >&6
25502 echo "$as_me:$LINENO: result: no" >&5
25503 echo "${ECHO_T}no" >&6
25507 # Check whether --with-fastjar or --without-fastjar was given.
25508 if test "${with_fastjar+set}" = set; then
25509 withval
="$with_fastjar"
25511 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
25512 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
25514 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
25515 echo "${ECHO_T}${FASTJAR}" >&6
25518 # Extract the first word of "fastjar", so it can be a program name with args.
25519 set dummy fastjar
; ac_word
=$2
25520 echo "$as_me:$LINENO: checking for $ac_word" >&5
25521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25522 if test "${ac_cv_path_FASTJAR+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
25530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25531 for as_dir
in $PATH
25534 test -z "$as_dir" && as_dir
=.
25535 for ac_exec_ext
in '' $ac_executable_extensions; do
25536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25537 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
25538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25547 FASTJAR
=$ac_cv_path_FASTJAR
25549 if test -n "$FASTJAR"; then
25550 echo "$as_me:$LINENO: result: $FASTJAR" >&5
25551 echo "${ECHO_T}$FASTJAR" >&6
25553 echo "$as_me:$LINENO: result: no" >&5
25554 echo "${ECHO_T}no" >&6
25558 if test x
"${FASTJAR}" != x
; then
25563 # Check whether --with-glibj or --without-glibj was given.
25564 if test "${with_glibj+set}" = set; then
25565 withval
="$with_glibj"
25567 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
25568 install_class_files
=no
25569 build_class_files
=yes
25571 elif test "x${withval}" = xboth
; then
25572 install_class_files
=yes
25573 build_class_files
=yes
25575 elif test "x${withval}" = xflat
; then
25576 install_class_files
=yes
25577 build_class_files
=yes
25579 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
25580 install_class_files
=no
25581 build_class_files
=no
25583 elif test "x${withval}" = xbuild
; then
25584 install_class_files
=no
25585 build_class_files
=yes
25588 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
25589 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
25590 { (exit 1); exit 1; }; }
25595 install_class_files
=no
25601 if test "x${use_zip}" = xyes
; then
25602 INSTALL_GLIBJ_ZIP_TRUE
=
25603 INSTALL_GLIBJ_ZIP_FALSE
='#'
25605 INSTALL_GLIBJ_ZIP_TRUE
='#'
25606 INSTALL_GLIBJ_ZIP_FALSE
=
25611 if test "x${install_class_files}" = xyes
; then
25612 INSTALL_CLASS_FILES_TRUE
=
25613 INSTALL_CLASS_FILES_FALSE
='#'
25615 INSTALL_CLASS_FILES_TRUE
='#'
25616 INSTALL_CLASS_FILES_FALSE
=
25621 if test "x${build_class_files}" = xyes
; then
25622 BUILD_CLASS_FILES_TRUE
=
25623 BUILD_CLASS_FILES_FALSE
='#'
25625 BUILD_CLASS_FILES_TRUE
='#'
25626 BUILD_CLASS_FILES_FALSE
=
25630 # Check whether --enable-examples or --disable-examples was given.
25631 if test "${enable_examples+set}" = set; then
25632 enableval
="$enable_examples"
25633 case "${enableval}" in
25634 yes) EXAMPLESDIR
="examples" ;;
25635 no
) EXAMPLESDIR
="" ;;
25636 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
25637 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
25638 { (exit 1); exit 1; }; } ;;
25641 EXAMPLESDIR
="examples"
25643 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
25651 # Check whether --with-gjdoc or --without-gjdoc was given.
25652 if test "${with_gjdoc+set}" = set; then
25653 withval
="$with_gjdoc"
25654 if test "x${withval}" = xno
; then
25656 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
25658 # Extract the first word of "gjdoc", so it can be a program name with args.
25659 set dummy gjdoc
; ac_word
=$2
25660 echo "$as_me:$LINENO: checking for $ac_word" >&5
25661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25662 if test "${ac_cv_path_GJDOC+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25667 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
25670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25671 for as_dir
in $PATH
25674 test -z "$as_dir" && as_dir
=.
25675 for ac_exec_ext
in '' $ac_executable_extensions; do
25676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25677 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
25678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25684 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
25688 GJDOC
=$ac_cv_path_GJDOC
25690 if test -n "$GJDOC"; then
25691 echo "$as_me:$LINENO: result: $GJDOC" >&5
25692 echo "${ECHO_T}$GJDOC" >&6
25694 echo "$as_me:$LINENO: result: no" >&5
25695 echo "${ECHO_T}no" >&6
25698 if test "x${GJDOC}" = xno
; then
25699 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
25700 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
25701 { (exit 1); exit 1; }; };
25706 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
25707 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
25708 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
25709 if eval "test \"\${$as_ac_File+set}\" = set"; then
25710 echo $ECHO_N "(cached) $ECHO_C" >&6
25712 test "$cross_compiling" = yes &&
25713 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25714 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25715 { (exit 1); exit 1; }; }
25716 if test -r "${GJDOC}"; then
25717 eval "$as_ac_File=yes"
25719 eval "$as_ac_File=no"
25722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25723 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25724 if test `eval echo '${'$as_ac_File'}'` = yes; then
25727 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
25728 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
25729 { (exit 1); exit 1; }; }
25739 if test "x${WITH_GJDOC}" = xyes
; then
25740 CREATE_API_DOCS_TRUE
=
25741 CREATE_API_DOCS_FALSE
='#'
25743 CREATE_API_DOCS_TRUE
='#'
25744 CREATE_API_DOCS_FALSE
=
25751 # Check whether --with-jay or --without-jay was given.
25752 if test "${with_jay+set}" = set; then
25753 withval
="$with_jay"
25755 if test -d "${withval}"; then
25756 JAY_DIR_PATH
="${withval}"
25757 # Extract the first word of "jay", so it can be a program name with args.
25758 set dummy jay
; ac_word
=$2
25759 echo "$as_me:$LINENO: checking for $ac_word" >&5
25760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25761 if test "${ac_cv_path_JAY+set}" = set; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25766 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
25769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25770 for as_dir
in ${JAY_DIR_PATH}
25773 test -z "$as_dir" && as_dir
=.
25774 for ac_exec_ext
in '' $ac_executable_extensions; do
25775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25776 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
25777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25783 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
25787 JAY
=$ac_cv_path_JAY
25789 if test -n "$JAY"; then
25790 echo "$as_me:$LINENO: result: $JAY" >&5
25791 echo "${ECHO_T}$JAY" >&6
25793 echo "$as_me:$LINENO: result: no" >&5
25794 echo "${ECHO_T}no" >&6
25797 if test "x${JAY}" = xno
; then
25798 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
25799 echo "$as_me: error: \"jay executable not found\"" >&2;}
25800 { (exit 1); exit 1; }; };
25803 JAY_DIR_PATH
=`dirname "${withval}"`
25807 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
25808 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
25809 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
25810 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
25811 if eval "test \"\${$as_ac_File+set}\" = set"; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 test "$cross_compiling" = yes &&
25815 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25816 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25817 { (exit 1); exit 1; }; }
25818 if test -r "${JAY_SKELETON}"; then
25819 eval "$as_ac_File=yes"
25821 eval "$as_ac_File=no"
25824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25825 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25826 if test `eval echo '${'$as_ac_File'}'` = yes; then
25829 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
25830 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
25831 { (exit 1); exit 1; }; }
25843 if test "x${JAY_FOUND}" = xyes
; then
25844 REGEN_PARSERS_TRUE
=
25845 REGEN_PARSERS_FALSE
='#'
25847 REGEN_PARSERS_TRUE
='#'
25848 REGEN_PARSERS_FALSE
=
25853 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
25854 if test "${enable_portable_native_sync+set}" = set; then
25855 enableval
="$enable_portable_native_sync"
25856 case "${enableval}" in
25859 cat >>confdefs.h
<<\_ACEOF
25860 #define PORTABLE_NATIVE_SYNC 1
25866 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
25867 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
25868 { (exit 1); exit 1; }; }
25873 # ------ AX CREATE STDINT H -------------------------------------
25874 echo "$as_me:$LINENO: checking for stdint types" >&5
25875 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
25876 ac_stdint_h
=`echo include/config-int.h`
25877 # try to shortcircuit - if the default include path of the compiler
25878 # can find a "stdint.h" header then we assume that all compilers can.
25879 if test "${ac_cv_header_stdint_t+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
25884 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
25885 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
25886 cat >conftest.
$ac_ext <<_ACEOF
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 #include <stdint.h>
25896 int_least32_t v = 0;
25901 rm -f conftest.
$ac_objext
25902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25903 (eval $ac_compile) 2>conftest.er1
25905 grep -v '^ *+' conftest.er1
>conftest.err
25907 cat conftest.err
>&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } &&
25910 { ac_try
='test -z "$ac_c_werror_flag"
25911 || test ! -s conftest.err'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; } &&
25917 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
25923 ac_cv_stdint_result
="(assuming C99 compatible system)"
25924 ac_cv_header_stdint_t
="stdint.h";
25926 echo "$as_me: failed program was:" >&5
25927 sed 's/^/| /' conftest.
$ac_ext >&5
25929 ac_cv_header_stdint_t
=""
25931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25932 CXXFLAGS
="$old_CXXFLAGS"
25933 CPPFLAGS
="$old_CPPFLAGS"
25934 CFLAGS
="$old_CFLAGS"
25938 v
="... $ac_cv_header_stdint_h"
25939 if test "$ac_stdint_h" = "stdint.h" ; then
25940 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
25941 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
25942 elif test "$ac_stdint_h" = "inttypes.h" ; then
25943 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
25944 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
25945 elif test "_$ac_cv_header_stdint_t" = "_" ; then
25946 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
25947 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
25949 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
25950 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
25951 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
25954 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
25957 inttype_headers
=`echo | sed -e 's/,/ /g'`
25959 ac_cv_stdint_result
="(no helpful system typedefs seen)"
25961 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
25962 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
25963 if test "${ac_cv_header_stdint_x+set}" = set; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25967 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
25968 echo "$as_me:$LINENO: result: (..)" >&5
25969 echo "${ECHO_T}(..)" >&6
25970 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
25971 unset ac_cv_type_uintptr_t
25972 unset ac_cv_type_uint64_t
25973 echo "$as_me:$LINENO: checking for uintptr_t" >&5
25974 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
25975 if test "${ac_cv_type_uintptr_t+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 cat >conftest.
$ac_ext <<_ACEOF
25981 cat confdefs.h
>>conftest.
$ac_ext
25982 cat >>conftest.
$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25989 if ((uintptr_t *) 0)
25991 if (sizeof (uintptr_t))
25997 rm -f conftest.
$ac_objext
25998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25999 (eval $ac_compile) 2>conftest.er1
26001 grep -v '^ *+' conftest.er1
>conftest.err
26003 cat conftest.err
>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try
='test -z "$ac_c_werror_flag"
26007 || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try
='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 ac_cv_type_uintptr_t
=yes
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.
$ac_ext >&5
26024 ac_cv_type_uintptr_t
=no
26026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26028 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26029 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26030 if test $ac_cv_type_uintptr_t = yes; then
26031 ac_cv_header_stdint_x
=$i
26036 echo "$as_me:$LINENO: checking for uint64_t" >&5
26037 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26038 if test "${ac_cv_type_uint64_t+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 cat >conftest.
$ac_ext <<_ACEOF
26044 cat confdefs.h
>>conftest.
$ac_ext
26045 cat >>conftest.
$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26052 if ((uint64_t *) 0)
26054 if (sizeof (uint64_t))
26060 rm -f conftest.
$ac_objext
26061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26062 (eval $ac_compile) 2>conftest.er1
26064 grep -v '^ *+' conftest.er1
>conftest.err
26066 cat conftest.err
>&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } &&
26069 { ac_try
='test -z "$ac_c_werror_flag"
26070 || test ! -s conftest.err'
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); }; } &&
26076 { ac_try
='test -s conftest.$ac_objext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_type_uint64_t
=yes
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.
$ac_ext >&5
26087 ac_cv_type_uint64_t
=no
26089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26091 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26092 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26093 if test $ac_cv_type_uint64_t = yes; then
26099 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
26102 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26103 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26106 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26107 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26110 if test "_$ac_cv_header_stdint_x" = "_" ; then
26112 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26113 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26114 if test "${ac_cv_header_stdint_o+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
26119 echo "$as_me:$LINENO: result: (..)" >&5
26120 echo "${ECHO_T}(..)" >&6
26121 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
26122 unset ac_cv_type_uint32_t
26123 unset ac_cv_type_uint64_t
26124 echo "$as_me:$LINENO: checking for uint32_t" >&5
26125 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26126 if test "${ac_cv_type_uint32_t+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 cat >conftest.
$ac_ext <<_ACEOF
26132 cat confdefs.h
>>conftest.
$ac_ext
26133 cat >>conftest.
$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26140 if ((uint32_t *) 0)
26142 if (sizeof (uint32_t))
26148 rm -f conftest.
$ac_objext
26149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26150 (eval $ac_compile) 2>conftest.er1
26152 grep -v '^ *+' conftest.er1
>conftest.err
26154 cat conftest.err
>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } &&
26157 { ac_try
='test -z "$ac_c_werror_flag"
26158 || test ! -s conftest.err'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; } &&
26164 { ac_try
='test -s conftest.$ac_objext'
26165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166 (eval $ac_try) 2>&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; }; then
26170 ac_cv_type_uint32_t
=yes
26172 echo "$as_me: failed program was:" >&5
26173 sed 's/^/| /' conftest.
$ac_ext >&5
26175 ac_cv_type_uint32_t
=no
26177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26179 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26180 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26181 if test $ac_cv_type_uint32_t = yes; then
26182 ac_cv_header_stdint_o
=$i
26187 echo "$as_me:$LINENO: checking for uint64_t" >&5
26188 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26189 if test "${ac_cv_type_uint64_t+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 cat >conftest.
$ac_ext <<_ACEOF
26195 cat confdefs.h
>>conftest.
$ac_ext
26196 cat >>conftest.
$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26203 if ((uint64_t *) 0)
26205 if (sizeof (uint64_t))
26211 rm -f conftest.
$ac_objext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26213 (eval $ac_compile) 2>conftest.er1
26215 grep -v '^ *+' conftest.er1
>conftest.err
26217 cat conftest.err
>&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try
='test -z "$ac_c_werror_flag"
26221 || test ! -s conftest.err'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; } &&
26227 { ac_try
='test -s conftest.$ac_objext'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; }; then
26233 ac_cv_type_uint64_t
=yes
26235 echo "$as_me: failed program was:" >&5
26236 sed 's/^/| /' conftest.
$ac_ext >&5
26238 ac_cv_type_uint64_t
=no
26240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26242 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26243 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26244 if test $ac_cv_type_uint64_t = yes; then
26250 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
26254 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26255 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26258 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26259 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26263 if test "_$ac_cv_header_stdint_x" = "_" ; then
26264 if test "_$ac_cv_header_stdint_o" = "_" ; then
26266 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26267 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26268 if test "${ac_cv_header_stdint_u+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
26273 echo "$as_me:$LINENO: result: (..)" >&5
26274 echo "${ECHO_T}(..)" >&6
26275 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
26276 unset ac_cv_type_u_int32_t
26277 unset ac_cv_type_u_int64_t
26278 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26279 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26280 if test "${ac_cv_type_u_int32_t+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 cat >conftest.
$ac_ext <<_ACEOF
26286 cat confdefs.h
>>conftest.
$ac_ext
26287 cat >>conftest.
$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26294 if ((u_int32_t *) 0)
26296 if (sizeof (u_int32_t))
26302 rm -f conftest.
$ac_objext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26304 (eval $ac_compile) 2>conftest.er1
26306 grep -v '^ *+' conftest.er1
>conftest.err
26308 cat conftest.err
>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try
='test -z "$ac_c_werror_flag"
26312 || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest.$ac_objext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324 ac_cv_type_u_int32_t
=yes
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 ac_cv_type_u_int32_t
=no
26331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26333 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26334 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26335 if test $ac_cv_type_u_int32_t = yes; then
26336 ac_cv_header_stdint_u
=$i
26341 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26342 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26343 if test "${ac_cv_type_u_int64_t+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26346 cat >conftest.
$ac_ext <<_ACEOF
26349 cat confdefs.h
>>conftest.
$ac_ext
26350 cat >>conftest.
$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26357 if ((u_int64_t *) 0)
26359 if (sizeof (u_int64_t))
26365 rm -f conftest.
$ac_objext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26367 (eval $ac_compile) 2>conftest.er1
26369 grep -v '^ *+' conftest.er1
>conftest.err
26371 cat conftest.err
>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } &&
26374 { ac_try
='test -z "$ac_c_werror_flag"
26375 || test ! -s conftest.err'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; } &&
26381 { ac_try
='test -s conftest.$ac_objext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26387 ac_cv_type_u_int64_t
=yes
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.
$ac_ext >&5
26392 ac_cv_type_u_int64_t
=no
26394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26396 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26397 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26398 if test $ac_cv_type_u_int64_t = yes; then
26404 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
26408 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26409 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26412 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26413 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26417 if test "_$ac_cv_header_stdint_x" = "_" ; then
26418 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26419 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26420 echo "$as_me:$LINENO: result: (..)" >&5
26421 echo "${ECHO_T}(..)" >&6
26423 echo "$as_me:$LINENO: checking for char" >&5
26424 echo $ECHO_N "checking for char... $ECHO_C" >&6
26425 if test "${ac_cv_type_char+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 cat >conftest.
$ac_ext <<_ACEOF
26431 cat confdefs.h
>>conftest.
$ac_ext
26432 cat >>conftest.
$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26434 $ac_includes_default
26446 rm -f conftest.
$ac_objext
26447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26448 (eval $ac_compile) 2>conftest.er1
26450 grep -v '^ *+' conftest.er1
>conftest.err
26452 cat conftest.err
>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try
='test -z "$ac_c_werror_flag"
26456 || test ! -s conftest.err'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try
='test -s conftest.$ac_objext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 ac_cv_type_char
=yes
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.
$ac_ext >&5
26475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26477 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26478 echo "${ECHO_T}$ac_cv_type_char" >&6
26480 echo "$as_me:$LINENO: checking size of char" >&5
26481 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26482 if test "${ac_cv_sizeof_char+set}" = set; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 if test "$ac_cv_type_char" = yes; then
26486 # The cast to unsigned long works around a bug in the HP C Compiler
26487 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26488 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26489 # This bug is HP SR number 8606223364.
26490 if test "$cross_compiling" = yes; then
26491 # Depending upon the size, compute the lo and hi bounds.
26492 cat >conftest.
$ac_ext <<_ACEOF
26495 cat confdefs.h
>>conftest.
$ac_ext
26496 cat >>conftest.
$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26498 $ac_includes_default
26502 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
26509 rm -f conftest.
$ac_objext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26511 (eval $ac_compile) 2>conftest.er1
26513 grep -v '^ *+' conftest.er1
>conftest.err
26515 cat conftest.err
>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try
='test -z "$ac_c_werror_flag"
26519 || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try
='test -s conftest.$ac_objext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26533 cat >conftest.
$ac_ext <<_ACEOF
26536 cat confdefs.h
>>conftest.
$ac_ext
26537 cat >>conftest.
$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539 $ac_includes_default
26543 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26550 rm -f conftest.
$ac_objext
26551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26552 (eval $ac_compile) 2>conftest.er1
26554 grep -v '^ *+' conftest.er1
>conftest.err
26556 cat conftest.err
>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } &&
26559 { ac_try
='test -z "$ac_c_werror_flag"
26560 || test ! -s conftest.err'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; } &&
26566 { ac_try
='test -s conftest.$ac_objext'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; }; then
26572 ac_hi
=$ac_mid; break
26574 echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.
$ac_ext >&5
26577 ac_lo
=`expr $ac_mid + 1`
26578 if test $ac_lo -le $ac_mid; then
26582 ac_mid
=`expr 2 '*' $ac_mid + 1`
26584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.
$ac_ext >&5
26590 cat >conftest.
$ac_ext <<_ACEOF
26593 cat confdefs.h
>>conftest.
$ac_ext
26594 cat >>conftest.
$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596 $ac_includes_default
26600 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
26607 rm -f conftest.
$ac_objext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26609 (eval $ac_compile) 2>conftest.er1
26611 grep -v '^ *+' conftest.er1
>conftest.err
26613 cat conftest.err
>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try
='test -z "$ac_c_werror_flag"
26617 || test ! -s conftest.err'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; } &&
26623 { ac_try
='test -s conftest.$ac_objext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26631 cat >conftest.
$ac_ext <<_ACEOF
26634 cat confdefs.h
>>conftest.
$ac_ext
26635 cat >>conftest.
$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26637 $ac_includes_default
26641 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
26648 rm -f conftest.
$ac_objext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26650 (eval $ac_compile) 2>conftest.er1
26652 grep -v '^ *+' conftest.er1
>conftest.err
26654 cat conftest.err
>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try
='test -z "$ac_c_werror_flag"
26658 || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try
='test -s conftest.$ac_objext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_lo
=$ac_mid; break
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.
$ac_ext >&5
26675 ac_hi
=`expr '(' $ac_mid ')' - 1`
26676 if test $ac_mid -le $ac_hi; then
26680 ac_mid
=`expr 2 '*' $ac_mid`
26682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.
$ac_ext >&5
26690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26693 # Binary search between lo and hi bounds.
26694 while test "x$ac_lo" != "x$ac_hi"; do
26695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26696 cat >conftest.
$ac_ext <<_ACEOF
26699 cat confdefs.h
>>conftest.
$ac_ext
26700 cat >>conftest.
$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 $ac_includes_default
26706 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26713 rm -f conftest.
$ac_objext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26715 (eval $ac_compile) 2>conftest.er1
26717 grep -v '^ *+' conftest.er1
>conftest.err
26719 cat conftest.err
>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try
='test -z "$ac_c_werror_flag"
26723 || test ! -s conftest.err'
26724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26725 (eval $ac_try) 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); }; } &&
26729 { ac_try
='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26737 echo "$as_me: failed program was:" >&5
26738 sed 's/^/| /' conftest.
$ac_ext >&5
26740 ac_lo
=`expr '(' $ac_mid ')' + 1`
26742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26745 ?
*) ac_cv_sizeof_char
=$ac_lo;;
26746 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26747 See \`config.log' for more details." >&5
26748 echo "$as_me: error: cannot compute sizeof (char), 77
26749 See \`config.log' for more details." >&2;}
26750 { (exit 1); exit 1; }; } ;;
26753 if test "$cross_compiling" = yes; then
26754 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26755 See \`config.log' for more details." >&5
26756 echo "$as_me: error: cannot run test program while cross compiling
26757 See \`config.log' for more details." >&2;}
26758 { (exit 1); exit 1; }; }
26760 cat >conftest.
$ac_ext <<_ACEOF
26763 cat confdefs.h
>>conftest.
$ac_ext
26764 cat >>conftest.
$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766 $ac_includes_default
26767 long longval () { return (long) (sizeof (char)); }
26768 unsigned long ulongval () { return (long) (sizeof (char)); }
26770 #include <stdlib.h>
26775 FILE *f = fopen ("conftest.val", "w");
26778 if (((long) (sizeof (char))) < 0)
26780 long i = longval ();
26781 if (i != ((long) (sizeof (char))))
26783 fprintf (f, "%ld\n", i);
26787 unsigned long i = ulongval ();
26788 if (i != ((long) (sizeof (char))))
26790 fprintf (f, "%lu\n", i);
26792 exit (ferror (f) || fclose (f) != 0);
26798 rm -f conftest
$ac_exeext
26799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26800 (eval $ac_link) 2>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_cv_sizeof_char
=`cat conftest.val`
26811 echo "$as_me: program exited with status $ac_status" >&5
26812 echo "$as_me: failed program was:" >&5
26813 sed 's/^/| /' conftest.
$ac_ext >&5
26815 ( exit $ac_status )
26816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26817 See \`config.log' for more details." >&5
26818 echo "$as_me: error: cannot compute sizeof (char), 77
26819 See \`config.log' for more details." >&2;}
26820 { (exit 1); exit 1; }; }
26822 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26827 ac_cv_sizeof_char
=0
26830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
26831 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
26832 cat >>confdefs.h
<<_ACEOF
26833 #define SIZEOF_CHAR $ac_cv_sizeof_char
26837 echo "$as_me:$LINENO: checking for short" >&5
26838 echo $ECHO_N "checking for short... $ECHO_C" >&6
26839 if test "${ac_cv_type_short+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 cat >conftest.
$ac_ext <<_ACEOF
26845 cat confdefs.h
>>conftest.
$ac_ext
26846 cat >>conftest.
$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 $ac_includes_default
26854 if (sizeof (short))
26860 rm -f conftest.
$ac_objext
26861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26862 (eval $ac_compile) 2>conftest.er1
26864 grep -v '^ *+' conftest.er1
>conftest.err
26866 cat conftest.err
>&5
26867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868 (exit $ac_status); } &&
26869 { ac_try
='test -z "$ac_c_werror_flag"
26870 || test ! -s conftest.err'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; } &&
26876 { ac_try
='test -s conftest.$ac_objext'
26877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878 (eval $ac_try) 2>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); }; }; then
26882 ac_cv_type_short
=yes
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.
$ac_ext >&5
26887 ac_cv_type_short
=no
26889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26891 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26892 echo "${ECHO_T}$ac_cv_type_short" >&6
26894 echo "$as_me:$LINENO: checking size of short" >&5
26895 echo $ECHO_N "checking size of short... $ECHO_C" >&6
26896 if test "${ac_cv_sizeof_short+set}" = set; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 if test "$ac_cv_type_short" = yes; then
26900 # The cast to unsigned long works around a bug in the HP C Compiler
26901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26903 # This bug is HP SR number 8606223364.
26904 if test "$cross_compiling" = yes; then
26905 # Depending upon the size, compute the lo and hi bounds.
26906 cat >conftest.
$ac_ext <<_ACEOF
26909 cat confdefs.h
>>conftest.
$ac_ext
26910 cat >>conftest.
$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26912 $ac_includes_default
26916 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
26923 rm -f conftest.
$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26927 grep -v '^ *+' conftest.er1
>conftest.err
26929 cat conftest.err
>&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try
='test -z "$ac_c_werror_flag"
26933 || test ! -s conftest.err'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; } &&
26939 { ac_try
='test -s conftest.$ac_objext'
26940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941 (eval $ac_try) 2>&5
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); }; }; then
26947 cat >conftest.
$ac_ext <<_ACEOF
26950 cat confdefs.h
>>conftest.
$ac_ext
26951 cat >>conftest.
$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26953 $ac_includes_default
26957 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
26964 rm -f conftest.
$ac_objext
26965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26968 grep -v '^ *+' conftest.er1
>conftest.err
26970 cat conftest.err
>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try
='test -z "$ac_c_werror_flag"
26974 || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try
='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_hi
=$ac_mid; break
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.
$ac_ext >&5
26991 ac_lo
=`expr $ac_mid + 1`
26992 if test $ac_lo -le $ac_mid; then
26996 ac_mid
=`expr 2 '*' $ac_mid + 1`
26998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 cat >conftest.
$ac_ext <<_ACEOF
27007 cat confdefs.h
>>conftest.
$ac_ext
27008 cat >>conftest.
$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 $ac_includes_default
27014 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27021 rm -f conftest.
$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023 (eval $ac_compile) 2>conftest.er1
27025 grep -v '^ *+' conftest.er1
>conftest.err
27027 cat conftest.err
>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } &&
27030 { ac_try
='test -z "$ac_c_werror_flag"
27031 || test ! -s conftest.err'
27032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033 (eval $ac_try) 2>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; } &&
27037 { ac_try
='test -s conftest.$ac_objext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27045 cat >conftest.
$ac_ext <<_ACEOF
27048 cat confdefs.h
>>conftest.
$ac_ext
27049 cat >>conftest.
$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 $ac_includes_default
27055 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27062 rm -f conftest.
$ac_objext
27063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27064 (eval $ac_compile) 2>conftest.er1
27066 grep -v '^ *+' conftest.er1
>conftest.err
27068 cat conftest.err
>&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } &&
27071 { ac_try
='test -z "$ac_c_werror_flag"
27072 || test ! -s conftest.err'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; } &&
27078 { ac_try
='test -s conftest.$ac_objext'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; }; then
27084 ac_lo
=$ac_mid; break
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.
$ac_ext >&5
27089 ac_hi
=`expr '(' $ac_mid ')' - 1`
27090 if test $ac_mid -le $ac_hi; then
27094 ac_mid
=`expr 2 '*' $ac_mid`
27096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27099 echo "$as_me: failed program was:" >&5
27100 sed 's/^/| /' conftest.
$ac_ext >&5
27104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27107 # Binary search between lo and hi bounds.
27108 while test "x$ac_lo" != "x$ac_hi"; do
27109 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27110 cat >conftest.
$ac_ext <<_ACEOF
27113 cat confdefs.h
>>conftest.
$ac_ext
27114 cat >>conftest.
$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27116 $ac_includes_default
27120 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27127 rm -f conftest.
$ac_objext
27128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27129 (eval $ac_compile) 2>conftest.er1
27131 grep -v '^ *+' conftest.er1
>conftest.err
27133 cat conftest.err
>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } &&
27136 { ac_try
='test -z "$ac_c_werror_flag"
27137 || test ! -s conftest.err'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; } &&
27143 { ac_try
='test -s conftest.$ac_objext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.
$ac_ext >&5
27154 ac_lo
=`expr '(' $ac_mid ')' + 1`
27156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27159 ?
*) ac_cv_sizeof_short
=$ac_lo;;
27160 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27161 See \`config.log' for more details." >&5
27162 echo "$as_me: error: cannot compute sizeof (short), 77
27163 See \`config.log' for more details." >&2;}
27164 { (exit 1); exit 1; }; } ;;
27167 if test "$cross_compiling" = yes; then
27168 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27169 See \`config.log' for more details." >&5
27170 echo "$as_me: error: cannot run test program while cross compiling
27171 See \`config.log' for more details." >&2;}
27172 { (exit 1); exit 1; }; }
27174 cat >conftest.
$ac_ext <<_ACEOF
27177 cat confdefs.h
>>conftest.
$ac_ext
27178 cat >>conftest.
$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180 $ac_includes_default
27181 long longval () { return (long) (sizeof (short)); }
27182 unsigned long ulongval () { return (long) (sizeof (short)); }
27184 #include <stdlib.h>
27189 FILE *f = fopen ("conftest.val", "w");
27192 if (((long) (sizeof (short))) < 0)
27194 long i = longval ();
27195 if (i != ((long) (sizeof (short))))
27197 fprintf (f, "%ld\n", i);
27201 unsigned long i = ulongval ();
27202 if (i != ((long) (sizeof (short))))
27204 fprintf (f, "%lu\n", i);
27206 exit (ferror (f) || fclose (f) != 0);
27212 rm -f conftest
$ac_exeext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27214 (eval $ac_link) 2>&5
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; }; then
27223 ac_cv_sizeof_short
=`cat conftest.val`
27225 echo "$as_me: program exited with status $ac_status" >&5
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.
$ac_ext >&5
27229 ( exit $ac_status )
27230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27231 See \`config.log' for more details." >&5
27232 echo "$as_me: error: cannot compute sizeof (short), 77
27233 See \`config.log' for more details." >&2;}
27234 { (exit 1); exit 1; }; }
27236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27241 ac_cv_sizeof_short
=0
27244 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27245 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27246 cat >>confdefs.h
<<_ACEOF
27247 #define SIZEOF_SHORT $ac_cv_sizeof_short
27251 echo "$as_me:$LINENO: checking for int" >&5
27252 echo $ECHO_N "checking for int... $ECHO_C" >&6
27253 if test "${ac_cv_type_int+set}" = set; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27256 cat >conftest.
$ac_ext <<_ACEOF
27259 cat confdefs.h
>>conftest.
$ac_ext
27260 cat >>conftest.
$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 $ac_includes_default
27274 rm -f conftest.
$ac_objext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27276 (eval $ac_compile) 2>conftest.er1
27278 grep -v '^ *+' conftest.er1
>conftest.err
27280 cat conftest.err
>&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } &&
27283 { ac_try
='test -z "$ac_c_werror_flag"
27284 || test ! -s conftest.err'
27285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286 (eval $ac_try) 2>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; } &&
27290 { ac_try
='test -s conftest.$ac_objext'
27291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292 (eval $ac_try) 2>&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); }; }; then
27298 echo "$as_me: failed program was:" >&5
27299 sed 's/^/| /' conftest.
$ac_ext >&5
27303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27305 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27306 echo "${ECHO_T}$ac_cv_type_int" >&6
27308 echo "$as_me:$LINENO: checking size of int" >&5
27309 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27310 if test "${ac_cv_sizeof_int+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27313 if test "$ac_cv_type_int" = yes; then
27314 # The cast to unsigned long works around a bug in the HP C Compiler
27315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27317 # This bug is HP SR number 8606223364.
27318 if test "$cross_compiling" = yes; then
27319 # Depending upon the size, compute the lo and hi bounds.
27320 cat >conftest.
$ac_ext <<_ACEOF
27323 cat confdefs.h
>>conftest.
$ac_ext
27324 cat >>conftest.
$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 $ac_includes_default
27330 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27337 rm -f conftest.
$ac_objext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27339 (eval $ac_compile) 2>conftest.er1
27341 grep -v '^ *+' conftest.er1
>conftest.err
27343 cat conftest.err
>&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try
='test -z "$ac_c_werror_flag"
27347 || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try
='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27361 cat >conftest.
$ac_ext <<_ACEOF
27364 cat confdefs.h
>>conftest.
$ac_ext
27365 cat >>conftest.
$ac_ext <<_ACEOF
27366 /* end confdefs.h. */
27367 $ac_includes_default
27371 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27378 rm -f conftest.
$ac_objext
27379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27380 (eval $ac_compile) 2>conftest.er1
27382 grep -v '^ *+' conftest.er1
>conftest.err
27384 cat conftest.err
>&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); } &&
27387 { ac_try
='test -z "$ac_c_werror_flag"
27388 || test ! -s conftest.err'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; } &&
27394 { ac_try
='test -s conftest.$ac_objext'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_hi
=$ac_mid; break
27402 echo "$as_me: failed program was:" >&5
27403 sed 's/^/| /' conftest.
$ac_ext >&5
27405 ac_lo
=`expr $ac_mid + 1`
27406 if test $ac_lo -le $ac_mid; then
27410 ac_mid
=`expr 2 '*' $ac_mid + 1`
27412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.
$ac_ext >&5
27418 cat >conftest.
$ac_ext <<_ACEOF
27421 cat confdefs.h
>>conftest.
$ac_ext
27422 cat >>conftest.
$ac_ext <<_ACEOF
27423 /* end confdefs.h. */
27424 $ac_includes_default
27428 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27435 rm -f conftest.
$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27439 grep -v '^ *+' conftest.er1
>conftest.err
27441 cat conftest.err
>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try
='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try
='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27459 cat >conftest.
$ac_ext <<_ACEOF
27462 cat confdefs.h
>>conftest.
$ac_ext
27463 cat >>conftest.
$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 $ac_includes_default
27469 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27476 rm -f conftest.
$ac_objext
27477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27478 (eval $ac_compile) 2>conftest.er1
27480 grep -v '^ *+' conftest.er1
>conftest.err
27482 cat conftest.err
>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } &&
27485 { ac_try
='test -z "$ac_c_werror_flag"
27486 || test ! -s conftest.err'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; } &&
27492 { ac_try
='test -s conftest.$ac_objext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498 ac_lo
=$ac_mid; break
27500 echo "$as_me: failed program was:" >&5
27501 sed 's/^/| /' conftest.
$ac_ext >&5
27503 ac_hi
=`expr '(' $ac_mid ')' - 1`
27504 if test $ac_mid -le $ac_hi; then
27508 ac_mid
=`expr 2 '*' $ac_mid`
27510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.
$ac_ext >&5
27518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27521 # Binary search between lo and hi bounds.
27522 while test "x$ac_lo" != "x$ac_hi"; do
27523 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27524 cat >conftest.
$ac_ext <<_ACEOF
27527 cat confdefs.h
>>conftest.
$ac_ext
27528 cat >>conftest.
$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27530 $ac_includes_default
27534 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27541 rm -f conftest.
$ac_objext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27543 (eval $ac_compile) 2>conftest.er1
27545 grep -v '^ *+' conftest.er1
>conftest.err
27547 cat conftest.err
>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } &&
27550 { ac_try
='test -z "$ac_c_werror_flag"
27551 || test ! -s conftest.err'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; } &&
27557 { ac_try
='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.
$ac_ext >&5
27568 ac_lo
=`expr '(' $ac_mid ')' + 1`
27570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27573 ?
*) ac_cv_sizeof_int
=$ac_lo;;
27574 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27575 See \`config.log' for more details." >&5
27576 echo "$as_me: error: cannot compute sizeof (int), 77
27577 See \`config.log' for more details." >&2;}
27578 { (exit 1); exit 1; }; } ;;
27581 if test "$cross_compiling" = yes; then
27582 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27583 See \`config.log' for more details." >&5
27584 echo "$as_me: error: cannot run test program while cross compiling
27585 See \`config.log' for more details." >&2;}
27586 { (exit 1); exit 1; }; }
27588 cat >conftest.
$ac_ext <<_ACEOF
27591 cat confdefs.h
>>conftest.
$ac_ext
27592 cat >>conftest.
$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 $ac_includes_default
27595 long longval () { return (long) (sizeof (int)); }
27596 unsigned long ulongval () { return (long) (sizeof (int)); }
27598 #include <stdlib.h>
27603 FILE *f = fopen ("conftest.val", "w");
27606 if (((long) (sizeof (int))) < 0)
27608 long i = longval ();
27609 if (i != ((long) (sizeof (int))))
27611 fprintf (f, "%ld\n", i);
27615 unsigned long i = ulongval ();
27616 if (i != ((long) (sizeof (int))))
27618 fprintf (f, "%lu\n", i);
27620 exit (ferror (f) || fclose (f) != 0);
27626 rm -f conftest
$ac_exeext
27627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27628 (eval $ac_link) 2>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27633 (eval $ac_try) 2>&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); }; }; then
27637 ac_cv_sizeof_int
=`cat conftest.val`
27639 echo "$as_me: program exited with status $ac_status" >&5
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.
$ac_ext >&5
27643 ( exit $ac_status )
27644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27645 See \`config.log' for more details." >&5
27646 echo "$as_me: error: cannot compute sizeof (int), 77
27647 See \`config.log' for more details." >&2;}
27648 { (exit 1); exit 1; }; }
27650 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27658 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
27659 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
27660 cat >>confdefs.h
<<_ACEOF
27661 #define SIZEOF_INT $ac_cv_sizeof_int
27665 echo "$as_me:$LINENO: checking for long" >&5
27666 echo $ECHO_N "checking for long... $ECHO_C" >&6
27667 if test "${ac_cv_type_long+set}" = set; then
27668 echo $ECHO_N "(cached) $ECHO_C" >&6
27670 cat >conftest.
$ac_ext <<_ACEOF
27673 cat confdefs.h
>>conftest.
$ac_ext
27674 cat >>conftest.
$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27676 $ac_includes_default
27688 rm -f conftest.
$ac_objext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27690 (eval $ac_compile) 2>conftest.er1
27692 grep -v '^ *+' conftest.er1
>conftest.err
27694 cat conftest.err
>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try
='test -z "$ac_c_werror_flag"
27698 || test ! -s conftest.err'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try
='test -s conftest.$ac_objext'
27705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27706 (eval $ac_try) 2>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); }; }; then
27710 ac_cv_type_long
=yes
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.
$ac_ext >&5
27717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27719 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
27720 echo "${ECHO_T}$ac_cv_type_long" >&6
27722 echo "$as_me:$LINENO: checking size of long" >&5
27723 echo $ECHO_N "checking size of long... $ECHO_C" >&6
27724 if test "${ac_cv_sizeof_long+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27727 if test "$ac_cv_type_long" = yes; then
27728 # The cast to unsigned long works around a bug in the HP C Compiler
27729 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27730 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27731 # This bug is HP SR number 8606223364.
27732 if test "$cross_compiling" = yes; then
27733 # Depending upon the size, compute the lo and hi bounds.
27734 cat >conftest.
$ac_ext <<_ACEOF
27737 cat confdefs.h
>>conftest.
$ac_ext
27738 cat >>conftest.
$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27740 $ac_includes_default
27744 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
27751 rm -f conftest.
$ac_objext
27752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27753 (eval $ac_compile) 2>conftest.er1
27755 grep -v '^ *+' conftest.er1
>conftest.err
27757 cat conftest.err
>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } &&
27760 { ac_try
='test -z "$ac_c_werror_flag"
27761 || test ! -s conftest.err'
27762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27763 (eval $ac_try) 2>&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); }; } &&
27767 { ac_try
='test -s conftest.$ac_objext'
27768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27769 (eval $ac_try) 2>&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); }; }; then
27775 cat >conftest.
$ac_ext <<_ACEOF
27778 cat confdefs.h
>>conftest.
$ac_ext
27779 cat >>conftest.
$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781 $ac_includes_default
27785 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27792 rm -f conftest.
$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27796 grep -v '^ *+' conftest.er1
>conftest.err
27798 cat conftest.err
>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try
='test -z "$ac_c_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try
='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 ac_hi
=$ac_mid; break
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.
$ac_ext >&5
27819 ac_lo
=`expr $ac_mid + 1`
27820 if test $ac_lo -le $ac_mid; then
27824 ac_mid
=`expr 2 '*' $ac_mid + 1`
27826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.
$ac_ext >&5
27832 cat >conftest.
$ac_ext <<_ACEOF
27835 cat confdefs.h
>>conftest.
$ac_ext
27836 cat >>conftest.
$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27838 $ac_includes_default
27842 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
27849 rm -f conftest.
$ac_objext
27850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27851 (eval $ac_compile) 2>conftest.er1
27853 grep -v '^ *+' conftest.er1
>conftest.err
27855 cat conftest.err
>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); } &&
27858 { ac_try
='test -z "$ac_c_werror_flag"
27859 || test ! -s conftest.err'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; } &&
27865 { ac_try
='test -s conftest.$ac_objext'
27866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27867 (eval $ac_try) 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; }; then
27873 cat >conftest.
$ac_ext <<_ACEOF
27876 cat confdefs.h
>>conftest.
$ac_ext
27877 cat >>conftest.
$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879 $ac_includes_default
27883 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
27890 rm -f conftest.
$ac_objext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27892 (eval $ac_compile) 2>conftest.er1
27894 grep -v '^ *+' conftest.er1
>conftest.err
27896 cat conftest.err
>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } &&
27899 { ac_try
='test -z "$ac_c_werror_flag"
27900 || test ! -s conftest.err'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; } &&
27906 { ac_try
='test -s conftest.$ac_objext'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; }; then
27912 ac_lo
=$ac_mid; break
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.
$ac_ext >&5
27917 ac_hi
=`expr '(' $ac_mid ')' - 1`
27918 if test $ac_mid -le $ac_hi; then
27922 ac_mid
=`expr 2 '*' $ac_mid`
27924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.
$ac_ext >&5
27932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27935 # Binary search between lo and hi bounds.
27936 while test "x$ac_lo" != "x$ac_hi"; do
27937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27938 cat >conftest.
$ac_ext <<_ACEOF
27941 cat confdefs.h
>>conftest.
$ac_ext
27942 cat >>conftest.
$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944 $ac_includes_default
27948 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27955 rm -f conftest.
$ac_objext
27956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27957 (eval $ac_compile) 2>conftest.er1
27959 grep -v '^ *+' conftest.er1
>conftest.err
27961 cat conftest.err
>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try
='test -z "$ac_c_werror_flag"
27965 || test ! -s conftest.err'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; } &&
27971 { ac_try
='test -s conftest.$ac_objext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.
$ac_ext >&5
27982 ac_lo
=`expr '(' $ac_mid ')' + 1`
27984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27987 ?
*) ac_cv_sizeof_long
=$ac_lo;;
27988 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
27989 See \`config.log' for more details." >&5
27990 echo "$as_me: error: cannot compute sizeof (long), 77
27991 See \`config.log' for more details." >&2;}
27992 { (exit 1); exit 1; }; } ;;
27995 if test "$cross_compiling" = yes; then
27996 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27997 See \`config.log' for more details." >&5
27998 echo "$as_me: error: cannot run test program while cross compiling
27999 See \`config.log' for more details." >&2;}
28000 { (exit 1); exit 1; }; }
28002 cat >conftest.
$ac_ext <<_ACEOF
28005 cat confdefs.h
>>conftest.
$ac_ext
28006 cat >>conftest.
$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 $ac_includes_default
28009 long longval () { return (long) (sizeof (long)); }
28010 unsigned long ulongval () { return (long) (sizeof (long)); }
28012 #include <stdlib.h>
28017 FILE *f = fopen ("conftest.val", "w");
28020 if (((long) (sizeof (long))) < 0)
28022 long i = longval ();
28023 if (i != ((long) (sizeof (long))))
28025 fprintf (f, "%ld\n", i);
28029 unsigned long i = ulongval ();
28030 if (i != ((long) (sizeof (long))))
28032 fprintf (f, "%lu\n", i);
28034 exit (ferror (f) || fclose (f) != 0);
28040 rm -f conftest
$ac_exeext
28041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28042 (eval $ac_link) 2>&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28047 (eval $ac_try) 2>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); }; }; then
28051 ac_cv_sizeof_long
=`cat conftest.val`
28053 echo "$as_me: program exited with status $ac_status" >&5
28054 echo "$as_me: failed program was:" >&5
28055 sed 's/^/| /' conftest.
$ac_ext >&5
28057 ( exit $ac_status )
28058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28059 See \`config.log' for more details." >&5
28060 echo "$as_me: error: cannot compute sizeof (long), 77
28061 See \`config.log' for more details." >&2;}
28062 { (exit 1); exit 1; }; }
28064 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28069 ac_cv_sizeof_long
=0
28072 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28073 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28074 cat >>confdefs.h
<<_ACEOF
28075 #define SIZEOF_LONG $ac_cv_sizeof_long
28079 echo "$as_me:$LINENO: checking for void*" >&5
28080 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28081 if test "${ac_cv_type_voidp+set}" = set; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28084 cat >conftest.
$ac_ext <<_ACEOF
28087 cat confdefs.h
>>conftest.
$ac_ext
28088 cat >>conftest.
$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28090 $ac_includes_default
28096 if (sizeof (void*))
28102 rm -f conftest.
$ac_objext
28103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28104 (eval $ac_compile) 2>conftest.er1
28106 grep -v '^ *+' conftest.er1
>conftest.err
28108 cat conftest.err
>&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); } &&
28111 { ac_try
='test -z "$ac_c_werror_flag"
28112 || test ! -s conftest.err'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; } &&
28118 { ac_try
='test -s conftest.$ac_objext'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; }; then
28124 ac_cv_type_voidp
=yes
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.
$ac_ext >&5
28129 ac_cv_type_voidp
=no
28131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28133 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28134 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28136 echo "$as_me:$LINENO: checking size of void*" >&5
28137 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28138 if test "${ac_cv_sizeof_voidp+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 if test "$ac_cv_type_voidp" = yes; then
28142 # The cast to unsigned long works around a bug in the HP C Compiler
28143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28145 # This bug is HP SR number 8606223364.
28146 if test "$cross_compiling" = yes; then
28147 # Depending upon the size, compute the lo and hi bounds.
28148 cat >conftest.
$ac_ext <<_ACEOF
28151 cat confdefs.h
>>conftest.
$ac_ext
28152 cat >>conftest.
$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154 $ac_includes_default
28158 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28165 rm -f conftest.
$ac_objext
28166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28167 (eval $ac_compile) 2>conftest.er1
28169 grep -v '^ *+' conftest.er1
>conftest.err
28171 cat conftest.err
>&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); } &&
28174 { ac_try
='test -z "$ac_c_werror_flag"
28175 || test ! -s conftest.err'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; } &&
28181 { ac_try
='test -s conftest.$ac_objext'
28182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28183 (eval $ac_try) 2>&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); }; }; then
28189 cat >conftest.
$ac_ext <<_ACEOF
28192 cat confdefs.h
>>conftest.
$ac_ext
28193 cat >>conftest.
$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195 $ac_includes_default
28199 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28206 rm -f conftest.
$ac_objext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28208 (eval $ac_compile) 2>conftest.er1
28210 grep -v '^ *+' conftest.er1
>conftest.err
28212 cat conftest.err
>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } &&
28215 { ac_try
='test -z "$ac_c_werror_flag"
28216 || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try
='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_hi
=$ac_mid; break
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.
$ac_ext >&5
28233 ac_lo
=`expr $ac_mid + 1`
28234 if test $ac_lo -le $ac_mid; then
28238 ac_mid
=`expr 2 '*' $ac_mid + 1`
28240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.
$ac_ext >&5
28246 cat >conftest.
$ac_ext <<_ACEOF
28249 cat confdefs.h
>>conftest.
$ac_ext
28250 cat >>conftest.
$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28252 $ac_includes_default
28256 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28263 rm -f conftest.
$ac_objext
28264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28265 (eval $ac_compile) 2>conftest.er1
28267 grep -v '^ *+' conftest.er1
>conftest.err
28269 cat conftest.err
>&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); } &&
28272 { ac_try
='test -z "$ac_c_werror_flag"
28273 || test ! -s conftest.err'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; } &&
28279 { ac_try
='test -s conftest.$ac_objext'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; }; then
28287 cat >conftest.
$ac_ext <<_ACEOF
28290 cat confdefs.h
>>conftest.
$ac_ext
28291 cat >>conftest.
$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 $ac_includes_default
28297 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28304 rm -f conftest.
$ac_objext
28305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28306 (eval $ac_compile) 2>conftest.er1
28308 grep -v '^ *+' conftest.er1
>conftest.err
28310 cat conftest.err
>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); } &&
28313 { ac_try
='test -z "$ac_c_werror_flag"
28314 || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try
='test -s conftest.$ac_objext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 ac_lo
=$ac_mid; break
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.
$ac_ext >&5
28331 ac_hi
=`expr '(' $ac_mid ')' - 1`
28332 if test $ac_mid -le $ac_hi; then
28336 ac_mid
=`expr 2 '*' $ac_mid`
28338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.
$ac_ext >&5
28346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28349 # Binary search between lo and hi bounds.
28350 while test "x$ac_lo" != "x$ac_hi"; do
28351 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28352 cat >conftest.
$ac_ext <<_ACEOF
28355 cat confdefs.h
>>conftest.
$ac_ext
28356 cat >>conftest.
$ac_ext <<_ACEOF
28357 /* end confdefs.h. */
28358 $ac_includes_default
28362 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28369 rm -f conftest.
$ac_objext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28371 (eval $ac_compile) 2>conftest.er1
28373 grep -v '^ *+' conftest.er1
>conftest.err
28375 cat conftest.err
>&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } &&
28378 { ac_try
='test -z "$ac_c_werror_flag"
28379 || test ! -s conftest.err'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; } &&
28385 { ac_try
='test -s conftest.$ac_objext'
28386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28387 (eval $ac_try) 2>&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); }; }; then
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.
$ac_ext >&5
28396 ac_lo
=`expr '(' $ac_mid ')' + 1`
28398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28401 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
28402 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28403 See \`config.log' for more details." >&5
28404 echo "$as_me: error: cannot compute sizeof (void*), 77
28405 See \`config.log' for more details." >&2;}
28406 { (exit 1); exit 1; }; } ;;
28409 if test "$cross_compiling" = yes; then
28410 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28411 See \`config.log' for more details." >&5
28412 echo "$as_me: error: cannot run test program while cross compiling
28413 See \`config.log' for more details." >&2;}
28414 { (exit 1); exit 1; }; }
28416 cat >conftest.
$ac_ext <<_ACEOF
28419 cat confdefs.h
>>conftest.
$ac_ext
28420 cat >>conftest.
$ac_ext <<_ACEOF
28421 /* end confdefs.h. */
28422 $ac_includes_default
28423 long longval () { return (long) (sizeof (void*)); }
28424 unsigned long ulongval () { return (long) (sizeof (void*)); }
28426 #include <stdlib.h>
28431 FILE *f = fopen ("conftest.val", "w");
28434 if (((long) (sizeof (void*))) < 0)
28436 long i = longval ();
28437 if (i != ((long) (sizeof (void*))))
28439 fprintf (f, "%ld\n", i);
28443 unsigned long i = ulongval ();
28444 if (i != ((long) (sizeof (void*))))
28446 fprintf (f, "%lu\n", i);
28448 exit (ferror (f) || fclose (f) != 0);
28454 rm -f conftest
$ac_exeext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28456 (eval $ac_link) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 ac_cv_sizeof_voidp
=`cat conftest.val`
28467 echo "$as_me: program exited with status $ac_status" >&5
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.
$ac_ext >&5
28471 ( exit $ac_status )
28472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28473 See \`config.log' for more details." >&5
28474 echo "$as_me: error: cannot compute sizeof (void*), 77
28475 See \`config.log' for more details." >&2;}
28476 { (exit 1); exit 1; }; }
28478 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28483 ac_cv_sizeof_voidp
=0
28486 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28487 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
28488 cat >>confdefs.h
<<_ACEOF
28489 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
28493 ac_cv_char_data_model
=""
28494 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
28495 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
28496 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
28497 ac_cv_long_data_model
=""
28498 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
28499 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
28500 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
28501 echo "$as_me:$LINENO: checking data model" >&5
28502 echo $ECHO_N "checking data model... $ECHO_C" >&6
28503 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
28504 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
28505 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
28506 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
28507 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
28508 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
28509 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
28510 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
28511 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
28512 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
28513 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
28514 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
28515 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
28516 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
28517 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
28518 222/*|
333/*|
444/*|
666/*|
888/*) :
28519 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
28520 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
28522 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
28523 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
28527 if test "_$ac_cv_header_stdint_x" != "_" ; then
28528 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
28529 elif test "_$ac_cv_header_stdint_o" != "_" ; then
28530 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
28531 elif test "_$ac_cv_header_stdint_u" != "_" ; then
28532 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
28534 ac_cv_header_stdint
="stddef.h"
28537 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
28538 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
28539 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
28540 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
28541 unset ac_cv_type_int_least32_t
28542 unset ac_cv_type_int_fast32_t
28543 echo "$as_me:$LINENO: checking for int_least32_t" >&5
28544 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
28545 if test "${ac_cv_type_int_least32_t+set}" = set; then
28546 echo $ECHO_N "(cached) $ECHO_C" >&6
28548 cat >conftest.
$ac_ext <<_ACEOF
28551 cat confdefs.h
>>conftest.
$ac_ext
28552 cat >>conftest.
$ac_ext <<_ACEOF
28553 /* end confdefs.h. */
28554 #include <$ac_cv_header_stdint>
28559 if ((int_least32_t *) 0)
28561 if (sizeof (int_least32_t))
28567 rm -f conftest.
$ac_objext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28569 (eval $ac_compile) 2>conftest.er1
28571 grep -v '^ *+' conftest.er1
>conftest.err
28573 cat conftest.err
>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } &&
28576 { ac_try
='test -z "$ac_c_werror_flag"
28577 || test ! -s conftest.err'
28578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28579 (eval $ac_try) 2>&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); }; } &&
28583 { ac_try
='test -s conftest.$ac_objext'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; }; then
28589 ac_cv_type_int_least32_t
=yes
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.
$ac_ext >&5
28594 ac_cv_type_int_least32_t
=no
28596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28598 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
28599 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
28601 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
28602 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
28603 if test "${ac_cv_type_int_fast32_t+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 cat >conftest.
$ac_ext <<_ACEOF
28609 cat confdefs.h
>>conftest.
$ac_ext
28610 cat >>conftest.
$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28612 #include<$ac_cv_header_stdint>
28617 if ((int_fast32_t *) 0)
28619 if (sizeof (int_fast32_t))
28625 rm -f conftest.
$ac_objext
28626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28627 (eval $ac_compile) 2>conftest.er1
28629 grep -v '^ *+' conftest.er1
>conftest.err
28631 cat conftest.err
>&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); } &&
28634 { ac_try
='test -z "$ac_c_werror_flag"
28635 || test ! -s conftest.err'
28636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28637 (eval $ac_try) 2>&5
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; } &&
28641 { ac_try
='test -s conftest.$ac_objext'
28642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28643 (eval $ac_try) 2>&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); }; }; then
28647 ac_cv_type_int_fast32_t
=yes
28649 echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.
$ac_ext >&5
28652 ac_cv_type_int_fast32_t
=no
28654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28656 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
28657 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
28659 echo "$as_me:$LINENO: checking for intmax_t" >&5
28660 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
28661 if test "${ac_cv_type_intmax_t+set}" = set; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28664 cat >conftest.
$ac_ext <<_ACEOF
28667 cat confdefs.h
>>conftest.
$ac_ext
28668 cat >>conftest.
$ac_ext <<_ACEOF
28669 /* end confdefs.h. */
28670 #include <$ac_cv_header_stdint>
28675 if ((intmax_t *) 0)
28677 if (sizeof (intmax_t))
28683 rm -f conftest.
$ac_objext
28684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28685 (eval $ac_compile) 2>conftest.er1
28687 grep -v '^ *+' conftest.er1
>conftest.err
28689 cat conftest.err
>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try
='test -z "$ac_c_werror_flag"
28693 || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try
='test -s conftest.$ac_objext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 ac_cv_type_intmax_t
=yes
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.
$ac_ext >&5
28710 ac_cv_type_intmax_t
=no
28712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28714 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
28715 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
28718 fi # shortcircut to system "stdint.h"
28719 # ------------------ PREPARE VARIABLES ------------------------------
28720 if test "$GCC" = "yes" ; then
28721 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
28723 ac_cv_stdint_message
="using $CC"
28726 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
28727 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
28729 # ----------------- DONE inttypes.h checks START header -------------
28730 ac_config_commands
="$ac_config_commands $ac_stdint_h"
28735 # Check whether --with-glibj_zip or --without-glibj_zip was given.
28736 if test "${with_glibj_zip+set}" = set; then
28737 withval
="$with_glibj_zip"
28741 case "$with_glibj_zip" in
28743 use_glibj_zip
=false
28746 use_glibj_zip
=false
28749 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
28750 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
28751 { (exit 1); exit 1; }; }
28755 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
28761 if test x
$use_glibj_zip = xtrue
; then
28762 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
28763 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
28765 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
28766 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
28772 # Check whether --with-escher or --without-escher was given.
28773 if test "${with_escher+set}" = set; then
28774 withval
="$with_escher"
28777 case "$with_escher" in
28785 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
28786 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
28787 { (exit 1); exit 1; }; }
28791 PATH_TO_ESCHER
=$with_escher
28797 if test x
$use_escher = xtrue
; then
28799 USE_ESCHER_FALSE
='#'
28801 USE_ESCHER_TRUE
='#'
28807 # Check whether --enable-local-sockets or --disable-local-sockets was given.
28808 if test "${enable_local_sockets+set}" = set; then
28809 enableval
="$enable_local_sockets"
28810 case "${enableval}" in
28812 ENABLE_LOCAL_SOCKETS
=yes
28815 ENABLE_LOCAL_SOCKETS
=no
28819 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
28821 if test "${ac_cv_header_sys_un_h+set}" = set; then
28822 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28823 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28824 if test "${ac_cv_header_sys_un_h+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28827 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28828 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28830 # Is the header compilable?
28831 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
28832 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
28833 cat >conftest.
$ac_ext <<_ACEOF
28836 cat confdefs.h
>>conftest.
$ac_ext
28837 cat >>conftest.
$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839 $ac_includes_default
28840 #include <sys/un.h>
28842 rm -f conftest.
$ac_objext
28843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28844 (eval $ac_compile) 2>conftest.er1
28846 grep -v '^ *+' conftest.er1
>conftest.err
28848 cat conftest.err
>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } &&
28851 { ac_try
='test -z "$ac_c_werror_flag"
28852 || test ! -s conftest.err'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; } &&
28858 { ac_try
='test -s conftest.$ac_objext'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; }; then
28864 ac_header_compiler
=yes
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.
$ac_ext >&5
28869 ac_header_compiler
=no
28871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28873 echo "${ECHO_T}$ac_header_compiler" >&6
28875 # Is the header present?
28876 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
28877 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
28878 cat >conftest.
$ac_ext <<_ACEOF
28881 cat confdefs.h
>>conftest.
$ac_ext
28882 cat >>conftest.
$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28884 #include <sys/un.h>
28886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28889 grep -v '^ *+' conftest.er1
>conftest.err
28891 cat conftest.err
>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); } >/dev
/null
; then
28894 if test -s conftest.err
; then
28895 ac_cpp_err
=$ac_c_preproc_warn_flag
28896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28903 if test -z "$ac_cpp_err"; then
28904 ac_header_preproc
=yes
28906 echo "$as_me: failed program was:" >&5
28907 sed 's/^/| /' conftest.
$ac_ext >&5
28909 ac_header_preproc
=no
28911 rm -f conftest.err conftest.
$ac_ext
28912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28913 echo "${ECHO_T}$ac_header_preproc" >&6
28915 # So? What about this header?
28916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28918 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
28919 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28920 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
28921 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
28922 ac_header_preproc
=yes
28925 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
28926 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
28928 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
28930 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
28931 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
28932 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
28933 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
28934 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
28935 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
28936 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
28939 ## -------------------------------- ##
28940 ## Report this to classpath@gnu.org ##
28941 ## -------------------------------- ##
28944 sed "s/^/$as_me: WARNING: /" >&2
28947 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28948 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28949 if test "${ac_cv_header_sys_un_h+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 ac_cv_header_sys_un_h
=$ac_header_preproc
28954 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28955 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28966 for ac_func
in read write bind listen accept shutdown
28968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969 echo "$as_me:$LINENO: checking for $ac_func" >&5
28970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 if test x
$gcc_no_link = xyes
; then
28975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28977 { (exit 1); exit 1; }; }
28979 cat >conftest.
$ac_ext <<_ACEOF
28982 cat confdefs.h
>>conftest.
$ac_ext
28983 cat >>conftest.
$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28987 #define $ac_func innocuous_$ac_func
28989 /* System header to define __stub macros and hopefully few prototypes,
28990 which can conflict with char $ac_func (); below.
28991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28992 <limits.h> exists even on freestanding compilers. */
28995 # include <limits.h>
28997 # include <assert.h>
29002 /* Override any gcc2 internal prototype to avoid an error. */
29007 /* We use char because int might match the return type of a gcc2
29008 builtin and then its argument prototype would still apply. */
29010 /* The GNU C library defines this for functions which it implements
29011 to always fail with ENOSYS. Some functions are actually named
29012 something starting with __ and the normal name is an alias. */
29013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29016 char (*f) () = $ac_func;
29025 return f != $ac_func;
29030 rm -f conftest.
$ac_objext conftest
$ac_exeext
29031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29032 (eval $ac_link) 2>conftest.er1
29034 grep -v '^ *+' conftest.er1
>conftest.err
29036 cat conftest.err
>&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } &&
29039 { ac_try
='test -z "$ac_c_werror_flag"
29040 || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try
='test -s conftest$ac_exeext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 eval "$as_ac_var=yes"
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.
$ac_ext >&5
29057 eval "$as_ac_var=no"
29059 rm -f conftest.err conftest.
$ac_objext \
29060 conftest
$ac_exeext conftest.
$ac_ext
29062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29064 if test `eval echo '${'$as_ac_var'}'` = yes; then
29065 cat >>confdefs.h
<<_ACEOF
29066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29070 { { echo "$as_me:$LINENO: error: networking support not available" >&5
29071 echo "$as_me: error: networking support not available" >&2;}
29072 { (exit 1); exit 1; }; }
29077 cat >>confdefs.h
<<\_ACEOF
29078 #define ENABLE_LOCAL_SOCKETS 1
29084 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
29085 ENABLE_LOCAL_SOCKETS_TRUE
=
29086 ENABLE_LOCAL_SOCKETS_FALSE
='#'
29088 ENABLE_LOCAL_SOCKETS_TRUE
='#'
29089 ENABLE_LOCAL_SOCKETS_FALSE
=
29095 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"
29098 if test "x${COMPILE_WRAPPERS}" = xno
29100 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"
29102 ac_config_commands
="$ac_config_commands gappletviewer"
29104 ac_config_commands
="$ac_config_commands gjarsigner"
29106 ac_config_commands
="$ac_config_commands gkeytool"
29108 ac_config_commands
="$ac_config_commands gjar"
29110 ac_config_commands
="$ac_config_commands gnative2ascii"
29112 ac_config_commands
="$ac_config_commands gserialver"
29114 ac_config_commands
="$ac_config_commands grmiregistry"
29116 ac_config_commands
="$ac_config_commands gtnameserv"
29118 ac_config_commands
="$ac_config_commands gorbd"
29120 ac_config_commands
="$ac_config_commands grmid"
29122 ac_config_commands
="$ac_config_commands grmic"
29124 ac_config_commands
="$ac_config_commands gjavah"
29128 ac_config_commands
="$ac_config_commands gen-classlist"
29130 ac_config_commands
="$ac_config_commands copy-vmresources"
29132 cat >confcache
<<\_ACEOF
29133 # This file is a shell script that caches the results of configure
29134 # tests run on this system so they can be shared between configure
29135 # scripts and configure runs, see configure's option --config-cache.
29136 # It is not useful on other systems. If it contains results you don't
29137 # want to keep, you may remove or edit it.
29139 # config.status only pays attention to the cache file if you give it
29140 # the --recheck option to rerun configure.
29142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29144 # following values.
29148 # The following way of writing the cache mishandles newlines in values,
29149 # but we know of no workaround that is simple, portable, and efficient.
29150 # So, don't put newlines in cache variables' values.
29151 # Ultrix sh set writes to stderr and can't be redirected directly,
29152 # and sets the high bit in the cache file unless we assign to the vars.
29155 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29157 # `set' does not quote correctly, so add quotes (double-quote
29158 # substitution turns \\\\ into \\, and sed turns \\ into \).
29161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29164 # `set' quotes correctly as required by POSIX, so do not add quotes.
29166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29175 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29177 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29178 if test -w $cache_file; then
29179 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29180 cat confcache
>$cache_file
29182 echo "not updating unwritable cache $cache_file"
29187 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29188 # Let make expand exec_prefix.
29189 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29191 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29192 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29193 # trailing colons and then remove the whole line if VPATH becomes empty
29194 # (actually we leave an empty line to preserve line numbers).
29195 if test "x$srcdir" = x.
; then
29196 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29197 s/:*\$(srcdir):*/:/;
29198 s/:*\${srcdir}:*/:/;
29200 s/^\([^=]*=[ ]*\):*/\1/;
29206 DEFS
=-DHAVE_CONFIG_H
29210 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29211 # 1. Remove the extension, and $U if already installed.
29212 ac_i
=`echo "$ac_i" |
29213 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29215 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
29216 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
29218 LIBOBJS
=$ac_libobjs
29220 LTLIBOBJS
=$ac_ltlibobjs
29223 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
29224 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29225 Usually this means the macro was only invoked conditionally." >&5
29226 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29227 Usually this means the macro was only invoked conditionally." >&2;}
29228 { (exit 1); exit 1; }; }
29230 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
29231 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
29232 Usually this means the macro was only invoked conditionally." >&5
29233 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
29234 Usually this means the macro was only invoked conditionally." >&2;}
29235 { (exit 1); exit 1; }; }
29237 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
29238 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29239 Usually this means the macro was only invoked conditionally." >&5
29240 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29241 Usually this means the macro was only invoked conditionally." >&2;}
29242 { (exit 1); exit 1; }; }
29244 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
29245 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29246 Usually this means the macro was only invoked conditionally." >&5
29247 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29248 Usually this means the macro was only invoked conditionally." >&2;}
29249 { (exit 1); exit 1; }; }
29251 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
29252 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29253 Usually this means the macro was only invoked conditionally." >&5
29254 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29255 Usually this means the macro was only invoked conditionally." >&2;}
29256 { (exit 1); exit 1; }; }
29258 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
29259 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29260 Usually this means the macro was only invoked conditionally." >&5
29261 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29262 Usually this means the macro was only invoked conditionally." >&2;}
29263 { (exit 1); exit 1; }; }
29265 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
29266 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29267 Usually this means the macro was only invoked conditionally." >&5
29268 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29269 Usually this means the macro was only invoked conditionally." >&2;}
29270 { (exit 1); exit 1; }; }
29272 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29273 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29274 Usually this means the macro was only invoked conditionally." >&5
29275 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29276 Usually this means the macro was only invoked conditionally." >&2;}
29277 { (exit 1); exit 1; }; }
29279 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29280 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29281 Usually this means the macro was only invoked conditionally." >&5
29282 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29283 Usually this means the macro was only invoked conditionally." >&2;}
29284 { (exit 1); exit 1; }; }
29286 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
29287 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29288 Usually this means the macro was only invoked conditionally." >&5
29289 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29290 Usually this means the macro was only invoked conditionally." >&2;}
29291 { (exit 1); exit 1; }; }
29293 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
29294 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29295 Usually this means the macro was only invoked conditionally." >&5
29296 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29297 Usually this means the macro was only invoked conditionally." >&2;}
29298 { (exit 1); exit 1; }; }
29300 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
29301 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29302 Usually this means the macro was only invoked conditionally." >&5
29303 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29304 Usually this means the macro was only invoked conditionally." >&2;}
29305 { (exit 1); exit 1; }; }
29307 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
29308 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29309 Usually this means the macro was only invoked conditionally." >&5
29310 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29311 Usually this means the macro was only invoked conditionally." >&2;}
29312 { (exit 1); exit 1; }; }
29314 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
29315 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
29316 Usually this means the macro was only invoked conditionally." >&5
29317 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
29318 Usually this means the macro was only invoked conditionally." >&2;}
29319 { (exit 1); exit 1; }; }
29321 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
29322 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
29323 Usually this means the macro was only invoked conditionally." >&5
29324 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
29325 Usually this means the macro was only invoked conditionally." >&2;}
29326 { (exit 1); exit 1; }; }
29328 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
29329 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29330 Usually this means the macro was only invoked conditionally." >&5
29331 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29332 Usually this means the macro was only invoked conditionally." >&2;}
29333 { (exit 1); exit 1; }; }
29335 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
29336 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
29337 Usually this means the macro was only invoked conditionally." >&5
29338 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
29339 Usually this means the macro was only invoked conditionally." >&2;}
29340 { (exit 1); exit 1; }; }
29342 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29343 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29344 Usually this means the macro was only invoked conditionally." >&5
29345 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29346 Usually this means the macro was only invoked conditionally." >&2;}
29347 { (exit 1); exit 1; }; }
29349 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29350 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29351 Usually this means the macro was only invoked conditionally." >&5
29352 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29353 Usually this means the macro was only invoked conditionally." >&2;}
29354 { (exit 1); exit 1; }; }
29356 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29357 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29358 Usually this means the macro was only invoked conditionally." >&5
29359 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29360 Usually this means the macro was only invoked conditionally." >&2;}
29361 { (exit 1); exit 1; }; }
29363 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
29364 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
29365 Usually this means the macro was only invoked conditionally." >&5
29366 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
29367 Usually this means the macro was only invoked conditionally." >&2;}
29368 { (exit 1); exit 1; }; }
29370 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29371 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29372 Usually this means the macro was only invoked conditionally." >&5
29373 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29374 Usually this means the macro was only invoked conditionally." >&2;}
29375 { (exit 1); exit 1; }; }
29377 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29378 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29379 Usually this means the macro was only invoked conditionally." >&5
29380 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29381 Usually this means the macro was only invoked conditionally." >&2;}
29382 { (exit 1); exit 1; }; }
29384 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29385 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29386 Usually this means the macro was only invoked conditionally." >&5
29387 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29388 Usually this means the macro was only invoked conditionally." >&2;}
29389 { (exit 1); exit 1; }; }
29391 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29392 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29393 Usually this means the macro was only invoked conditionally." >&5
29394 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29395 Usually this means the macro was only invoked conditionally." >&2;}
29396 { (exit 1); exit 1; }; }
29398 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29399 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29400 Usually this means the macro was only invoked conditionally." >&5
29401 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29402 Usually this means the macro was only invoked conditionally." >&2;}
29403 { (exit 1); exit 1; }; }
29405 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29406 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29407 Usually this means the macro was only invoked conditionally." >&5
29408 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29409 Usually this means the macro was only invoked conditionally." >&2;}
29410 { (exit 1); exit 1; }; }
29412 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29413 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29414 Usually this means the macro was only invoked conditionally." >&5
29415 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29416 Usually this means the macro was only invoked conditionally." >&2;}
29417 { (exit 1); exit 1; }; }
29419 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29420 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29421 Usually this means the macro was only invoked conditionally." >&5
29422 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29423 Usually this means the macro was only invoked conditionally." >&2;}
29424 { (exit 1); exit 1; }; }
29426 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
29427 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
29428 Usually this means the macro was only invoked conditionally." >&5
29429 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
29430 Usually this means the macro was only invoked conditionally." >&2;}
29431 { (exit 1); exit 1; }; }
29433 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
29434 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29435 Usually this means the macro was only invoked conditionally." >&5
29436 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29437 Usually this means the macro was only invoked conditionally." >&2;}
29438 { (exit 1); exit 1; }; }
29440 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29441 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29442 Usually this means the macro was only invoked conditionally." >&5
29443 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29444 Usually this means the macro was only invoked conditionally." >&2;}
29445 { (exit 1); exit 1; }; }
29447 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
29448 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29449 Usually this means the macro was only invoked conditionally." >&5
29450 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29451 Usually this means the macro was only invoked conditionally." >&2;}
29452 { (exit 1); exit 1; }; }
29454 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
29455 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29456 Usually this means the macro was only invoked conditionally." >&5
29457 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29458 Usually this means the macro was only invoked conditionally." >&2;}
29459 { (exit 1); exit 1; }; }
29461 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
29462 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29463 Usually this means the macro was only invoked conditionally." >&5
29464 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29465 Usually this means the macro was only invoked conditionally." >&2;}
29466 { (exit 1); exit 1; }; }
29468 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
29469 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
29470 Usually this means the macro was only invoked conditionally." >&5
29471 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
29472 Usually this means the macro was only invoked conditionally." >&2;}
29473 { (exit 1); exit 1; }; }
29475 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
29476 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
29477 Usually this means the macro was only invoked conditionally." >&5
29478 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
29479 Usually this means the macro was only invoked conditionally." >&2;}
29480 { (exit 1); exit 1; }; }
29482 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
29483 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29484 Usually this means the macro was only invoked conditionally." >&5
29485 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29486 Usually this means the macro was only invoked conditionally." >&2;}
29487 { (exit 1); exit 1; }; }
29489 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
29490 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
29491 Usually this means the macro was only invoked conditionally." >&5
29492 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
29493 Usually this means the macro was only invoked conditionally." >&2;}
29494 { (exit 1); exit 1; }; }
29496 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
29497 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29498 Usually this means the macro was only invoked conditionally." >&5
29499 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29500 Usually this means the macro was only invoked conditionally." >&2;}
29501 { (exit 1); exit 1; }; }
29504 : ${CONFIG_STATUS=./config.status}
29505 ac_clean_files_save
=$ac_clean_files
29506 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29507 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29508 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29509 cat >$CONFIG_STATUS <<_ACEOF
29511 # Generated by $as_me.
29512 # Run this file to recreate the current configuration.
29513 # Compiler output produced by configure, useful for debugging
29514 # configure, is in config.log if it exists.
29517 ac_cs_recheck=false
29519 SHELL=\${CONFIG_SHELL-$SHELL}
29522 cat >>$CONFIG_STATUS <<\_ACEOF
29523 ## --------------------- ##
29524 ## M4sh Initialization. ##
29525 ## --------------------- ##
29527 # Be Bourne compatible
29528 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29532 # is contrary to our usage. Disable this feature.
29533 alias -g '${1+"$@"}'='"$@"'
29534 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29537 DUALCASE
=1; export DUALCASE
# for MKS sh
29539 # Support unset when possible.
29540 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
29547 # Work around bugs in pre-3.0 UWIN ksh.
29548 $as_unset ENV MAIL MAILPATH
29555 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29556 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29557 LC_TELEPHONE LC_TIME
29559 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29560 eval $as_var=C
; export $as_var
29566 # Required to use basename.
29567 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29573 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
29574 as_basename
=basename
29580 # Name of the executable.
29581 as_me
=`$as_basename "$0" ||
29582 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29583 X"$0" : 'X\(//\)$' \| \
29584 X"$0" : 'X\(/\)$' \| \
29585 . : '\(.\)' 2>/dev/null ||
29587 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29588 /^X\/\(\/\/\)$/{ s//\1/; q; }
29589 /^X\/\(\/\).*/{ s//\1/; q; }
29593 # PATH needs CR, and LINENO needs CR and PATH.
29594 # Avoid depending upon Character Ranges.
29595 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29596 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29597 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29598 as_cr_digits
='0123456789'
29599 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29601 # The user is always right.
29602 if test "${PATH_SEPARATOR+set}" != set; then
29603 echo "#! /bin/sh" >conf$$.sh
29604 echo "exit 0" >>conf$$.sh
29606 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
29615 as_lineno_1
=$LINENO
29616 as_lineno_2
=$LINENO
29617 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
29618 test "x$as_lineno_1" != "x$as_lineno_2" &&
29619 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
29620 # Find who we are. Look in the path if we contain no path at all
29623 *[\\/]* ) as_myself
=$0 ;;
29624 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29625 for as_dir
in $PATH
29628 test -z "$as_dir" && as_dir
=.
29629 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
29634 # We did not find ourselves, most probably we were run as `sh COMMAND'
29635 # in which case we are not to be found in the path.
29636 if test "x$as_myself" = x
; then
29639 if test ! -f "$as_myself"; then
29640 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29641 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29642 { (exit 1); exit 1; }; }
29644 case $CONFIG_SHELL in
29646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29647 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
29650 test -z "$as_dir" && as_dir
=.
29651 for as_base
in sh bash ksh sh5
; do
29654 if ("$as_dir/$as_base" -c '
29655 as_lineno_1=$LINENO
29656 as_lineno_2=$LINENO
29657 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29658 test "x$as_lineno_1" != "x$as_lineno_2" &&
29659 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
29660 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
29661 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
29662 CONFIG_SHELL
=$as_dir/$as_base
29663 export CONFIG_SHELL
29664 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29672 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29673 # uniformly replaced by the line number. The first 'sed' inserts a
29674 # line-number line before each line; the second 'sed' does the real
29675 # work. The second script uses 'N' to pair each line-number line
29676 # with the numbered line, and appends trailing '-' during
29677 # substitution so that $LINENO is not a special case at line end.
29678 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29679 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29680 sed '=' <$as_myself |
29685 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29688 s,^['$as_cr_digits']*\n,,
29689 ' >$as_me.lineno
&&
29690 chmod +x
$as_me.lineno ||
29691 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29692 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29693 { (exit 1); exit 1; }; }
29695 # Don't try to exec as it changes $[0], causing all sort of problems
29696 # (the dirname of $[0] is not the place where we might find the
29697 # original and so on. Autoconf is especially sensible to this).
29699 # Exit status is that of the last command.
29704 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29705 *c
*,-n*) ECHO_N
= ECHO_C
='
29707 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
29708 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
29711 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29717 rm -f conf$$ conf$$.exe conf$$.
file
29719 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29720 # We could just check for DJGPP; but this test a) works b) is more generic
29721 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29722 if test -f conf$$.exe
; then
29723 # Don't use ln at all; we don't have any links
29728 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29733 rm -f conf$$ conf$$.exe conf$$.
file
29735 if mkdir
-p .
2>/dev
/null
; then
29738 test -d .
/-p && rmdir .
/-p
29742 as_executable_p
="test -f"
29744 # Sed expression to map a string onto a valid CPP name.
29745 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29747 # Sed expression to map a string onto a valid variable name.
29748 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29752 # We need space, tab and new line, in precisely that order.
29762 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29763 # report actual input values of CONFIG_FILES etc. instead of their
29764 # values after options handling. Logging --version etc. is OK.
29768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29769 ## Running $as_me. ##
29774 This file was extended by GNU Classpath $as_me 0.95, which was
29775 generated by GNU Autoconf 2.59. Invocation command line was
29777 CONFIG_FILES = $CONFIG_FILES
29778 CONFIG_HEADERS = $CONFIG_HEADERS
29779 CONFIG_LINKS = $CONFIG_LINKS
29780 CONFIG_COMMANDS = $CONFIG_COMMANDS
29784 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29788 # Files that config.status was made for.
29789 if test -n "$ac_config_files"; then
29790 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29793 if test -n "$ac_config_headers"; then
29794 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29797 if test -n "$ac_config_links"; then
29798 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29801 if test -n "$ac_config_commands"; then
29802 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29805 cat >>$CONFIG_STATUS <<\_ACEOF
29808 \`$as_me' instantiates files from templates according to the
29809 current configuration.
29811 Usage: $0 [OPTIONS] [FILE]...
29813 -h, --help print this help, then exit
29814 -V, --version print version number, then exit
29815 -q, --quiet do not print progress messages
29816 -d, --debug don't remove temporary files
29817 --recheck update $as_me by reconfiguring in the same conditions
29818 --file=FILE[:TEMPLATE]
29819 instantiate the configuration file FILE
29820 --header=FILE[:TEMPLATE]
29821 instantiate the configuration header FILE
29823 Configuration files:
29826 Configuration headers:
29829 Configuration links:
29832 Configuration commands:
29835 Report bugs to <bug-autoconf@gnu.org>."
29838 cat >>$CONFIG_STATUS <<_ACEOF
29840 GNU Classpath config.status 0.95
29841 configured by $0, generated by GNU Autoconf 2.59,
29842 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29844 Copyright (C) 2003 Free Software Foundation, Inc.
29845 This config.status script is free software; the Free Software Foundation
29846 gives unlimited permission to copy, distribute and modify it."
29851 cat >>$CONFIG_STATUS <<\_ACEOF
29852 # If no file are specified by the user, then we need to provide default
29853 # value. By we need to know if files were specified by the user.
29859 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
29860 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
29868 *) # This is not an option, so the user has probably given explicit
29871 ac_need_defaults
=false
;;
29875 # Handling of the options.
29877 cat >>$CONFIG_STATUS <<\_ACEOF
29878 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29880 --version |
--vers* |
-V )
29881 echo "$ac_cs_version"; exit 0 ;;
29883 # Conflict between --help and --header
29884 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29885 Try \`$0 --help' for more information." >&5
29886 echo "$as_me: error: ambiguous option: $1
29887 Try \`$0 --help' for more information." >&2;}
29888 { (exit 1); exit 1; }; };;
29889 --help |
--hel |
-h )
29890 echo "$ac_cs_usage"; exit 0 ;;
29891 --debug |
--d* |
-d )
29893 --file |
--fil |
--fi |
--f )
29895 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
29896 ac_need_defaults
=false
;;
29897 --header |
--heade |
--head |
--hea )
29899 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
29900 ac_need_defaults
=false
;;
29901 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29902 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29905 # This is an error.
29906 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29907 Try \`$0 --help' for more information." >&5
29908 echo "$as_me: error: unrecognized option: $1
29909 Try \`$0 --help' for more information." >&2;}
29910 { (exit 1); exit 1; }; } ;;
29912 *) ac_config_targets
="$ac_config_targets $1" ;;
29918 ac_configure_extra_args
=
29920 if $ac_cs_silent; then
29922 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29926 cat >>$CONFIG_STATUS <<_ACEOF
29927 if \$ac_cs_recheck; then
29928 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29929 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29934 cat >>$CONFIG_STATUS <<_ACEOF
29936 # INIT-COMMANDS section.
29943 with_multisubdir="$with_multisubdir"
29944 with_multisrctop="$with_multisrctop"
29945 with_target_subdir="$with_target_subdir"
29946 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29947 multi_basedir="$multi_basedir"
29948 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29950 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29953 # The HP-UX ksh and POSIX shell print the target directory to stdout
29954 # if CDPATH is set.
29955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29957 sed_quote_subst='$sed_quote_subst'
29958 double_quote_subst='$double_quote_subst'
29959 delay_variable_subst='$delay_variable_subst'
29960 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
29961 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
29962 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
29963 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
29964 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
29965 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
29966 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
29967 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
29968 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
29969 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
29970 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
29971 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
29972 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
29973 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
29974 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
29975 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
29976 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
29977 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
29978 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
29979 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
29980 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
29981 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
29982 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
29983 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
29984 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
29985 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
29986 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
29987 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29988 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
29989 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
29990 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
29991 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29992 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
29993 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
29994 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29995 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29996 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29997 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
29998 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29999 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
30000 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
30001 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
30002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
30003 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"`'
30004 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
30005 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
30006 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
30007 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
30008 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
30009 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
30010 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
30011 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
30012 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
30013 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
30014 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
30015 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30016 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30017 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
30018 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
30019 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30020 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30021 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
30022 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30023 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30024 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30025 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30026 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30027 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30028 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
30029 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30030 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30031 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30032 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
30033 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
30034 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
30035 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
30036 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
30037 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30038 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
30039 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
30040 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
30041 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
30042 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
30043 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30044 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30045 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30046 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30047 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
30048 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
30049 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
30050 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
30051 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
30052 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30053 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30054 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
30055 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30056 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
30057 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30058 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30059 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30060 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30061 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
30062 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
30063 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30064 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30065 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
30066 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
30067 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
30068 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
30069 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
30070 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
30071 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30072 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30073 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
30074 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
30075 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
30076 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30077 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30078 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30079 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30080 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30081 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30082 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30083 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30084 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30085 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30086 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30087 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30088 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30089 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30090 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30091 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30092 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30093 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30094 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30095 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30096 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30097 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30098 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30099 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30100 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30101 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30102 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30103 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30104 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30105 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30106 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30107 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30108 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30109 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30110 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30111 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30112 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30113 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30114 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30115 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30116 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30117 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30118 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30119 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30120 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30121 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30124 LTCFLAGS='$LTCFLAGS'
30125 compiler='$compiler_DEFAULT'
30127 # Quote evaled strings.
30138 deplibs_check_method \
30147 lt_cv_sys_global_symbol_pipe \
30148 lt_cv_sys_global_symbol_to_cdecl \
30149 lt_cv_sys_global_symbol_to_c_name_address \
30152 lt_prog_compiler_no_builtin_flag \
30153 lt_prog_compiler_wl \
30154 lt_prog_compiler_pic \
30155 lt_prog_compiler_static \
30156 lt_cv_prog_compiler_c_o \
30159 export_dynamic_flag_spec \
30160 whole_archive_flag_spec \
30161 compiler_needs_object \
30163 allow_undefined_flag \
30164 no_undefined_flag \
30165 hardcode_libdir_flag_spec \
30166 hardcode_libdir_flag_spec_ld \
30167 hardcode_libdir_separator \
30172 variables_saved_for_relink \
30174 library_names_spec \
30183 compiler_lib_search_path \
30186 lt_prog_compiler_no_builtin_flag_CXX \
30187 lt_prog_compiler_wl_CXX \
30188 lt_prog_compiler_pic_CXX \
30189 lt_prog_compiler_static_CXX \
30190 lt_cv_prog_compiler_c_o_CXX \
30191 export_dynamic_flag_spec_CXX \
30192 whole_archive_flag_spec_CXX \
30193 compiler_needs_object_CXX \
30195 allow_undefined_flag_CXX \
30196 no_undefined_flag_CXX \
30197 hardcode_libdir_flag_spec_CXX \
30198 hardcode_libdir_flag_spec_ld_CXX \
30199 hardcode_libdir_separator_CXX \
30200 fix_srcfile_path_CXX \
30201 exclude_expsyms_CXX \
30202 include_expsyms_CXX \
30203 file_list_spec_CXX \
30204 predep_objects_CXX \
30205 postdep_objects_CXX \
30208 compiler_lib_search_path_CXX; do
30209 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30210 *[\\\\\\\`\\"\\\$]*)
30211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
30214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30219 # Double-quote double-evaled strings.
30220 for var in reload_cmds \
30221 old_postinstall_cmds \
30222 old_postuninstall_cmds \
30224 extract_expsyms_cmds \
30225 old_archive_from_new_cmds \
30226 old_archive_from_expsyms_cmds \
30228 archive_expsym_cmds \
30230 module_expsym_cmds \
30231 export_symbols_cmds \
30234 postuninstall_cmds \
30236 sys_lib_search_path_spec \
30237 sys_lib_dlsearch_path_spec \
30238 old_archive_cmds_CXX \
30239 old_archive_from_new_cmds_CXX \
30240 old_archive_from_expsyms_cmds_CXX \
30242 archive_expsym_cmds_CXX \
30244 module_expsym_cmds_CXX \
30245 export_symbols_cmds_CXX \
30246 prelink_cmds_CXX; do
30247 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30248 *[\\\\\\\`\\"\\\$]*)
30249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
30252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30257 # Fix-up fallback echo if it was mangled by the above quoting rules.
30259 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
30263 ac_aux_dir='$ac_aux_dir'
30264 xsi_shell='$xsi_shell'
30265 lt_shell_append='$lt_shell_append'
30267 # See if we are running on zsh, and set the options which allow our
30268 # commands through without removal of \ escapes INIT.
30269 if test -n "\${ZSH_VERSION+set}" ; then
30270 setopt NO_GLOB_SUBST
30276 TIMESTAMP='$TIMESTAMP'
30284 # variables for create stdint.h replacement
30287 ac_stdint_h="$ac_stdint_h"
30288 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
30289 ac_cv_stdint_message="$ac_cv_stdint_message"
30290 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
30291 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
30292 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
30293 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
30294 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
30295 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
30296 ac_cv_char_data_model="$ac_cv_char_data_model"
30297 ac_cv_long_data_model="$ac_cv_long_data_model"
30298 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
30299 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
30300 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
30307 cat >>$CONFIG_STATUS <<\_ACEOF
30308 for ac_config_target
in $ac_config_targets
30310 case "$ac_config_target" in
30311 # Handling of arguments.
30312 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
30313 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30314 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
30315 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
30316 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
30317 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
30318 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
30319 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
30320 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
30321 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
30322 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
30323 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
30324 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
30325 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
30326 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
30327 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
30328 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
30329 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
30330 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
30331 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
30332 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
30333 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
30334 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
30335 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
30336 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
30337 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
30338 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
30339 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
30340 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
30341 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
30342 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
30343 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
30344 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
30345 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
30346 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
30347 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
30348 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
30349 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
30350 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
30351 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
30352 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
30353 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
30354 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
30355 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
30356 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
30357 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
30358 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
30359 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
30360 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
30361 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
30362 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
30363 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
30364 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
30365 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
30366 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
30367 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
30368 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
30369 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
30370 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
30371 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
30372 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
30373 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
30374 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
30375 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
30376 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
30377 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
30378 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
30379 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
30380 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
30381 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
30382 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
30383 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
30384 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
30385 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
30386 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30387 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30388 { (exit 1); exit 1; }; };;
30392 # If the user did not use the arguments to specify the items to instantiate,
30393 # then the envvar interface is used. Set only those that are not.
30394 # We use the long form for the default assignment because of an extremely
30395 # bizarre bug on SunOS 4.1.3.
30396 if $ac_need_defaults; then
30397 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30398 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30399 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
30400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30403 # Have a temporary directory for convenience. Make it in the build tree
30404 # simply because there is no reason to put it here, and in addition,
30405 # creating and moving files from /tmp can sometimes cause problems.
30406 # Create a temporary directory, and hook for its removal unless debugging.
30409 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30410 trap '{ (exit 1); exit 1; }' 1 2 13 15
30413 # Create a (secure) tmp directory for tmp files.
30416 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30417 test -n "$tmp" && test -d "$tmp"
30420 tmp
=.
/confstat$$
-$RANDOM
30421 (umask 077 && mkdir
$tmp)
30424 echo "$me: cannot create a temporary directory in ." >&2
30425 { (exit 1); exit 1; }
30430 cat >>$CONFIG_STATUS <<_ACEOF
30433 # CONFIG_FILES section.
30436 # No need to generate the scripts if there are no CONFIG_FILES.
30437 # This happens for instance when ./config.status config.h
30438 if test -n "\$CONFIG_FILES"; then
30439 # Protect against being on the right side of a sed subst in config.status.
30440 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30441 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30442 s,@SHELL@,$SHELL,;t t
30443 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30444 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30445 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30446 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30447 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30448 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30449 s,@exec_prefix@,$exec_prefix,;t t
30450 s,@prefix@,$prefix,;t t
30451 s,@program_transform_name@,$program_transform_name,;t t
30452 s,@bindir@,$bindir,;t t
30453 s,@sbindir@,$sbindir,;t t
30454 s,@libexecdir@,$libexecdir,;t t
30455 s,@datadir@,$datadir,;t t
30456 s,@sysconfdir@,$sysconfdir,;t t
30457 s,@sharedstatedir@,$sharedstatedir,;t t
30458 s,@localstatedir@,$localstatedir,;t t
30459 s,@libdir@,$libdir,;t t
30460 s,@includedir@,$includedir,;t t
30461 s,@oldincludedir@,$oldincludedir,;t t
30462 s,@infodir@,$infodir,;t t
30463 s,@mandir@,$mandir,;t t
30464 s,@build_alias@,$build_alias,;t t
30465 s,@host_alias@,$host_alias,;t t
30466 s,@target_alias@,$target_alias,;t t
30467 s,@DEFS@,$DEFS,;t t
30468 s,@ECHO_C@,$ECHO_C,;t t
30469 s,@ECHO_N@,$ECHO_N,;t t
30470 s,@ECHO_T@,$ECHO_T,;t t
30471 s,@LIBS@,$LIBS,;t t
30472 s,@build@,$build,;t t
30473 s,@build_cpu@,$build_cpu,;t t
30474 s,@build_vendor@,$build_vendor,;t t
30475 s,@build_os@,$build_os,;t t
30476 s,@host@,$host,;t t
30477 s,@host_cpu@,$host_cpu,;t t
30478 s,@host_vendor@,$host_vendor,;t t
30479 s,@host_os@,$host_os,;t t
30480 s,@target@,$target,;t t
30481 s,@target_cpu@,$target_cpu,;t t
30482 s,@target_vendor@,$target_vendor,;t t
30483 s,@target_os@,$target_os,;t t
30484 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
30485 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
30486 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
30487 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
30488 s,@multi_basedir@,$multi_basedir,;t t
30489 s,@LIBVERSION@,$LIBVERSION,;t t
30490 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
30491 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
30492 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30493 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30494 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30495 s,@CYGPATH_W@,$CYGPATH_W,;t t
30496 s,@PACKAGE@,$PACKAGE,;t t
30497 s,@VERSION@,$VERSION,;t t
30498 s,@ACLOCAL@,$ACLOCAL,;t t
30499 s,@AUTOCONF@,$AUTOCONF,;t t
30500 s,@AUTOMAKE@,$AUTOMAKE,;t t
30501 s,@AUTOHEADER@,$AUTOHEADER,;t t
30502 s,@MAKEINFO@,$MAKEINFO,;t t
30503 s,@install_sh@,$install_sh,;t t
30504 s,@STRIP@,$STRIP,;t t
30505 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30506 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30507 s,@mkdir_p@,$mkdir_p,;t t
30509 s,@SET_MAKE@,$SET_MAKE,;t t
30510 s,@am__leading_dot@,$am__leading_dot,;t t
30511 s,@AMTAR@,$AMTAR,;t t
30512 s,@am__tar@,$am__tar,;t t
30513 s,@am__untar@,$am__untar,;t t
30514 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
30515 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
30516 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
30517 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
30518 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
30519 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
30520 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
30521 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
30522 s,@default_toolkit@,$default_toolkit,;t t
30523 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
30524 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
30526 s,@CFLAGS@,$CFLAGS,;t t
30527 s,@LDFLAGS@,$LDFLAGS,;t t
30528 s,@CPPFLAGS@,$CPPFLAGS,;t t
30529 s,@ac_ct_CC@,$ac_ct_CC,;t t
30530 s,@EXEEXT@,$EXEEXT,;t t
30531 s,@OBJEXT@,$OBJEXT,;t t
30532 s,@DEPDIR@,$DEPDIR,;t t
30533 s,@am__include@,$am__include,;t t
30534 s,@am__quote@,$am__quote,;t t
30535 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30536 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30537 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30538 s,@CCDEPMODE@,$CCDEPMODE,;t t
30539 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30540 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30542 s,@EGREP@,$EGREP,;t t
30543 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
30544 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
30545 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
30546 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
30547 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
30548 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
30549 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
30550 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
30551 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
30552 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
30553 s,@toolexeclibdir@,$toolexeclibdir,;t t
30554 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
30555 s,@glibjdir@,$glibjdir,;t t
30556 s,@VM_BINARY@,$VM_BINARY,;t t
30557 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
30558 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
30559 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
30560 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
30561 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
30562 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
30563 s,@LN_S@,$LN_S,;t t
30564 s,@LIBTOOL@,$LIBTOOL,;t t
30566 s,@FGREP@,$FGREP,;t t
30567 s,@GREP@,$GREP,;t t
30569 s,@DUMPBIN@,$DUMPBIN,;t t
30570 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
30573 s,@ac_ct_AR@,$ac_ct_AR,;t t
30574 s,@RANLIB@,$RANLIB,;t t
30575 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30576 s,@lt_ECHO@,$lt_ECHO,;t t
30578 s,@CXXFLAGS@,$CXXFLAGS,;t t
30579 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30580 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30581 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30582 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30583 s,@CXXCPP@,$CXXCPP,;t t
30584 s,@PERL@,$PERL,;t t
30585 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
30586 s,@LIBMAGIC@,$LIBMAGIC,;t t
30587 s,@LIBICONV@,$LIBICONV,;t t
30588 s,@LTLIBICONV@,$LTLIBICONV,;t t
30589 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
30590 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
30591 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
30592 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
30593 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
30594 s,@XML_LIBS@,$XML_LIBS,;t t
30595 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
30596 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
30597 s,@X_CFLAGS@,$X_CFLAGS,;t t
30598 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
30599 s,@X_LIBS@,$X_LIBS,;t t
30600 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
30601 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
30602 s,@GTK_LIBS@,$GTK_LIBS,;t t
30603 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
30604 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
30605 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
30606 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
30607 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
30608 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
30609 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
30610 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
30611 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
30612 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
30613 s,@GDK_LIBS@,$GDK_LIBS,;t t
30614 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
30615 s,@QT_LIBS@,$QT_LIBS,;t t
30617 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
30618 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
30619 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
30620 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
30621 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
30622 s,@USER_JAVAH@,$USER_JAVAH,;t t
30623 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
30624 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
30625 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
30627 s,@JIKES@,$JIKES,;t t
30628 s,@JIKESENCODING@,$JIKESENCODING,;t t
30629 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
30632 s,@JAVAC@,$JAVAC,;t t
30633 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
30634 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
30635 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
30636 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
30637 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
30638 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
30639 s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t
30640 s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t
30641 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
30642 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
30643 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
30644 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
30645 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
30646 s,@vm_classes@,$vm_classes,;t t
30647 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30648 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30649 s,@MAINT@,$MAINT,;t t
30650 s,@LIBDEBUG@,$LIBDEBUG,;t t
30651 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
30652 s,@ECJ_JAR@,$ECJ_JAR,;t t
30653 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
30654 s,@REMOVE@,$REMOVE,;t t
30655 s,@MKDIR@,$MKDIR,;t t
30657 s,@DATE@,$DATE,;t t
30658 s,@FIND@,$FIND,;t t
30660 s,@FASTJAR@,$FASTJAR,;t t
30661 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
30662 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
30663 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
30664 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
30665 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
30666 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
30667 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
30668 s,@GJDOC@,$GJDOC,;t t
30669 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
30670 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
30672 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
30673 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
30674 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
30675 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
30676 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
30677 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
30678 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
30679 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
30680 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
30681 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
30682 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
30683 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
30684 s,@LIBOBJS@,$LIBOBJS,;t t
30685 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30690 cat >>$CONFIG_STATUS <<\_ACEOF
30691 # Split the substitutions into bite-sized pieces for seds with
30692 # small command number limits, like on Digital OSF/1 and HP-UX.
30693 ac_max_sed_lines
=48
30694 ac_sed_frag
=1 # Number of current file.
30695 ac_beg
=1 # First line for current file.
30696 ac_end
=$ac_max_sed_lines # Line after last line for current file.
30699 while $ac_more_lines; do
30700 if test $ac_beg -gt 1; then
30701 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30703 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30705 if test ! -s $tmp/subs.frag
; then
30706 ac_more_lines
=false
30708 # The purpose of the label and of the branching condition is to
30709 # speed up the sed processing (if there are no `@' at all, there
30710 # is no need to browse any of the substitutions).
30711 # These are the two extra sed commands mentioned above.
30713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
30714 if test -z "$ac_sed_cmds"; then
30715 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
30717 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30719 ac_sed_frag
=`expr $ac_sed_frag + 1`
30721 ac_end
=`expr $ac_end + $ac_max_sed_lines`
30724 if test -z "$ac_sed_cmds"; then
30727 fi # test -n "$CONFIG_FILES"
30730 cat >>$CONFIG_STATUS <<\_ACEOF
30731 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
30732 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30734 - |
*:- |
*:-:* ) # input from stdin
30736 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30737 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30738 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30739 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30740 * ) ac_file_in
=$ac_file.
in ;;
30743 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30744 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30746 X"$ac_file" : 'X\(//\)[^/]' \| \
30747 X"$ac_file" : 'X\(//\)$' \| \
30748 X"$ac_file" : 'X\(/\)' \| \
30749 . : '\(.\)' 2>/dev/null ||
30751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30753 /^X\(\/\/\)$/{ s//\1/; q; }
30754 /^X\(\/\).*/{ s//\1/; q; }
30756 { if $as_mkdir_p; then
30761 while test ! -d "$as_dir"; do
30762 as_dirs
="$as_dir $as_dirs"
30763 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30765 X"$as_dir" : 'X\(//\)[^/]' \| \
30766 X"$as_dir" : 'X\(//\)$' \| \
30767 X"$as_dir" : 'X\(/\)' \| \
30768 . : '\(.\)' 2>/dev/null ||
30770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30772 /^X\(\/\/\)$/{ s//\1/; q; }
30773 /^X\(\/\).*/{ s//\1/; q; }
30776 test ! -n "$as_dirs" || mkdir
$as_dirs
30777 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30778 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30779 { (exit 1); exit 1; }; }; }
30783 if test "$ac_dir" != .
; then
30784 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30785 # A "../" for each directory in $ac_dir_suffix.
30786 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30788 ac_dir_suffix
= ac_top_builddir
=
30792 .
) # No --srcdir option. We are building in place.
30794 if test -z "$ac_top_builddir"; then
30797 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30799 [\\/]* | ?
:[\\/]* ) # Absolute path.
30800 ac_srcdir
=$srcdir$ac_dir_suffix;
30801 ac_top_srcdir
=$srcdir ;;
30802 *) # Relative path.
30803 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30804 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30807 # Do not use `cd foo && pwd` to compute absolute paths, because
30808 # the directories may not exist.
30810 .
) ac_abs_builddir
="$ac_dir";;
30813 .
) ac_abs_builddir
=`pwd`;;
30814 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30815 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30818 case $ac_abs_builddir in
30819 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30821 case ${ac_top_builddir}.
in
30822 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30823 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30824 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30827 case $ac_abs_builddir in
30828 .
) ac_abs_srcdir
=$ac_srcdir;;
30831 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30832 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30833 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30836 case $ac_abs_builddir in
30837 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30839 case $ac_top_srcdir in
30840 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30841 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30842 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30848 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30849 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30852 if test x
"$ac_file" != x-
; then
30853 { echo "$as_me:$LINENO: creating $ac_file" >&5
30854 echo "$as_me: creating $ac_file" >&6;}
30857 # Let's still pretend it is `configure' which instantiates (i.e., don't
30858 # use $as_me), people would be surprised to read:
30859 # /* config.h. Generated by config.status. */
30860 if test x
"$ac_file" = x-
; then
30863 configure_input
="$ac_file. "
30865 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30866 sed 's,.*/,,'` by configure."
30868 # First look for the input files in the build tree, otherwise in the
30870 ac_file_inputs
=`IFS=:
30871 for f in $ac_file_in; do
30873 -) echo $tmp/stdin ;;
30875 # Absolute (can't be DOS-style, as IFS=:)
30876 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30877 echo "$as_me: error: cannot find input file: $f" >&2;}
30878 { (exit 1); exit 1; }; }
30881 if test -f "$f"; then
30884 elif test -f "$srcdir/$f"; then
30889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30890 echo "$as_me: error: cannot find input file: $f" >&2;}
30891 { (exit 1); exit 1; }; }
30894 done` ||
{ (exit 1); exit 1; }
30896 cat >>$CONFIG_STATUS <<_ACEOF
30900 cat >>$CONFIG_STATUS <<\_ACEOF
30902 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30903 s
,@configure_input@
,$configure_input,;t t
30904 s
,@srcdir@
,$ac_srcdir,;t t
30905 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30906 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30907 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30908 s
,@builddir@
,$ac_builddir,;t t
30909 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30910 s
,@top_builddir@
,$ac_top_builddir,;t t
30911 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30912 s
,@INSTALL@
,$ac_INSTALL,;t t
30913 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30915 if test x"$ac_file" != x-; then
30916 mv $tmp/out $ac_file
30924 cat >>$CONFIG_STATUS <<\_ACEOF
30927 # CONFIG_HEADER section.
30930 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30931 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30933 # ac_d sets the value in "#define NAME VALUE" lines.
30934 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30935 ac_dB
='[ ].*$,\1#\2'
30938 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30939 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30940 ac_uB
='$,\1#\2define\3'
30944 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30945 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30947 - |
*:- |
*:-:* ) # input from stdin
30949 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30950 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30951 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30952 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30953 * ) ac_file_in
=$ac_file.
in ;;
30956 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30957 echo "$as_me: creating $ac_file" >&6;}
30959 # First look for the input files in the build tree, otherwise in the
30961 ac_file_inputs
=`IFS=:
30962 for f in $ac_file_in; do
30964 -) echo $tmp/stdin ;;
30966 # Absolute (can't be DOS-style, as IFS=:)
30967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30968 echo "$as_me: error: cannot find input file: $f" >&2;}
30969 { (exit 1); exit 1; }; }
30970 # Do quote $f, to prevent DOS paths from being IFS'd.
30973 if test -f "$f"; then
30976 elif test -f "$srcdir/$f"; then
30981 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30982 echo "$as_me: error: cannot find input file: $f" >&2;}
30983 { (exit 1); exit 1; }; }
30986 done` ||
{ (exit 1); exit 1; }
30987 # Remove the trailing spaces.
30988 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30992 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30993 # `conftest.undefs', that substitutes the proper values into
30994 # config.h.in to produce config.h. The first handles `#define'
30995 # templates, and the second `#undef' templates.
30996 # And first: Protect against being on the right side of a sed subst in
30997 # config.status. Protect against being in an unquoted here document
30998 # in config.status.
30999 rm -f conftest.defines conftest.undefs
31000 # Using a here document instead of a string reduces the quoting nightmare.
31001 # Putting comments in sed scripts is not portable.
31003 # `end' is used to avoid that the second main sed command (meant for
31004 # 0-ary CPP macros) applies to n-ary macro definitions.
31005 # See the Autoconf documentation for `clear'.
31006 cat >confdef2sed.
sed <<\_ACEOF
31011 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31013 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31016 # If some macros were called several times there might be several times
31017 # the same #defines, which is useless. Nevertheless, we may not want to
31018 # sort them, since we want the *last* AC-DEFINE to be honored.
31019 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31020 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31021 rm -f confdef2sed.sed
31023 # This sed command replaces #undef with comments. This is necessary, for
31024 # example, in the case of _POSIX_SOURCE, which is predefined and required
31025 # on some systems where configure will not decide to define it.
31026 cat >>conftest.undefs <<\_ACEOF
31027 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31030 # Break up conftest.defines because some shells have a limit on the size
31031 # of here documents, and old seds have small limits too (100 cmds).
31032 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31033 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31034 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31035 echo ' :' >>$CONFIG_STATUS
31036 rm -f conftest.tail
31037 while grep . conftest.defines >/dev/null
31039 # Write a limited-size here document to $tmp/defines.sed.
31040 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31041 # Speed up: don't consider the non `#define' lines.
31042 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31043 # Work around the forget-to-reset-the-flag bug.
31044 echo 't clr' >>$CONFIG_STATUS
31045 echo ': clr' >>$CONFIG_STATUS
31046 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
31048 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31050 mv $tmp/out $tmp/in
31052 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
31053 rm -f conftest.defines
31054 mv conftest.
tail conftest.defines
31056 rm -f conftest.defines
31057 echo ' fi # grep' >>$CONFIG_STATUS
31058 echo >>$CONFIG_STATUS
31060 # Break up conftest.undefs because some shells have a limit on the size
31061 # of here documents, and old seds have small limits too (100 cmds).
31062 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31063 rm -f conftest.
tail
31064 while grep . conftest.undefs
>/dev
/null
31066 # Write a limited-size here document to $tmp/undefs.sed.
31067 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31068 # Speed up: don't consider the non
`#undef'
31069 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31070 # Work around the forget-to-reset-the-flag bug.
31071 echo 't clr' >>$CONFIG_STATUS
31072 echo ': clr' >>$CONFIG_STATUS
31073 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31075 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31077 mv $tmp/out $tmp/in
31079 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31080 rm -f conftest.undefs
31081 mv conftest.tail conftest.undefs
31083 rm -f conftest.undefs
31085 cat >>$CONFIG_STATUS <<\_ACEOF
31086 # Let's still pretend it is `configure
' which instantiates (i.e., don't
31087 # use $as_me), people would be surprised to read:
31088 # /* config.h. Generated by config.status. */
31089 if test x
"$ac_file" = x-
; then
31090 echo "/* Generated by configure. */" >$tmp/config.h
31092 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31094 cat $tmp/in >>$tmp/config.h
31096 if test x
"$ac_file" != x-
; then
31097 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
31098 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31099 echo "$as_me: $ac_file is unchanged" >&6;}
31101 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
31102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31103 X"$ac_file" : 'X\(//\)[^/]' \| \
31104 X"$ac_file" : 'X\(//\)$' \| \
31105 X"$ac_file" : 'X\(/\)' \| \
31106 . : '\(.\)' 2>/dev/null ||
31108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31110 /^X\(\/\/\)$/{ s//\1/; q; }
31111 /^X\(\/\).*/{ s//\1/; q; }
31113 { if $as_mkdir_p; then
31118 while test ! -d "$as_dir"; do
31119 as_dirs
="$as_dir $as_dirs"
31120 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31122 X"$as_dir" : 'X\(//\)[^/]' \| \
31123 X"$as_dir" : 'X\(//\)$' \| \
31124 X"$as_dir" : 'X\(/\)' \| \
31125 . : '\(.\)' 2>/dev/null ||
31127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31129 /^X\(\/\/\)$/{ s//\1/; q; }
31130 /^X\(\/\).*/{ s//\1/; q; }
31133 test ! -n "$as_dirs" || mkdir
$as_dirs
31134 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31136 { (exit 1); exit 1; }; }; }
31139 mv $tmp/config.h
$ac_file
31143 rm -f $tmp/config.h
31145 # Compute $ac_file's index in $config_headers.
31147 for _am_header
in $config_headers :; do
31148 case $_am_header in
31149 $ac_file |
$ac_file:* )
31152 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
31155 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31156 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31157 X$ac_file : 'X\(//\)[^/]' \| \
31158 X$ac_file : 'X\(//\)$' \| \
31159 X$ac_file : 'X\(/\)' \| \
31160 . : '\(.\)' 2>/dev/null ||
31162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31164 /^X\(\/\/\)$/{ s//\1/; q; }
31165 /^X\(\/\).*/{ s//\1/; q; }
31166 s/.*/./; q'`/stamp-h
$_am_stamp_count
31169 cat >>$CONFIG_STATUS <<\_ACEOF
31172 # CONFIG_LINKS section.
31175 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
31176 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31177 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31179 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
31180 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
31182 if test ! -r $srcdir/$ac_source; then
31183 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
31184 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
31185 { (exit 1); exit 1; }; }
31189 # Make relative symlinks.
31190 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31191 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31192 X"$ac_dest" : 'X\(//\)[^/]' \| \
31193 X"$ac_dest" : 'X\(//\)$' \| \
31194 X"$ac_dest" : 'X\(/\)' \| \
31195 . : '\(.\)' 2>/dev/null ||
31197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31199 /^X\(\/\/\)$/{ s//\1/; q; }
31200 /^X\(\/\).*/{ s//\1/; q; }
31202 { if $as_mkdir_p; then
31203 mkdir
-p "$ac_dest_dir"
31205 as_dir
="$ac_dest_dir"
31207 while test ! -d "$as_dir"; do
31208 as_dirs
="$as_dir $as_dirs"
31209 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31211 X"$as_dir" : 'X\(//\)[^/]' \| \
31212 X"$as_dir" : 'X\(//\)$' \| \
31213 X"$as_dir" : 'X\(/\)' \| \
31214 . : '\(.\)' 2>/dev/null ||
31216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31218 /^X\(\/\/\)$/{ s//\1/; q; }
31219 /^X\(\/\).*/{ s//\1/; q; }
31222 test ! -n "$as_dirs" || mkdir
$as_dirs
31223 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
31224 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
31225 { (exit 1); exit 1; }; }; }
31229 if test "$ac_dest_dir" != .
; then
31230 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
31231 # A "../" for each directory in $ac_dir_suffix.
31232 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31234 ac_dir_suffix
= ac_top_builddir
=
31238 .
) # No --srcdir option. We are building in place.
31240 if test -z "$ac_top_builddir"; then
31243 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31245 [\\/]* | ?
:[\\/]* ) # Absolute path.
31246 ac_srcdir
=$srcdir$ac_dir_suffix;
31247 ac_top_srcdir
=$srcdir ;;
31248 *) # Relative path.
31249 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31250 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31253 # Do not use `cd foo && pwd` to compute absolute paths, because
31254 # the directories may not exist.
31256 .
) ac_abs_builddir
="$ac_dest_dir";;
31258 case "$ac_dest_dir" in
31259 .
) ac_abs_builddir
=`pwd`;;
31260 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
31261 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
31264 case $ac_abs_builddir in
31265 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31267 case ${ac_top_builddir}.
in
31268 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31269 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31270 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31273 case $ac_abs_builddir in
31274 .
) ac_abs_srcdir
=$ac_srcdir;;
31277 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31278 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31279 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31282 case $ac_abs_builddir in
31283 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31285 case $ac_top_srcdir in
31286 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31287 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31288 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31294 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
31295 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
31298 # Try a symlink, then a hard link, then a copy.
31299 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
31300 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
31301 cp -p $srcdir/$ac_source $ac_dest ||
31302 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
31303 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
31304 { (exit 1); exit 1; }; }
31307 cat >>$CONFIG_STATUS <<\_ACEOF
31310 # CONFIG_COMMANDS section.
31312 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
31313 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
31314 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
31315 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
31316 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31317 X"$ac_dest" : 'X\(//\)[^/]' \| \
31318 X"$ac_dest" : 'X\(//\)$' \| \
31319 X"$ac_dest" : 'X\(/\)' \| \
31320 . : '\(.\)' 2>/dev/null ||
31322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31324 /^X\(\/\/\)$/{ s//\1/; q; }
31325 /^X\(\/\).*/{ s//\1/; q; }
31327 { if $as_mkdir_p; then
31332 while test ! -d "$as_dir"; do
31333 as_dirs
="$as_dir $as_dirs"
31334 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31336 X"$as_dir" : 'X\(//\)[^/]' \| \
31337 X"$as_dir" : 'X\(//\)$' \| \
31338 X"$as_dir" : 'X\(/\)' \| \
31339 . : '\(.\)' 2>/dev/null ||
31341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31342 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31343 /^X\(\/\/\)$/{ s//\1/; q; }
31344 /^X\(\/\).*/{ s//\1/; q; }
31347 test ! -n "$as_dirs" || mkdir
$as_dirs
31348 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31349 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31350 { (exit 1); exit 1; }; }; }
31354 if test "$ac_dir" != .
; then
31355 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31356 # A "../" for each directory in $ac_dir_suffix.
31357 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31359 ac_dir_suffix
= ac_top_builddir
=
31363 .
) # No --srcdir option. We are building in place.
31365 if test -z "$ac_top_builddir"; then
31368 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31370 [\\/]* | ?
:[\\/]* ) # Absolute path.
31371 ac_srcdir
=$srcdir$ac_dir_suffix;
31372 ac_top_srcdir
=$srcdir ;;
31373 *) # Relative path.
31374 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31375 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31378 # Do not use `cd foo && pwd` to compute absolute paths, because
31379 # the directories may not exist.
31381 .
) ac_abs_builddir
="$ac_dir";;
31384 .
) ac_abs_builddir
=`pwd`;;
31385 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31386 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31389 case $ac_abs_builddir in
31390 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31392 case ${ac_top_builddir}.
in
31393 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31394 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31395 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31398 case $ac_abs_builddir in
31399 .
) ac_abs_srcdir
=$ac_srcdir;;
31402 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31403 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31404 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31407 case $ac_abs_builddir in
31408 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31410 case $ac_top_srcdir in
31411 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31412 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31413 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31418 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31419 echo "$as_me: executing $ac_dest commands" >&6;}
31422 # Only add multilib support code if we just rebuilt the top-level
31424 case " $CONFIG_FILES " in
31426 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
31429 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
31430 # Strip MF so we end up with the name of the file.
31431 mf
=`echo "$mf" | sed -e 's/:.*$//'`
31432 # Check whether this is an Automake generated Makefile or not.
31433 # We used to match only the files named `Makefile.in', but
31434 # some people rename them; so instead we look at the file content.
31435 # Grep'ing the first line is not enough: some people post-process
31436 # each Makefile.in and add a new line on top of each file to say so.
31437 # So let's grep whole file.
31438 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
31439 dirpart
=`(dirname "$mf") 2>/dev/null ||
31440 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31441 X"$mf" : 'X\(//\)[^/]' \| \
31442 X"$mf" : 'X\(//\)$' \| \
31443 X"$mf" : 'X\(/\)' \| \
31444 . : '\(.\)' 2>/dev/null ||
31446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31448 /^X\(\/\/\)$/{ s//\1/; q; }
31449 /^X\(\/\).*/{ s//\1/; q; }
31454 # Extract the definition of DEPDIR, am__include, and am__quote
31455 # from the Makefile without running `make'.
31456 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
31457 test -z "$DEPDIR" && continue
31458 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
31459 test -z "am__include" && continue
31460 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
31461 # When using ansi2knr, U may be empty or an underscore; expand it
31462 U
=`sed -n 's/^U = //p' < "$mf"`
31463 # Find all dependency output files, they are included files with
31464 # $(DEPDIR) in their names. We invoke sed twice because it is the
31465 # simplest approach to changing $(DEPDIR) to its actual value in the
31467 for file in `sed -n "
31468 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31469 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31470 # Make sure the directory exists.
31471 test -f "$dirpart/$file" && continue
31472 fdir
=`(dirname "$file") 2>/dev/null ||
31473 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31474 X"$file" : 'X\(//\)[^/]' \| \
31475 X"$file" : 'X\(//\)$' \| \
31476 X"$file" : 'X\(/\)' \| \
31477 . : '\(.\)' 2>/dev/null ||
31479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31481 /^X\(\/\/\)$/{ s//\1/; q; }
31482 /^X\(\/\).*/{ s//\1/; q; }
31484 { if $as_mkdir_p; then
31485 mkdir
-p $dirpart/$fdir
31487 as_dir
=$dirpart/$fdir
31489 while test ! -d "$as_dir"; do
31490 as_dirs
="$as_dir $as_dirs"
31491 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31493 X"$as_dir" : 'X\(//\)[^/]' \| \
31494 X"$as_dir" : 'X\(//\)$' \| \
31495 X"$as_dir" : 'X\(/\)' \| \
31496 . : '\(.\)' 2>/dev/null ||
31498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31500 /^X\(\/\/\)$/{ s//\1/; q; }
31501 /^X\(\/\).*/{ s//\1/; q; }
31504 test ! -n "$as_dirs" || mkdir
$as_dirs
31505 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
31506 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
31507 { (exit 1); exit 1; }; }; }
31509 # echo "creating $dirpart/$file"
31510 echo '# dummy' > "$dirpart/$file"
31516 # See if we are running on zsh, and set the options which allow our
31517 # commands through without removal of \ escapes.
31518 if test -n "${ZSH_VERSION+set}" ; then
31519 setopt NO_GLOB_SUBST
31522 cfgfile
="${ofile}T"
31523 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31526 cat <<_LT_EOF >> "$cfgfile"
31529 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
31530 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
31531 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31532 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31534 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
31535 # 2006, 2007 Free Software Foundation, Inc.
31537 # This file is part of GNU Libtool:
31538 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31540 # This program is free software; you can redistribute it and/or modify
31541 # it under the terms of the GNU General Public License as published by
31542 # the Free Software Foundation; either version 2 of the License, or
31543 # (at your option) any later version.
31545 # This program is distributed in the hope that it will be useful, but
31546 # WITHOUT ANY WARRANTY; without even the implied warranty of
31547 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31548 # General Public License for more details.
31550 # You should have received a copy of the GNU General Public License
31551 # along with this program; if not, a copy can be downloaded from
31552 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
31553 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
31554 # MA 02110-1301, USA.
31556 # As a special exception to the GNU General Public License, if you
31557 # distribute this file as part of a program that contains a
31558 # configuration script generated by Autoconf, you may include it under
31559 # the same distribution terms that you use for the rest of that program.
31562 # The names of the tagged configurations supported by this script.
31563 available_tags="CXX "
31565 # ### BEGIN LIBTOOL CONFIG
31567 # Whether or not to build static libraries.
31568 build_old_libs=$enable_static
31570 # Which release of libtool.m4 was used?
31571 macro_version=$macro_version
31572 macro_revision=$macro_revision
31574 # Whether or not to build shared libraries.
31575 build_libtool_libs=$enable_shared
31577 # What type of objects to build.
31580 # Whether or not to optimize for fast installation.
31581 fast_install=$enable_fast_install
31584 host_alias=$host_alias
31588 # The build system.
31589 build_alias=$build_alias
31593 # A sed program that does not truncate output.
31596 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31597 Xsed="\$SED -e 1s/^X//"
31599 # A grep program that handles long lines.
31605 # A literal string matcher.
31608 # A BSD- or MS-compatible name lister.
31611 # Whether we need soft or hard links.
31614 # What is the maximum length of a command?
31615 max_cmd_len=$max_cmd_len
31617 # Object file suffix (normally "o").
31620 # Executable file suffix (normally "").
31623 # whether the shell understands "unset".
31626 # turn spaces into newlines.
31629 # turn newlines into spaces.
31632 # How to create reloadable object files.
31633 reload_flag=$lt_reload_flag
31634 reload_cmds=$lt_reload_cmds
31636 # Method to check whether dependent libraries are shared objects.
31637 deplibs_check_method=$lt_deplibs_check_method
31639 # Command to use when deplibs_check_method == "file_magic".
31640 file_magic_cmd=$lt_file_magic_cmd
31644 AR_FLAGS=$lt_AR_FLAGS
31646 # A symbol stripping program.
31649 # Commands used to install an old-style archive.
31651 old_postinstall_cmds=$lt_old_postinstall_cmds
31652 old_postuninstall_cmds=$lt_old_postuninstall_cmds
31657 # LTCC compiler flags.
31658 LTCFLAGS=$lt_CFLAGS
31660 # Take the output of nm and produce a listing of raw symbols and C names.
31661 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
31663 # Transform the output of nm in a proper C declaration.
31664 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
31666 # Transform the output of nm in a C name address pair.
31667 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
31669 # The name of the directory that contains temporary libtool files.
31672 # Shell to use when invoking shell scripts.
31675 # An echo program that does not interpret backslashes.
31678 # Used to examine libraries when file_magic_cmd begins with "file".
31679 MAGIC_CMD=$MAGIC_CMD
31681 # Must we lock files when doing compilation?
31682 need_locks=$lt_need_locks
31684 # Old archive suffix (normally "a").
31687 # Shared library suffix (normally ".so").
31688 shrext_cmds=$lt_shrext_cmds
31690 # The commands to extract the exported symbol list from a shared archive.
31691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
31693 # Variables whose values should be saved in libtool wrapper scripts and
31694 # restored at link time.
31695 variables_saved_for_relink=$lt_variables_saved_for_relink
31697 # Do we need the "lib" prefix for modules?
31698 need_lib_prefix=$need_lib_prefix
31700 # Do we need a version for libraries?
31701 need_version=$need_version
31703 # Library versioning type.
31704 version_type=$version_type
31706 # Shared library runtime path variable.
31707 runpath_var=$runpath_var
31709 # Shared library path variable.
31710 shlibpath_var=$shlibpath_var
31712 # Is shlibpath searched before the hard-coded library search path?
31713 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31715 # Format of library name prefix.
31716 libname_spec=$lt_libname_spec
31718 # List of archive names. First name is the real one, the rest are links.
31719 # The last name is the one that the linker finds with -lNAME
31720 library_names_spec=$lt_library_names_spec
31722 # The coded name of the library, if different from the real name.
31723 soname_spec=$lt_soname_spec
31725 # Command to use after installation of a shared archive.
31726 postinstall_cmds=$lt_postinstall_cmds
31728 # Command to use after uninstallation of a shared archive.
31729 postuninstall_cmds=$lt_postuninstall_cmds
31731 # Commands used to finish a libtool library installation in a directory.
31732 finish_cmds=$lt_finish_cmds
31734 # As "finish_cmds", except a single script fragment to be evaled but
31736 finish_eval=$lt_finish_eval
31738 # Whether we should hardcode library paths into libraries.
31739 hardcode_into_libs=$hardcode_into_libs
31741 # Compile-time system search path for libraries.
31742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31744 # Run-time system search path for libraries.
31745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
31747 # Whether dlopen is supported.
31748 dlopen_support=$enable_dlopen
31750 # Whether dlopen of programs is supported.
31751 dlopen_self=$enable_dlopen_self
31753 # Whether dlopen of statically linked programs is supported.
31754 dlopen_self_static=$enable_dlopen_self_static
31756 # Commands to strip libraries.
31757 old_striplib=$lt_old_striplib
31758 striplib=$lt_striplib
31761 # The linker used to build libraries.
31764 # Commands used to build an old-style archive.
31765 old_archive_cmds=$lt_old_archive_cmds
31767 # A language specific compiler.
31770 # Is the compiler the GNU compiler?
31773 # Compiler flag to turn off builtin functions.
31774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31776 # How to pass a linker flag through the compiler.
31777 wl=$lt_lt_prog_compiler_wl
31779 # Additional compiler flags for building library objects.
31780 pic_flag=$lt_lt_prog_compiler_pic
31782 # Compiler flag to prevent dynamic linking.
31783 link_static_flag=$lt_lt_prog_compiler_static
31785 # Does compiler simultaneously support -c and -o options?
31786 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31788 # Whether or not to add -lc for building shared libraries.
31789 build_libtool_need_lc=$archive_cmds_need_lc
31791 # Whether or not to disallow shared libs when runtime libs are static.
31792 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31794 # Compiler flag to allow reflexive dlopens.
31795 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31797 # Compiler flag to generate shared objects directly from archives.
31798 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31800 # Whether the compiler copes with passing no objects directly.
31801 compiler_needs_object=$lt_compiler_needs_object
31803 # Create an old-style archive from a shared archive.
31804 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31806 # Create a temporary old-style archive to link instead of a shared archive.
31807 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31809 # Commands used to build a shared archive.
31810 archive_cmds=$lt_archive_cmds
31811 archive_expsym_cmds=$lt_archive_expsym_cmds
31813 # Commands used to build a loadable module if different from building
31814 # a shared archive.
31815 module_cmds=$lt_module_cmds
31816 module_expsym_cmds=$lt_module_expsym_cmds
31818 # Whether we are building with GNU ld or not.
31819 with_gnu_ld=$lt_with_gnu_ld
31821 # Flag that allows shared libraries with undefined symbols to be built.
31822 allow_undefined_flag=$lt_allow_undefined_flag
31824 # Flag that enforces no undefined symbols.
31825 no_undefined_flag=$lt_no_undefined_flag
31827 # Flag to hardcode \$libdir into a binary during linking.
31828 # This must work even if \$libdir does not exist
31829 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31831 # If ld is used when linking, flag to hardcode \$libdir into a binary
31832 # during linking. This must work even if \$libdir does not exist.
31833 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
31835 # Whether we need a single "-rpath" flag with a separated argument.
31836 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31838 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31839 # DIR into the resulting binary.
31840 hardcode_direct=$hardcode_direct
31842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31843 # DIR into the resulting binary and the resulting library dependency is
31844 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31845 # library is relocated.
31846 hardcode_direct_absolute=$hardcode_direct_absolute
31848 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31849 # into the resulting binary.
31850 hardcode_minus_L=$hardcode_minus_L
31852 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31853 # into the resulting binary.
31854 hardcode_shlibpath_var=$hardcode_shlibpath_var
31856 # Set to "yes" if building a shared library automatically hardcodes DIR
31857 # into the library and all subsequent libraries and executables linked
31859 hardcode_automatic=$hardcode_automatic
31861 # Set to yes if linker adds runtime paths of dependent libraries
31862 # to runtime path list.
31863 inherit_rpath=$inherit_rpath
31865 # Whether libtool must link a program against all its dependency libraries.
31866 link_all_deplibs=$link_all_deplibs
31868 # Fix the shell variable \$srcfile for the compiler.
31869 fix_srcfile_path=$lt_fix_srcfile_path
31871 # Set to "yes" if exported symbols are required.
31872 always_export_symbols=$always_export_symbols
31874 # The commands to list exported symbols.
31875 export_symbols_cmds=$lt_export_symbols_cmds
31877 # Symbols that should not be listed in the preloaded symbols.
31878 exclude_expsyms=$lt_exclude_expsyms
31880 # Symbols that must always be exported.
31881 include_expsyms=$lt_include_expsyms
31883 # Commands necessary for linking programs (against libraries) with templates.
31884 prelink_cmds=$lt_prelink_cmds
31886 # Specify filename containing input files.
31887 file_list_spec=$lt_file_list_spec
31889 # How to hardcode a shared library path into an executable.
31890 hardcode_action=$hardcode_action
31892 # Dependencies to place before and after the objects being linked to
31893 # create a shared library.
31894 predep_objects=$lt_predep_objects
31895 postdep_objects=$lt_postdep_objects
31896 predeps=$lt_predeps
31897 postdeps=$lt_postdeps
31899 # The library search path used internally by the compiler when linking
31900 # a shared library.
31901 compiler_lib_search_path=$lt_compiler_lib_search_path
31903 # ### END LIBTOOL CONFIG
31909 cat <<\_LT_EOF
>> "$cfgfile"
31910 # AIX sometimes has problems with the GCC collect2 program. For some
31911 # reason, if we set the COLLECT_NAMES environment variable, the problems
31912 # vanish in a puff of smoke.
31913 if test "X${COLLECT_NAMES+set}" != Xset
; then
31915 export COLLECT_NAMES
31922 ltmain
="$ac_aux_dir/ltmain.sh"
31925 # We use sed instead of cat because bash on DJGPP gets confused if
31926 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31927 # text mode, it properly converts lines to CR/LF. This bash problem
31928 # is reportedly fixed, but why not run on old versions too?
31929 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
31930 ||
(rm -f "$cfgfile"; exit 1)
31934 cat << \_LT_EOF
>> "$cfgfile"
31935 # func_dirname file append nondir_replacement
31936 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31937 # otherwise set result to NONDIR_REPLACEMENT.
31941 */*) func_dirname_result
="${1%/*}${2}" ;;
31942 * ) func_dirname_result
="${3}" ;;
31946 # func_basename file
31949 func_basename_result
="${1##*/}"
31952 # func_stripname prefix suffix name
31953 # strip PREFIX and SUFFIX off of NAME.
31954 # PREFIX and SUFFIX must not contain globbing or regex special
31955 # characters, hashes, percent signs, but SUFFIX may contain a leading
31956 # dot (in which case that matches only a dot).
31959 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31960 # positional parameters, so assign one to ordinary parameter first.
31961 func_stripname_result
=${3}
31962 func_stripname_result
=${func_stripname_result#"${1}"}
31963 func_stripname_result
=${func_stripname_result%"${2}"}
31969 func_opt_split_opt
=${1%%=*}
31970 func_opt_split_arg
=${1#*=}
31977 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
31978 *) func_lo2o_result
=${1} ;;
31983 *) # Bourne compatible functions.
31984 cat << \_LT_EOF
>> "$cfgfile"
31985 # func_dirname file append nondir_replacement
31986 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31987 # otherwise set result to NONDIR_REPLACEMENT.
31990 # Extract subdirectory from the argument.
31991 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31992 if test "X$func_dirname_result" = "X${1}"; then
31993 func_dirname_result
="${3}"
31995 func_dirname_result
="$func_dirname_result${2}"
31999 # func_basename file
32002 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
32005 # func_stripname prefix suffix name
32006 # strip PREFIX and SUFFIX off of NAME.
32007 # PREFIX and SUFFIX must not contain globbing or regex special
32008 # characters, hashes, percent signs, but SUFFIX may contain a leading
32009 # dot (in which case that matches only a dot).
32010 # func_strip_suffix prefix name
32014 .
*) func_stripname_result
=`$ECHO "X${3}" \
32015 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
32016 *) func_stripname_result
=`$ECHO "X${3}" \
32017 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
32022 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
32023 my_sed_long_arg
='1s/^-[^=]*=//'
32028 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
32029 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
32035 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
32040 case $lt_shell_append in
32042 cat << \_LT_EOF
>> "$cfgfile"
32044 # func_append var value
32045 # Append VALUE to the end of shell variable VAR.
32053 cat << \_LT_EOF
>> "$cfgfile"
32055 # func_append var value
32056 # Append VALUE to the end of shell variable VAR.
32066 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
32067 ||
(rm -f "$cfgfile"; exit 1)
32069 mv -f "$cfgfile" "$ofile" ||
32070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32074 cat <<_LT_EOF >> "$ofile"
32076 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32078 # The linker used to build libraries.
32081 # Commands used to build an old-style archive.
32082 old_archive_cmds=$lt_old_archive_cmds_CXX
32084 # A language specific compiler.
32085 CC=$lt_compiler_CXX
32087 # Is the compiler the GNU compiler?
32090 # Compiler flag to turn off builtin functions.
32091 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32093 # How to pass a linker flag through the compiler.
32094 wl=$lt_lt_prog_compiler_wl_CXX
32096 # Additional compiler flags for building library objects.
32097 pic_flag=$lt_lt_prog_compiler_pic_CXX
32099 # Compiler flag to prevent dynamic linking.
32100 link_static_flag=$lt_lt_prog_compiler_static_CXX
32102 # Does compiler simultaneously support -c and -o options?
32103 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32105 # Whether or not to add -lc for building shared libraries.
32106 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32108 # Whether or not to disallow shared libs when runtime libs are static.
32109 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32111 # Compiler flag to allow reflexive dlopens.
32112 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32114 # Compiler flag to generate shared objects directly from archives.
32115 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32117 # Whether the compiler copes with passing no objects directly.
32118 compiler_needs_object=$lt_compiler_needs_object_CXX
32120 # Create an old-style archive from a shared archive.
32121 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32123 # Create a temporary old-style archive to link instead of a shared archive.
32124 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32126 # Commands used to build a shared archive.
32127 archive_cmds=$lt_archive_cmds_CXX
32128 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32130 # Commands used to build a loadable module if different from building
32131 # a shared archive.
32132 module_cmds=$lt_module_cmds_CXX
32133 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32135 # Whether we are building with GNU ld or not.
32136 with_gnu_ld=$lt_with_gnu_ld_CXX
32138 # Flag that allows shared libraries with undefined symbols to be built.
32139 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32141 # Flag that enforces no undefined symbols.
32142 no_undefined_flag=$lt_no_undefined_flag_CXX
32144 # Flag to hardcode \$libdir into a binary during linking.
32145 # This must work even if \$libdir does not exist
32146 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32148 # If ld is used when linking, flag to hardcode \$libdir into a binary
32149 # during linking. This must work even if \$libdir does not exist.
32150 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
32152 # Whether we need a single "-rpath" flag with a separated argument.
32153 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32156 # DIR into the resulting binary.
32157 hardcode_direct=$hardcode_direct_CXX
32159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32160 # DIR into the resulting binary and the resulting library dependency is
32161 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32162 # library is relocated.
32163 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32165 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32166 # into the resulting binary.
32167 hardcode_minus_L=$hardcode_minus_L_CXX
32169 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32170 # into the resulting binary.
32171 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32173 # Set to "yes" if building a shared library automatically hardcodes DIR
32174 # into the library and all subsequent libraries and executables linked
32176 hardcode_automatic=$hardcode_automatic_CXX
32178 # Set to yes if linker adds runtime paths of dependent libraries
32179 # to runtime path list.
32180 inherit_rpath=$inherit_rpath_CXX
32182 # Whether libtool must link a program against all its dependency libraries.
32183 link_all_deplibs=$link_all_deplibs_CXX
32185 # Fix the shell variable \$srcfile for the compiler.
32186 fix_srcfile_path=$lt_fix_srcfile_path_CXX
32188 # Set to "yes" if exported symbols are required.
32189 always_export_symbols=$always_export_symbols_CXX
32191 # The commands to list exported symbols.
32192 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32194 # Symbols that should not be listed in the preloaded symbols.
32195 exclude_expsyms=$lt_exclude_expsyms_CXX
32197 # Symbols that must always be exported.
32198 include_expsyms=$lt_include_expsyms_CXX
32200 # Commands necessary for linking programs (against libraries) with templates.
32201 prelink_cmds=$lt_prelink_cmds_CXX
32203 # Specify filename containing input files.
32204 file_list_spec=$lt_file_list_spec_CXX
32206 # How to hardcode a shared library path into an executable.
32207 hardcode_action=$hardcode_action_CXX
32209 # Dependencies to place before and after the objects being linked to
32210 # create a shared library.
32211 predep_objects=$lt_predep_objects_CXX
32212 postdep_objects=$lt_postdep_objects_CXX
32213 predeps=$lt_predeps_CXX
32214 postdeps=$lt_postdeps_CXX
32216 # The library search path used internally by the compiler when linking
32217 # a shared library.
32218 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32220 # ### END LIBTOOL TAG CONFIG: CXX
32224 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
32226 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
32227 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
32228 ac_stdint
=$tmp/_stdint.h
32230 echo "#ifndef" $_ac_stdint_h >$ac_stdint
32231 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
32232 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
32233 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
32234 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
32235 if test "_$ac_cv_header_stdint_t" != "_" ; then
32236 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
32237 echo "#include <stdint.h>" >>$ac_stdint
32238 echo "#endif" >>$ac_stdint
32239 echo "#endif" >>$ac_stdint
32242 cat >>$ac_stdint <<STDINT_EOF
32244 /* ................... shortcircuit part ........................... */
32246 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
32247 #include <stdint.h>
32249 #include <stddef.h>
32251 /* .................... configured part ............................ */
32255 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
32256 if test "_$ac_cv_header_stdint_x" != "_" ; then
32257 ac_header
="$ac_cv_header_stdint_x"
32258 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
32260 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
32263 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
32264 if test "_$ac_cv_header_stdint_o" != "_" ; then
32265 ac_header
="$ac_cv_header_stdint_o"
32266 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
32268 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
32271 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
32272 if test "_$ac_cv_header_stdint_u" != "_" ; then
32273 ac_header
="$ac_cv_header_stdint_u"
32274 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
32276 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
32279 echo "" >>$ac_stdint
32281 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
32282 echo "#include <$ac_header>" >>$ac_stdint
32283 echo "" >>$ac_stdint
32286 echo "/* which 64bit typedef has been found */" >>$ac_stdint
32287 if test "$ac_cv_type_uint64_t" = "yes" ; then
32288 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
32290 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
32292 if test "$ac_cv_type_u_int64_t" = "yes" ; then
32293 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
32295 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
32297 echo "" >>$ac_stdint
32299 echo "/* which type model has been detected */" >>$ac_stdint
32300 if test "_$ac_cv_char_data_model" != "_" ; then
32301 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
32302 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
32304 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
32305 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
32307 echo "" >>$ac_stdint
32309 echo "/* whether int_least types were detected */" >>$ac_stdint
32310 if test "$ac_cv_type_int_least32_t" = "yes"; then
32311 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
32313 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
32315 echo "/* whether int_fast types were detected */" >>$ac_stdint
32316 if test "$ac_cv_type_int_fast32_t" = "yes"; then
32317 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
32319 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
32321 echo "/* whether intmax_t type was detected */" >>$ac_stdint
32322 if test "$ac_cv_type_intmax_t" = "yes"; then
32323 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
32325 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
32327 echo "" >>$ac_stdint
32329 cat >>$ac_stdint <<STDINT_EOF
32330 /* .................... detections part ............................ */
32332 /* whether we need to define bitspecific types from compiler base types */
32333 #ifndef _STDINT_HEADER_INTPTR
32334 #ifndef _STDINT_HEADER_UINT32
32335 #ifndef _STDINT_HEADER_U_INT32
32336 #define _STDINT_NEED_INT_MODEL_T
32338 #define _STDINT_HAVE_U_INT_TYPES
32343 #ifdef _STDINT_HAVE_U_INT_TYPES
32344 #undef _STDINT_NEED_INT_MODEL_T
32347 #ifdef _STDINT_CHAR_MODEL
32348 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
32349 #ifndef _STDINT_BYTE_MODEL
32350 #define _STDINT_BYTE_MODEL 12
32355 #ifndef _STDINT_HAVE_INT_LEAST32_T
32356 #define _STDINT_NEED_INT_LEAST_T
32359 #ifndef _STDINT_HAVE_INT_FAST32_T
32360 #define _STDINT_NEED_INT_FAST_T
32363 #ifndef _STDINT_HEADER_INTPTR
32364 #define _STDINT_NEED_INTPTR_T
32365 #ifndef _STDINT_HAVE_INTMAX_T
32366 #define _STDINT_NEED_INTMAX_T
32371 /* .................... definition part ............................ */
32373 /* some system headers have good uint64_t */
32374 #ifndef _HAVE_UINT64_T
32375 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
32376 #define _HAVE_UINT64_T
32377 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
32378 #define _HAVE_UINT64_T
32379 typedef u_int64_t uint64_t;
32383 #ifndef _HAVE_UINT64_T
32384 /* .. here are some common heuristics using compiler runtime specifics */
32385 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
32386 #define _HAVE_UINT64_T
32387 #define _HAVE_LONGLONG_UINT64_T
32388 typedef long long int64_t;
32389 typedef unsigned long long uint64_t;
32391 #elif !defined __STRICT_ANSI__
32392 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
32393 #define _HAVE_UINT64_T
32394 typedef __int64 int64_t;
32395 typedef unsigned __int64 uint64_t;
32397 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
32398 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
32399 #if !defined _NO_LONGLONG
32400 #define _HAVE_UINT64_T
32401 #define _HAVE_LONGLONG_UINT64_T
32402 typedef long long int64_t;
32403 typedef unsigned long long uint64_t;
32406 #elif defined __alpha || (defined __mips && defined _ABIN32)
32407 #if !defined _NO_LONGLONG
32408 typedef long int64_t;
32409 typedef unsigned long uint64_t;
32411 /* compiler/cpu type to define int64_t */
32416 #if defined _STDINT_HAVE_U_INT_TYPES
32417 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
32418 typedef u_int8_t uint8_t;
32419 typedef u_int16_t uint16_t;
32420 typedef u_int32_t uint32_t;
32422 /* glibc compatibility */
32423 #ifndef __int8_t_defined
32424 #define __int8_t_defined
32428 #ifdef _STDINT_NEED_INT_MODEL_T
32429 /* we must guess all the basic types. Apart from byte-adressable system, */
32430 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
32431 /* (btw, those nibble-addressable systems are way off, or so we assume) */
32434 #if defined _STDINT_BYTE_MODEL
32435 #if _STDINT_LONG_MODEL+0 == 242
32436 /* 2:4:2 = IP16 = a normal 16-bit system */
32437 typedef unsigned char uint8_t;
32438 typedef unsigned short uint16_t;
32439 typedef unsigned long uint32_t;
32440 #ifndef __int8_t_defined
32441 #define __int8_t_defined
32442 typedef char int8_t;
32443 typedef short int16_t;
32444 typedef long int32_t;
32446 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
32447 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
32448 /* 4:4:4 = ILP32 = a normal 32-bit system */
32449 typedef unsigned char uint8_t;
32450 typedef unsigned short uint16_t;
32451 typedef unsigned int uint32_t;
32452 #ifndef __int8_t_defined
32453 #define __int8_t_defined
32454 typedef char int8_t;
32455 typedef short int16_t;
32456 typedef int int32_t;
32458 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
32459 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
32460 /* 4:8:8 = LP64 = a normal 64-bit system */
32461 typedef unsigned char uint8_t;
32462 typedef unsigned short uint16_t;
32463 typedef unsigned int uint32_t;
32464 #ifndef __int8_t_defined
32465 #define __int8_t_defined
32466 typedef char int8_t;
32467 typedef short int16_t;
32468 typedef int int32_t;
32470 /* this system has a "long" of 64bit */
32471 #ifndef _HAVE_UINT64_T
32472 #define _HAVE_UINT64_T
32473 typedef unsigned long uint64_t;
32474 typedef long int64_t;
32476 #elif _STDINT_LONG_MODEL+0 == 448
32477 /* LLP64 a 64-bit system derived from a 32-bit system */
32478 typedef unsigned char uint8_t;
32479 typedef unsigned short uint16_t;
32480 typedef unsigned int uint32_t;
32481 #ifndef __int8_t_defined
32482 #define __int8_t_defined
32483 typedef char int8_t;
32484 typedef short int16_t;
32485 typedef int int32_t;
32487 /* assuming the system has a "long long" */
32488 #ifndef _HAVE_UINT64_T
32489 #define _HAVE_UINT64_T
32490 #define _HAVE_LONGLONG_UINT64_T
32491 typedef unsigned long long uint64_t;
32492 typedef long long int64_t;
32495 #define _STDINT_NO_INT32_T
32498 #define _STDINT_NO_INT8_T
32499 #define _STDINT_NO_INT32_T
32504 * quote from SunOS-5.8 sys/inttypes.h:
32505 * Use at your own risk. As of February 1996, the committee is squarely
32506 * behind the fixed sized types; the "least" and "fast" types are still being
32507 * discussed. The probability that the "fast" types may be removed before
32508 * the standard is finalized is high enough that they are not currently
32512 #if defined _STDINT_NEED_INT_LEAST_T
32513 typedef int8_t int_least8_t;
32514 typedef int16_t int_least16_t;
32515 typedef int32_t int_least32_t;
32516 #ifdef _HAVE_UINT64_T
32517 typedef int64_t int_least64_t;
32520 typedef uint8_t uint_least8_t;
32521 typedef uint16_t uint_least16_t;
32522 typedef uint32_t uint_least32_t;
32523 #ifdef _HAVE_UINT64_T
32524 typedef uint64_t uint_least64_t;
32529 #if defined _STDINT_NEED_INT_FAST_T
32530 typedef int8_t int_fast8_t;
32531 typedef int int_fast16_t;
32532 typedef int32_t int_fast32_t;
32533 #ifdef _HAVE_UINT64_T
32534 typedef int64_t int_fast64_t;
32537 typedef uint8_t uint_fast8_t;
32538 typedef unsigned uint_fast16_t;
32539 typedef uint32_t uint_fast32_t;
32540 #ifdef _HAVE_UINT64_T
32541 typedef uint64_t uint_fast64_t;
32546 #ifdef _STDINT_NEED_INTMAX_T
32547 #ifdef _HAVE_UINT64_T
32548 typedef int64_t intmax_t;
32549 typedef uint64_t uintmax_t;
32551 typedef long intmax_t;
32552 typedef unsigned long uintmax_t;
32556 #ifdef _STDINT_NEED_INTPTR_T
32557 #ifndef __intptr_t_defined
32558 #define __intptr_t_defined
32559 /* we encourage using "long" to store pointer values, never use "int" ! */
32560 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
32561 typedef unsigned int uintptr_t;
32562 typedef int intptr_t;
32563 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
32564 typedef unsigned long uintptr_t;
32565 typedef long intptr_t;
32566 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
32567 typedef uint64_t uintptr_t;
32568 typedef int64_t intptr_t;
32569 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
32570 typedef unsigned long uintptr_t;
32571 typedef long intptr_t;
32576 /* The ISO C99 standard specifies that in C++ implementations these
32577 should only be defined if explicitly requested. */
32578 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
32582 # define INT8_C(c) c
32583 # define INT16_C(c) c
32584 # define INT32_C(c) c
32585 # ifdef _HAVE_LONGLONG_UINT64_T
32586 # define INT64_C(c) c ## L
32588 # define INT64_C(c) c ## LL
32592 # define UINT8_C(c) c ## U
32593 # define UINT16_C(c) c ## U
32594 # define UINT32_C(c) c ## U
32595 # ifdef _HAVE_LONGLONG_UINT64_T
32596 # define UINT64_C(c) c ## UL
32598 # define UINT64_C(c) c ## ULL
32601 /* Maximal type. */
32602 # ifdef _HAVE_LONGLONG_UINT64_T
32603 # define INTMAX_C(c) c ## L
32604 # define UINTMAX_C(c) c ## UL
32606 # define INTMAX_C(c) c ## LL
32607 # define UINTMAX_C(c) c ## ULL
32610 /* literalnumbers */
32614 /* These limits are merily those of a two complement byte-oriented system */
32616 /* Minimum of signed integral types. */
32618 # define INT8_MIN (-128)
32621 # define INT16_MIN (-32767-1)
32624 # define INT32_MIN (-2147483647-1)
32627 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
32630 /* Maximum of signed integral types. */
32632 # define INT8_MAX (127)
32635 # define INT16_MAX (32767)
32638 # define INT32_MAX (2147483647)
32641 # define INT64_MAX (__INT64_C(9223372036854775807))
32644 /* Maximum of unsigned integral types. */
32646 # define UINT8_MAX (255)
32649 # define UINT16_MAX (65535)
32652 # define UINT32_MAX (4294967295U)
32655 # define UINT64_MAX (__UINT64_C(18446744073709551615))
32658 /* Minimum of signed integral types having a minimum size. */
32659 # define INT_LEAST8_MIN INT8_MIN
32660 # define INT_LEAST16_MIN INT16_MIN
32661 # define INT_LEAST32_MIN INT32_MIN
32662 # define INT_LEAST64_MIN INT64_MIN
32663 /* Maximum of signed integral types having a minimum size. */
32664 # define INT_LEAST8_MAX INT8_MAX
32665 # define INT_LEAST16_MAX INT16_MAX
32666 # define INT_LEAST32_MAX INT32_MAX
32667 # define INT_LEAST64_MAX INT64_MAX
32669 /* Maximum of unsigned integral types having a minimum size. */
32670 # define UINT_LEAST8_MAX UINT8_MAX
32671 # define UINT_LEAST16_MAX UINT16_MAX
32672 # define UINT_LEAST32_MAX UINT32_MAX
32673 # define UINT_LEAST64_MAX UINT64_MAX
32682 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
32683 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
32684 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
32686 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
32687 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32688 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
32689 X"$ac_stdint_h" : 'X\(//\)$' \| \
32690 X"$ac_stdint_h" : 'X\(/\)' \| \
32691 . : '\(.\)' 2>/dev/null ||
32692 echo X"$ac_stdint_h" |
32693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32695 /^X\(\/\/\)$/{ s//\1/; q; }
32696 /^X\(\/\).*/{ s//\1/; q; }
32698 { if $as_mkdir_p; then
32703 while test ! -d "$as_dir"; do
32704 as_dirs
="$as_dir $as_dirs"
32705 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
32706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32707 X"$as_dir" : 'X\(//\)[^/]' \| \
32708 X"$as_dir" : 'X\(//\)$' \| \
32709 X"$as_dir" : 'X\(/\)' \| \
32710 . : '\(.\)' 2>/dev/null ||
32712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32714 /^X\(\/\/\)$/{ s//\1/; q; }
32715 /^X\(\/\).*/{ s//\1/; q; }
32718 test ! -n "$as_dirs" || mkdir
$as_dirs
32719 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32720 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32721 { (exit 1); exit 1; }; }; }
32724 mv $ac_stdint $ac_stdint_h
32727 gappletviewer
) chmod 755 tools
/gappletviewer
;;
32728 gjarsigner
) chmod 755 tools
/gjarsigner
;;
32729 gkeytool
) chmod 755 tools
/gkeytool
;;
32730 gjar
) chmod 755 tools
/gjar
;;
32731 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
32732 gserialver
) chmod 755 tools
/gserialver
;;
32733 grmiregistry
) chmod 755 tools
/grmiregistry
;;
32734 gtnameserv
) chmod 755 tools
/gtnameserv
;;
32735 gorbd
) chmod 755 tools
/gorbd
;;
32736 grmid
) chmod 755 tools
/grmid
;;
32737 grmic
) chmod 755 tools
/grmic
;;
32738 gjavah
) chmod 755 tools
/gjavah
;;
32739 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
32740 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
32745 cat >>$CONFIG_STATUS <<\_ACEOF
32747 { (exit 0); exit 0; }
32749 chmod +x
$CONFIG_STATUS
32750 ac_clean_files
=$ac_clean_files_save
32753 # configure is writing to config.log, and then calls config.status.
32754 # config.status does its own redirection, appending to config.log.
32755 # Unfortunately, on DOS this fails, as config.log is still kept open
32756 # by configure, so config.status won't be able to write to it; its
32757 # output is simply discarded. So we exec the FD to /dev/null,
32758 # effectively closing config.log, so it can be properly (re)opened and
32759 # appended to by config.status. When coming back to configure, we
32760 # need to make the FD available again.
32761 if test "$no_create" != yes; then
32763 ac_config_status_args
=
32764 test "$silent" = yes &&
32765 ac_config_status_args
="$ac_config_status_args --quiet"
32767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
32769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32770 # would make configure fail if this is the last instruction.
32771 $ac_cs_success ||
{ (exit 1); exit 1; }
32775 # Create standard.omit based on decisions we just made.
32776 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
32777 if test x
$use_escher != xtrue
; then
32778 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit